Here we go again.
AI 2: AI Error: AI script error in "survey universe": "'NoneType' object has no attribute 'tags'"
AI_2.log:
https://drive.google.com/open?id=0Bxa-B ... kM2Yll1clU
AI Script Error [build 2016-08-14.86fc4ad]
Moderator: Oberlus
Forum rules
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Re: AI Script Error [build 2016-08-14.86fc4ad]
This is weird stuff. While the error is easily fixed, logic tells me it shouldn't happen, so would be interesting to know what is going on. Do you have a savegame?
Situation that is needed for this to occur:
1. Calling AI owns the planet
2. The planet has a population > 0.0
3. fo.getSpecies(planet.speciesName) returns None
Interestingly, this does not happen again next turn. I have no idea what ingame situation is leading to this?
Weird rounding error with a dying population maybe?
Situation that is needed for this to occur:
1. Calling AI owns the planet
2. The planet has a population > 0.0
3. fo.getSpecies(planet.speciesName) returns None
Interestingly, this does not happen again next turn. I have no idea what ingame situation is leading to this?
Weird rounding error with a dying population maybe?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Re: AI Script Error [build 2016-08-14.86fc4ad]
Do have one, just tried loading from the save and it doesn't reproduce though.Morlic wrote:This is weird stuff. While the error is easily fixed, logic tells me it shouldn't happen, so would be interesting to know what is going on. Do you have a savegame?
https://drive.google.com/open?id=0Bxa-B ... 2dwTVNaeDA
Re: AI Script Error [build 2016-08-14.86fc4ad]
using FreeOrion_2016-08-16.6a394b5_Test_Win32_Setup.exe
I see this same error message.
I see this same error message.
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: AI Script Error [build 2016-08-14.86fc4ad]
Just to note in case it ends up relevant.
When changing some FOCS entries incorrectly, I have seen planets with a population > 0 but no species. This occurs when increasing the population of a planet when it is not (I'm assuming) a Population Center.
IIRC, World Tree exhibited this behavior during the move of pop effects from species, hence it has a min pop activation.
Edit: Super-testers takeover exhibits this behavior for one turn during transition.
When changing some FOCS entries incorrectly, I have seen planets with a population > 0 but no species. This occurs when increasing the population of a planet when it is not (I'm assuming) a Population Center.
IIRC, World Tree exhibited this behavior during the move of pop effects from species, hence it has a min pop activation.
Edit: Super-testers takeover exhibits this behavior for one turn during transition.
Re: AI Script Error [build 2016-08-14.86fc4ad]
Playing FreeOrion_v0.4.6_2016-09-16.49f9123_Win32_Setup.exe
When I load the previous turn and play the turn again I get the same error, but notice it says AI_3 this time
Let me know if you need anything else.
When I load the previous turn and play the turn again I get the same error, but notice it says AI_3 this time
Let me know if you need anything else.
- Attachments
-
- AI_2.log
- (553.14 KiB) Downloaded 47 times
Re: AI Script Error [build 2016-08-14.86fc4ad]
More
- Attachments
-
- AI_3.log
- (244.99 KiB) Downloaded 55 times