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 when using the add on #105

Open
William100-0 opened this issue Nov 26, 2021 · 12 comments
Open

Error when using the add on #105

William100-0 opened this issue Nov 26, 2021 · 12 comments
Assignees
Labels

Comments

@William100-0
Copy link

Hi everyone - managed to use this add-on successfully earlier in the year, but now getting this error message every time. Does anyone happen to know a solution?

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, repeat 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.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-11-25 14:49:24

Caught exception:
Traceback (most recent call last):
File "C:\Users\ryank\AppData\Roaming\Anki2\addons21\memrise2anki-extension-master\importer.py", line 853, in importCourse
raise exc_info0.with_traceback(exc_info[2])
TypeError: init() missing 4 required positional arguments: 'code', 'msg', 'hdrs', and 'fp'

@heyheyrainyday
Copy link

My friends and I have been having the same problem. Even when we follow other people's instructions of how they fixed it, nothing works. Looking forward to having it work though. I've heard good things about this add-on

@wilddom wilddom self-assigned this Dec 27, 2021
@wilddom
Copy link
Owner

wilddom commented Dec 27, 2021

Hm... can this be reproduced?

@heyheyrainyday
Copy link

heyheyrainyday commented Dec 29, 2021 via email

@wilddom
Copy link
Owner

wilddom commented Dec 29, 2021

I've never seen this happen. Could you post the course url? Did you try the latest release?

@heyheyrainyday
Copy link

heyheyrainyday commented Dec 30, 2021 via email

@wilddom
Copy link
Owner

wilddom commented Dec 30, 2021

The screenshot is broken, I'm afraid.

I've tried doing what everyone else
says to try many times.

And that's what exactly?

@heyheyrainyday
Copy link

heyheyrainyday commented Dec 30, 2021 via email

@wilddom
Copy link
Owner

wilddom commented Dec 30, 2021

You are definitely using an old version of the addon, please try the 1.2.7 release. And actually this issue opened by @William100-0 is about a different error.

@jonahlash
Copy link

Im getting the same problem with the 1.2.7 release (and any release I can find)

'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, repeat 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.43 (0fbae6bc) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-03-31 17:36:23
Add-ons possibly involved: ⁨memrise2anki⁩

Caught exception:
Traceback (most recent call last):
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/importer.py", line 856, in importCourse
raise exc_info0.with_traceback(exc_info[2])
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/importer.py", line 151, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/memrise.py", line 870, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "/Users/jonahlash/Library/Application Support/Anki2/addons21/memrise2anki/memrise.py", line 623, in loadCourse
course.title = sanitizeName(courseData["session"]["course"]["name"], "Course")
TypeError: 'NoneType' object is not subscriptable'

Could I change something in the code to fix it?

@wilddom
Copy link
Owner

wilddom commented Mar 31, 2022

@jonahlash This is a different error, I opened a new issue: #113

@AR-999
Copy link

AR-999 commented May 9, 2022

Same error!

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-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2022-05-09 09:47:33

Caught exception:
Traceback (most recent call last):
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\importer.py", line 968, in startCourseImporter
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 764, in isLoggedIn
File "C:\Users\Maximuss\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 752, in openWithRetry
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 403: Forbidden

@wilddom
Copy link
Owner

wilddom commented May 9, 2022

See #113

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

No branches or pull requests

5 participants