loadfont error on linux (panda 1.7)

justs compiled cvs (v1.7) version for linux and the following error shows up when trying to run ani of the samples:
sinhematik@sinhematik1:/usr/share/panda3d/samples/Carousel$ python Tut-Carousel.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: “/usr/share/panda3d/samples/Carousel:/etc/…:/etc/…/models”)
:pnmtext(error): Unable to find font file cmss12
Traceback (most recent call last):
File “Tut-Carousel.py”, line 29, in
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

NOTE: if compiled using makepanda and --no-ffmpeg since I just couldm’t make it work!!

This bug has already been reported on the bugtracker and is on my list of things to fix.

Thanks in advance pro-rsoft.

For the record, I’ve just fixed this bug and checked it into CVS.

worked Ok!
but other error on samples:
sinhematik@sinhematik1:/usr/share/panda3d/samples/Carousel$ python Tut-Carousel.py
DirectStart: Starting the game.
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:pgraph(warning): Using deprecated LightAttrib interface.
:pgraph(warning): Using deprecated LightAttrib interface.
Traceback (most recent call last):
File “Tut-Carousel.py”, line 195, in
w = World()
File “Tut-Carousel.py”, line 44, in init
self.setupLights() #Add some basic lighting
File “Tut-Carousel.py”, line 112, in setupLights
render.attachNewNode( directionalLight.upcastToPandaNode() )
AttributeError: ‘libpanda.DirectionalLight’ object has no attribute ‘upcastToPandaNode’

The samples are outdated. You need to remove all instances of “.upcastToPandaNode()” in the sample programs, it’s a deprecated function that has finally been removed.