Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile. I note on ./configure that I get the message "Internal Python skipped" Is this the root of the problem? I do have Python on my system.
Slackware 13.
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
I note on ./configure that I get the message "Internal Python skipped" Is this the root of the problem? I do have Python on my system.
no, that's for the internal script console ('View > Scripts…'), currently not working on linux and osx AFAIK. I see "Internal Python skipped" as well when configuring on osx, but all python extensions work nevertheless.
~suv
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml:
| LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | >>> import lxml | >>> print lxml.__path__ | ['/Volumes/blue/mp/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/lxml'] | >>>
~suv
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect
bound
cover and bar code don't work. Messages reference lxml in
each
case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and
numpy)
Do any of the other python extensions work? Try for example
'Text >
Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the
command line
and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more
information.
| | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
On 16/10/09 22:41, John Culleton wrote:
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
I'm a Python newbie myself and don't know more details about how to correctly install lxml on your linux distribution (on OS X I can use a port utility that handles the dependencies for me when installing python modules). At least it doesn't look like an Inkscape bug ;-)
Any linux+python expert who can help?
~suv
On Fri, Oct 16, 2009 at 5:23 PM, ~suv <suv-sf@...16...> wrote:
On 16/10/09 22:41, John Culleton wrote:
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
I'm a Python newbie myself and don't know more details about how to correctly install lxml on your linux distribution (on OS X I can use a port utility that handles the dependencies for me when installing python modules). At least it doesn't look like an Inkscape bug ;-)
Any linux+python expert who can help?
On linux, since inkscape extensions are written in python and many of those use the python wrappers for lxml to parse the xml I would assume that the distro should take care of making the python wrappers a dependency for inkscape. On gentoo it does at least.
I'm not sure about MS/Mac and how that dependency is handled on those platforms. But one should be able to install the python wrappers on those platforms too.
cheers
-matt
~suv
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
On 17/10/09 05:31, m h wrote:
On Fri, Oct 16, 2009 at 5:23 PM, ~suv <suv-sf@...16...> wrote:
On 16/10/09 22:41, John Culleton wrote:
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
I'm a Python newbie myself and don't know more details about how to correctly install lxml on your linux distribution (on OS X I can use a port utility that handles the dependencies for me when installing python modules). At least it doesn't look like an Inkscape bug ;-)
Any linux+python expert who can help?
On linux, since inkscape extensions are written in python and many of those use the python wrappers for lxml to parse the xml I would assume that the distro should take care of making the python wrappers a dependency for inkscape. On gentoo it does at least.
What about Python modules on Slackware 13? Does one have to install manually - http://codespeak.net/lxml/installation.html#installation? The Slackware Package Browser http://www.slackware.com/packages/ currently seems broken…
I'm not sure about MS/Mac and how that dependency is handled on those platforms. But one should be able to install the python wrappers on those platforms too.
On OS X the Inkscape packaging process takes care of it and bundles the necessary python modules lxml and numpy with the application. The same goes for win32 installer packages which even include the python binary.
When building from SVN however a port manager like MacPorts on OS X helps a lot. On win32 AFAIK one can download (pre-compiled?) dev-libs needed to build Inkscape from SVN.
~suv
On Fri, Oct 16, 2009 at 10:05 PM, ~suv <suv-sf@...16...> wrote:
On 17/10/09 05:31, m h wrote:
On Fri, Oct 16, 2009 at 5:23 PM, ~suv <suv-sf@...16...> wrote:
On 16/10/09 22:41, John Culleton wrote:
On Friday 16 October 2009 11:49:21 ~suv wrote:
On 16/10/09 17:41, ~suv wrote:
On 16/10/09 17:19, John Culleton wrote: > Compiled pre4 successfully . Some things like perfect bound > cover and bar code don't work. Messages reference lxml in each > case. So I iinstalled lxml. Still no joy. I started a recompile.
numpy installed? (at least on OS X I need both lxml and numpy) Do any of the other python extensions work? Try for example 'Text > Lorem ipsum…' or 'Render > Gear…'.
Does Python find all modules? Try running Python from the command line and import lxml: | LeWitt:~ suv$ python | Python 2.6.2 (r262:71600, Aug 23 2009, 06:02:15) | [GCC 4.0.1 (Apple Inc. build 5493)] on darwin | Type "help", "copyright", "credits" or "license" for more information. | | >>> import lxml | >>> print lxml.__path__
Your command line code failed to find the module. What is its exact name? Does it have a .py suffix?
I'm a Python newbie myself and don't know more details about how to correctly install lxml on your linux distribution (on OS X I can use a port utility that handles the dependencies for me when installing python modules). At least it doesn't look like an Inkscape bug ;-)
Any linux+python expert who can help?
On linux, since inkscape extensions are written in python and many of those use the python wrappers for lxml to parse the xml I would assume that the distro should take care of making the python wrappers a dependency for inkscape. On gentoo it does at least.
What about Python modules on Slackware 13? Does one have to install manually - http://codespeak.net/lxml/installation.html#installation? The Slackware Package Browser http://www.slackware.com/packages/ currently seems broken…
I don't use slackware but it appears that a package is floating around here... http://slackbuilds.org/repository/13.0/libraries/lxml/
On Saturday 17 October 2009 01:42:03 m h wrote:
I don't use slackware but it appears that a package is floating
around
here... http://slackbuilds.org/repository/13.0/libraries/lxml/
First you find the SlackBuild page for Inkscape 47 and then you search out the libraries etc. using the name SlackBuild knows them by. There is a list on the Inkscape 47 page referenced above.
I got IS 47 pre 4 working on Slackware 13 with a lot of effort. First I had to download and install the packages listed on the Slackbuild page for IS 47 from the Slackbuild repository in the order specified. That gave me a clean compile but no barcodes or other python dependent features. Then I had to download and install lxml and numpy from the same repository. I recompiled and now the python functions work.
The above is Slackware specific. I used the Slackbuild method for everything but the main program, which I compiled with the usual ./configure - make - make install sequence.
Do you have all of libxml2, python-lxml, and python-numpy installed?
On Fri, 2009-10-16 at 11:19 -0400, John Culleton wrote:
Compiled pre4 successfully . Some things like perfect bound cover and bar code don't work. Messages reference lxml in each case. So I iinstalled lxml. Still no joy. I started a recompile. I note on ./configure that I get the message "Internal Python skipped" Is this the root of the problem? I do have Python on my system.
Slackware 13.
participants (4)
-
John Culleton
-
Joshua A. Andler
-
m h
-
~suv