Closed evanSpendlove closed 5 years ago
Okay, that's a tricky one, but it's actually not a bug of the addon.
Here you'll find instructions on how to solve this:
Just for future people - to install on MacOS:
Install Certificates.command
. That'll run some commands that install some certs.The gif below shows step 3.
I'm also having the issue, but I have gone through the whole process of installing the certificates with Python 3.6. I've restarted multiple times and even reinstalled it.
I notice that the version of python I have installed is 3.7.2, but the version that Anki is using is 3.6.7. I assume it has something to do with this?
UPDATE: Downloaded Python 3.6.7 instead of 3.7.2 and ran the certificate script again. Seems to work now. Perhaps doing this in the first place should have been obvious, but it wasn't to me!
Same for me - had to install Python 3.6.7 and run the certificates script, then memrise2anki add on works
Anki 2.1, Mac 10.13.6 (High Sierra)
Installed plugin as per instructions, tried to import memrise course.
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.9 (ae67c976) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3 Platform: Mac 10.13.6 Flags: frz=True ao=True sv=1 Add-ons possibly involved: memrise2anki-extension-master
Caught exception: File "/Users/Evan/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/importer.py", line 968, in startCourseImporter if memriseService.isLoggedIn() or MemriseLoginDialog.login(memriseService): File "/Users/Evan/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 764, in isLoggedIn response = self.openWithRetry(request) File "/Users/Evan/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 752, in openWithRetry return self.opener.open(url) File "urllib/request.py", line 526, in open File "urllib/request.py", line 544, in _open File "urllib/request.py", line 504, in _call_chain File "/Users/Evan/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 731, in https_open return self.do_open_wrapped(http.client.HTTPSConnection, req, context=self._context, check_hostname=self._check_hostname) File "/Users/Evan/Library/Application Support/Anki2/addons21/memrise2anki-extension-master/memrise.py", line 721, in do_open_wrapped response = self.do_open(http_class, req, **http_conn_args) File "urllib/request.py", line 1320, in do_open <class 'urllib.error.URLError'>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>