Bug 3545 - UniConvertor universal vector graphics translator
Summary: UniConvertor universal vector graphics translator
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://sk1project.org/modules.php?nam...
Whiteboard:
Keywords: validated_update
: 2188 (view as bug list)
Depends on: 2317
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-30 21:21 CET by Dmitriy B
Modified: 2012-05-16 12:04 CEST (History)
11 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Dmitriy B 2011-11-30 21:21:56 CET
Description of problem:
In order to be able to import some file formats in Inscape, requires UniConvertor.
http://sk1project.org/modules.php?name=Products&product=uniconvertor

Version-Release number of selected component (if applicable):
1.1.5

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Herbert Poetzl 2012-01-08 01:03:44 CET
Well, not just to import, actually even to 'copy' a circle for example, so it seems to be rather elementary for Inkscape.

Steps to Reproduce:
1. Open Inkscape
2. Draw Circle
3. Select Edit->Copy

every three seconds from then on you'll get a requester stating:

You need to install the UniConvertor software.
For GNU/Linux: install the package python-uniconvertor.
For Windows: download it from ...

CC: (none) => herbert
Hardware: i586 => All
Severity: normal => major

Comment 3 Herbert Poetzl 2012-01-08 05:22:51 CET
(In reply to comment #1)
requires a clipboard manager/monitor to actually happen like with xfce or netbeans/jdownloader
Manuel Hiebel 2012-01-08 11:21:53 CET

CC: (none) => doktor5000

Comment 4 Florian Hubold 2012-01-08 12:48:57 CET
Will take a look.

Status: NEW => ASSIGNED
Assignee: bugsquad => doktor5000

diego w 2012-01-09 00:53:20 CET

CC: (none) => smiling.diego

Comment 5 diego w 2012-01-10 19:41:47 CET
*** Bug 2188 has been marked as a duplicate of this bug. ***

CC: (none) => fanisatt

Olav Vitters 2012-01-10 20:05:43 CET

CC: (none) => olav

Comment 6 Deri James 2012-01-15 13:43:20 CET
The sk1libs src.rpm listed above gives me an error when unpacking:-

rpm -ivh ~/Download/sk1libs-0.9.1-1.mga1.src.rpm
   1:sk1libs                ########################################### [100%]
error: unpacking of archive failed on file /home/derij/rpm/SOURCES/sk1libs-0.9.1.tar.gz;4f12c8a3: cpio: read failed - Bad file descriptor
error: /home/derij/Download/sk1libs-0.9.1-1.mga1.src.rpm cannot be installed

Similar error using rpm2cpio.

CC: (none) => deri

Comment 7 Herbert Poetzl 2012-01-15 20:18:45 CET
# wget http://vserver.13thfloor.at/Stuff/MAGEIA/SRPMS/sk1libs-0.9.1-1.mga1.src.rpm
# rpm -ivh sk1libs-0.9.1-1.mga1.src.rpm
   1:sk1libs                ########################################### [100%]

works fine here
Comment 8 Deri James 2012-01-16 17:18:37 CET
Apologies, it appears to be a problem with (my?) "rekonq", downloading with chrome/firefox/wget it is fine, but with rekonq the file is truncated (always to the same - wrong - size).

It works perfectly once the complete file is downloaded.
Comment 9 Florian Hubold 2012-01-17 12:17:45 CET
So, who here is actively using uniconvertor? As the project page states, uniconvertor 1 is now deprecated in favor of uniconvertor 2.0, but for that there's no release in sight:
http://libregraphicsworld.org/blog/entry/sk1-development-restarted

So at the current state, i'd like to push uniconvertor 1.1.5 to mageia 1, as it was present in mandriva 2010.1, and push a development release to cauldron and hope we get a stable release until march. I've already asked upstream about an updated roadmap for uniconvertor 2 development.
Comment 10 Herbert Poetzl 2012-01-18 17:42:11 CET
JFYI: it seems that inkscape is using it (at least the way it is configured/compiled right now), combined with the inkscape bug/feature to provide all kinds of clipboard representations this will trigger with any clipboard monitor or manager active.

that's how I found out about uniconverter in the first place :)
Comment 11 Florian Hubold 2012-02-04 18:11:18 CET
So far inkscape doesn't really need it, at least not for copy&paste inside inkscape, which the message you posted was suggesting. I've now packaged uniconvertor & sk1libs for Mageia 1, currently adding suggests on uniconvertor in Mageia 1 inkscape, which should be ready soon, update advisory will follow.

For reference, even with uniconvertor installed, when using a clipboard manager like the one from jdownloader when clipboard monitoring is enabled, parcellite or clipman from xfce, you will still hit a glitch between inkscape and such clipboardmanagers. Inkscape will repeatedly show a message like

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

See f.ex. https://bugs.launchpad.net/inkscape/+bug/418242
Comment 12 Florian Hubold 2012-02-05 19:17:39 CET
There is now uniconvertor-1.1.5-1.mga1, sk1libs-0.9.1-1.mga1 and inkscape-0.48.1-2.1.mga1 in core/updates_testing to validate
-------------------------------------------------------


Suggested advisory:
-------------------
This update addresses the following issue:

Without uniconvertor, inkscape will display the following message:

"You need to install the UniConvertor software.
For GNU/Linux: install the package python-uniconvertor.
For Windows: download it from ..."

when copy&pasting something inside inkscape, if you have a clipboard manager/monitor open, like f.ex. jdownloader or netbeans. uniconvertor is an optional program for inkscape as described in http://wiki.inkscape.org/wiki/index.php/Tools#uniconvertor.

uniconvertor has now been added to Mageia, and Suggests on uniconvertor added to the inkscape package.


-------------------------------------------------------
Steps to reproduce:

- install/update to update candidate, ensure that inkscape, uniconvertor and sk1libs get installed, and the above mentioned error message appears
- check that uniconvertor is usable, f.ex. converting an SVG file to CDR or something else it supports

Assignee: doktor5000 => qa-bugs

Comment 13 Dave Hodgins 2012-02-06 02:12:00 CET
The sk1libs package did not get installed with the update
on my i586 system.

I installed the core release version first, bug was unable
to get the error message.

When I installed the updates testing version, using mgaapplet,
the uniconvertor package did get installed with the update.

The inkscape program is working fine for me, both before and
after installing the update.

CC: (none) => davidwhodgins

Comment 14 Dave Hodgins 2012-02-06 02:33:07 CET
Went back to the core release version, without uniconvertor,
loaded an svg file, used save as sk1 vector graphic, and
got the error message.

Installed the update, which again pulled in the uniconvertor
package.  Tried the updated version, and now get the message
that the uniconvertor failed with
"No module named sk1libs.utils.fs".

So the suggests on the sk1libs package is still needed.
Comment 15 Florian Hubold 2012-02-06 08:38:58 CET
No, not Suggests but Requires on sk1libs which i have missed. Will do so later today, validation is suspended in between. Otherwise, what clipboard manager/monitor did you use?

Assignee: qa-bugs => doktor5000

Comment 16 Dave Hodgins 2012-02-06 21:26:44 CET
(In reply to comment #15)
> No, not Suggests but Requires on sk1libs which i have missed. Will do so later
> today, validation is suspended in between. Otherwise, what clipboard
> manager/monitor did you use?

I was using klipper, which did not trigger the error, but as saving
the image in sk1 vector format also triggers the error, that doesn't
matter now.
Comment 17 Florian Hubold 2012-02-06 21:33:37 CET
(In reply to comment #16)
> (In reply to comment #15)
> > Otherwise, what clipboard manager/monitor did you use?
> I was using klipper, which did not trigger the error

Maybe have a look at comment#3 or first comment on https://bugs.launchpad.net/inkscape/+bug/418242
Comment 18 Dave Hodgins 2012-02-07 00:00:35 CET
I've uninstalled uniconvertor, and gone back to the Core Release version
of inkscape.  With xfce4-settings-helper running, inkscape does generate
the error, just drawing a circle and selecting edit/copy.

I'll wait for the version with the requires on sk1libs to re-test.
Comment 19 Florian Hubold 2012-02-07 14:43:08 CET
There is now uniconvertor-1.1.5-1.1.mga1, sk1libs-0.9.1-1.mga1 and
inkscape-0.48.1-2.1.mga1 in core/updates_testing to validate
----

See https://bugs.mageia.org/show_bug.cgi?id=3545#c12 for the complete advisory, didn't want to duplicate it uselessly.

Assignee: doktor5000 => qa-bugs

Comment 20 Dave Hodgins 2012-02-07 17:56:49 CET
Installing the update to inkscape using mgaapplet did not install
uniconvertor.
Comment 21 claire robinson 2012-02-08 12:02:30 CET
urpmi shows sk1libs and uniconvertor are still suggests

# urpmi inkscape
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch
(medium "Core Release")
  python-lcms                    1.19         5.mga1        x86_64  (suggested)
(medium "Core Updates Testing")
  inkscape                       0.48.1       2.1.mga1      x86_64
  sk1libs                        0.9.1        1.mga1        x86_64  (suggested)
  uniconvertor                   1.1.5        1.1.mga1      x86_64  (suggested)
4.2MB of additional disk space will be used.
13MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) n
Comment 22 claire robinson 2012-02-08 12:03:53 CET
Also that it could end up being affected by bug 2317 /o\
Comment 23 David GEIGER 2012-02-08 12:32:29 CET
For me with the choice 1 on Mageia release 1 (Official) for x86_64:

# LC_ALL=C urpmi --test inkscape
In order to satisfy the 'perl(Parse::Yapp::Driver)' dependency, one of the following packages is needed:
 1- perl-Parse-Yapp-1.50.0-2.mga1.noarch: Fully reentrant perl OO LALR(1) parser creator (to install)
 2- perl-Math-Calc-Units-1.70.0-1.mga1.noarch: Human-readable unit-aware calculator (to install)
What is your choice? (1-2) 1
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
   Package                        Version      Release       Arch
(medium "Core Release (distrib1)")
  gtkspell                       2.0.16       2.mga1        x86_64
  lib64gc1                       7.1          7.mga1        x86_64
  lib64gtkspell0                 2.0.16       2.mga1        x86_64
  perl-SVG                       2.500.0      1.mga1        noarch
  perl-SVG-Parser                1.30.0       1.mga1        noarch
  perl-XML-RegExp                0.30.0       1.mga1        noarch
  python-lcms                    1.19         5.mga1        x86_64  (suggested)
  python-pyxml                   0.8.4        17.mga1       x86_64
(medium "Core Updates Testing (distrib5)")
  inkscape                       0.48.1       2.1.mga1      x86_64
  sk1libs                        0.9.1        1.mga1        x86_64  (suggested)
  uniconvertor                   1.1.5        1.1.mga1      x86_64  (suggested)
(medium "Core 32bit Release (distrib31)")
  perl-Parse-Yapp                1.50.0       2.mga1        noarch
  perl-XML-XQL                   0.680.0      1.mga1        noarch
86MB of additional disk space will be used.
14MB of packages will be retrieved.
Proceed with the installation of the 13 packages? (Y/n) n

CC: (none) => geiger.david68210

Comment 24 David GEIGER 2012-02-08 12:34:07 CET
And with the choice 2 on Mageia release 1 (Official) for x86_64:

# LC_ALL=C urpmi --test inkscape
In order to satisfy the 'perl(Parse::Yapp::Driver)' dependency, one of the following packages is needed:
 1- perl-Parse-Yapp-1.50.0-2.mga1.noarch: Fully reentrant perl OO LALR(1) parser creator (to install)
 2- perl-Math-Calc-Units-1.70.0-1.mga1.noarch: Human-readable unit-aware calculator (to install)
What is your choice? (1-2) 2
To satisfy dependencies, the following packages are going to be installed:
(test only, installation will not be actually done)
   Package                        Version      Release       Arch
(medium "Core Release (distrib1)")
  gtkspell                       2.0.16       2.mga1        x86_64
  lib64gc1                       7.1          7.mga1        x86_64
  lib64gtkspell0                 2.0.16       2.mga1        x86_64
  perl-SVG                       2.500.0      1.mga1        noarch
  perl-SVG-Parser                1.30.0       1.mga1        noarch
  perl-XML-RegExp                0.30.0       1.mga1        noarch
  python-lcms                    1.19         5.mga1        x86_64  (suggested)
  python-pyxml                   0.8.4        17.mga1       x86_64
(medium "Core Updates Testing (distrib5)")
  inkscape                       0.48.1       2.1.mga1      x86_64
  sk1libs                        0.9.1        1.mga1        x86_64  (suggested)
  uniconvertor                   1.1.5        1.1.mga1      x86_64  (suggested)
(medium "Core 32bit Release (distrib31)")
  perl-Math-Calc-Units           1.70.0       1.mga1        noarch
  perl-XML-XQL                   0.680.0      1.mga1        noarch
86MB of additional disk space will be used.
14MB of packages will be retrieved.
Proceed with the installation of the 13 packages? (Y/n) n
Comment 25 claire robinson 2012-02-08 12:40:04 CET
David, do you have the release version installed or not?
Comment 26 David GEIGER 2012-02-08 12:49:02 CET
(In reply to comment #25)
> David, do you have the release version installed or not?

No, it was just to do a test to see if the proper dependencies are proposed or not.
Comment 27 Florian Hubold 2012-02-08 13:54:53 CET
(In reply to comment #20)
> Installing the update to inkscape using mgaapplet did not install
> uniconvertor.

Which inkscape version did you install via the applet? As mentioned above, inkscape-0.48.10.48.1-2.1.mga1 has the needed Suggests on uniconvertor, and 
uniconvertor-1.1.5-1.1.mga1 has the needed Requires on sk1libs.


(In reply to comment #21)
> urpmi shows sk1libs and uniconvertor are still suggests

Yes, that's the idea. inkscape has a Suggests on uniconvertor, as for normal operation it's not needed, it's an optional dependency, so as already mentioned, i've added it as suggests. The update applet should be able to use that ...
Comment 28 claire robinson 2012-02-08 14:00:27 CET
Ahh Ok. Just in comment 15 you said 'not suggests but requires'.

Suggests isn't working in MageiaUpdate


The following package is going to be installed:

- inkscape-0.48.1-2.1.mga1.x86_64

84KB of additional disk space will be used.
Comment 29 claire robinson 2012-02-08 14:06:30 CET
Am I misunderstanding Florian?

Is this actually correct and we should test that the problem is fixed once uniconvertor is manually installed?
Comment 30 Florian Hubold 2012-02-08 14:38:05 CET
comment#15 was about uniconvertor itself missing requires on sk1libs, because you mentioned suggests before :)

And i'd say yes, so it will not bloat all the inkscape installations. Because if for some of them the error shows up, they can install uniconvertor manually.
Comment 31 claire robinson 2012-02-08 15:49:07 CET
Understood. Thankyou. As a suggest and not a require this will not be affected by bug 2317 (Phew!)

Testing x86_64

I was able to reproduce the error by saving as sk1. 

# urpmi --no-suggests inkscape

    ftp://ftp.linuxcabal.org/pub/mirrors/Mageia/distrib/1/x86_64/media/core/updates_testing/inkscape-0.48.1-2.1.mga1.x86_64.rpm
installing inkscape-0.48.1-2.1.mga1.x86_64.rpm from /var/cache/urpmi/rpms        
Preparing...                     ###############################################
      1/1: inkscape              ###############################################


Confirmed the error still exists after updating inkscape. We've already shown the suggest on uniconvertor.

# urpmi uniconvertor
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch
(medium "Core Release")
  python-lcms                    1.19         5.mga1        x86_64
(medium "Core Updates Testing")
  sk1libs                        0.9.1        1.mga1        x86_64
  uniconvertor                   1.1.5        1.1.mga1      x86_64
4.1MB of additional disk space will be used.
1MB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y

So uniconvertor requires sk1libs as it should. Confirmed the error is now gone :)

Testing uniconvertor..

$ uniconvertor --help
shows the help, there is no man page.

Trying one of the previously created sk1 files caused a Traceback. 

app.events.skexceptions.SketchLoadError: unrecognised file type

Presumably because they weren't really sk1 files. Using one of the files created with the new inkscape. 

$ uniconvertor drawing-2.sk1 drawing-2.svg
no errors, confirmed the svg opens ok in inkscape.

$ uniconvertor drawing-2.sk1 drawing-2.pdf
$ evince drawing-2.pdf

$ uniconvertor drawing-2.sk1 drawing-2.ps
$ gv drawing-2.ps

All appears OK. gv gives some errors, but it does when run without any arguments so that is a bug with gv.
Comment 32 claire robinson 2012-02-08 15:49:29 CET
Testing complete x86_64
Comment 33 Dave Hodgins 2012-02-08 23:40:18 CET
Validating the update.

Could someone from the sysadmin team push the srpms
uniconvertor-1.1.5-1.1.mga1.src.rpm
sk1libs-0.9.1-1.mga1.src.rpm
from Core Updates Testing to Core Updates.

Advisory:  This update adds uniconvertor, the Universal vector
graphics translator, and sk1libs, a Set of Python Non-GUI
Extensions for sK1 Project.  The uniconvertor package was
present in Mandriva 2010.2, but missing from Mageia 1.  The
sk1libs package is required by this version of uniconvertor.

Installing these optional packages corrects errors in inkscape,
when using clipboard managers, or using sk1 vector format
files.

https://bugs.mageia.org/show_bug.cgi?id=3545

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 34 Thomas Backlund 2012-02-11 19:25:47 CET
update pushed

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 35 Dmitriy B 2012-02-12 22:51:36 CET
Thank!
Comment 36 Olivier Delaune 2012-03-29 11:36:08 CEST
Why inkscape-0.48.1-2.1.mga1 was not pushed?

CC: (none) => olivier.delaune

Comment 37 Florian Hubold 2012-03-29 20:40:38 CEST
@sysadmins: Please check again, seems inkscape-0.48.1-2.1.mga1 was forgotten to be listed for pushing.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Assignee: qa-bugs => sysadmin-bugs

Comment 38 Dave Hodgins 2012-03-30 03:16:24 CEST
(In reply to comment #36)
> Why inkscape-0.48.1-2.1.mga1 was not pushed?

Oops.  My mistake.  Could someone from the sysadmin team push the srpm
inkscape-0.48.1-2.1.mga1.src.rpm
from Core Updates Testing to Core Updatea.

Advisory:  This update to inkscape adds a requires for the package
sk1libs, which is required for working with sk1 vector graphic files.
Comment 39 Thomas Backlund 2012-04-03 05:01:59 CEST
inkscape pushed,

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 40 claire robinson 2012-04-30 10:56:22 CEST
This requires python-lcms linking to updates for bug 2317, noticed on a fresh install today.

Status: RESOLVED => REOPENED
Depends on: (none) => 2317
Resolution: FIXED => (none)
Assignee: sysadmin-bugs => qa-bugs

Comment 41 Thomas Backlund 2012-04-30 12:00:38 CEST
python-lcms linked

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 42 claire robinson 2012-05-03 12:29:38 CEST
This also requires python-reportlab linked, sorry.

Our script doesn't work for this one as it wasn't in Release and is only added as a suggest to Inkscape so potentially there are more but python-reportlab blocked the installation of uniconvertor doing updates during installation of mga1.

Is this a new scenario for bug 2317? We really need to get that fixed!
Comment 43 claire robinson 2012-05-03 12:31:55 CEST
reopening due to the above.

It may need all the recursive requires of uniconvertor linked.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 44 claire robinson 2012-05-03 13:32:11 CEST
I've temporarily altered our script to allow suggests and running it against inkscape in Release vs Updates..

The following packages will require linking:

fonts-ttf-dejavu-2.33-1.mga1 (Core Release)
libieee1284_3-0.2.11-9.mga1 (Core Release)
libsane1-1.0.22-1.mga1 (Core Release)
libtcl8.6-8.6-0.b1.7.mga1 (Core Release)
libtk8.6-8.6-0.b1.8.mga1 (Core Release)
libv4l0-0.8.3-1.mga1 (Core Release)
libv4l-wrappers-0.8.3-1.mga1 (Core Release)
python-imaging-1.1.7-4.mga1 (Core Release)
python-reportlab-2.5-5.mga1 (Core Release)
v4l-utils-0.8.3-1.mga1 (Core Release)


Hopefully that will be everything. This is the first time though that suggests have been an issue but it looks like we will have to check those too, or alter the updates check during installation with --no-suggests.
Comment 45 Thomas Backlund 2012-05-16 12:04:55 CEST
Linked.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.