1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Event Manager crash

Discussion in 'Civ4 - Community Enchancement Project' started by The Great Apple, Aug 30, 2006.

  1. The Great Apple

    The Great Apple Big Cheese

    Joined:
    Mar 24, 2002
    Messages:
    3,361
    Location:
    Oxford, England
    Getting this with the Genetic AI thingy.

    Code:
    Traceback (most recent call last):
      File "<string>", line 1, in ?
      File "<string>", line 52, in load_module
      File "CvEventInterface", line 33, in ?
      File "<string>", line 52, in load_module
      File "CvSimCutieEventManager", line 138, in ?
      File "<string>", line 52, in load_module
      File "PyCivSim", line 57, in ?
      File "PyExtLib", line 427, in qPrint
      File "<string>", line 7, in write
    Boost.Python
    .
    ArgumentError
    : 
    Python argument types in
        CyPythonMgr.debugMsg(CyPythonMgr, unicode)
    did not match C++ signature:
        debugMsg(class CyPythonMgr {lvalue}, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)
    
    Looking at the python debug there seems to be some inconsistancies with the sys modules:

    Mine is:
    Code:
    sys.modules =
     
    {'copy_reg': <module 'copy_reg' from 'C:\Python24\Lib\copy_reg.pyc'>, 'locale': <module 'locale' from 'C:\Python24\Lib\locale.pyc'>, '__main__': <module '__main__' (built-in)>, 'site': <module 'site' from 'C:\Python24\Lib\site.pyc'>, '__builtin__': <module '__builtin__' (built-in)>, 'encodings': <module 'encodings' from 'C:\Python24\Lib\encodings\__init__.pyc'>, 'os.path': <module 'ntpath' from 'C:\Python24\Lib\ntpath.pyc'>, 'encodings.codecs': None, 'ntpath': <module 'ntpath' from 'C:\Python24\Lib\ntpath.pyc'>, 'UserDict': <module 'UserDict' from 'C:\Python24\Lib\UserDict.pyc'>, 'encodings.exceptions': None, 'nt': <module 'nt' (built-in)>, 'stat': <module 'stat' from 'C:\Python24\Lib\stat.pyc'>, 'zipimport': <module 'zipimport' (built-in)>, 'warnings': <module 'warnings' from 'C:\Python24\Lib\warnings.pyc'>, 'encodings.types': None, '_codecs': <module '_codecs' (built-in)>, 'encodings.cp1252': <module 'encodings.cp1252' from 'C:\Python24\Lib\encodings\cp1252.pyc'>, 'sys': <module 'sys' (built-in)>, 'codecs': <module 'codecs' from 'C:\Python24\Lib\codecs.pyc'>, 'types': <module 'types' from 'C:\Python24\Lib\types.pyc'>, '_locale': <module '_locale' (built-in)>, 'signal': <module 'signal' (built-in)>, 'linecache': <module 'linecache' from 'C:\Python24\Lib\linecache.pyc'>, 'encodings.aliases': <module 'encodings.aliases' from 'C:\Python24\Lib\encodings\aliases.pyc'>, 'exceptions': <module 'exceptions' (built-in)>, 'CvPythonExtensions': <module 'CvPythonExtensions' (built-in)>, 'os': <module 'os' from 'C:\Python24\Lib\os.pyc'>}
    
    
    sys.builtin_module_names =
     
    ('CvPythonExtensions', '__builtin__', '__main__', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_csv', '_heapq', '_hotshot', '_locale', '_multibytecodec', '_random', '_sre', '_subprocess', '_symtable', '_weakref', '_winreg', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'md5', 'mmap', 'msvcrt', 'nt', 'operator', 'parser', 'regex', 'rgbimg', 'sha', 'signal', 'strop', 'struct', 'sys', 'thread', 'time', 'xxsubtype', 'zipimport')
    Crashing one is:
    Code:
    sys.modules =
     
    {'zipimport': <module 'zipimport' (built-in)>, 'signal': <module 'signal' (built-in)>, '__builtin__': <module '__builtin__' (built-in)>, 'sys': <module 'sys' (built-in)>, '__main__': <module '__main__' (built-in)>, 'exceptions': <module 'exceptions' (built-in)>, 'CvPythonExtensions': <module 'CvPythonExtensions' (built-in)>}
    
    
    sys.builtin_module_names =
     
    ('CvPythonExtensions', '__builtin__', '__main__', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_csv', '_heapq', '_hotshot', '_locale', '_multibytecodec', '_random', '_sre', '_subprocess', '_symtable', '_weakref', '_winreg', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'md5', 'mmap', 'msvcrt', 'nt', 'operator', 'parser', 'regex', 'rgbimg', 'sha', 'signal', 'strop', 'struct', 'sys', 'thread', 'time', 'xxsubtype', 'zipimport')
    
    I'm trying to get a bit more information about system configs. Is there anything in particular you want/need (I'm only asking about windows version ATM).

    EDIT: Windows version is a fresh install of XP.
     

Share This Page