Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29132 - [inkscape] pyxml doesn't seem to be an optional dependency

Attached to Project: Arch Linux
Opened by Alex (aleXPS) - Tuesday, 27 March 2012, 12:57 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 27 March 2012, 18:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Without pyxml installed inkscape does not save as "Plain SVG".

Additional info:
* package version: 0.48.3.1-2

Steps to reproduce on the system w/o pyxml installed:
1. Save as "Plain SVG" an inkscape document containing inkscape specific stuff like inkscape:* attributes and so.
2. Resulting file is the same as original "Inkscape SVG" one, still containing inkscape specific stuff.

After pyxml installed save as "Plain SVG" worked properly, stripping inkscape specific stuff from the resulting file.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Tuesday, 27 March 2012, 18:23 GMT
Reason for closing:  None
Comment by Gaetan Bisson (vesath) - Tuesday, 27 March 2012, 13:27 GMT
If pyxml was a dependency, the configure script would issue an error on compiling inkscape when it is not installed, which it does not. And at any rate, it is quite nasty of Inkscape to write different things for the same format depending on what libraries are installed; I would consider that a bug. You may report this issue upstream, but I see no packaging problem here (and I sure find Inkscape useful without pyxml).
Comment by Alex (aleXPS) - Tuesday, 27 March 2012, 14:12 GMT
It is not quite obvious to figure out why a main menu function does not work. I thought package users would benefit if either pyxml become dependency which it is, run-time dependency, or comment to pyxml as an optional dependency state that it is required in order to some basic functions to work (:
Comment by Gaetan Bisson (vesath) - Tuesday, 27 March 2012, 14:24 GMT
Sure, I can add something in the comment field of the optdepends... What do you suggest? It must be precise and concise. :)
Comment by Alex (aleXPS) - Tuesday, 27 March 2012, 16:13 GMT
Trying to find an answer I had a shallow look on inkscape code and found that it really should not depend on pyxml for plain SVG output. It depends on python2-lxml and issues a error message if lxml is absent for a number of "save as" output formats but not for plain SVG. I have no exactly the same version of the file I had trouble with, but with its previous and subsequent versions plain SVG export works well with pyxml deleted.
So, let's just close this

Loading...