NetLogo icon indicating copy to clipboard operation
NetLogo copied to clipboard

BehaviorSpace does nothing if output file is open in Excel

Open ToonTalk opened this issue 13 years ago • 6 comments

I click run, I select an existing file that is open in Excel, I answer yes to the dialog if I want to override the file and then nothing happens -- no warnings, no runs.

Windows 7; NetLogo 5.0.3

ToonTalk avatar Nov 30 '12 18:11 ToonTalk

Thanks for reporting, @ToonTalk.

What I get here is a very different behavior: no overwrite warning, but the experiment runs, and the file does get overwritten. But then again, I am on a different platform:

NetLogo 5.0.3 (October 25, 2012)
Java HotSpot(TM) 64-Bit Server VM 1.6.0_31 (Sun Microsystems Inc.; 1.6.0_31-b04)
operating system: Linux 3.2.0-33-generic (amd64 processor)

@TheBizzle, can you give it a try under Windows?

nicolaspayette avatar Dec 03 '12 19:12 nicolaspayette

Yes, I can confirm both reported behaviors. On Linux, I am not asked permission to overwrite the file, and it is overwritten. On Windows, I am asked permission, and, if the file is also open by another application after being asked permission, no run occurs.

TheBizzle avatar Dec 03 '12 19:12 TheBizzle

Looks like we have two different bugs on our hands, then!

Anyone can check how it behaves on Mac?

nicolaspayette avatar Dec 03 '12 19:12 nicolaspayette

Mac: same as Linux.

SethTisue avatar Dec 03 '12 22:12 SethTisue

I tried this on windows 10, with the newest NetLogo 6.2. At least for me it now reports an error:

image

Wolgo avatar Feb 07 '21 19:02 Wolgo