Dear Farshizzo,
A full traceback is below. The thing is, i only get this error when i'm trying to throw an exception from my C++ plugin, otherwise all executes as it should. So that shouldn't be me using wrong syntax at the Python side, I think?
Code:
** Caught exception in main
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "C:\dat\Vizard\walk_Dee_stimuli\script_walk.py", line 6, in <module>
main.main()
File "main.py", line 32, in main
expt.startSesson()
File "experiment.py", line 93, in startSesson
self.stim.setStimSpec(cond.worldSpec)
File "DNstimuli.py", line 62, in setStimSpec
self.command(1,stimSpec)
File "C:\Program Files (x86)\WorldViz\Vizard4\python\viz.py", line 7381, in command
return _ipcSend(_VIZ_CMDEXTNODE,self.id,command,mesg,x,y,z,w)
TypeError: command must be an int
The self in DNstimuli refers to a class that derives from viz.VizExtensionNode. stimSpec there is a string (or however those are called in Pyhton).
Thanks,
Dee