AI Script Errors, Build 2019-4-22

Describe your experience with the latest version of FreeOrion to help us improve it.

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.
Post Reply
Message
Author
UrshMost
Space Kraken
Posts: 123
Joined: Fri Jul 03, 2015 2:32 am
Location: Great White North Eh

AI Script Errors, Build 2019-4-22

#1 Post by UrshMost »

From a completely vanilla install, I get AI script errors with the latest build on windows 7.

The following error repeats for each AI, and they all repeat each turn.

from the message window:

Creating AI Clients
Generating Universe
Begin Turn 1
Saved 153133 bytes to file: C:/Users/Nat/AppData/Roaming/FreeOrion/save/auto/FreeOrion_Human_Player_Terran_0001_20190426_143335.sav
[26 Apr 14:33:39] AI_5: AI_Error: AI script error : configure_logging.py:_unhandled_exception_hook():199 - Uncaught exception: Traceback (most recent call last):
File "C:/Program Files (x86)/FreeOrion/default/python\common\listeners.py", line 44, in wrapper
res = funct(*args)
File "C:/Program Files (x86)\FreeOrion\default\python\AI\FreeOrionAI.py", line 230, in generateOrders
for rule in rules.getRulesAsStrings:
TypeError: No to_python (by-value) converter found for C++ type: class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >
Windows 10 64bit, AMD 8 Core, 16 GB
Nvidia GTX 670 @ 3240x1920
FreeOrion Build: Latest Windows Test Build

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: AI Script Errors, Build 2019-4-22

#2 Post by Geoff the Medio »

Probably already fixed by this pull request: https://github.com/freeorion/freeorion/pull/2429

Post Reply