Comment 74 for bug 418242

Revision history for this message
Lepe (alepe-com) wrote :

Running inkscape 0.91 in Xfce4 and Netbeans.

I wouldn't suggest to just run the script from the comment #37. What that script does is to comment some "fixed" range of lines in 3 scripts: gimp_xcf.py, jessyInk_export.py and uniconv_output.py (located at: /usr/share/inkscape/extensions/). However it seems those files may be different depending on your version (as in mine, those lines didn't match correctly and produces broken code). I strongly suggest to backup your files if you want to give that script a try.

If you want to do the dirty job by yourself, this is what I did:
Comment (using "#" at the beginning of the line) this line at "uniconv_output.py":

    # sys.stderr.write(msg + "\n")

Comment these 2 lines at "jessyInk_export.py":

# if len(exportNodes) < 1:
     # sys.stderr.write("No layers found.")

Comment this line at "gimp_xcf.py":

    # inkex.errormsg(_('This extension requires at least one non empty layer.'))

Give it a try. In my case that wasn't enough (as I have additional plugins), but if you see an error message, copy that message and do a " grep '<that error message>' * " in the /usr/share/inkscape/extensions/ directory. As before, comment any "inkex.errormsg" that may come up. For example, I had to comment a line in "plotter.py" and "hpgl_output.py" scripts (same line):

# inkex.errormsg(_("No paths where found. Please convert all objects you want to plot into paths."))

I hope that helps. I wish there were a "Disable warnings" somewhere in the options so we didn't have to do this kind of hacks.