Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when opening stats #30

Open
AnkiUser123 opened this issue Oct 7, 2020 · 0 comments
Open

Error message when opening stats #30

AnkiUser123 opened this issue Oct 7, 2020 · 0 comments

Comments

@AnkiUser123
Copy link

Here is the error message that pops up. Anyone know how to fix this??

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.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.13.6
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Pokemanki

Error in sys.excepthook:
Traceback (most recent call last):
File "aqt/errors.py", line 17, in excepthook
File "aqt/errors.py", line 41, in write
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 902: ordinal not in range(128)

Original exception was:
Traceback (most recent call last):
File "aqt/webview.py", line 27, in cmd
File "aqt/webview.py", line 87, in _onCmd
File "aqt/webview.py", line 368, in _onBridgeCmd
File "aqt/toolbar.py", line 56, in _linkHandler
File "aqt/toolbar.py", line 77, in _statsLinkHandler
File "aqt/main.py", line 878, in onStats
File "aqt/init.py", line 82, in open
File "", line 2, in init
File "anki/hooks.py", line 74, in decorator_wrapper
File "anki/hooks.py", line 65, in repl
File "aqt/stats.py", line 43, in init
File "aqt/stats.py", line 85, in refresh
File "anki/stats.py", line 117, in report
File "", line 2, in todayStats
File "anki/hooks.py", line 74, in decorator_wrapper
File "anki/hooks.py", line 71, in repl
File "/Users/hunter.stearns/Library/Application Support/Anki2/addons21/633922407/display.py", line 54, in pokemonDisplay
File "/Users/hunter.stearns/Library/Application Support/Anki2/addons21/633922407/display.py", line 135, in _show
if name == "Pikachu":
UnboundLocalError: local variable 'name' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant