User talk:Jingshaochen

From Inkscape Wiki
Jump to navigation Jump to search

Python-based extensions with official Inkscape package for Mac OS X

I did revert your 'tips' you had added to Tips_For_Python_Script_Extensions because installing the basic requirement (lxml module) as user outside the application bundle is not the recommended way to address any such failures:

If extensions fail to execute with the official package (i.e. cannot find or load the bundled python modules), this is a bug and should be reported in the bug tracker. Note: Issues on Snow Leopard and Lion have been filed already [1]. Extensions do work out-of-the-box with Inkscape 0.48.2 on Snow Leopard, and will do with the next bug fix release (0.48.3.1) on Lion, too. The workaround to use Python extensions with Inkscape 0.48.2 on Lion is inserting a single line of code into a launcher shell script inside the application bundle - there is no need to install lxml as user via command line, nor to do any other changes to the system outside of Inkscape.app.


[1] Python-based extensions failing on

[2] Detailed instructions to work around the issue on Lion (until we have a precompiled package of Inkscape 0.48.3.1 available for download): Question #194132

--~suv 06:59, 18 May 2012 (UTC)