Bug 301881 - inkscape filters depend on numpy, but numpy is not required by the RPM
Summary: inkscape filters depend on numpy, but numpy is not required by the RPM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: inkscape
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-22 23:12 UTC by Joel Uckelman
Modified: 2009-01-07 18:09 UTC (History)
0 users

Fixed In Version: 0.45.1-4.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-12 19:57:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Uckelman 2007-09-22 23:12:26 UTC
Description of problem:

Some inkscape effects use Numerical Python, but the inkscape RPM does not claim
to require numpy. Without numpy installed, some effects fail with an error
message. With numpy installed, the effects work properly.

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

inkscape-0.45.1-1.fc7

How reproducible:

Always

Steps to Reproduce:
1. Start inkscape.
1. Select Effects > Modify Path > Perspective.

Actual results:

An error dialog pops up, containing a Python traceback:

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/perspective.py", line 23, in <module>
    from numpy import *
ImportError: No module named numpy

Expected results:

The Perspective effect should run.

Comment 1 Joel Uckelman 2007-11-19 21:07:01 UTC
Additionally, the Perspective effect also requires PyXML, so that should also be
listed as a requirement.

Comment 2 Lubomir Kundrak 2007-12-02 11:18:20 UTC
Will be in inkscape-0.45.1-4. I could not find any other missing Requires for
python modules. I was under impression that something like find-requires also
works for python modules.

Comment 3 Lubomir Kundrak 2007-12-02 11:44:17 UTC
Though this solves the issue for now, I'd rather prefer not adding dependencies.
I wonder if it is possible to reporte a module failure somehow more gracefully
to the user, so that he knows which package to install.

Comment 4 Fedora Update System 2007-12-03 11:39:12 UTC
inkscape-0.45.1-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update inkscape'

Comment 5 Fedora Update System 2007-12-12 19:57:32 UTC
inkscape-0.45.1-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


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