Comment 1 for bug 551433

su_v (suv-lp) wrote :

console message (r9257):

PYTHONPATH = Contents/Resources/extensions:/Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/python/site-packages/i386/2.5

The relative path is partially 'correct' as it points to the location of the extension directory inside the application package (which corresponds to '/usr/share/inkscape/extensions' on linux systems), but previous revisions have the full path added to PYTHONPATH.

e.g. Inkscape 0.47 reports this debug info:

['/Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/python/site-packages/i386/2.5/lxml']
------------
lxml.etree: (1, 3, 6, 0)
libxml used: (2, 6, 16)
libxml compiled: (2, 6, 30)
libxslt used: (1, 1, 12)
libxslt compiled: (1, 1, 22)
------------
['/Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/python/site-packages/i386/2.5/numpy']
------------
numpy version: 1.0.4
------------
sys.path: ['/Users/suv/.config/inkscape.extensions/LeWitt', '/Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/extensions', '/Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/python/site-packages/i386/2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC']
------------