Config.prc missing an model-path

Bug #450824 reported by LinuxDonald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
High
rdb

Bug Description

[LinuxDonald@localhost Roaming-Ralph]$ python Tut-Roaming-Ralph.py
DirectStart: Starting the game.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:loader(error): Couldn't load file cmss12.egg: not found on model path (currently: "/home/LinuxDonald/Downloads/panda3d-1.6.2/samples/Roaming-Ralph:/etc/..:/etc/../models")
:pnmtext(error): Unable to find font file cmss12
Traceback (most recent call last):
  File "Tut-Roaming-Ralph.py", line 29, in <module>
    font = loader.loadFont("cmss12")
  File "/usr/share/panda3d/direct/showbase/Loader.py", line 436, in loadFont
    raise IOError, message
IOError: Could not load font file: cmss12

To fix that i must add this line into Config.prc
model-path $/usr/share/panda3d/models

Is that an RPM build error because my panda3d cvs version is builded with --installer?

Revision history for this message
LinuxDonald (linuxdonald) wrote :

model-path $/usr/share/panda3d/
model-path $/usr/share/panda3d/models

This too lines must be added

Revision history for this message
rdb (rdb) wrote : Re: [Bug 450824] Re: Config.prc missing an model-path(an rpm problem?)

How old is your copy of the CVS tree?
Does installpanda.py contain this line, for you?
Configrc.replace("model-path $THIS_PRC_DIR/..", "model-path "+destdir+prefix+"/share/panda3d")
If it does, there must be a silly mistake somewhere.

Revision history for this message
LinuxDonald (linuxdonald) wrote : Re: Config.prc missing an model-path(an rpm problem?)

i have this line but i have only this line in the Config.prc in my builded rpm:

model-path $MAIN_DIR
model-path $THIS_PRC_DIR/..
model-path $THIS_PRC_DIR/../models

Revision history for this message
LinuxDonald (linuxdonald) wrote :

CVS: Version is the newest one

rdb (rdb)
Changed in panda3d:
assignee: nobody → Reinier de Blois (pro-rsoft)
importance: Undecided → High
status: New → In Progress
summary: - Config.prc missing an model-path(an rpm problem?)
+ Config.prc missing an model-path
Revision history for this message
rdb (rdb) wrote :

Just checked in a fix to CVS, file makepanda/installpanda.py .

Changed in panda3d:
milestone: none → 1.7.0
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.