Discussion:
Color library import
Stuart Axon
2010-01-27 11:56:47 UTC
Permalink
I was trying the kudzu example from here:
http://nodebox.net/code/index.php/Growing_things_|_kudzu


It seems that the colors library stopped working in the reorganisation

This minimal example:
#
colors = ximport("colors")

#
Gives the error:
File "C:\usr\Python26/share/shoebot/lib\colors\__init__.py", line 439, in <module>
from shoebot import Color as BaseColor


I tried changing line 439 in
lib/colors/__init__.py
to
from shoebot.core.bot import Color as BaseColor



That seems to fix the minimal example (but I'm not sure if it's the right fix).
Loading...