any success with a wxPython application?

hi,

i am just trying to get one started, but all i get are error messages about threading failed.

Code:

pyWxApp = pyWxAppUtils.pyWxAppHelper("bare1.py", start = True) # Result: Exception in thread Thread-15:
 Traceback (most recent call last):
  File "C:\Program Files\Nuke5.1v3\lib\threading.py", line 460, in __bootstrap
    self.run()
  File "C:\Program Files\Nuke5.1v3\lib\threading.py", line 440, in run
    self.__target(*self.__args, **self.__kwargs)
  File "nukescripts\pyAppUtils.py", line 46, in __pyThreadMain
    command[0](*command[1], **command[2])
  File "nukescripts\pyWxAppUtils.py", line 16, in getApplication
    import wx
  File "C:\programme\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in <module>
    from wx._core import *
  File "C:\programme\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 4, in <module>
    import _core_
 ImportError: DLL load failed with error code 193


the code im trying to run it from within nuke is:

Code:

sys.path.append ("C:\\programme\\Python25\\Lib\\site-packages\\wx-2.8-msw-unicode")
from nukescripts import utils, pyWxAppUtils
pyWxApp = pyWxAppUtils.pyWxAppHelper("bare1.py", start = True)


the docs are a riddle to me 🙂

cheers

alex

p.s.: winxp 64

No Responses to “any success with a wxPython application?”

Post a Comment