Kursad Karatas
2010-06-22 19:31:30 UTC
Hi
I have a local vectorlib that I have written. It is neither in the
Python path nor in Env. It resides where the sbot file is. This is the
error I am getting. I assume that sbot does not like local libraries?
Also the wiki page about importing Sbot as a ptyhon module is missing, I
wanted to try as a standard Python app.
$ sbot -w Boids_v001.bot
Traceback (most recent call last):
File "/usr/local/bin/sbot", line 193, in <module>
bot=options.bot)
File "/usr/local/bin/sbot", line 77, in run_window
win = ShoebotWindow(script, server, port, varwindow, go_fullscreen, bot)
File
"/usr/local/lib/python2.6/dist-packages/shoebot/gui/gtk_window.py", line
37, in __init__
self.drawingarea = ShoebotDrawingArea(self, self.bot)
File
"/usr/local/lib/python2.6/dist-packages/shoebot/gui/gtk_drawingarea.py",
line 51, in __init__
self.bot.run()
File "/usr/local/lib/python2.6/dist-packages/shoebot/core/bot.py",
line 356, in run
exec source_or_code in self.namespace
File "shoebot_code", line 1, in <module>
ImportError: No module named VectorLib
thanks
I have a local vectorlib that I have written. It is neither in the
Python path nor in Env. It resides where the sbot file is. This is the
error I am getting. I assume that sbot does not like local libraries?
Also the wiki page about importing Sbot as a ptyhon module is missing, I
wanted to try as a standard Python app.
$ sbot -w Boids_v001.bot
Traceback (most recent call last):
File "/usr/local/bin/sbot", line 193, in <module>
bot=options.bot)
File "/usr/local/bin/sbot", line 77, in run_window
win = ShoebotWindow(script, server, port, varwindow, go_fullscreen, bot)
File
"/usr/local/lib/python2.6/dist-packages/shoebot/gui/gtk_window.py", line
37, in __init__
self.drawingarea = ShoebotDrawingArea(self, self.bot)
File
"/usr/local/lib/python2.6/dist-packages/shoebot/gui/gtk_drawingarea.py",
line 51, in __init__
self.bot.run()
File "/usr/local/lib/python2.6/dist-packages/shoebot/core/bot.py",
line 356, in run
exec source_or_code in self.namespace
File "shoebot_code", line 1, in <module>
ImportError: No module named VectorLib
thanks
--
Kursad Karatas
http://portfolio.plecxus.com/
Kursad Karatas
http://portfolio.plecxus.com/