eshapard / AnkiHabitica

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.
GNU General Public License v3.0
197 stars 31 forks source link

Re-install habitica error #77

Closed ankinoob closed 5 years ago

ankinoob commented 5 years ago

hello, I re-installed habitica and now it shows me this bug

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.13 (3ba55990) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Windows 10 Flags: frz=True ao=True sv=1

Caught exception: File "C:\Users\mandu\AppData\Roaming\Anki2\addons21\1758045507__init__.py", line 637, in score_backlog ah.habitica.grab_scorecounter() File "C:\Users\mandu\AppData\Roaming\Anki2\addons21\1758045507\habitica_class.py", line 375, in grab_scorecounter response = self.api.task(self.habit_id) File "C:\Users\mandu\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 94, in task out = self.v3_request("get", "/tasks/%s" % str(task_id)) File "C:\Users\mandu\AppData\Roaming\Anki2\addons21\1758045507\habitica_api.py", line 63, in v3_request response = json.load(urllib.request.urlopen(req, context=context)) File "urllib\request.py", line 223, in urlopen File "urllib\request.py", line 532, in open File "urllib\request.py", line 642, in http_response File "urllib\request.py", line 570, in error File "urllib\request.py", line 504, in _call_chain File "urllib\request.py", line 650, in http_error_default <class 'urllib.error.HTTPError'>: HTTP Error 401: Unauthorized

71e6fd52 commented 5 years ago

Did you try to setup again?

ankinoob commented 5 years ago

Hi, thank you for the reply. I got it to work now.

Thank you for your time

On Tue, Jul 9, 2019, 15:13 71e6fd52 notifications@github.com wrote:

Did you try to setup again?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eshapard/AnkiHabitica/issues/77?email_source=notifications&email_token=AKGQ7L7ZVY256KYGFYARZC3P6SFH3A5CNFSM4H7FANXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQHADY#issuecomment-509636623, or mute the thread https://github.com/notifications/unsubscribe-auth/AKGQ7LYZ63RA56YJTEYO63TP6SFH3ANCNFSM4H7FANXA .