Importer has worked fine for all other courses I've tried importing, including those with non-latin alphabets and lots of media use (e.g., Japanese, Arabic, Persian, Korean), but crashes about halfway through downloading Mandarin 1 course (https://www.memrise.com/course/2021373/mandarin-chinese-1/).
debug report generated by Anki:
Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.5
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-07-16 13:08:43
Add-ons possibly involved: memrise2anki-extension-master
Caught exception:
Traceback (most recent call last):
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/importer.py", line 849, in importCourse
raise exc_info0.with_traceback(exc_info[2])
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/importer.py", line 150, in run
course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self))
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 792, in loadCourse
return courseLoader.loadCourse(self.getCourseIdFromUrl(url))
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 576, in loadCourse
level = self.loadLevel(course, levelIndex)
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 671, in loadLevel
thing = thingLoader.loadThing(thingData, self.service.toAbsoluteMediaUrl)
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 472, in loadThing
data.values = self.getDefinitions(cell)
File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 500, in getDefinitions
return list(map(str.strip, cell.get("val", "").split(",")))
AttributeError: 'list' object has no attribute 'split'
Importer has worked fine for all other courses I've tried importing, including those with non-latin alphabets and lots of media use (e.g., Japanese, Arabic, Persian, Korean), but crashes about halfway through downloading Mandarin 1 course (https://www.memrise.com/course/2021373/mandarin-chinese-1/).
debug report generated by Anki: Anki 2.1.26 (70784154) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1 Platform: Mac 10.15.5 Flags: frz=True ao=True sv=1 Add-ons, last update check: 2020-07-16 13:08:43 Add-ons possibly involved: memrise2anki-extension-master
Caught exception: Traceback (most recent call last): File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/importer.py", line 849, in importCourse raise exc_info0.with_traceback(exc_info[2]) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/importer.py", line 150, in run course = self.memriseService.loadCourse(self.url, MemriseCourseLoader.Observer(self)) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 792, in loadCourse return courseLoader.loadCourse(self.getCourseIdFromUrl(url)) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 576, in loadCourse level = self.loadLevel(course, levelIndex) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 671, in loadLevel thing = thingLoader.loadThing(thingData, self.service.toAbsoluteMediaUrl) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 472, in loadThing data.values = self.getDefinitions(cell) File "/Users/Shiloh 1/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 500, in getDefinitions return list(map(str.strip, cell.get("val", "").split(","))) AttributeError: 'list' object has no attribute 'split'