On Fri, 26 Nov 2010 00:00:46 -0800 (PST), Nicola Creati <[email protected]> wrote: > Hello, > > I'm trying to pack an application in which I make use of VTK. > Initially I got the following error: > > Traceback (most recent call last): > File "<string>", line 121, in <module> > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 436, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 521, in doimport > exec co in mod.__dict__ > File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk", line 124, in > <module> > File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk.__helper", line 32, > in refine_import_err > vtk.__helper.LinkError: No module named vtkCommonPythonSIP > > Then I added an hook to make PyInstaller found vtkCommonPythonSIP and > it worked but I got a different error: > > Traceback (most recent call last): > File "<string>", line 122, in <module> > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 436, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 521, in doimport > exec co in mod.__dict__ > File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk", line 121, in > <module> > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 436, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 521, in doimport > exec co in mod.__dict__ > File "rsf/build/pyi.linux2/rsf/outPYZ2.pyz/vtk.qvtk", line 8, in > <module> > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 436, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 495, in doimport > mod = importfunc(nm) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 297, in getmod > mod = owner.getmod(nm) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/archive.py", line 468, in getmod > return iu.DirOwner.getmod(self, self.prefix+'.'+nm) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 109, in getmod > mod = imp.load_module(nm, fp, attempt, (ext, mode, typ)) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 436, in importHook > mod = _self_doimport(nm, ctx, fqname) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 495, in doimport > mod = importfunc(nm) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 297, in getmod > mod = owner.getmod(nm) > File "/home/ncreati/wip/VTK_software/resefQT/qt/packaging/ > pyinstaller/iu.py", line 109, in getmod > mod = imp.load_module(nm, fp, attempt, (ext, mode, typ)) > SystemError: dynamic module not initialized properly > > > Can someone help please?
Hi Nicola, which version of PyInstaller are you using? Can you try with PyInstaller 1.5-rc1 just released on the website? Following the traceback and adding some prints, can you please isolate which module generates this SystemError? Can you provide me with a small source code that exhibits the problem? -- Giovanni Bajo :: [email protected] Develer S.r.l. :: http://www.develer.com My Blog: http://giovanni.bajo.it -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
