For some reason, i can’t get anything to work on my main computer. Even in the hello world, i get a black screen for a second or two that closes automagically.
from direct.showbase.ShowBase import ShowBase
class MyApp(ShowBase):
def __init__(self):
ShowBase.__init__(self)
app = MyApp()
app.run()
This, as well as any other panda3d code, results in this :
Could you give a bit more information? Particularly, which version of Panda3D did you download, precisely? Did you get the 32-bit or the 64-bit version?
I’ve bumped into the same problem on 32 bit windows 10.
I’ve got python 3.7.1, panda3d 1.10.1.dev14 (the newest build for win32 I could find). The only major difference is that it happens only if I have a gamepad plugged in (it will also crash I plug it in while a p3d program is running)
@Justin_Bacle Is there a gamepad plugged in? Could you try putting notify-level spam in your Config.prc file and attach the command-line output?
For what it’s worth, is there a particular reason you are using the 32-bit build? For most purposes one should be using a 64-bit build of Panda3D and Python.
I compiled a 32-bit version of Panda3D and got the same assertion, which did indeed turn out to be caused by an attached gamepad. So assuming you are getting the same issue, I’ve just checked in a fix:
@rdb that is totally true, I unplugged my Xbox 360 controller, and everything works as expected !
I would never have thought of that ! my controller is plugged in all the time
At least we now know where does that error comes from !
As for the 32bit version, i just installed python3 and panda via pip, I haven’t really gave it much thought about 32 vs 64 bit TBH