Anki 2.0/2.1 add-on for use with HabitRPG. Automatically scores habits when you reach the end of your Anki timebox and when you review all cards in a deck.
I reinstalled anki but the error still shows up. and i can't delete add on
Debug info:
Anki 2.1.20 (47a1bf8b) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-02-29 10:31:08
Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 73, in handler
File "aqt\main.py", line 155, in setupProfileAfterWebviewsLoaded
File "aqt\main.py", line 192, in setupProfile
File "aqt\main.py", line 365, in loadProfile
File "aqt\gui_hooks.py", line 648, in call
File "lib\site-packages\anki\hooks.py", line 475, in runHook
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507__init__.py", line 711, in grab_profile
if ah.user_settings["check_db_on_profile_load"] and ah.settings.configured and ah.habitica.grab_scorecounter() and compare_score_to_db():
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_class.py", line 364, in grab_scorecounter
response = self.api.task(self.habit_id)
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 106, in task
out = self.v3_request("get", "/tasks/%s" % str(task_id))
File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 75, in v3_request
response = json.load(opener.open(req, timeout=timeout))
File "urllib\request.py", line 531, in open
File "urllib\request.py", line 640, in http_response
File "urllib\request.py", line 569, in error
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized
I reinstalled anki but the error still shows up. and i can't delete add on Debug info: Anki 2.1.20 (47a1bf8b) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1 Platform: Windows 10 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-02-29 10:31:08
Caught exception: Traceback (most recent call last): File "aqt\progress.py", line 73, in handler File "aqt\main.py", line 155, in setupProfileAfterWebviewsLoaded File "aqt\main.py", line 192, in setupProfile File "aqt\main.py", line 365, in loadProfile File "aqt\gui_hooks.py", line 648, in call File "lib\site-packages\anki\hooks.py", line 475, in runHook File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507__init__.py", line 711, in grab_profile if ah.user_settings["check_db_on_profile_load"] and ah.settings.configured and ah.habitica.grab_scorecounter() and compare_score_to_db(): File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_class.py", line 364, in grab_scorecounter response = self.api.task(self.habit_id) File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 106, in task out = self.v3_request("get", "/tasks/%s" % str(task_id)) File "C:\Users\Admin\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 75, in v3_request response = json.load(opener.open(req, timeout=timeout)) File "urllib\request.py", line 531, in open File "urllib\request.py", line 640, in http_response File "urllib\request.py", line 569, in error File "urllib\request.py", line 502, in _call_chain File "urllib\request.py", line 649, in http_error_default urllib.error.HTTPError: HTTP Error 401: Unauthorized