![]() |
#18
|
|||
|
|||
Quote:
When try to send an exception from my python plugin as follows Code:
PyErr_SetString(PyExc_RuntimeError, "errorstring"); data.set( PYTHON_RETURN_OBJECT, NULL); I always get a TypeError instead of the exception i'm trying to communicate. The stacktrace always ends like this: Code:
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 I'm not sure what this typeerror is referring to, as my command is correct, it works without error when not trying to return an exception. Am I doing something wrong? Best and thanks, Dee |
|
|