wilddom / memrise2anki-extension

An extension for Anki 2 that downloads and converts a course from Memrise into an Anki deck.
ISC License
159 stars 22 forks source link

Key error Succes #52

Closed ghost closed 7 years ago

ghost commented 7 years ago

This is what I get when I'm trying to import a course:

An error occurred in an add-on. Please post on the add-on forum: https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last): File "C:\Users****\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\importer.py", line 144, in run course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self)) File "C:\Users****\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 779, in loadCourse return courseLoader.loadCourse(self.getCourseIdFromUrl(url)) File "C:\Users****\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 579, in loadCourse level = self.loadLevel(course, levelIndex) File "C:\Users****\AppData\Roaming\Anki2\addons\Memrise_Course_Importer\memrise.py", line 640, in loadLevel if levelData["success"] == False: KeyError: 'success'

wilddom commented 7 years ago

This one is rather old and has beend fixed already.

Duplicate of #47

ghost commented 7 years ago

Yes I know it's old but I keep having it on my PC even after updating everything xs

wilddom commented 7 years ago

Well, you definitely have an old version, as you can see in issue #47 the code on line 640 has been replaced. But never mind, the current version doesn't work either at the moment.