Dear Maintainer,

I did a fresh install of debian testing.
I installed inkscape and pstoedit.
When using the LaTex extension in inkscape (extensions > render > latex) I get 
the same error:

 *** WARNING - the DELAYBIND command has been deprecated, and will be

               removed in the next version. For now you can restore

               the behaviour by using -dREALLYDEALYBIND but if you

               require continued use of this command you should contact

               the Ghostscript developers. Commercial customers of

               Artifex should email their support contact, free users

               are encouraged to talk to us on the #ghostscript IRC

               channel on irc.freenode.net.



Unrecoverable error: undefined in DELAYBIND

PostScript/PDF Interpreter finished. Return status 65280 executed command : /
usr/bin/gs -I/home/mando/.fonts -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -
dNOEPS "/tmp/psinPMmdbP"

The interpreter seems to have failed, cannot proceed !

Traceback (most recent call last):
  File "eqtexsvg.py", line 160, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect
    self.effect()
  File "eqtexsvg.py", line 154, in effect
    svg_open(self, svg_file)
  File "eqtexsvg.py", line 81, in svg_open
    doc = inkex.etree.parse(filename)
  File "src/lxml/etree.pyx", line 3425, in lxml.etree.parse
  File "src/lxml/parser.pxi", line 1839, in lxml.etree._parseDocument
  File "src/lxml/parser.pxi", line 1865, in lxml.etree._parseDocumentFromURL
  File "src/lxml/parser.pxi", line 1769, in lxml.etree._parseDocFromFile
  File "src/lxml/parser.pxi", line 1162, in 
lxml.etree._BaseParser._parseDocFromFile
  File "src/lxml/parser.pxi", line 600, in 
lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 710, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 639, in lxml.etree._raiseParseError
  File "/tmp/inkscape-zoqsCO/eq.svg", line 1
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

gs suggests to rely on -dREALLYDEALYBIND :

(mando@silk) (~) $ /usr/bin/gs -I/home/mando/.fonts -q -dDELAYBIND -
dWRITESYSTEMDICT -dNODISPLAY -dNOEPS /home/mando/qp-tr.ps 

 *** WARNING - the DELAYBIND command has been deprecated, and will be
               removed in the next version. For now you can restore
               the behaviour by using -dREALLYDEALYBIND but if you
               require continued use of this command you should contact
               the Ghostscript developers. Commercial customers of
               Artifex should email their support contact, free users
               are encouraged to talk to us on the #ghostscript IRC
               channel on irc.freenode.net.

Unrecoverable error: undefined in DELAYBIND

(mando@silk) (~) $ /usr/bin/gs -I/home/mando/.fonts -q -dREALLYDELAYBIND -
dWRITESYSTEMDICT -dNODISPLAY -dNOEPS /home/mando/qp-tr.ps 
GS>

I tried to rename /usr/bin/gs to /usr/bin/gs.debian where /usr/bin/gs 
contains:

#!/bin/sh

s="/usr/bin/gs.debian " 
for arg in "$@"
do
        if [ "$arg" = "-dDELAYBIND" ] ; then
                s=$s" -dREALLYDELAYBIND"
        else
                s=$s" $arg"
        fi
done
exec $s 
exit 0

... but Inkscape still does not work.

Error: /undefined in NOBIND

Operand stack:



Execution stack:

   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --
nostringval--   false   1   %stopped_push   2014   1   3   %oparray_pop   2013  
 
1   3   %oparray_pop   1997   1   3   %oparray_pop   1884   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--

Dictionary stack:

   --dict:1236/1684(G)--   --dict:0/20(G)--   --dict:130/200(L)--

Current allocation mode is local

Current file position is 6370

GPL Ghostscript 9.22: Unrecoverable error, exit code 1

PostScript/PDF Interpreter finished. Return status 256 executed command : /
usr/bin/gs -I/home/mando/.fonts -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -
dNOEPS "/tmp/psinLregg0"

The interpreter seems to have failed, cannot proceed !

Traceback (most recent call last):
  File "eqtexsvg.py", line 160, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect
    self.effect()
  File "eqtexsvg.py", line 154, in effect
    svg_open(self, svg_file)
  File "eqtexsvg.py", line 81, in svg_open
    doc = inkex.etree.parse(filename)
  File "src/lxml/etree.pyx", line 3425, in lxml.etree.parse
  File "src/lxml/parser.pxi", line 1839, in lxml.etree._parseDocument
  File "src/lxml/parser.pxi", line 1865, in lxml.etree._parseDocumentFromURL
  File "src/lxml/parser.pxi", line 1769, in lxml.etree._parseDocFromFile
  File "src/lxml/parser.pxi", line 1162, in 
lxml.etree._BaseParser._parseDocFromFile
  File "src/lxml/parser.pxi", line 600, in 
lxml.etree._ParserContext._handleParseResultDoc
  File "src/lxml/parser.pxi", line 710, in lxml.etree._handleParseResult
  File "src/lxml/parser.pxi", line 639, in lxml.etree._raiseParseError
  File "/tmp/inkscape-ZiBO2L/eq.svg", line 1
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

Best regards

Reply via email to