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

Can't import a deck #80

Closed jacobsandersen closed 4 years ago

jacobsandersen commented 4 years ago

When I click Tools->Import Memrise Course, I just get this:

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.15 (442df9d6) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=1
Add-ons possibly involved: memrise2anki

Caught exception:
  File "/Users/simple/Library/Application Support/Anki2/addons21/2071525018/importer.py", line 968, in startCourseImporter
    if memriseService.isLoggedIn() or MemriseLoginDialog.login(memriseService):
  File "/Users/simple/Library/Application Support/Anki2/addons21/2071525018/memrise.py", line 764, in isLoggedIn
    response = self.openWithRetry(request)
  File "/Users/simple/Library/Application Support/Anki2/addons21/2071525018/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/simple/Library/Application Support/Anki2/addons21/2071525018/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/simple/Library/Application Support/Anki2/addons21/2071525018/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)>

Thanks in advance.

wilddom commented 4 years ago

See #68