Uniconverter fails on copying an svg selection

Bug #1152396 reported by Richard Qian
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When I try to copy or cut a section of an SVG file, I get a couple of errors, of which one of them is shown as an attachment:
"No layers found"

"This extension [sk1saver] requires at least one non empty layer."

"UniConvertor failed:

Cannot list directory /home/kyuustune/.uniconvertor:[Errno 2] No such file or directory: '/home/kyuustune/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/kyuustune/.uniconvertor:[Errno 2] No such file or directory: '/home/kyuustune/.uniconvertor'
ignoring it in font_path
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver"

Is there something at least I can do to resolve this problem, or will it need a patch?

Version: Inkscape 0.48.3.1 r9886 (Jan 29 2013)
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Revision history for this message
Richard Qian (worldblender) wrote :
tags: added: svg
removed: copying cutting
Revision history for this message
su_v (suv-lp) wrote :

Very likely another duplicate of
- Bug #418242 "Incorrect call to output plugins (with persistent error message) on copy"
  <https://bugs.launchpad.net/inkscape/+bug/418242>

Trigger in most cases is a custom clipboard manager (e.g. when using Xfce), or a (java-based) download manager. Other duplicates confirm the same issue when running Netbeans or OpenOffice at the same time as Inkscape.

There is no fix available at the moment - the current known workaround is e.g. to disable the clipboard monitoring of download helper apps.

tags: added: clipboard extensions-plugins
removed: layers svg uniconvertor
Revision history for this message
jazzynico (jazzynico) wrote :

Marking duplicate of Bug #418242 "Incorrect call to output plugins (with persistent error message) on copy". Don't hesitate to comment if you think it's a different issue.

Revision history for this message
Magnes (magnesus2) wrote :

I don't have any clipboard or download managers and the bug is still occuring. :(

Revision history for this message
Emmanuel Ch. (eruyome) wrote :

Does this when using matlab at the same time with inkscape on linux.

One of the weirdest bugs I have come across.

Revision history for this message
OlehL (spvipit) wrote :

I have this problem too.

My configuration:
Linux 3.2.0-4 amd64
Debian 7.8 (KDE 4.8.4)
Inkscape 0.48.3.1 r9886

The problem occurs when I copy a figure to the clipboard and at this point the program is running Netbeans.
Error messages appear cyclically as long as I do not copy to the clipboard any TEXT.

I don't know when problem appeared.
This is most likely since the last update (Debian 7.7 to 7.8).
I do not see in the history of Apper which packages have been updated, but I do know that the kernel has been updated.
Program Netbeans I don't update and before there were no problems.

I installed the program Uniconvertor (sudo aptitude install python-uniconvertor) and created manually folder ".uniconvertor" in my home directory.

Now i have other error :) Please look attached text:

UniConvertor failed:

No plugin-type information in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/__init__.py
No plugin-type information in /usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/__init__.py
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
When importing plugin sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/Filters/sk1saver.py", line 249, in <module>
    from app.Graphics.image import CMYK_IMAGE
ImportError: cannot import name CMYK_IMAGE
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/pymodules/python2.7/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.