Comment 21 for bug 418242

Revision history for this message
zapyon (zapyon) wrote :

Hi.

Same problem here with Inkscape 0.4 r22583 built Mar 12 2010, and xfce4-clipman-plugin 1.1.3; both Debian squeeze packages:

While the clipman plugin is running, any attempt to copy an object to the clipboard will result in an error message like

----8<----
No matching node for expression: /svg:svg/@sodipodi:docname
Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/gimp_xcf.py", line 173, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 207, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/gimp_xcf.py", line 37, in effect
    docname = self.xpathSingle('/svg:svg/@sodipodi:docname')[:-4]
TypeError: 'NoneType' object is unsubscriptable
----8<----

In some cases additional messages popped up after closing that message window. Sadly I failed to copy them and cannot reporduce these now.

If clipman is terminated, Inkscape needs to be restarted to get rid of the errors.

Regards

Andreas