You are not logged in.

#1 2011-02-06 21:21:15

dresb
Member
Registered: 2010-01-18
Posts: 13

[SOLVED] Problem copying objects in Inkscape 0.48.0-4

I have problems when I copy any object when using inkscape. Even after removing the config directories and using a completely blank document.

I create a simple rect and press ctr+c (or use the context menu) and this error comes up:

El script inkex.py y, por lo tanto, esta extensión necesitan la envoltura lxml («lxml wrapper») para libxml2. Descargue
e instale la última versión de http://cheeseshop.python.org/pypi/lxml/ o mediante su gestor de paquetes con un
comando similar a este: sudo apt-get install python-lxml

It says "inkex.py", which comes with the package, needs python-lxml. So I install the package, close inkscape, remove the configuration directories and try again.

Now it throws this error message:

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

The script "gimp_xcf.py" also comes with the package. No clue why it is calling it since I'm only trying to copy (not even paste) from a clean svg document.

I click accept and this error message comes up asking me to install uniconvertor:

You need to install the UniConvertor software.
For GNU/Linux: install the package python-uniconvertor.
For Windows: download it from
http://sk1project.org/modules.php?name=Products&product=uniconvertor
and install into your Inkscape's Python location

I install uniconvertor, delete the configuration directories and try again. The previous "gimp_xcf.py" error message comes up, I click accept again only to get another error dialog:

No layers found

I click accept again and now I can paste the object. But the "gimp_xcf.py" and "No layers found" dialogs keep coming up in a loop which can only be stopped by killing inkscape.

I doubt very much this is a upstream issue since I couldn't find it in inkscape's bug tracker (such obvious bug would have been reported already) I also cannot find any report in arch's bug tracker. So I'm unsure if I should report this, anyone else has this problem? All related packages are up to date.

Last edited by dresb (2011-02-07 16:21:08)

Offline

#2 2011-02-06 23:37:33

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

I'm not having this problem and can't reproduce it.  I have inkscape 0.48.0-4 running on x86_64 using Openbox.

I think your next step is to reinstall.

Offline

#3 2011-02-07 16:25:51

dresb
Member
Registered: 2010-01-18
Posts: 13

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

Ok. I removed inkscape with "pacman -Rsn", then each inkscape dependency with the same command (except those that caused conflicts). After that I tracked down and deleted every single inkscape related file from my filesystem.

The problem persisted, so I rebooted the machine and it started working again. ಠ_ಠ

Offline

#4 2011-02-07 23:38:27

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

Not solved, not exactly, but cured.

Offline

#5 2011-03-19 06:06:01

Nadayanna
Member
Registered: 2009-09-12
Posts: 6

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

Same problem here, but dresbs workaround did not work for me. I cant get rid of this problem.

Offline

#6 2011-04-07 10:37:01

delcypher
Member
Registered: 2010-04-17
Posts: 42

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

I found I was having this problem running xfce4.8

There seems to be some talk about it here https://bugs.launchpad.net/inkscape/+bug/418242

It seems that clipboard managers may be causing the problem. I wasn't running xfce4-clipman but I found that killing xfce4-settings-helper fixed the problem for me.

Hope this helps.

Offline

#7 2011-04-22 20:02:32

Nadayanna
Member
Registered: 2009-09-12
Posts: 6

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

Killing xfce4-settings-helper works for me too. What sideeffects are there to killing the settings helper? I don't think this thread should be marked as solved as long as there is no real solution to the problem.

Offline

#8 2011-04-22 20:45:21

delcypher
Member
Registered: 2010-04-17
Posts: 42

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

One side affect of killing xfce4-settings-helper is that keyboard shortcuts no longer work.

I've been meaning to file a bug report but I don't have time right now. If you feel up to it then please file a bug report https://bugzilla.xfce.org/

and you're right this thread shouldn't really me marked as solved.

Offline

#9 2014-05-17 18:31:00

farvardin
Member
Registered: 2008-09-03
Posts: 120
Website

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

just to tell you when using jdownloader, the link grabber which is overwatching the clipboard can cause problems too with inkscape...

Offline

#10 2014-05-18 00:06:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,261

Re: [SOLVED] Problem copying objects in Inkscape 0.48.0-4

https://wiki.archlinux.org/index.php/Fo … Bumping.22
Closing this three year old tread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB