Python error in unitnaming

wotan321

Emperor
Joined
Oct 25, 2001
Messages
1,228
Location
NC, USA
I am playing the WW2 in the Pacific scenario, I am almost finished and now I get a CTD.

The scenario uses Python to name units, and I am getting in the PythonErr.log file:

Traceback (most recent call last):

File "CvEventInterface", line 25, in onEvent

File "CvEventManager", line 187, in handleEvent

File "CvWWIIEventManager", line 662, in onUnitBuilt

ArgumentError: Python argument types in
CyUnit.setName(CyUnit, NoneType)
did not match C++ signature:
setName(class CyUnit {lvalue}, class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >)
ERR: Python function onEvent failed, module CvEventInterface

Any help is appreciated.
 
Back
Top Bottom