Giter Site home page Giter Site logo

Comments (1)

tjthejuggler avatar tjthejuggler commented on July 19, 2024

Still happening for me too

Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.15 (442df9d6) Python 3.9.7 Qt 5.15.2 PyQt 5.15.4
Platform: Linux
Flags: frz=False ao=True sv=1
Add-ons possibly involved: Replay buttons on card

Caught exception:
File "/usr/share/anki/aqt/webview.py", line 27, in cmd
return json.dumps(self.onCmd(str))
File "/usr/share/anki/aqt/webview.py", line 87, in _onCmd
return self._onBridgeCmd(str)
File "/usr/share/anki/aqt/webview.py", line 386, in _onBridgeCmd
return self.onBridgeCmd(cmd)
File "/usr/share/anki/aqt/overview.py", line 37, in linkHandler
self.mw.moveToState("review")
File "/usr/share/anki/aqt/main.py", line 486, in moveToState
getattr(self, "
"+state+"State")(oldState, *args)
File "/usr/share/anki/aqt/main.py", line 516, in _reviewState
self.reviewer.show()
File "/usr/share/anki/aqt/reviewer.py", line 46, in show
self.nextCard()
File "/usr/share/anki/aqt/reviewer.py", line 96, in nextCard
self._showQuestion()
File "/usr/share/anki/aqt/reviewer.py", line 168, in _showQuestion
q = c.q()
File "/usr/share/anki/anki/cards.py", line 120, in q
return self.css() + self._getQA(reload, browser)['q']
File "/usr/share/anki/anki/cards.py", line 137, in _getQA
self._qa = self.col._renderQA(data, *args)
File "/usr/share/anki/anki/collection.py", line 591, in _renderQA
d[type] = runFilter(
File "/usr/share/anki/anki/hooks.py", line 39, in runFilter
arg = func(arg, *args)
File "/home/tim/.local/share/Anki2/addons21/498789867/init.py", line 95, in play_button_filter
return re.sub(sound_re, add_button, qa_html)
File "/usr/lib/python3.9/re.py", line 210, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "/home/tim/.local/share/Anki2/addons21/498789867/init.py", line 80, in add_button
unescaped_fn = html.parser.HTMLParser().unescape(fn)
<class 'AttributeError'>: 'HTMLParser' object has no attribute 'unescape'

from anki-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.