I’m running Mac OS X (Leopard), Python 2.5, and Panda3D SDK 1.7. I’ve packed my application (called Shelves) up using:
packp3d -d ./Shelves -o Shelves.p3d -m Shelves.py -r morepy -r pycurl -D
I’ve included two python modules (tornado (web server) and OSC (a udp messaging service) in my application directory. My other dependencies (multiprocessing, urllib, and others) are in morepy and pycurl, as seen in the command above. The application runs fine when I run it like:
ppython Shelves.py
But when I run the p3d like this:
panda3d -i Shelves.p3d
I get these errors:
Attempt to register type HTTPChannel more than once!
Attempt to register type VirtualFile more than once!
Attempt to register type VirtualFileHTTP more than once!
Attempt to register type VirtualFileMount more than once!
Attempt to register type VirtualFileMountHTTP more than once!
Attempt to register type Datagram more than once!
Attempt to register type NodeReferenceCount more than once!
Attempt to register type VirtualFileComposite more than once!
Attempt to register type VirtualFileMountMultifile more than once!
Attempt to register type VirtualFileMountSystem more than once!
Attempt to register type VirtualFileSimple more than once!
Attempt to register type long more than once!
Attempt to register type int more than once!
Attempt to register type uint more than once!
Attempt to register type short more than once!
Attempt to register type ushort more than once!
Attempt to register type char more than once!
Attempt to register type uchar more than once!
Attempt to register type bool more than once!
Attempt to register type double more than once!
Attempt to register type float more than once!
Attempt to register type string more than once!
Attempt to register type int* more than once!
Attempt to register type short* more than once!
Attempt to register type char* more than once!
Attempt to register type bool* more than once!
Attempt to register type double* more than once!
Attempt to register type float* more than once!
Attempt to register type void* more than once!
Attempt to register type pvector more than once!
Attempt to register type ov_set more than once!
Attempt to register type pdeque more than once!
Attempt to register type plist more than once!
Attempt to register type pmap more than once!
Attempt to register type pset more than once!
Invalid TypeHandle index 37! Is memory corrupt?
Assertion failed: (rnode != (TypeRegistryNode *)NULL), function dec_memory_usage, file dtool/src/dtoolbase/typeHandle.cxx, line 96.
Which seems like some C++ types are getting loaded twice. I’m not sure what’s going on here. Any help is appreciated. Thanks.