Comment 4 for bug 631281

Revision history for this message
NBrack (nbrack-soc) wrote : Re: 0.48 crashes (C++ Runtime Library) when using extensions

Hey, I had the crash with extension->negate->color. With inkscape 0.48 on linux, it tells me "Inkscape encountered an internal error and will close now.", then, well, closes.

I tried to use a recent git version of inkscape (3-4 days ago or so), and though it still do no work, only the python engine crashes.

It pops up a dialog with the following text :

__________________________________

Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.

Traceback (most recent call last):
  File "color_negative.py", line 2, in <module>
    import coloreffect
  File "/home/nbrack-soc/Projects/shared_app/inkscape/build/share/inkscape/extensions/coloreffect.py", line 21, in <module>
    import sys, copy, simplestyle, inkex
  File "/home/nbrack-soc/Projects/shared_app/inkscape/build/share/inkscape/extensions/inkex.py", line 40
    u'sodipodi' :'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd',
              ^
SyntaxError: invalid syntax
__________________________________

I know naught of python, but 'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' definitely do not exists anymore.
Since the script file seems a little outdated, I tried to fix the shebang to #!/usr/bin/env python2 instead of #!/usr/bin/env python, but it did not worked.