More problems

After I set it up I didn’t check the sample programs closely before reporting success. Most of them seem to still fail to run. Is this known as well? Furthermore, is there a list of known problems aside from the bug report tool? (That seems to be rather empty.)

The problems I see are:
For the tutorial:
:audio(error): File audio/sfx/GUI_rollover.mp3 does not exist.
:audio(error): FmodAudioManager::load failed.
:audio(error): File audio/sfx/GUI_click.mp3 does not exist.
:audio(error): FmodAudioManager::load failed.

  • More warnings than I care to list.
    And also, crashes when the panda actually finds the bamboo. This is difficult to replicate; most of the time the panda just walks through the bamboo (badly – looks like the depth buffer isn’t working or something weird like that). The console looks like this when it does happen:
    PANDA EATS FOOD!
    Panda exits Walking State
    Panda enters Eating State
    Traceback (most recent call last):
    File “C:\Panda\samples\tutorial\PandaDemo.py”, line 406, in ?
    run()
    File “C:\Panda\direct\src/showbase\ShowBase.py”, line 1239, in run
    self.taskMgr.run()
    File “C:\Panda\direct\src/task\Task.py”, line 768, in run
    self.step()
    File “C:\Panda\direct\src/task\Task.py”, line 713, in step
    self.__stepThroughList(taskPriList)
    File “C:\Panda\direct\src/task\Task.py”, line 653, in __stepThroughList
    ret = self.__executeTask(task)
    File “C:\Panda\direct\src/task\Task.py”, line 603, in __executeTask
    ret = task(task)
    File “C:\Panda\samples\tutorial\PandaDemo.py”, line 345, in pandaSmellBamboo
    self.pandaSound.play()
    AttributeError: World instance has no attribute ‘pandaSound’
    :display: Closing wglGraphicsWindow

pandaPunch gives an error like this when I click the panda:
Im punching a Panda!
Traceback (most recent call last):
File “C:\Panda\samples\PandaExamples\pandapong\pandaPunch.py”, line 73, in ?
run()
File “C:\Panda\direct\src/showbase\ShowBase.py”, line 1239, in run
self.taskMgr.run()
File “C:\Panda\direct\src/task\Task.py”, line 768, in run
self.step()
File “C:\Panda\direct\src/task\Task.py”, line 713, in step
self.__stepThroughList(taskPriList)
File “C:\Panda\direct\src/task\Task.py”, line 653, in __stepThroughList
ret = self.__executeTask(task)
File “C:\Panda\direct\src/task\Task.py”, line 603, in __executeTask
ret = task(task)
File “C:\Panda\direct\src/showbase\EventManager.py”, line 36, in eventLoopTask

self.doEvents()

File “C:\Panda\direct\src/showbase\EventManager.py”, line 30, in doEvents
self.processEvent(self.eventQueue.dequeueEvent())
File “C:\Panda\direct\src/showbase\EventManager.py”, line 75, in processEvent
messenger.send(eventName)
File “C:\Panda\direct\src/showbase\Messenger.py”, line 146, in send
apply(method, (extraArgs + sentArgs))
File “C:\Panda\samples\PandaExamples\pandapong\pandaPunch.py”, line 17, in Pun
chPanda
self.iFP.play()
File “CInterval”, line 1028, in play
File “C:\Panda\direct\src/directnotify\Notifier.py”, line 99, in error
raise exception(errorString)
StandardError: using deprecated CInterval.play() interface
:display: Closing wglGraphicsWindow

And that error (using deprecated CInterval.play() interface) seems to show up a laaarge amount; I would say most of the samples crash on that error.

Sorry if this is redundant. I mainly just want to know if there’s anything I can do to fix it or if Panda is just that broken right now … ?

Hi jimmy,

In the latest build of Panda that we received from Disney, the play()
method has been replaced with a start() method. They are behave identically as far as we can tell, but Panda will no longer accept play(). I am currently in the process of updating the demos and tutorial to reflect this change, and they will be available shortly.

In the meantime, just change these functions to say .start() instead of .play() and those demos should run:

self.iFP.play()

self.pandaSound.play()

-Jason