Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 421877

Summary: app-misc/anki-1.2.11 should depend on dev-python/beautifulsoup-3.x
Product: Gentoo Linux Reporter: Richard Lärkäng <larkang>
Component: Current packagesAssignee: Thomas Kahle (RETIRED) <tomka>
Status: RESOLVED FIXED    
Severity: normal CC: patrick, tomka
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Lärkäng 2012-06-19 06:12:01 UTC
When trying to export in Anki (i.e., open a deck, and then File -> Export -> ... -> Export...), it crashed with the following log:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/ankiqt/ui/exporting.py", line 75, in accept
     self.exporter.exportInto(file)
  File "/usr/lib64/python2.7/site-packages/anki/exporting.py", line 30, in exportInto
     self.doExport(file)
  File "/usr/lib64/python2.7/site-packages/anki/exporting.py", line 210, in doExport
     for c in cards])
  File "/usr/lib64/python2.7/site-packages/anki/exporting.py", line 35, in escapeText
     from BeautifulSoup import BeautifulSoup as BS

I had (only) beautifulsoup-4.1.0 installed. Installing also beautifulsoup-3.2.1 made it work again.

Reproducible: Always
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2012-06-20 15:07:07 UTC
Done. Thanks.