FreeOrion
http://www.freeorion.org/forum/

errors showing up, should I be concerned?
http://www.freeorion.org/forum/viewtopic.php?f=2&t=10788
Page 1 of 1

Author:  godel [ Thu Nov 23, 2017 3:46 pm ]
Post subject:  errors showing up, should I be concerned?

error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."
Waiting for Other Players
Begin Turn 107
Saving...
Saved 1086257 bytes to file: C:\Users\Sean\AppData\Roaming\FreeOrion\save\auto\FreeOrion_Sean_mine_0107_20171123_074043.sav
AI_4: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_4: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."
Waiting for Other Players
Begin Turn 108
Saving...
Saved 1098552 bytes to file: C:\Users\Sean\AppData\Roaming\FreeOrion\save\auto\FreeOrion_Sean_mine_0108_20171123_074056.sav
AI_4: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_4: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."
Waiting for Other Players
Begin Turn 109
Saving...
Saved 1108022 bytes to file: C:\Users\Sean\AppData\Roaming\FreeOrion\save\auto\FreeOrion_Sean_mine_0109_20171123_074111.sav
AI_4: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_4: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."

Author:  Vezzra [ Thu Nov 23, 2017 4:05 pm ]
Post subject:  Re: errors showing up, should I be concerned?

That's definitely a bug in the AI code that needs to be dealt with. Can you create a bug report/issue on github?

Author:  Dilvish [ Thu Nov 23, 2017 5:16 pm ]
Post subject:  Re: errors showing up, should I be concerned?

The one from assign_military_fleets_to_systems I am familiar with, and have some understanding of the problem and am working on it, but the one from priorities doesn't seem familiar-- please be sure to post the respective AI log file (and a save game if you have it still), and also if you could mention if that AI had already been defeated at that point. Thanks.

Author:  godel [ Fri Nov 24, 2017 4:11 am ]
Post subject:  Re: errors showing up, should I be concerned?

The game goes on, and is not presently showing such.
And is playable even with such.
But I have seen red errors before, so it is just a matter of time.
If I get them, how do I access the AI files and the other files you want?

Author:  alleryn [ Fri Nov 24, 2017 4:26 am ]
Post subject:  Re: errors showing up, should I be concerned?

godel wrote:
how do I access the AI files and the other files you want?


I'm fairly sure the AI logs are the files in
C:\Users\<username>\AppData\Roaming\FreeOrion

(on my windows machine this is the location),
e.g. C:\Users\<username>\AppData\Roaming\FreeOrion\AI_1.log

Not totally certain though.

Author:  godel [ Fri Nov 24, 2017 4:28 am ]
Post subject:  Re: errors showing up, should I be concerned?

Thanks!
Yes I am using win 7.
Next time it happens I will check here.
I am going away to Loscon for the extended weekend.

Author:  godel [ Sat Dec 02, 2017 9:47 am ]
Post subject:  Re: errors showing up, should I be concerned?

i got one!
C:\Users\Sean\AppData\Roaming\FreeOrion\save\auto\FreeOrion_Sean_mine_0061_20171202_014403.sav
AI_1: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_1: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."
Waiting for Other Players
Begin Turn 62
Saving...

next post I will have the error or ai files.

Author:  godel [ Sat Dec 02, 2017 9:59 am ]
Post subject:  Re: errors showing up, should I be concerned?

This is a self extracting compressed file of AI logs.
Please get back to me if you need more files or if this does not work.
The extension exe is not allowed.
I will put together a non self extraction file.

also sent the save file.

Used WinRar to create that file.

Attachments:
File comment: the AI logs you requested.
FreeOrionerror non extracting.rar [2.76 MiB]
Downloaded 1 time
File comment: save file for error
save-20171202_011508.sav [245.86 KiB]
Downloaded 1 time

Author:  godel [ Sun Dec 03, 2017 7:54 pm ]
Post subject:  Re: errors showing up, should I be concerned?

I hope to get notification when this is noticed as I am not playing the game so to keep the situation where it can be further dissected.

Author:  Dilvish [ Sun Dec 03, 2017 10:36 pm ]
Post subject:  Re: errors showing up, should I be concerned?

godel wrote:
I hope to get notification when this is noticed as I am not playing the game so to keep the situation where it can be further dissected.
This is noticed, but I am not likely to have much time to dig into this right away. Perhaps someone else might, but I'd recommend you just make another subfolder to store copies of the log files and a couple of the most recent corresponding savegame files. That way you can keep on playing your game but still be able to come back to this if we needed you to test something.

Thanks for posting the savegame and logs. I do expect we'll get this fixed prior to 0.4.8.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/