I’m running into trouble trying to deploy my game using packp3d and pdeploy on my OSX i386 machine.
packp3d -o mysim.p3d -d . -r ode -m simulator.py -e py -p xmlrpc -c auto_start=1
pdeploy -n mysim -v 1 -s mysim.p3d standalone
Upon executing the binary, it gets caught after successfully installing all of the Panda Runtime libraries and ODE. The Panda splash screen hangs. Running the binary with gdb shows it’s expecting some hardcoded load path: /Users/rdb/… to link to libraries:
i386-apple-darwin"...Reading symbols for shared libraries ............. done
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngerror.o)" - no debug information available for "pngerror.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngget.o)" - no debug information available for "pngget.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngread.o)" - no debug information available for "pngread.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-png.o)" - no debug information available for "png.c".
warning: .o file "/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/libgcc.a(_eprintf.o)" more recent than executable timestamp
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrutil.o)" - no debug information available for "pngrutil.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngmem.o)" - no debug information available for "pngmem.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngtrans.o)" - no debug information available for "pngtrans.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrtran.o)" - no debug information available for "pngrtran.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngrio.o)" - no debug information available for "pngrio.c".
warning: Could not find object file "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/lib/libpng.a(libpng12_la-pngset.o)" - no debug information available for "pngset.c".
Similarly, when I run pdeploy in installer mode, pdeploy itself crashes with the /Users/rdb/ path problem:
:Standalone: Creating ./osx_i386/MyApp.app/Contents/MacOS/myapp...
:HostInfo: Downloading contents file [ http://runtime.panda3d.org/contents.xml?1273625087 ]
:PackageInfo: panda3d downloading http://runtime.panda3d.org/panda3d/cmu_1.7/osx_i386/panda3d.cmu_1.7.osx_i386.xml
:PackageInfo: panda3d downloading http://runtime.panda3d.org/panda3d/cmu_1.7/osx_i386/panda3d.cmu_1.7.osx_i386.mf.1.pz
:PackageInfo: ode downloading http://runtime.panda3d.org/ode/cmu_1.7/osx_i386/ode.cmu_1.7.osx_i386.xml
Traceback (most recent call last):
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 352, in __taskChainDispatch
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 410, in __dispatch
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 493, in __startIfReady
File "VFSImporter", line 153, in load_module
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/pdeploy.py", line 251, in <module>
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 260, in build
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 408, in buildPKG
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 367, in buildAPP
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 204, in installPackagesInto
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 198, in downloadDescFile
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 248, in downloadDescFileGenerator
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 332, in __readDescFile
AttributeError: 'NoneType' object has no attribute 'getHostWithAlt'
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 411, in run
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/task/Task.py", line 496, in run
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/task/Task.py", line 454, in step
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 352, in __taskChainDispatch
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/showbase/Messenger.py", line 410, in __dispatch
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/AppRunner.py", line 493, in __startIfReady
File "VFSImporter", line 153, in load_module
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/pdeploy.py", line 251, in <module>
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 260, in build
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 408, in buildPKG
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 367, in buildAPP
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/DeploymentTools.py", line 204, in installPackagesInto
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 198, in downloadDescFile
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 248, in downloadDescFileGenerator
File "/Users/rdb/pandaworker/panda3d-1.7.0/built_cmu/direct/p3d/PackageInfo.py", line 332, in __readDescFile
AttributeError: 'NoneType' object has no attribute 'getHostWithAlt'
Successfully joined thread: 0
Failure on startup.
Any workarounds or suggestions would be appreciated. Thank you!
Dustin