Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.
AI_3: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_10: AI_Error: AI script error in "generateOrders": "Unable to find key in unordered_map."
AI_7: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
Waiting for Other Players
Executing Orders
Colonization, Invasion, and Scrapping
Fleet Movement
Downloading and Unpacking New Game-state
Resolving Combat
Production and Growth
Downloading and Unpacking New Game-state
Begin Turn 161
Saving...
Saved 3687791 bytes to file: /home/matgb/.local/share/freeorion/save/auto/FreeOrion_Mat_Aardvark_0161_20170618_034154.sav
AI_10: AI_Error: AI script error in "generateOrders": "Unable to find key in unordered_map."
AI_10: AI_Error: AI script error: "foAIstate unable to pickle save-state string; the save file should be playable but the AI may have a different aggression."
All the AIs were giving the first/AI_3 error except AI 10, and then after I hit end turn AI 10 gives the same error unique to it followed by everyone getting the same.
I'm playing with Pull Request #1587 · freeorion/freeorion rebased onto Master with some minor script tweaks I'm testing, none of which should be making a difference to the AI but this might be unique to me in some way hence posting here not opening an issue. Anyone seen similar?
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
OK, not a problem my end, game unplayable due to the error messages in the other thread, so I compiled master, started a game, saved it on turn 2, quit and loaded again. Same error messages
AI_11: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_3: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_5: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_7: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_6: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_10: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_1: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_2: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_8: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_9: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
AI_4: AI_Error: AI script error: "Fail to load aiState from saved game: 'set' object has no attribute 'keys'"
Mat Bowles
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
/home/matgb/.local/share/freeorion/save/auto/FreeOrion_Mat_Wotsits_0087_20170619_024423.sav
AI_11: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_11: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."
Probably unrelated, but it started appearing immediately I captured that AI homeworld. Almost certainly unrelated to save problem, log attached, can't see anything, LMK if a higher log level helps (still not sure how to use that new option)
For general use, the original command line option --log-level trace works much like original and will set all of the configured loggers to trace level.
Any content posted should be considered licensed GNU GPL 2.0 and/or CC-BY-SA 3.0 as appropriate.
I've been unable to replicate this ""Unable to find key in unordered_map."" error -- has anyone seen it appear lately? If so, by any chance might you still have a savegame with that error happening?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0