Package: anki
Version: 2.1.0+dfsg~a11-0.1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I just upgraded to Anki 2.1.0 with a dist-upgrade.  When I try to open the 
packaged version, I get the following error.

Traceback (most recent call last):
  File "/usr/bin/anki", line 7, in <module>
    import aqt
  File "/usr/share/anki/aqt/__init__.py", line 80, in <module>
    dialogs = DialogManager()
  File "/usr/share/anki/aqt/__init__.py", line 47, in __init__
    from aqt import addcards, browser, editcurrent
  File "/usr/share/anki/aqt/addcards.py", line 13, in <module>
    import aqt.editor, aqt.modelchooser, aqt.deckchooser
  File "/usr/share/anki/aqt/editor.py", line 27, in <module>
    from bs4 import BeautifulSoup
  File "/home/d/.local/lib/python3.5/site-packages/bs4/__init__.py", line 30, 
in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "/home/d/.local/lib/python3.5/site-packages/bs4/builder/__init__.py", 
line 314, in <module>
    from . import _html5lib
  File "/home/d/.local/lib/python3.5/site-packages/bs4/builder/_html5lib.py", 
line 70, in <module>
    class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: module 'html5lib.treebuilders' has no attribute '_base'

I would like for Anki to start normally.

I can and have downloaded Anki 2.1.0a10 from source, and when I run that, it 
functions normally.  This is my workaround.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages anki depends on:
ii  libjs-jquery                3.1.1-2
ii  libjs-jquery-flot           0.8.3+dfsg-1
ii  libjs-jquery-ui             1.12.1+dfsg-4
ii  python3-bs4                 4.5.3-1
ii  python3-httplib2            0.9.2+dfsg-1
ii  python3-pyaudio             0.2.10-1
ii  python3-pyqt5               5.7+dfsg-5
ii  python3-pyqt5.qtwebchannel  5.7+dfsg-5
ii  python3-pyqt5.qtwebengine   5.7+dfsg-5
ii  python3-requests            2.12.4-1
ii  python3-send2trash          1.3.0-3
pn  python3:any                 <none>

Versions of packages anki recommends:
ii  python3-matplotlib  2.0.0+dfsg1-2

Versions of packages anki suggests:
ii  dvipng    1.14-2+b2
ii  lame      1:3.99.5-dmo5
pn  mplayer2  <none>

-- no debconf information

Reply via email to