cannot load model files in panda?

hi, im a total novice to panda, and am currently going through some detailed tutorials etc.
the problem im runing into is with importing .egg models into it

here is the example im running with,

import direct.directbase.DirectStart

class World:
def init(self):
base.setBackgroundColor(0, 0, 0)
self.track = loader.loadModel("…\test.egg")
self.track.reparentTo(render)
w = World
run()

when i run this i get,

File “C:\work\test.py”, line 8, in
w = World
File “C:\work\test.py”, line 6, in init
self.track = loader.loadModel("…\test.egg")
File “Panda3D-1.7.2\direct\showbase\Loader.py”, line 169, in loadModel
raise IOError, message
IOError: could not load model file(s):[’…\test.egg’]

anyone please shed some light on this?
thanks in advance :slight_smile:

also, im using panda 1.7.2, python 2.6.6, blender 2.49 and the corresponding chicken export

Hi, welcome to the forums! You’re using the wrong filename syntax… Moreover, you’d better remove the extension from the filename…