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:https://www.panda3d.org/manual/index.php/Starting_Panda3D

this is the output:

DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
  glxGraphicsPipe
(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 "panda.py", line 4, in <module>
    run()
  File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 2262, in run
    self.taskMgr.run()
  File "/opt/panda3d/direct/src/task/Task.py", line 939, in run
    self.step()
  File "/opt/panda3d/direct/src/task/Task.py", line 877, in step
    self.__stepThroughList(taskPriList)
  File "/opt/panda3d/direct/src/task/Task.py", line 776, in __stepThroughList
    ret = self.__executeTask(task)
  File "/opt/panda3d/direct/src/task/Task.py", line 696, in __executeTask
    ret = task(*task.extraArgs)
  File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 1522, in __igLoop
    self.graphicsEngine.renderFrame()
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.

David

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

thank you!