Problem using packp3d - Panda3D 1.7.2

Hello everyone :slight_smile: .

I am making a game in Panda3D 1.7.2 but I seem to have run into a problem when making the distributable using packp3d. It is similar to the problem here :

However there is no GET or connection timeout message, like there was at that thread, so I opened a new topic in case it is something different. I tried deleting the contents of AppData\Local for all Panda3D related files and re-installing Panda3D, as well as various tinkerings but it wasn’t solved. I can run p3d files like the examples and games created by users but I can’t create my own. Below is what happens.

After it succesfully copies the files of the game, it goes like this:


:AppRunner: Total Panda3D disk space used: 389 MB
:AppRunner: Configured max usage is: 2048 MB
:AppRunner: Freshening runtime.panda3d.org/panda3d/cmu … 32/panda3d
.cmu_1.7.win32.import.xml
Traceback (most recent call last):
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\showba
se\Messenger.py”, line 415, in __taskChainDispatch
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\showba
se\Messenger.py”, line 473, in __dispatch
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\p3d\Ap
pRunner.py”, line 745, in __startIfReady
File “VFSImporter”, line 153, in load_module
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/packp3d.py”, line 219, in
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/packp3d.py”, line 199, in makePackedApp
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 3006, in do_require
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 3032, in requirePackagesNamed
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 2748, in findPackage
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 2855, in __findPackageOnHost
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\direct
notify\Notifier.py”, line 132, in error
StandardError: Couldn’t download import file.
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\p3d\Ap
pRunner.py”, line 636, in run
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\task\T
ask.py”, line 502, in run
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\task\T
ask.py”, line 460, in step
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\showba
se\Messenger.py”, line 415, in __taskChainDispatch
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\showba
se\Messenger.py”, line 473, in __dispatch
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\p3d\Ap
pRunner.py”, line 745, in __startIfReady
File “VFSImporter”, line 153, in load_module
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/packp3d.py”, line 219, in
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/packp3d.py”, line 199, in makePackedApp
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 3006, in do_require
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 3032, in requirePackagesNamed
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 2748, in findPackage
File “/Users/buildbot/slave/release_rtdist_osx/build/panda3d/built_cmu/direct/
p3d/Packager.py”, line 2855, in __findPackageOnHost
File “C:\buildslave\release_rtdist_win32\build\panda3d\built_cmu\direct\direct
notify\Notifier.py”, line 132, in error
StandardError: Couldn’t download import file.
Failure on startup.
Press any key to continue . . .

If someone can help me find a solution to that problem I would be very grateful :slight_smile:. If it is not possible to connect to the panda3d servers to get the files, is there an offline solution ?

In case there is no solution I plan on using packpanda but since, if I am not wrong, it is abandoned in versions 1.7.* + , I would prefer to use the supported method. Plus the file size with packpanda tends to be 100MB+ even for a demo so it would be better to avoid it if I can…

Hum, what jumps out is that it’s accessing a seemingly invalid URL. Which version of the Panda3D Runtime do you have installed?

Panda3D Runtime 1.0.4 for Windows.

I removed it and redownloaded it just in case. Also removed AppData\Local\Panda3D before that.

Are you sure you posted the whole error message? I just downloaded the 1.7.2 SDK and tried it, and I got this:

:downloader: Self-signed certificate from runtime.panda3d.org:443

So, apparently 1.7.2 has a problem with our new SSL certificate on the site, probably due to an outdated CA root file. I worked around it by forcing HTTP instead of HTTPS:

panda3d.exe -M http://runtime.panda3d.org/ C:\Panda3D-1.7.2\bin\packp3d.p3d -o asteroids.p3d

Which works just fine.

Did you see the same error message about the certificate? If so, the same workaround might work for you as well. But you should really be using 1.8.1 at the very least, since we don’t support 1.7.2 any longer. (We will soon make a stable 1.9.1 release as well.)

The text I posted was the entire error message. Unfortunately the solution didn’t work for me so I will probably use the packpanda logic :slight_smile: .

As for why I am using Panda 1.7.2, it’s because I have an old laptop that has some issues with 1.8.* ( haven’t checked 1.9.* yet ). For me the performance with Panda 1.7.2 is about 40% faster(or was it 60% :confused: …it’s been some time…) and also 1.8.* had some sound issues that weren’t resolved when I tried the solutions posted. The last time I checked the relevant posts about the sound issues they were a discussion in progress, so I don’t know if something new that would solve my problems appeared.

Nevertheless the version compatibility is a problem concerning a 5-6 year old, outdated and on life support, laptop that will be replaced within the year, so it is not something of concern or to be surprised about. I recently updated my graphics drivers to a version not shown on Windows Update so I will re-try 1.8.* and 1.9.*, in case they work well for me now. In case they don’t I will just have to rework my posting scedule of the parts a bit, so they are in bigger chunks. It is not a commercial game so there are no problems.

Thank you for the time you spent helping me find a solution despite it being for a currently unsupported version :slight_smile:.