FreeOrion

Forums for the FreeOrion project
It is currently Mon Nov 20, 2017 1:57 am

All times are UTC


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.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Loading game errors
PostPosted: Wed Oct 18, 2017 5:12 pm 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
I am playing 2017-10-08

I can load games, but when I do I see these errors.

Creating AI Clients
Loading
Begin Turn 186
AI_1: AI_Error: AI script error : FreeOrionAI.py:generateOrders():333 - Exception 22323 while trying to issue_fleet_orders_for_fleet_missions
Traceback (most recent call last):
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FreeOrionAI.py", line 330, in generateOrders
action()
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FleetUtilsAI.py", line 535, in issue_fleet_orders_for_fleet_missions
mission.issue_fleet_orders()
File "C:/Program Files (x86)\FreeOrion\default\python\AI\AIFleetMission.py", line 468, in issue_fleet_orders
allocations=allocations)
File "C:/Program Files (x86)\FreeOrion\default\python\AI\MilitaryAI.py", line 803, in assign_military_fleets_to_systems
fleet_list=found_fleets)
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FleetUtilsAI.py", line 150, in get_fleets_for_mission
fleet_pool_set.remove(fleet_id)
KeyError: 22323
AI_3: AI_Error: AI script error : FreeOrionAI.py:generateOrders():333 - Exception 22274 while trying to issue_fleet_orders_for_fleet_missions
Traceback (most recent call last):
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FreeOrionAI.py", line 330, in generateOrders
action()
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FleetUtilsAI.py", line 535, in issue_fleet_orders_for_fleet_missions
mission.issue_fleet_orders()
File "C:/Program Files (x86)\FreeOrion\default\python\AI\AIFleetMission.py", line 468, in issue_fleet_orders
allocations=allocations)
File "C:/Program Files (x86)\FreeOrion\default\python\AI\MilitaryAI.py", line 803, in assign_military_fleets_to_systems
fleet_list=found_fleets)
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FleetUtilsAI.py", line 150, in get_fleets_for_mission
fleet_pool_set.remove(fleet_id)
KeyError: 22274

Attachment:
AI_1.log [159.05 KiB]
Not downloaded yet

Attachment:
AI_3.log [200.2 KiB]
Not downloaded yet


Top
 Profile  
 
 Post subject: Re: Loading game errors
PostPosted: Thu Oct 19, 2017 2:43 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4374
yes, that's a known nuisance, it should not cause an actual serious problem for the Ai though. I have figured out that it stems from a problem with the AI's fleet splitting algorithm not leaving the expected ship remaining in the original fleet, but I got pulled into other things, and tied up a bit IRL in general, before determining the exact bug and making a fix. I don't recall if we have an issue for it on Github yet, if you can take the time to check and post an issue if there is not yet one, that would be great.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group