@Matt - which python version do you use on Gentoo? I have minor issues on OS x 10.5.8 with
- Inkscape 0.47pre2-2 r22153, Python 5.2.1
- Inkscape 0.46+devel r22240, Python 2.6.2
1) I get the console messages from Inkscape shown in an extension error dialog - even though the sliced export (and logging to $TMP/inklog.log) work as expected...
error messages from layer2png.py:
Xlib: extension "RANDR" missing on display "/tmp/launch-Dc2T4w/:0".
** (inkscape-bin:11502): WARNING **: Format autodetect failed. The file is being opened as SVG.
Xlib: extension "RANDR" missing on display "/tmp/launch-Dc2T4w/:0".
** (inkscape-bin:11536): WARNING **: Format autodetect failed. The file is being opened as SVG.
Xlib: extension "RANDR" missing on display "/tmp/launch-Dc2T4w/:0".
** (inkscape-bin:11570): WARNING **: Format autodetect failed. The file is being opened as SVG.
Xlib: extension "RANDR" missing on display "/tmp/launch-Dc2T4w/:0".
** (inkscape-bin:11604): WARNING **: Format autodetect failed. The file is being opened as SVG.
Can you redirect or dump stderr as other extensions do (they never show the console error output of the command-line inkscape invocation)? Maybe a naive question as I am a Python ignoramus…
corresponding inklog.log lines (note: the temp-files don't have an .svg suffix - hence above error msgs):
2) the string 'none' in your 'inx' file is taken literally on OS X as directory "none" instead of value=None. The extractimages.py extension has the same issue... Deleting the string in the inx file lets your extension default to $HOME as export directory.
3) BTW - OS X user extension installation path: ~/.config/inkscape/extensions/
@Matt - which python version do you use on Gentoo? I have minor issues on OS x 10.5.8 with
- Inkscape 0.47pre2-2 r22153, Python 5.2.1
- Inkscape 0.46+devel r22240, Python 2.6.2
1) I get the console messages from Inkscape shown in an extension error dialog - even though the sliced export (and logging to $TMP/inklog.log) work as expected...
error messages from layer2png.py:
Xlib: extension "RANDR" missing on display "/tmp/launch- Dc2T4w/ :0".
** (inkscape- bin:11502) : WARNING **: Format autodetect failed. The file is being opened as SVG. Dc2T4w/ :0".
Xlib: extension "RANDR" missing on display "/tmp/launch-
** (inkscape- bin:11536) : WARNING **: Format autodetect failed. The file is being opened as SVG. Dc2T4w/ :0".
Xlib: extension "RANDR" missing on display "/tmp/launch-
** (inkscape- bin:11570) : WARNING **: Format autodetect failed. The file is being opened as SVG. Dc2T4w/ :0".
Xlib: extension "RANDR" missing on display "/tmp/launch-
** (inkscape- bin:11604) : WARNING **: Format autodetect failed. The file is being opened as SVG.
Can you redirect or dump stderr as other extensions do (they never show the console error output of the command-line inkscape invocation)? Maybe a naive question as I am a Python ignoramus…
corresponding inklog.log lines (note: the temp-files don't have an .svg suffix - hence above error msgs):
DEBUG:root:COMMAND inkscape -i rect2891 -e /Users/ suv/rect2891. png /var/folders/ Bx/Bx++ +TQ/-Tmp- /ink_ext_ XXXXXX. svg6RTV0U suv/rect2893. png /var/folders/ Bx/Bx++ +TQ/-Tmp- /ink_ext_ XXXXXX. svg6RTV0U suv/rect2895. png /var/folders/ Bx/Bx++ +TQ/-Tmp- /ink_ext_ XXXXXX. svg6RTV0U suv/rect2897. png /var/folders/ Bx/Bx++ +TQ/-Tmp- /ink_ext_ XXXXXX. svg6RTV0U
DEBUG:root:COMMAND inkscape -i rect2893 -e /Users/
DEBUG:root:COMMAND inkscape -i rect2895 -e /Users/
DEBUG:root:COMMAND inkscape -i rect2897 -e /Users/
2) the string 'none' in your 'inx' file is taken literally on OS X as directory "none" instead of value=None. The extractimages.py extension has the same issue... Deleting the string in the inx file lets your extension default to $HOME as export directory.
3) BTW - OS X user extension installation path: ~/.config/ inkscape/ extensions/