i recently built crystalspace from the latest pseudo-stable, and to
confirm that cs was working from within python, i tried to run
tutorial0.py and encountered errors.
this is attempt 1 at running the script:
$ tutorial0.py
Traceback (most recent call last):
File "./tutorial0.py", line 92, in ?
if not csInitializer.SetupEventHandler(object_reg, EventHandler):
File "c:\MinGW\CS\scripts\python\cspace.py", line 13142, in
_csInitializer_SetupEventHandler
hdlr = _EventHandlerFuncWrapper(obj)
File "c:\MinGW\CS\scripts\python\cspace.py", line 13130, in __init__
csPyEventHandler.__init__(self)
File "c:\MinGW\CS\scripts\python\cspace.py", line 13126, in __init__
_csPyEventHandler.__init__(self, self)
TypeError: __init__() takes exactly 1 argument (2 given)
this is attempt 2, after rectifying the argument error on 13126:
[EMAIL PROTECTED] /c/MinGW/CS/scripts/python
$ tutorial0.py
Traceback (most recent call last):
File "./tutorial0.py", line 92, in ?
if not csInitializer.SetupEventHandler(object_reg, EventHandler):
File "c:\MinGW\CS\scripts\python\cspace.py", line 13142, in
_csInitializer_SetupEventHandler
hdlr = _EventHandlerFuncWrapper(obj)
File "c:\MinGW\CS\scripts\python\cspace.py", line 13130, in __init__
csPyEventHandler.__init__(self)
File "c:\MinGW\CS\scripts\python\cspace.py", line 13126, in __init__
_csPyEventHandler.__init__(self)
File "c:\MinGW\CS\scripts\python\cspace.py", line 13087, in __init__
def __init__(self): raise RuntimeError, "No constructor defined"
RuntimeError: No constructor defined
it has been suggested that this may be due to the recent changes in
the event system. can anyone help with this?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]