Incorrect call to output plugins (with persistent error message) on copy

Bug #418242 reported by Guillermo Espertino (Gez)
588
This bug affects 115 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned
Gentoo Linux
Unknown
Medium
inkscape (Arch Linux)
New
Undecided
Unassigned
inkscape (Debian)
Fix Released
Unknown
inkscape (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

UPDATE: After further investigation it turned out to be a problem related to the copy operation, in combination with a totally unrelated running Java program (FreeRapid).
Reading some followups and other bug reports, it seems to be caused by the new clipboard management system (introduced as a fix for the bug #170185), as reported in bug #421597.

The routine ClipboardManagerImpl::_onGet is called repeatedly by an external program, with different possible clipboard formats, causing Inkscape to try and export the copied data every few seconds, in multiple formats.

So far these applications are known to randomly trigger an input/output extension (on linux):
- FreeRapid Downloader
- jDownloader
- xfce4-clipman-plugin 1.1.3
- Netbeans
- xfce4-settings-helper (Xfce 4.8)
- Team Viewer (teamviewerd 10.0.36)

Workaround - disable offending output/export plugins (comment #87)
-----

The original report was this:
I'm getting this error when I try to edit a text object created previously with a font that's not available in this system.
It looks like Inkscape has problems to resolve the font substitution and displays the error message in a popup window that keeps appearing again and again, leaving no other remedy than closing inkscape and reopening it.

The error message is attached.

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :
Revision history for this message
su_v (suv-lp) wrote :

There seems something broken with the extension system in your Inkscape installation ;-) didn't you have those 'gimp_xcf.py' python errors randomly displayed before? 'Uniconverter' is only called by input and output extensions - AFAIK not related to the text tool in any way. Something must be again triggering randomly export/output extensions.

One key in the error message if any: it's an upstream issue in uniconverter:
"Fontsystem not yet implemented in UniConvertor. See /usr/share/doc/python-uniconvertor/README.Debian for more info"

Which version do you have installed? The UniConvertor Roadmap <http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=roadmap> mentions for upcoming version 1.1.5 :
    * text support for CDR importer (Corel Draw v7-12,X3,X4)
This might suggest that some kind of CDR conversion/import is triggered?

Do you have any custom extensions installed in '~/.config/inkscape/extensions' that hook into the text tool or old ones in '/usr/share/inkscape/extensions' (this doesn't get cleaned by 'make install' if extension files have been removed from the trunk)?

Could you attach the file that triggers the python error?

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :

~suv: I thought that, but this is a completely new machine, with the system installed from scratch and inkscape 0.47 pre1 from cafuego's repo.
The only thing in common with the previous setup is the tablet (a Genius Pensketch).
You say that uniconverter is only called by input and output extensions... Is it possible that the error is caused somehow by the tablet?
I had those crazy errors about extensios popping up anytime with that tablet. And never seen those errors in my other machines without tablets.
What I do know is that the error doesn't come from a wrong installation. This time is completely clean, both OS and Inkscape.
The files that trigger the error work fine in my other machines without tablets. What I found is that the error only pops up when there are missing fonts and only in the machine with the tablet.
Any ideas?

(it may be related with the previous gimp_xcf.py error I reported).

Revision history for this message
su_v (suv-lp) wrote :

I don't have a tablet (and no recent experience with any) - so I can't answer your question, what a tablet (pen, driver configuration) can / should / does cause in Inkscape on Ubuntu. The possibility of a clipboard related mechanism that triggers an import or export command was already mentioned in the 'gimp_xcf.py' related bug #347987.
- Do you use the regular mouse or the pen/tablet mouse when this python error message pops up?
- Do the pen buttons have any special copy or paste functions assigned - maybe common functions like 'a tap within a text box results in pasting from the clipboard'?
- Does unplugging the tablet stop it?

the current list (rev. 22148) of extensions which in any way are related to the python uniconv(erter) module:

LeWitt:extensions suv$ grep -i uniconv *|awk '{FS=":";print $1}'|uniq
ccx_input.inx
cdr_input.inx
cdt_input.inx
cgm_input.inx
cmx_input.inx
plt_input.inx
plt_output.py
sk1_input.inx
sk1_output.py
uniconv-ext.py
uniconv_output.py
wmf_input.inx
wmf_output.py

su_v (suv-lp)
tags: added: extensions-plugins fonts
Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :

~suv:
- It pops up using the tablet or the mouse. it makes no difference.
- The pen buttons are mapped like the mouse buttons, no special functions there.
- I didn't try unplugging the tablet. I'll try that and report if it changes something.

Both this error and the gimp_xcf.py one pop up quite randomly, but I'm pretty sure that it doesn't happen with clipboard operations (copy, cut or paste).
This specific error seems to pop up when I try to edit a text element with a missing font, but not always.
The gimp_xcf.py just happens, I can't find a specific procedure that triggers it.
I'm not using the clipboard, I'm not importing or exporting anything.

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :

~suv:
I was wrong! It is indeed related to the clipboard!
I was mixing up with the gimp_xcf error. The fonts error happens when a text object is copied.
For the record, I'm not using any clipboard management tool (glipper or parcellite).

Revision history for this message
su_v (suv-lp) wrote :

@Guillermo - see comment #3 in bug #421597 - I think that code-snippet at least confirms the related nature of events between the clipboard and (randomly) invoked output extensions.

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :

~suv: I have more news.
I found what was triggering this bug and the XCF one: A java application.
When that application (Freerapid) was open, everytime I copied something I got the error message.
I thought that the problem was random because I don't have that program always running, but after a closer inspection I found out that killing java terminated the error.
It still seems to be something related to the clipboard management of inkscape (the errors I get are inkscape errors) but I think this is an important finding.
At least I know how to avoid the problem now, and I can work only suffering the other 2000+ bugs :-p

Revision history for this message
su_v (suv-lp) wrote :

Good for you to know both - how to avoid the bug and what triggered it!

The homepage of 'FreeRapid Downloader' (if I google'd the correct app ;) mentions among the main features:
- smart clipboard monitoring
but I could not find any documentation (except a user guide in Czech) and the changelog didn't reveal more internal concepts either. Anyway it seems to monitor (and parse) the clipboard trying to catch any URL ("clipboard monitoring algorithm for URLs algorithm") or link.

Still - I think the issue is with Inkscapes new clipboard feature in 0.47. Quoting the release notes 0.47: "Clipboard is system-wide - you can now copy/paste objects between different Inkscape instances as well as between Inkscape and other applications (which must be able to handle SVG on the clipboard to use this)", see bug #170185 "Support for copy/paste with system clipboard".

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) wrote :

~suv: The first thing I thought was that the clipboard monitoring feature was causing the error, so I de-activated, but no joy. The error still appears.
It's not a big deal now since I know how to avoid it, but of course it would be nice if the problem is fixed.
Should we open a new report with more details and mark these as duplicates?

Revision history for this message
su_v (suv-lp) wrote :

> Should we open a new report with more details and mark these as duplicates?

You have more bug tracker & inkscape experience than me! OTOH I have read several times that creating 'super-bugs' or whatever you might call a bug that keeps track of related (possibly) duplicate bugs isn't appreciated for inkscape... Yet I also noted my confusion where to add a comment since this issue now has split over at least 3 bugs (not counting the 'Parcellite' related ones and others not yet on the radar)

Maybe give bug #421597 some time for additional comments - there's at least one developer involved already ;-) - and mark your earlier reported bug #347987 as duplicate of this one (there is more recent and relevant information here then in #347987) or vice versa...

Revision history for this message
su_v (suv-lp) wrote :

... and maybe change the summary line so that other users with similar issues can find this bug (to avoid duplcates)?

summary: - uniconvertor error message about font substitution problems
+ Incorrect call to output plugins (with persistent error message) on copy
description: updated
tags: added: clipboard java
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
RomD (romd) wrote :

I've got the same problem when running the download manager jDownloader with clipboard monitoring enabled.
If I try to copy or cut a simple shape, I get a notification about UniConvertor failing.
Disabling monitoring fixes the bug.
The file jDownloader captures is called "dcelements.rdf#" and points to "http://purl.org/dc/elements/1.1".
I tested a couple of other download managers with clipboard monitoring support (Downloader for X, KGet, MultiGet), and they didn't cause the problem.

su_v (suv-lp)
Changed in inkscape:
status: New → Confirmed
Revision history for this message
RomD (romd) wrote :

I'm using Inkscape 0.47pre4 and Ubuntu 9.10 32bit.

Revision history for this message
su_v (suv-lp) wrote :

from duplicate bug #487653:

The same issue occurs with xfce4-clipman-plugin 1.1.3 (clipboard manager), but not with earlier versions (xfce4-clipman-plugin 1.1.1). xfce4-clipman-plugin is *not* a java-based application.

su_v (suv-lp)
description: updated
Changed in inkscape (Debian):
status: Unknown → Confirmed
Revision history for this message
Ed Nisley (ed-08-nisley) wrote :

If more confirmation is required, this error also snagged me in Arch Linux:

 Inkscape 0.47 r22583, built Apr 22 2010
 xfce4-clipman-plugin 1.1.3

Reverting to xfce4-clipman-plugin 1.1.1 seems to be a workaround.

I do have Java installed, but it's not running.

Changed in inkscape (Ubuntu):
status: New → Confirmed
Revision history for this message
Fabio Prodoccini (nightarcherbr) wrote :

Confirmed Bug in Ubuntu 10.4 when using JDownloader.
If you disable JDownloader's Clipboard Observation on the tray menu,
the copy and paste works fine.

Changed in inkscape (Ubuntu):
importance: Undecided → Low
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Same bug seems to happen if netbeans is running

Changed in inkscape (Ubuntu):
status: Confirmed → Triaged
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Netbeans appears to trigger the same problem. See duplicate bug #645909

* Start Netbeans and Inkscape
* Draw something (anything) in Inkscape
* Copy and paste the shape in Inkscape
* Switch focus from Inkscape to Netbeans and back again
>> Uniconvertor crash dialog appears

description: updated
Revision history for this message
Philipp C. Heckel (binwiederhier) wrote :

Is there any progress on this bug? If so, will there be an update for the Ubuntu 10.4 LTS package?

I can confirm the it for
* Ubuntu 10.4 LTS 64-bit
* Inkscape 0.47 r22583, built Apr 4 2010
* Netbeans 6.8 (Build 200912041610)
* JDownloader 0.9.581.

For Netbeans, Inkscape behaves similar to what Alex described:
* Start Netbeans and Inkscape
* Draw a rectangle in Inkscape
* Copy it to the clipboard (no need to paste it, the error appears without hitting CTRL+V)
* Switch focus from Inkscape to Netbeans and back again
>> First message dialog appears (for details see attachment!)
>> After clicking OK, the second dialog appears (for details see attachment!)
>> After clicking OK, you can work again without any other dialogs popping up (unless you switch to Netbeans again)

For JDownloader, the error dialogs are much more annoying:
* Start JDownloader and Inkscape
* Draw a rectangle in Inkscape
* Copy it to the clipboard (no need to paste it, the error appears without hitting CTRL+V)
>> First message dialog appears (for details see attachment!)
>> After clicking OK, the second dialog appears (for details see attachment!)
>> Do nothing for 1 second
>> First message dialog appears
>> After clicking OK, the second dialog appears
... (this repeats forever until Inkscape is closed)

At the same time, JDownloader's linkgrabber adds a new URL to the list: http://purl.org/dc/elements/1.1

I hope this helps you guys for fixing it. Thanks!!

su_v (suv-lp)
tags: removed: fonts
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

Revision history for this message
In , v_2e (v-2e) wrote :

When I create som object in the Inkscape document and then press "Copy", I get the following error message:

    "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.

No layers found"

If I press "Copy" and then wait for this message to appear, I still can close it and work further. But if I press "Paste" before this message appears, I get two of them (one after I close another) and after that I get:

    "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.

This extension requires at least one non empty layer."

And in such case I loose the control over Inkscape. It just does not respond to any mouse clicks. So I have to restart it to continue my work.

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/inkscape-0.48.1
2. Start Inkscape and create some object (let's say, a circle).
3. Press "Ctrl+C" and then "Ctrl+V".

Revision history for this message
In , Jeroen Roovers (jer-gentoo) wrote :

Please paste your `emerge --info media-gfx/inkscape' output into a comment.
Also, this reminds me of bug #353166. Are you using XFCE? If not, what desktop environment or "clipboard manager" do you use?

Revision history for this message
In , v_2e (v-2e) wrote :
Download full text (5.9 KiB)

Hello!
(In reply to comment #1)
> Please paste your `emerge --info media-gfx/inkscape' output into a comment.
> Also, this reminds me of bug #353166. Are you using XFCE? If not, what desktop
> environment or "clipboard manager" do you use?

Here is my 'emerge --info media-gfx/inkscape' output:

WARNING: One or more repositories have missing repo_name entries:

 /usr/local/overlays/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

Portage 2.2.0_alpha26 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo-r1 x86_64)
====================================================
                        System Settings
====================================================
System uname: Linux-2.6.37-gentoo-r1-x86_64-Mobile_AMD_Sempron-tm-_Processor_3800+-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Mar 2011 13:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.2_p7
dev-lang/python: 2.6.6-r2::sage-on-gentoo, 3.1.3-r1
dev-util/cmake: 2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc: 0.7.0
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21
sys-devel/gcc: 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo science sage-on-gentoo x-overlays
Installed sets:
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/home/Install/GNU-Linux/distfiles/"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://gentoo.kiev.ua/ftp/ ftp://gentoo.kiev.ua/"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk"
MAKEOPTS="-j3"
PKGDIR="/home/Install/GNU-Linux/binpkg/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sage-on-gentoo /usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acpi alsa amd64 amrnb amrwb apm ass bash-completion bzip2 cairo cgi cli consolekit cracklib crypt ctype curl cxx dbus dga djvu dri dts dvd encode exif expat faac faad fbcon fbcondecor festival ffmpeg fftw flac freetds fuse gd gdbm geoip gif git glut gmp gnuplot gnutls g...

Read more...

Revision history for this message
In , Buzz22 (buzz22) wrote :

I've also noticed a similar behavior (and I'm using Xfce 4.8 too -- I tried with and without clipman plugin activated, and this doesn't change anything).
In my case I didn't loose the control over Inskcape because the GUI was still responding to keyboard actions. And after few workspace shifts and clics everywhere it was working again. But it seems to be a side effect to the other problem, because if the warning windows don't show up, I don't have any problem.

And those warnings actually come from the Gimp and JessyInk extensions.
If you don't use them you can remove/deactivate them and you'll get rid of this annoying Copy/Paste behavior.
I've only commented the line that raises the warning in both Python scripts (gimp_xcf.py and jessyInk_export.py) so that I can still use them. Now copy/paste works like a charm for me.

But this NOT a solution to the real problem, because I think the extensions are doing the right stuff. The real problem seems related to the crazy way Inkscape is managing his internal clipboard. Unfortunately I don't have time to investigate more. I was trying to figure out why Inkscape uses Gimp or jessyInk extension during a copy/paste operation, so I just took a look at the src/ui/clipboard.cpp file and saw that they are doing different things using the available extensions -- but I didn't go further because I don't have time (and skill) to do it.
Maybe this is a good place to start or perhaps I'm wrong, I don't know. But I hope this can help.

Revision history for this message
In , v_2e (v-2e) wrote :

(In reply to comment #3)
> If you don't use them you can remove/deactivate them and you'll get rid of this
> annoying Copy/Paste behavior.
  That would be helpful, but how to deactivate the extensions?

Revision history for this message
delcypher (delcypher) wrote :

I'm still experiencing this problem with:
O/S: Arch linux: Linux dan-netbook 2.6.37-ARCH #1 SMP PREEMPT i686
WM: Xfce 4.8.0
Inkscape 0.48.1 r9760 (from Arch Linux package extra/inkscape)

I don't have xfce4-clipman running but the problem still occured.

1. Start inkscape. It will start with a blank document.
2. Create a rectangle using the rectangle tool.
3. Copy it using the keyboard shortcut CTRL+C
4. A few seconds after doing this a window titled "PostScript" will appear that looks just like the window I would see if I did (File -> Save . Then picked to save as postscript (.ps) file).
5. I click cancel and the same window appears again!
6. I click cancel on this new window and then another window pops up saying "This extension requires at least one non empty layer."

Grrr... frustrating.

I found a way to prevent this from happening in my particular case and that was to kill xfce4-settings-helper

$ pkill -f xfce4-settings-helper

Revision history for this message
Alexander (alexkalachev) wrote :

On a fresh install of Debian testing/unstable I've got this bug too.
uname -a: Linux alexander 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64 GNU/Linux
DE: XFCE 4.8
Inkscape 0.48.1 r9760, installed from official debian repository.

No clipboar monitoring program is installed. The problem is:

1. Start Inkscape with a blank document.
2. Create a rectangle.
3. Copy it with CTRL+C
4. Paste the rectangle with CTRL+V
5. Immediately appears a window, asking to install a package python-uniconvertor. If this package is installed, than another message appears:

UniConvertor failed:

/usr/lib/pymodules/python2.6/uniconvertor/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  from popen2 import popen2
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
No plugin-type information in /usr/lib/pymodules/python2.6/uniconvertor/app/plugins/Filters/__init__.py
Cannot load plugin module sk1saver
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.6/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.6/uniconvertor/app/plugins/plugins.py", line 190, in __call__
    module = self.load_module()
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 73, in load_module
    desc)
  File "/usr/lib/pymodules/python2.6/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.6/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/pymodules/python2.6/uniconvertor/app/plugins/plugins.py", line 194, in __call__
    % {'name':self.module_name})
app.events.skexceptions.SketchError: Cannot load filter sk1saver

6. Pressing "OK" makes this window appears again for several times.

As it was mentioned earlier, killing xfce4-settings-helper stops this from happen.
Any suggestions?

su_v (suv-lp)
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Alexander wrote:
> DE: XFCE 4.8
> No clipboar monitoring program is installed.

In Xfce 4.8 a basic clipboard manager is included with xfce4-settings (xfce4-settings-helper process).

description: updated
Revision history for this message
In , Lars-winterfeld (lars-winterfeld) wrote :

same here.
"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.

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"

if they mean media-gfx/uniconvertor - it is yellow masked.

Also immediately afterwards, I get this error:
"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"

and new popups come up every few seconds - with skill and a lot patience, I was able to safe my work...

inkscape used to work pretty stable for me - what happend? is this a python problem? (i updated python to 2.7 not so long ago, but i ran python-updater). does inkscape depend on uniconvertor? than why does it not come in as dependency? also, m revdep-rebuild claims everything is consistent.

media-gfx/inkscape-0.48.0 was built with the following:
USE="gs lcms (multilib) nls spell -debug -dia -gnome -inkjar -wmf"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -fno-strict-aliasing"

Revision history for this message
In , Radhermit-n (radhermit-n) wrote :

(In reply to comment #0)
> Steps to Reproduce:
> 1. emerge media-gfx/inkscape-0.48.1
> 2. Start Inkscape and create some object (let's say, a circle).
> 3. Press "Ctrl+C" and then "Ctrl+V".

I can't reproduce this using the above steps, but I'm not running any kind of desktop environment or clipboard manager.

Revision history for this message
In , Radhermit-n (radhermit-n) wrote :

(In reply to comment #5)
> inkscape used to work pretty stable for me - what happend? is this a python
> problem? (i updated python to 2.7 not so long ago, but i ran python-updater).
> does inkscape depend on uniconvertor? than why does it not come in as
> dependency? also, m revdep-rebuild claims everything is consistent.

Note that the ebuilds for >=media-gfx/inkscape-0.48.1 depend on uniconvertor so it should be pulled in.

Revision history for this message
Matus (matusvalo-deactivatedaccount) wrote :

I have also experiencing bug on standard instalation of Xubuntu 11.04 when running Inkscape and copying something. After killing xfce4-settings-helper everything runs OK.

Revision history for this message
Alexander Poddubny (poddubny) wrote :

The workaround is given here: http://bugs.gentoo.org/show_bug.cgi?id=358135.
I have commented the warnings in the Python files jessyInk_export.py,gimp_xcf.py,and uniconv_output.py. Now everything works flawlessly.

Revision history for this message
nick_s (nickstylianou) wrote :

I'm experiencing similar problems in Inkscape on Xubuntu11.04.
The xfce4-settings-helper process kept restarting itself after a kill -9 command, but thanks to delcypher for the pkill -f xfce4-settings-helper command. This seems to be a successful workaround for me.

Revision history for this message
racoon97 (racoon97) wrote :

Same problem here when cut/paste a shape with Inkscape and Jdownloader running.

Revision history for this message
garybrlow (garybrlow) wrote :

Python-uniconvertor is already installed by default in Xubuntu 11.04 so that work-around is not really useful. This bug is really annoying since I use Inkscape a lot for work . After the uniconvertor error happens mouse clicks are now useless, use keyboard shortcuts to save current work, open the file again and do the same thing over and over. That's how annoying it is. You could use inkscape via wine but its has its own quirks but at least usable. I agree with nick_s , killing the xfce4-settings-helper process eliminates the error and is a better work-around. Right click on the process then choose terminate solves the re-spawning issue for me anyways.

Since other known applications/programs reproduce the bug/error, I guess this a library issue, namely a python 2.7 issue. I never had this problem when the default python was still 2.6. On some error reporting systems and forums, people using inkscape 0.48.1 on MAC OS with python 2.7 are also having the more or less the same problem.

Hopefully this gets fixed soon.

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

The workaround from Alexander Poddubny (poddubny) works fine for me, I just removed the error handling. I'm using XFCE4.8 and killing xfce4-settings-helper is no option for me, as I use keyboard shortcuts extensively. I can only hope that the root cause can be identified and fixed. Until then, I advise everyone with the xfce4-settings-helper and inkscape combination to remove the error handling from the files Alexander mentioned.

Revision history for this message
Sten (multiverse) wrote :

I'm trying to use Inkscape 0.48 on Xubuntu 11.04. When I copy & paste objects in inkscape I get the following error message:

see attachement error.txt

The package python-uniconvertor is installed on my system.

Can please someone take care of this bug? Hacking python files as suggested by poddubny isn't really an option for the average user. Also, why is this bug's importance set to "low" since it basically makes it impossible to use Inkscape anymore. If I can of any assistance to move this issue further, e.g. by providing required information, please let me know. Thanks.

Revision history for this message
ViktigLemma (jorgsk) wrote :

I also commented out the warnings in the 3 python files above (uniconv_output.py included). Copy-paste now works.

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

I agree with hhansen, this bug appears on a default Xubuntu/Ubuntu with XFCE4 installation and Inkscape, and makes productive use impossible. Every time a copy operation is used, 4 error messages pop up. Killing xfce4-settings-helper is not an option as it impacts the working of the XFCE4 Desktop. Therefore, the importance has to be raised. I now had to apply the workaround on all 4 machines where I use inkscape to be able to use it at all.

Revision history for this message
knorre (knorre) wrote :

I confirm the bug for default xubuntu. Due to this bug inkscape in xubuntu 11.04 (I use both 32 and 64 bit) is absolutely useless. Killing xfce4-settings-helper remove this one but make other problems. As a result I was forced to roll back version and install inkscape 0.45 from here:

https://launchpad.net/ubuntu/+source/inkscape/0.45.1-1ubuntu5/+build/397057/+files/inkscape_0.45.1-1ubuntu5_i386.deb

I think that importance of the bug should be increased.

Revision history for this message
Rakotomandimby Mihamina (tech-infogerance) wrote :

Bug present with:
- Inkscape 0.48.1 r9760
- Xubuntu Natty

When "Ctrl-C" any selected element in Inkscape:
1. This extension requires at least one non empty layer.
2. UniConvertor failed: Cannot list directory /home/<my_username>/.uniconvertor: [...]

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Yes, I agree that this is a major headache for Xubuntu users... although Inkscape should still be usable (just), it won't be much fun at all. I'm increasing the importance for Ubuntu to medium.

@upstream - does anyone have any plans to work on this? Any "official" workarounds, other than just commenting out the warnings in scripts?

Changed in inkscape (Ubuntu):
importance: Low → Medium
Revision history for this message
randyyang (randy-yaj) wrote :

Hey for anyone who is having this trouble with this, I took some time to make a shell script to take car of the errors. Thanks to Alexander Poddubny (poddubny) for the locations. You can download the script here:

http://dl.dropbox.com/u/1021767/My%20Scripts/FixesAndPatches/InkscapePatch.sh

*For instructions just drag and drop it into gedit or any text editor and it should have the instructions at the top.

I hope this gets resolved soon. I love Inkscape, keep up the good work team.
Thanks and good luck to everyone.

Revision history for this message
randyyang (randy-yaj) wrote :

@Alex Valavanis,

I'm still digging around for a solution, sadly this is only like everyone else mentioned an issue with XFCE based desk top environments. If I find a solution I'll post it here.

Thanks everyone

Revision history for this message
rmrcbm (rmrcbm) wrote :

I have exactly same problem when trying to copy under Inkscape with JDownloader working. Several windows from Uniconvertor appears showing errors of Uniconvertor.

I even applied randy-yai script, and it solved the Uniconvertor error windows, but the PostScript error windows continued appearing.

OpenSUSE 11.4 + Inkscape 0.482r

Thank you

Revision history for this message
Daira Hopwood (daira) wrote :

I'm not using xfce or any of the download or clipboard managers mentioned, but I see the same traceback as comment #21 when copying. This is with a file created by Inkscape on Windows, with text objects using fonts that are not available on Ubuntu -- similar to the original report in the bug description.

Are we sure there is not more than one bug here with similar symptoms?

Revision history for this message
In , Samuli Suominen (ssuominen) wrote :

http://bugzilla.xfce.org/show_bug.cgi?id=6521#c24

<upstream quote>
Currently the xfce4-settings-helper provides an X11 clipboard manager that
works properly for the default clipboard based on pure X11 code and not Gtk.

The manager in clipman stays as is currently, and I'm marking this bug as
LATER.
</upstream quote>

I'm curious, does installing and running xfce4-clipman-plugin help?

Revision history for this message
In , Samuli Suominen (ssuominen) wrote :

Propably a duplicate of 353166 (more or less)

Revision history for this message
In , Ikonta (ikonta) wrote :

(In reply to comment #1)
> Are you using XFCE? If not, what desktop
> environment or "clipboard manager" do you use?
Excuse me, but this question looks incorrect.
For specific (seems to be not-reproducable in GNOME DE) GNOME-apps issues more right is to ask:
"Do you use GNOME DE, or some (what?) other one?"

Revision history for this message
In , Samuli Suominen (ssuominen) wrote :

Closing as NEEDINFO per Comment #8 question "Does installing and _running_ xfce4-clipman-plugin help?"

Changed in gentoo:
importance: Unknown → Medium
Revision history for this message
Prunus dulcis (prunus-dulcis) wrote :

Just ran into this problem again on Ubuntu 12.04 with inkscape. No xfce processes running.

Removing python-uniconverter did also not help, still the error messages keep stacking and after a few minutes I am not sure how many thousand there are but surely clicking on the button for minutes with several clicks per second does not help come to the end of the boxes...

Is someone actually working on this bug?

Revision history for this message
zzarko (zzarko-gmail) wrote :

I have the samo problem in 12.04 64-bit. I tried also Inkscape from stable and unstable PPA, and the problem is still there. I also have jDownloader started on my machine, and deactivating its clipboard monitoring removes the problem. But, this is not a permanent solution...

Revision history for this message
xintrea (xintrea) wrote :

Confirmed this bug in Debian Squeezy and Debian Testing with Inkscape 0.48.3.1 r9886 and Inkscape 0.48.4. r9939

If run NetBeans, next run Inkscape, shows this bug.

In run Inkscape and dont run NetBeans, all work correctly.

Revision history for this message
Silvio (silvio-sb-informatica-deactivatedaccount) wrote :

The problem occur also in Manjaro 0.8.6 Xfce with inkscape 0.48.4 r9939 when Clipman 1.2.3 is activate. Closing clipma, all work correctly.

Revision history for this message
Julian Stirling (gobaskof) wrote :

Publem occurs in Ubuntu 12.10, with inkscape Inkscape 0.48.3.1 r9886, it seems to be linked with MATLAB R2012a (7.14.0.739). I havn't had it crash with MATLAB closed. (In fact if you open MATLAB while inkscape is running the same errors appear).

A possible workarround seems to be to use xsel to clear clipboard, primary, and secondary after MATLAB starts, then open inkscape. This has been OK for ~30mins with both running.

Revision history for this message
lukyluke (luca-tagliacozzo) wrote :

Same problem with Inkscape 0.48.4 r9939 (Feb 27 2013) on Ubuntu 13.04 running Matlab R2013a

Revision history for this message
On-The-Fly (onthefly) wrote :

The same seems to happens with astah community running.

Astah Community 6.7.0/43495 Model Version: 36
Inkscape 0.48.4 r9939 (Feb 27 2013)

Revision history for this message
berry van den berg (berryv-dberg) wrote :

Same problem with Inkscape-trunk and inkscape 0.48.4 on ubuntu 12.04LTS running Matlab R2013b.

Revision history for this message
Michael Demetriou (qwazix) wrote :

I apologize for cross posting, I commented in the wrong (duplicate) bug and I cannot see a way to delete my comment.

Here's a workaround: After the first alert pops up, before dismissing it, press Alt+F2 and type xclip -selection clipboard blank

This way you don't have to completely shut down inkscape to solve the problem

Revision history for this message
Julian Stirling (gobaskof) wrote :

Changed to confirmed for ubuntu as there have been multiple ubuntu users verufying it in the comments recently. As well as this problem persisting on my computer. I think the bug should be increased in importance to high because it happens so regularly and is frustrating even with the workaround of using xsel or xclip to kill the problem. Also the problem has been ongoing for years now.

Changed in inkscape (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
David Hofmann (david-hofmann) wrote :

Same problem here with inkscape 0.48.4 on mint 15 "olivia" when starting Matlab R2013a after inkscape is already running. The problem also appears at some point (to me not yet predictable) if inkscape was started after Matlab is already running.

Revision history for this message
Jeremy martin (codigovision) wrote :

I'm also having this problem on Ubuntu 13.10, Inkscape 0.48, and Netbeans 7.3.1.

The easiest workaround I have found is using Diodon to clear the clipboard after copying anything in Inkscape and before clicking on another affected application like Netbeans.

Just install Diodon
sudo apt-get install diodon
and it will add an icon to the panel (top right) where you can easily manage and clear your clipboard.

Really all you have to do to avoid the endless popups is add anything other than an Inkscape object to the clipboard, so with Diodon you could select a recent clip. I have noticed though, that if you have the Diodon automatic paste enabled and you have an inkscape object selected when you select a clip from Diodon it may change the object's settings like color and opacity.

su_v (suv-lp)
Changed in inkscape:
importance: Medium → Low
importance: Low → Medium
Changed in inkscape (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jerome Robert (jeromerobert) wrote :

This bug is still there in 0.91 (Debian package 0.91~pre1-1). Although I'm fully aware that it is a bad workaround, I silent the extensions which where flooding with popups.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "silent the extensions which are flooding with popups" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

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

I have to confirm comment #57. Happens when I am running matlab.

One of the weirdest bugs around.

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote :

How annoying! Ubuntu 14.04 32 bit with Gnome environment, running Inkscape 0.48.4 from the official Ubuntu repository together with Netbeans 8.0.2 is a total bummer.

It even spoiled the system so much, then a following apt-get update took ages to read packages, because the system OS cache was totally full. Had to echo 3 into /proc/sys/vm/drop_caches to get to back to normality.

To reproduce:
- run Inkscape
- run Netbeans
- draw a text in Inkscape, press CTRL-C
- switch to Netbeans app

result:

at least 10 dialog boxes pop up, and until the clipboard is cleared more and more are coming.
Two types, one titled "Postscript" with various postscript settings, the other one without a title with

1. a label saying:

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.

2. and a read-only edit box saying:

UniConvertor failed:

Cannot list directory /home/username/.uniconvertor:[Errno 2] No such file or directory: '/home/username/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/username/.uniconvertor:[Errno 2] No such file or directory: '/home/username/.uniconvertor'
ignoring it in font_path
I can't find font Sans. I'll use Slim instead
Fontsystem not yet implemented in UniConvertor. See /usr/share/doc/python-uniconvertor/README.Debian for more info
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

Confirming workaround: put something else to clipboard before switching to Netbeans.

Urgent action is needed NOW so that no more than 1 dialog box will appear with an option to tick

[ ] do not show more dialogs like this.

It's been for too long like this.

Revision history for this message
candela (candela) wrote :

Thanks @randyyang (randy-yaj). I aplied what he says in #37 and now I can have Inkscape 0.48 and NetBeans 7.4 working together. I cant copy and paste from Inkscape to Gimp, but that is a minor problem. I am in Ubuntu 12.04.

I hope it helps someone, have a good day

sgmanohar (sgmanohar)
description: updated
Revision history for this message
macaronesico (macaronesico) wrote :

Thanks @randyyang (randy-yaj). I aplied what he says in #37 ( https://bugs.launchpad.net/inkscape/+bug/418242/comments/37) and now I have Inkscape Inkscape 0.91 r13725 on Manjaro 0.8.12 Xfce4 working fine.
I had an error message poping up everytime I copied something and pasted it again. Now i can do it error free and also I can copy and paste from Inkscape to Gimp using CTRL SHIFT V to paste as new document, and then selecting it again and copying to the other document.

Thanks also to @candela for his post sharing his experience, also helped me a lot.

Revision history for this message
Jared Henley (jared-henley) wrote :

I would like to confirm this bug. It has been bothering me for a long time (many versions). I am running XFCE4.12 at the moment, but no clipboard manager software. Not even xfce4-settings-helper is running (it doesn't seem to be installed on my system).

I trigger the bug semi-randomly when closing PDFs. I've used evince, atril, and okular, and they all do it. I get a bunch of popups about invalid data from scripts and suggestions to install uniconvertor.

Today my inkscape config got ruined somehow, so that graphic objects would sometimes jump, copy/paste would paste the right number of things but they'd be displaced, and objects would move between saving/closing a file and reopening it. Unfortunately for you guys I deleted the config to see if it would make things better, so there's nothing for you to look at there :-(.

This has been around for ages. Is the patch in #37 appropriate? If not, what's wrong with it? I do a bit of python, so if the problem lies there I'd be glad to work on it and get this thing fixed.

Revision history for this message
Wolf (drechsel) wrote :

The "copyq" clipboard manager causes the same problem.
ubuntu 15.04, inkscape 0.91

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.

Revision history for this message
Arnaud LE CAM (arnaudlecam) wrote :

Hi,
I'm using Inkscape 0.91 r13725 on Xubuntu 15.10, and it looks to be the same problem for me.
I have to close 6 windows before pasting...
I don't know how to help.

Revision history for this message
Danilo Silva (danilocsilva) wrote :

UniConvertor failed:

Cannot list directory /home/danilo/.uniconvertor:[Errno 2] No such file or directory: '/home/danilo/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/danilo/.uniconvertor:[Errno 2] No such file or directory: '/home/danilo/.uniconvertor'
ignoring it in font_path
I can't find font Liberation Sans. I'll use Slim instead
Fontsystem not yet implemented in UniConvertor. See /usr/share/doc/python-uniconvertor/README.Debian for more info
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 201, in __call__
    module.save(document, file, filename, options)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/wmfsaver.py", line 461, in save
    saver.SaveDocument(document)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/wmfsaver.py", line 403, in SaveDocument
    left, bottom, right, top = doc.BoundingRect()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/document.py", line 221, in BoundingRect
    rect = layer.bounding_rect
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/base.py", line 352, in __getattr__
    getattr(self, method)()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/compound.py", line 174, in update_rects
    boxes = map(lambda o: o.coord_rect, self.objects)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/compound.py", line 174, in <lambda>
    boxes = map(lambda o: o.coord_rect, self.objects)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/base.py", line 352, in __getattr__
    getattr(self, method)()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/text.py", line 492, in update_rects
    rect = apply(Rect, a.font.TextBoundingBox(self.text, a.font_size, a))
TypeError: TextBoundingBox() takes exactly 3 arguments (4 given)

Revision history for this message
Pedro de Carvalho (p.c) wrote :

Hi everyone!

mind if i share my experience. Even if the problem itself is hard to fix, is it possible to not open the dialogs? there's nothing the user can do about the dialog but press "OK". This is a bad user experience and these messages should go the messages panel.

steps to reproduce:

1. open inkscape.
2. write anything
3. copy that
4. open okular
5. close okular

> inkscape opens dialog.
> inkscape changes title of document "Memory document 1" ( or 2, 3, etc )
> sometimes, inkscape opens another window with the item copied, opens a dialog, and, after that being closed, closes the new window.

instead of okular, gimp triggers the same behaviour, but not always. okular always triggers this.

it doesn't matter if clipman is installed or not.

not all programs trigger this. opening and closing another instance of Inkscape doesn't trigger this.

it doesn't matter if its a new document or existing.

opening program, copying an object in inkscape, and then closing the program also triggers this.

it doesn't matter if the files meantioned in the #37 are removed, or those particular lines deleted.

what it does is that inkscape opens less dialogs. only dialog 1 or 2 dialogs ( 1 and 2 )

Dialog 1:

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.

message:
No paths where found. Please convert all objects you want to save into paths.

Dialog 2

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.

message:
No layers found.

Revision history for this message
qsantos (qsantos) wrote :

Same here. Steps to reproduce:

* draw something (ellipse, rectangle, text, etc.)
* select it
* hit Ctrl+C

Result:

* pop for Postscript export
* error message:

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

On some shapes, those two will be repeated a second time each, followed by an additional error message:

No paths where found. Please convert all objects you want to save into paths.

Installing python-uniconvertor change the error message to

UniConvertor failed:

Traceback (most recent call last):
  File "/usr/bin/uniconvertor", line 13, in <module>
    uniconv_run()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/__init__.py", line 83, in uniconv_run
    from app.io import load
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/__init__.py", line 69, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 13, in <module>
    from sk1libs.utils.fs import gethome
ImportError: No module named sk1libs.utils.fs

This makes Inkscape virtually unusable.

Revision history for this message
qsantos (qsantos) wrote :

Update: the error disappeared after a full reboot. Thus, it might be due to an update bringing the system to an inconsistent state and expecting short-lived sessions.

Revision history for this message
Marko (maru84) wrote :

Happens for me completely randomly, but always when Matlab and TeamViewer are open. Not sure which of these applications trigger the event. The number of popups is infinite, and in some cases freeze the whole desktop so that nothing is clickable, and computer must be restarted from TTY.

Revision history for this message
Robert Tuck (robt-majormajor) wrote :

Hi, please fix this. I had the workaround but lost it after an upgrade to my system. Now I have to add it again.

Please do something, **anything** to fix this. It is the #1 most annoying bug in Inkscape, (of which there are many). I think I speak for many when I say, basically, if there is something on the clipboard and Inkscape can't read it and it generates an error:

* I don't care.
* Don't bug me about it.

Revision history for this message
Marko (maru84) wrote :

I have the same problem, and basically cannot use Inkscape at all most of the time. The bug is triggered when either of the LibreOffice and Matlab are in use. Since I'm using Xubuntu 14.04, xfce clipboard manager is maybe also at fault.

Revision history for this message
Hachmann (marenhachmann) wrote :

Today, one of my workshop participants had the same problem (tried to copy something, got an error message, on a Linux system). Worse than the error message, however, was that no object was copied, so many things we wanted to practice couldn't work at all.

Revision history for this message
Antoni (wynajem-pn) wrote :

I also experience this nasty bug. It is present for many years now. Up to Ubuntu 16.04 I used the script from comment #37
https://bugs.launchpad.net/inkscape/+bug/418242/comments/37
but now it stopped working. Hence I updated this shell script following the remarks in comment #74
https://bugs.launchpad.net/inkscape/+bug/418242/comments/74
It is workaround, but for me it works perfectly. My Inkscape version is 0.91r13725 on Ubuntu 16.04. I hope it will help some of you.
In general it is much better to manually edit the files which generate these nasty errors as is explained in comment #74, but in my case I need to do this on more then 10 different desktops, hence the script is much more useful.

Revision history for this message
Antoni (wynajem-pn) wrote :

I cannot edit my last post, hence I attach a better version of the script (which additionally modifies hpgl_output.py and plotter.py). I hope some of you find it useful.

Revision history for this message
Hachmann (marenhachmann) wrote :

Sonya, I've just taken a look (so you can delete the file if you need to).

The reason why it still doesn't work is that the number nodes extension only works on a single path. Your image, however, consists of a group of 331 objects and paths.

If you *really* want to number all nodes in the treasure chest, you need to ungroup everything first, then then select everything, convert everything to path by doing 'Path -> Object to path', then combine everything into a single path (Path -> Combine).

The numbering you will get then will, however, not be the most logical one for drawing from node to node (if that's what you want as an end result). The path will consist of 3157 nodes, which is a bit complex, and choosing a font size for this may become difficult...

The treasure chest image is not an ideal object for draw-by-numbers, I think - better to choose something simpler. You can draw it yourself if you use the Bezier tool and the original chest as a 'template' to copy (manually, by drawing) from.

Kind Regards,
 Maren

sgmanohar (sgmanohar)
description: updated
Revision history for this message
sgmanohar (sgmanohar) wrote :
Download full text (4.1 KiB)

I have done some debugging on this. I inserted

                  printf("output plugin activated for clipboard: %s\n", (*out)->get_id());

at line 1202 of src/ui/clipboard.cpp.

The routine ClipboardManagerImpl::_onGet is called repeatedly (presumably triggered by an external program creating a clipboard read request), with different possible clipboard formats.
In my case, I was running Matlab and Teamviewer, and the following clipboard requests were tracked over a 10 second period:

output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.inkscape.output.png.cairo
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.ekips.output.dxf_outlines
output plugin activated for clipboard: org.inkscape.output.sif
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.inkscape.output.wmf
output plugin activated for clipboard: org.inkscape.output.emf
output plugin activated for clipboard: org.inkscape.print.eps.cairo
output plugin activated for clipboard: org.inkscape.print.ps.cairo
output plugin activated for clipboard: org.inkscape.output.png.cairo
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.inkscape.output.svg.plain
output plugin activated for clipboard: org.inkscape.output.svgz.inkscape
output plugin activated for clipboard: org.inkscape.output.svgz.plain
output plugin activated for clipboard: org.inkscape.output.LAYERS
output plugin activated for clipboard: org.inkscape.output.ZIP
output plugin activated for clipboard: org.inkscape.output.latex
output plugin activated for clipboard: org.inkscape.output.jfx
output plugin activated for clipboard: org.inkscape.output.pov
output plugin activated for clipboard: org.inkscape.output.pdf.cairorenderer
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.ekips.output.dxf_outlines
output plugin activated for clipboard: org.inkscape.output.sif
output plugin activated for clipboard: org.inkscape.output.wmf
output plugin activated for clipboard: org.inkscape.output.emf
output plugin activated for clipboard: org.inkscape.print.eps.cairo
output plugin activated for clipboard: org.inkscape.print.ps.cairo
output plugin activated for clipboard: org.inkscape.output.png.cairo
output plugin activated for clipboard: org.inkscape.output.svg.inkscape
output plugin activated for clipboard: org.inkscape.output.svg.plain
output plugin activated for clipboard: org.inkscape.output.svgz.inkscape
output plugin activated for clipboard: org.inkscape.output.svgz.plain
output plugin activated for clipboard: org.inkscape.output.LAYERS
output plugin activated for clipboard: org.inkscape.output.ZIP
output plugin activated for clipboard: org.inkscape.output.latex
output plugin activated for clipboard: org.inkscape.output.jfx
output plugin activated for clipboard: org.inkscape.output.pov
output plugin activated for clipboard: org.inkscape.output.svg.inks...

Read more...

sgmanohar (sgmanohar)
description: updated
Revision history for this message
Stephan Sokolow (ssokolow) wrote :

JDownloader was just updated to use the content type negotiation properly, so it shouldn't be affected anymore.

(Before, it would use a dumb "fetch all" approach to clipboard monitoring but a recent update switched to properly querying available content types, and then only requesting the ones it knows how to handle.)

On my system, if the problem is still an issue between Inkscape and JDownloader, I can no longer trigger it.

Martin Owens (doctormo)
tags: added: bug-migration
Revision history for this message
Martin Owens (doctormo) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/359
Closed by: https://gitlab.com/doctormo

Changed in inkscape:
status: Triaged → Invalid
Changed in inkscape (Debian):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package inkscape - 1.1-1build1

---------------
inkscape (1.1-1build1) impish; urgency=medium

  * restrict ragel build-dep on [!i386], since it's not available there.
  * temporarily ignore test results on armhf: 1.1 introduced an unaligned
    memory access somewhere.

 -- Mattia Rizzolo <email address hidden> Thu, 10 Jun 2021 12:25:59 +0200

Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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