AI_Error: AI script error in "calculate_priorities": "'list' object has no attribute 'clear'"
AI_Error: AI script error in "assign_colony_fleets_to_colonise": "'list' object has no attribute 'items'"
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!
By any chance is it possible you updated some AI files and not others?
Assuming no on that, was that from immediately after loading a savegame? I just made some data structure changes that could cause those errors if trying to deal with old structures. I had intended to take steps to ensure compatibility with old save files, but perhaps that slipped through.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Dilvish wrote:By any chance is it possible you updated some AI files and not others?
Assuming no on that, was that from immediately after loading a savegame? I just made some data structure changes that could cause those errors if trying to deal with old structures. I had intended to take steps to ensure compatibility with old save files, but perhaps that slipped through.
It was a build from yesterday, maybe missing the last 1 or 2 commits.
But yes I was loading an old savegame, I'll see if I can reproduce with a new one...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!
vincele wrote:Looks like it was the old savegame-thing : not reproduced with a fresh one... Sorry for the noise.
It's not noise, I generally try to avoid having AI changes break compatibility with old savegame files, people could have something they wanted to keep testing out, or simply a big game they had put a lot of time into and I wouldn't want to interfere with them being able to upgrade the game in the meantime.
r8035 | dilvish-fo | 2015-03-14 08:06:27 -0700 (Sat, 14 Mar 2015) | 1 line
adjusted AI loading of savestate so that old savegame files hopefully remain compatible with the current AI code
Please check if that fixed it.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0