Your message dated Mon, 6 Aug 2018 18:20:44 +0100
with message-id <[email protected]>
and subject line Re: Bug#856110: anki: Anki cannot start
has caused the Debian Bug report #856110,
regarding anki: Anki cannot start
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
856110: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856110
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2.1.0+dfsg~rc2-1

On Sat, Feb 25, 2017 at 05:45:00PM +0900, Douglas Perkins wrote:
> 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.

Hi Douglas,

Apologies for the slow response; I hadn't realised that I wasn't
being emails Anki bugs.

It seems to work fine with the current version.  I'm not sure why you
were having this problem; perhaps you were using a broken version of
bs4?  I note from the trace that it was finding bs4 in /home/d/.local
rather than in the system directory.

Please do reopen this bug if the problem persists with the latest
Debian versions of anki.

Best wishes,

   Julian

--- End Message ---

Reply via email to