Script Error / Install a Script

Post questions on how to use or achieve an effect in Inkscape.
izvie
Posts: 4
Joined: Sat Oct 11, 2008 12:35 pm

Script Error / Install a Script

Postby izvie » Sun Oct 12, 2008 9:13 am

Hi,

I'm using Inkscape 0.45 on Puppy Linux 4.00, which is installed on a pen drive. There is an option in Inkscape that is available under Effects/Images called "Embed All Images".

I have Inkscape installed on a Vista PC and a Linux Mint PC, and this option is available on both operating systems as default, but it is not available on the Puppy version of Inkscape 0.45 that I installed.

When I try to use this option, I receive the following error message:

"Inkscape has received an error from the script that it called. The text returned with the error is included below. Inkscape will continue working, but the action you requested has been cancelled."

The text returned says: "sh: python: command not found" and then there is an OK button, but nothing else.

My question is: how do I install that script so that I can embed images?

Thanks!
Izvie

Inkscaper_

Re: Script Error / Install a Script

Postby Inkscaper_ » Sun Oct 12, 2008 9:21 am

The script should be already installed if it is available in "Effects" menu, you have to install python to make it work.

izvie
Posts: 4
Joined: Sat Oct 11, 2008 12:35 pm

Re: Script Error / Install a Script

Postby izvie » Sun Oct 12, 2008 9:26 am

I'm off to install Python then.

Thanks!
Izvie

izvie
Posts: 4
Joined: Sat Oct 11, 2008 12:35 pm

Re: Script Error / Install a Script

Postby izvie » Tue Oct 14, 2008 1:23 pm

OK, I got Python installed, but now when I click on Embed Images, I get this message:

"The inkex.py module requires PyXML. Please download the latest version from <http://pyxml.sourceforge.net/>."

So I found PyXML, but I don't see how to install it. I downloaded the tarball, I go into tmp and extract it, but what file do I click on to install it? I'm sure it's something simple I'm missing.

Thanks!
Izvie

Inkscaper_

Re: Script Error / Install a Script

Postby Inkscaper_ » Wed Oct 15, 2008 3:51 am

For most distros it should be /usr/lib/python2.4/site-packages/lxml or /usr/lib/python2.5/site-packages/lxml depending on python version you have installed. But it is possible that you might need even more pacakes to run this script, why don't you use portable version of Inkscape?

izvie
Posts: 4
Joined: Sat Oct 11, 2008 12:35 pm

Re: Script Error / Install a Script

Postby izvie » Thu Oct 16, 2008 1:39 pm

Thanks Inkscaper,

I have been asking on two forums about this. I believe I got the answer I needed on the Puppy Linux forum, (if anyone wants to follow it you can check it out at http://www.murga-linux.com/puppy/ and the subject is "Inkscape says it needs PyXML. Where to get it?").

It appears that I needed a "Puppy Linux" package of Python.

As for portable apps, you are right, that is the way to go! I have Inkscape installed as a portable app on my thumb drive, along with my Linux operating system, (Puppy 4.00).

I find it very convenient to have everything, (my OS, Programs and Data) all on a thumb drive...that way I can insert my thumb drive into any computer and -poof- my PC appears and I can get to work.

Your response was very helpful...it pointed me in the right direction.

Thanks!
_Izvie


Return to “Help with using Inkscape”