Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265999 - app-misc/anki-0.9.9.7.1: depends on PyQt4 with USE=svg
Summary: app-misc/anki-0.9.9.7.1: depends on PyQt4 with USE=svg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Heath Caldwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 13:34 UTC by Dennis Felsing
Modified: 2009-04-13 19:43 UTC (History)
0 users

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


Attachments
Patch to fix this (svg.patch,440 bytes, patch)
2009-04-13 13:39 UTC, Dennis Felsing
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Felsing 2009-04-13 13:34:54 UTC
I didn't try the other versions, but the latest (unstable) version of anki in
portage, 0.9.9.7.1 fails to be run because it depends on dev-python/PyQt4 to
be installed with USE=svg, but doesn't announce that.


Reproducible: Always

Steps to Reproduce:
1. echo "dev-python/PyQT4 -svg" >> /etc/portage/package.use
2. emerge -1 dev-python/PyQT4
3. emerge anki
4. anki
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/anki", line 31, in <module>
    ankiqt.run()
  File "/usr/lib/python2.5/site-packages/ankiqt/__init__.py", line 157, in run
    ui.importAll()
  File "/usr/lib/python2.5/site-packages/ankiqt/__init__.py", line 14, in importAll
    appForum="http://groups.google.com/group/ankisrs/topics"
  File "usr/lib/python2.5/site-packages/ankiqt/ui/facteditor.py", line 7, in <module>
ImportError: No module named QtSvg

Expected Results:  
Fail at "emerge anki" and tell the user to enable the svg use flag for PyQt4.
Comment 1 Dennis Felsing 2009-04-13 13:39:55 UTC
Created attachment 188237 [details, diff]
Patch to fix this
Comment 2 Heath Caldwell (RETIRED) gentoo-dev 2009-04-13 19:43:43 UTC
Fixed in tree, thanks.  I also added an ebuild for the latest anki.