I'm running Pyrobot 5.0.0 on OSX 10.5.2 (with Python 2.5.1) and getting the following traceback when I try loading the default PyrobotRobot60000.py in the Braitenburg world:

Exception in Tkinter callback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File "./gui/TK.py", line 202, in loadRobot
    gui.loadRobot(self)
  File "./gui/__init__.py", line 558, in loadRobot
    self.engine.loadRobot(f)
  File "./engine/__init__.py", line 174, in loadRobot
    self.robot = system.loadINIT(file)
  File "./system/__init__.py", line 86, in loadINIT
    exec("import " + module + " as userspace")
  File "<string>", line 1, in <module>
  File "./plugins/robots/PyrobotRobot60000.py", line 1, in <module>
    from pyrobot.robot.symbolic import TCPRobot
  File "./robot/symbolic.py", line 14, in <module>
from pyrobot.simulators.pysim import colorMap, colorCode, colorUnCode
ImportError: cannot import name colorMap

I've tried Pyrobot 4.9.3 and 4.8.2, and both give slightly different tracebacks, but the same ImportError occurs regarding colorMap. Do I need to downgrade to Python 2.4.x for these to work? Do the included worlds/robots not work under certain versions of the simulator?

Any tips anyone has would be appreciated.

Dave
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users

Reply via email to