Hmm. Is it possible you have multiple versions of python installed, and you’re running the wrong version (that is, a different version that the one Panda configured itself for)?
I assume you can also run pview with any .egg file without crashing. If so, this points to some python misconfiguration.
Hello, I’m just not sure how it could be a mis-configuration. I’ve only got Python 2.5 installed, this is a pretty standard Ubuntu Hardy setup. And I figured makepanda.py was smart enough to get this handled without an issue.
I certainly agree this shouldn’t have happened. I don’t remember anything like this happening before.
But if panda runs fine outside of python, and crashes immediately when run within python, it follows that something’s wrong with python, or with the interface between panda and python. The first obvious guess is the wrong python version. If you’re absolutely sure you only have one version of python, that leaves that out. I suppose you only have the one version of panda also?
Can you do other, simpler tasks within python? For instance, can you just import DirectStart and admire the gray screen? Can you do more complex tasks within pview, like view any egg files? The answers to these questions may help narrow down the problem. For instance, it’s possible that it’s not a problem with python at all; maybe there’s just a problem with the libjpeg library, and it crashes the first time you load a model with a jpeg image applied to it.
Hrmm, now that you mention it, I did try to install the old gutsy package earlier, but removed it when it too errored out. I did a dpkg --purge and figured it’d clean everything up, but perhaps something is left over. I’ll purge the newly installed .deb that I packaged and see if I can find any leftovers. Any ideas for files to find/delete aside from stuff with “panda” in the name?
To be sure, you can try uninstalling the hardy deb, delete everything in /usr/lib/panda3d and /usr/share/panda3d, and install your hardy .deb again.
Hmm, I remember having something similar before, but I fixed it by rebooting my computer. Might sound stupid and unnecessary, but can you try rebooting after you installed the .deb?