Discussion:
download and config for python 2.6 on OS 10.6.8
Ricardo Lafuente
2012-01-17 01:04:13 UTC
Permalink
CC'ing Shoebot-devel, as this e-mail seemed to get tangled on its way to
the list.

-------- Original Message --------
Subject: download and config for python 2.6 on OS 10.6.8
Date: Thu, 5 Jan 2012 11:58:54 -0800
Hi there,
I followed the instructions on the shoebox site for an OS X install, and
I run into two errors.
1st, when I go to "getting started" and attempt the command
"shoebox-ide," the command isn't found.
Shoebox-ide is a deprecated IDE program that Shoebot had initially. Now,
on GNU/Linux at least, the "proper" way to edit Shoebot files
graphically is through a Gedit plugin, providing simple shortcuts for
running Shoebot scripts.

I haven't touched the Gedit for OSX package, but I'd dare to guess that
it would be a matter of putting the plugin inside the right folder
inside the Gedit application bundle.
2nd, when I try to go to the examples/drawing directory and execute the
Jeffrey$ sbot primitives.bot
File "/Library/Frameworks/Python.framework/Versions/2.6/bin/sbot",
line 146, in <module>
show_vars = options.varwindow)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site->
packages/shoebot/sbot.py",
line 42, in run
from core import CairoCanvas, CairoImageSink
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/core/__init__.py",
line 39, in <module>
from bot import Bot
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/core/bot.py",
line 39, in <module>
from shoebot.data import BezierPath, EndClip, Color, Text,
Variable, \
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/data/__init__.py",
line 65, in <module>
from grob import Grob
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/data/grob.py",
line 1, in <module>
import cairo
ImportError: No module named cairo
Has anyone written install instructions that will work on Mac OS
10.6.8 with python 2.6?

It's complaining because Cairo is a dependency, and without it Shoebot
can't run. In order to install it, you need a way to install *nix
programs and libraries like Cairo. The most popular choice appears to be
MacPorts (a nice GUI for it is available at
http://trac.macports.org/wiki/MacPortsGUI).

In the earlier days of Shoebot, I managed to get it working (well, only
through the commandline, no graphical editor) by installing the
dependencies via MacPorts, but there's quite a few of them. I'd be happy
to pop over IRC to help or work on an OSX installation page
collaboratively -- would be great to have more content on the Shoebot
wiki from actual use.
thank you,
Jeff
Stuart Axon
2012-01-17 09:23:16 UTC
Permalink
For the moment it will only work on gedit 2.x, 3.x changed the way the plugins work.

I've had a brief look and it doesn't look like too much work to make a gedit 3.x compatible plugin.
 
S++
________________________________
Sent: Tuesday, January 17, 2012 1:04 AM
Subject: [shoebot-devel] Fwd: download and config for python 2.6 on OS 10.6.8
CC'ing Shoebot-devel, as this e-mail seemed to get tangled on its way to the list.
-------- Original Message --------
Subject:     download and config for python 2.6 on OS 10.6.8
Date:     Thu, 5 Jan 2012 11:58:54 -0800
Hi there,
I followed the instructions on the shoebox site for an OS X install, and
I run into two errors.
1st, when I go to "getting started" and attempt the command
"shoebox-ide," the command isn't found.
Shoebox-ide is a deprecated IDE program that Shoebot had initially. Now, on GNU/Linux at least, the "proper" way to edit Shoebot files graphically is through a Gedit plugin, providing simple shortcuts for running Shoebot scripts.
I haven't touched the Gedit for OSX package, but I'd dare to guess that it would be a matter of putting the plugin inside the right folder inside the Gedit application bundle.
2nd, when I try to go to the examples/drawing directory and execute the
Jeffrey$ sbot primitives.bot
    File "/Library/Frameworks/Python.framework/Versions/2.6/bin/sbot",
line 146, in <module>
      show_vars = options.varwindow)
    File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-> packages/shoebot/sbot.py",
line 42, in run
      from core import CairoCanvas, CairoImageSink
    File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/core/__init__.py",
line 39, in <module>
      from bot import Bot
    File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/core/bot.py",
line 39, in <module>
      from shoebot.data import BezierPath, EndClip, Color, Text, Variable, \
    File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/data/__init__.py",
line 65, in <module>
      from grob import Grob
    File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/shoebot/data/grob.py",
line 1, in <module>
      import cairo
ImportError: No module named cairo
Has anyone written install instructions that will work on Mac OS 10.6.8 with python 2.6?
It's complaining because Cairo is a dependency, and without it Shoebot can't run. In order to install it, you need a way to install *nix programs and libraries like Cairo. The most popular choice appears to be MacPorts (a nice GUI for it is available at http://trac.macports.org/wiki/MacPortsGUI).
In the earlier days of Shoebot, I managed to get it working (well, only through the commandline, no graphical editor) by installing the dependencies via MacPorts, but there's quite a few of them. I'd be happy to pop over IRC to help or work on an OSX installation page collaboratively -- would be great to have more content on the Shoebot wiki from actual use.
thank you,
Jeff
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Loading...