Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345393 - media-gfx/inkscape misses dependency on media-gfx/uniconvertor?
Summary: media-gfx/inkscape misses dependency on media-gfx/uniconvertor?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 356971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-14 13:28 UTC by Sebastian Pipping
Modified: 2011-03-01 20:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2010-11-14 13:28:38 UTC
I get this runtime error from Inkscape 0.48:

====================================================================
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
====================================================================
Comment 1 Markus Meier gentoo-dev 2010-11-17 10:18:41 UTC
I don't have uniconvertor installed and inkscape works w/o issues. Have you installed some extensions requiring uniconvertor?
Comment 2 Sebastian Pipping gentoo-dev 2010-11-19 01:20:50 UTC
(In reply to comment #1)
> Have you installed some extensions requiring uniconvertor?

No extensions (besides those of inkscape) installed.

  # find /usr/share/inkscape/extensions/ | wc -l
  405

I can attach the full listing if needed.

The error showed up when I tried to copy a selection to the clipboard.
When I just tried to reproduce that with another file I got this error instead:

  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 unsubscriptable

I guess that doesn't help too much?  Any ideas?
Comment 3 Vladimir 2010-11-29 12:22:57 UTC
I just would like to confirm the behaviour described above. I have the same problem last few days.
Comment 4 Steve Arnold archtester gentoo-dev 2011-01-04 17:14:10 UTC
This happens when USE=wmf is enabled - the message about installing python-uniconvertor pops up if you try and open a .wmf file.  I also tried converting the .wmf to an .svg with imagemagick first, but that just triggered a massive memory link in inkscape when I tried to open the resulting .svg file.
Comment 5 Vladimir 2011-01-04 17:39:58 UTC
(In reply to comment #4)
> This happens when USE=wmf is enabled - the message about installing
> python-uniconvertor pops up if you try and open a .wmf file.  
In my case a message about missing uniconverter appears almost every time I copy/paste something in Inkscape. I do not work with wmf files usually, but this message appears not only when trying to work with them.
Comment 6 Sebastian Pipping gentoo-dev 2011-01-05 00:31:00 UTC
(In reply to comment #5)
> In my case a message about missing uniconverter appears almost every time I
> copy/paste something in Inkscape.

Copy and paste, yes, same with me.


> I do not work with wmf files usually, but
> this message appears not only when trying to work with them.

I have USE=-wmf here, so USE=wmf alone cannot be the cause.
Comment 7 Tim Harder gentoo-dev 2011-02-22 11:12:04 UTC
It appears that inkscape uses uniconvertor for a bunch of its extensions relating to input and output from various vector formats.

Since the extensions are installed by default, I'll probably just add uniconvertor as a required RDEPEND unless someone has a better idea.
Comment 8 Tim Harder gentoo-dev 2011-02-22 11:47:57 UTC
Actually what may be better to do is to make the wmf USE flag pull it in as an RDEPEND and also add a post-install message since many people will not run into situations that require uniconvertor when using inkscape.

Any other ideas?
Comment 9 Sebastian Pipping gentoo-dev 2011-02-22 20:31:02 UTC
(In reply to comment #7)
> Since the extensions are installed by default, I'll probably just add
> uniconvertor as a required RDEPEND unless someone has a better idea.

Yes, please.


(In reply to comment #8)
> Actually what may be better to do is to make the wmf USE flag pull it in as an
> RDEPEND and also add a post-install message since many people will not run into
> situations that require uniconvertor when using inkscape.

As I said in comment #6, I never had USE=wmf enabled so that fix would leave it broken for me.
Comment 10 Tim Harder gentoo-dev 2011-02-23 19:32:56 UTC
I added media-gfx/uniconvertor as an RDEPEND to 0.48.1 in CVS. Note that some keywords had to be dropped and will need to be re-added when uniconvertor is keyworded (bug #356243).
Comment 11 Sebastian Pipping gentoo-dev 2011-02-24 04:48:47 UTC
Thanks!
Comment 12 Tim Harder gentoo-dev 2011-03-01 20:23:28 UTC
*** Bug 356971 has been marked as a duplicate of this bug. ***