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")
w = World

when i run this i get,

File “C:\work\”, line 8, in
w = World
File “C:\work\”, line 6, in init
self.track = loader.loadModel("…\test.egg")
File “Panda3D-1.7.2\direct\showbase\”, 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…