Darwinbots Forum
Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on December 08, 2009, 11:37:12 AM
-
When quitting DB a folder named '-p' will sometimes be created in the main directory that doesn't contain anything, and when I try to save a sim this folder will be created in the save directory but the sim will not be saved. Instead the hour glass will freeze and nothing happens.
-
Hmm, I saw this too actually. Is this only with the version I just released?
-
Yes. I'm testing Internet mode right now and it seems to be working, but there's no one else online today.
-
I have some spare computers at home I can run IM on. I'll try to set them up this week or into next.
-
Maybe you can take a look at why it can't save properly too. DB puts a -p folder everywhere it tries to write to, except for the settings folder where the 'lastexit.set is saved. Could this have anything to do with runtime libraries perchance? What runtime library is this version made with?
-
It's not a runtime issue. Basically visual basic can only create one folder at a time. So if it tries to create folder transfers/f1, and transfers doesn't already exist, it crashes. So I replaced code like that with a call to md on the command line. The -p is an argument I was trying to pass to mkdir to tell it to "also create all directories leading up to the given directory that do not exist already. If the given directory already exists, ignore the error.". But I'm thinking that might be a unix only argument and on windows you don't need the -p at all. It's getting interpreted as a folder to create instead.
-
I've released a new version that should fix the -p folder thing. Let me know if you notice anything else odd.
-
No change! Still creating -p folders and saving just hangs with an hour glass without saving anything. What did you do? Just changing the version number?
-
Argh! I don't see why it's still doing that since I removed all -p references. I'll take a look at it tonight. Maybe I grabbed the wrong exe or something.