several startup errors in a selfbuilt panda on archlinux

hi pandas :slight_smile:
i’ve compiled and installed panda3d on my archlinux box (no critical errors so far), but i always get errors running the example file as described here:

this is the output:

DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
(all display modules loaded.)
:audio(error): _system->init(): Error initializing output device. 
:audio(error): _system->init(): Error initializing output device. 
:util(warning): Adjusting global clock's real time by 0.955538 seconds.
:util(warning): Adjusting global clock's real time by -0.231743 seconds.
Assertion failed: root.is_directory() at line 116 of panda/src/putil/bamCache.cxx
Traceback (most recent call last):
  File "", line 4, in <module>
  File "/opt/panda3d/direct/src/showbase/", line 2262, in run
  File "/opt/panda3d/direct/src/task/", line 939, in run
  File "/opt/panda3d/direct/src/task/", line 877, in step
  File "/opt/panda3d/direct/src/task/", line 776, in __stepThroughList
    ret = self.__executeTask(task)
  File "/opt/panda3d/direct/src/task/", line 696, in __executeTask
    ret = task(*task.extraArgs)
  File "/opt/panda3d/direct/src/showbase/", line 1522, in __igLoop
AssertionError: root.is_directory() at line 116 of panda/src/putil/bamCache.cxx

btw: the package is built with this PKGBUILD (archlinux’ own way to compile packages and pack them in one step).
like u can see, 2 patches are applied: patch1 and patch2

thanks in advance!

edit: of course i have current stable releases of both python and panda3d installed

The assertion error here means that you have a line in your Config.prc file:

model-cache-dir /some/directory/somewhere

but the directory /some/directory/somewhere (or whatever it is you actually have there) doesn’t exist and can’t be created, presumably because of a permissions issue.


set it to a dir in /tmp/ and now it works perfectly :smiley:

thank you!