Hi,
I’m trying to use PyInstaller-3.0 to pack a python application that uses PyQt and Panda3D-1.9.1. I’m using 32bit python-2.7 on Windows 7 64bit.
When I run the generated executable I get the following error:
$ ./ServiceGUI.exe
Warning: unable to auto-locate config files in directory named by "<auto>etc".
Attempt to register type PythonCallbackObject more than once!
Attempt to register type PythonTask more than once!
:interrogatedb(warning): Classes panda3d.core.TypedObject and panda3d.core.TypedObject share the same TypeHandle value (3); check class definitions.
:interrogatedb(warning): Classes panda3d.core.ReferenceCount and panda3d.core.ReferenceCount share the same TypeHandle value (4); check class definitions.
:interrogatedb(warning): Classes panda3d.core.TypedReferenceCount and panda3d.core.TypedReferenceCount share the same TypeHandle value (5); check class definitions.
Traceback (most recent call last):
File "<string>", line 15, in <module>
File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module
exec(bytecode, module.__dict__)
File "c:\dev\daniels_projects\PycharmProjects\event_log_explorer\CustomerGUI.py", line 1, in <module>
from direct.showbase.ShowBase import ShowBase
File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module
exec(bytecode, module.__dict__)
File "C:\Panda3D-1.9.1\direct\showbase\ShowBase.py", line 28, in <module>
from direct.interval import IntervalManager
File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 363, in load_module
exec(bytecode, module.__dict__)
File "C:\Panda3D-1.9.1\direct\interval\IntervalManager.py", line 142, in <module>
ivalMgr = IntervalManager(1)
File "C:\Panda3D-1.9.1\direct\interval\IntervalManager.py", line 32, in __init__
self.setEventQueue(self.eventQueue)
TypeError: CIntervalManager.set_event_queue() argument 1 must be panda3d.core.EventQueue, not panda3d.core.EventQueue
ServiceGUI returned -1
From the error message I can guess that panda3d is somehow loaded multiple times, but I have no idea how this happens and how to fix it.
Any ideas are appreciated! Thanks!