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

Error logging into Memrise #103

Closed MikeOWave closed 2 years ago

MikeOWave commented 3 years ago

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.48 (fb07bad3) 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-10-11 16:34:55

Caught exception: Traceback (most recent call last): File "C:\Users\danno\AppData\Roaming\Anki2\addons21\2071525018\importer.py", line 210, in accept if self.memriseService.login(self.usernameLineEdit.text(),self.passwordLineEdit.text()): File "C:\Users\danno\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 773, in login for field in form.find_all("input"): AttributeError: 'NoneType' object has no attribute 'find_all'

MikeOWave commented 3 years ago

I tried with both the current version of Anki and older ones, but always got this same result.

Quezako commented 3 years ago

Same here with Anki 2.1.46 under Windows 11.

MikeOWave commented 3 years ago

I would be curious to know if this issue is affecting everybody or just Windows users? I could borrow a Mac if I knew it would work on one.

Quezako commented 3 years ago

last update is 8 month ago, so it's probably outdated with the latest Memrise modifications.

wilddom commented 3 years ago

Still working fine on Linux

MikeOWave commented 3 years ago

Thanks for the tip. I'll see if I can figure out how to run Linux on my computer.

barolo commented 3 years ago

Also fails on Linux now, with Anki 2.1.49

wilddom commented 3 years ago

Also fails on Linux now, with Anki 2.1.49

Can't confirm, still works here with the mentioned version.

barolo commented 3 years ago

Also fails on Linux now, with Anki 2.1.49

Can't confirm, still works here with the mentioned version.

Just switched to realmayus fork which fixed login issues on all my devices [macOS and Linux]

Quezako commented 3 years ago

Also fails on Linux now, with Anki 2.1.49

Can't confirm, still works here with the mentioned version.

Just switched to realmayus fork which fixed login issues on all my devices [macOS and Linux]

I confirm that the realmayus fork is working with Anki 2.1.46 under Windows 11.

wilddom commented 3 years ago

Good to know

congbinh21 commented 2 years ago

Hi, today is December 5th, 2021, and I've just run that add-on. It doesn't work. The announcement is the same as that. First like this image then I chose "oke", then "oke" and like this image I tried changing another laptop, but it still doesn't work. Please, help me. Thank you

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.48 (fb07bad3) 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-10-11 16:34:55

Caught exception: Traceback (most recent call last): File "C:\Users\danno\AppData\Roaming\Anki2\addons21\2071525018\importer.py", line 210, in accept if self.memriseService.login(self.usernameLineEdit.text(),self.passwordLineEdit.text()): File "C:\Users\danno\AppData\Roaming\Anki2\addons21\2071525018\memrise.py", line 773, in login for field in form.find_all("input"): AttributeError: 'NoneType' object has no attribute 'find_all'

gustavklopp commented 2 years ago

Hi, today is December 5th, 2021, and I've just run that add-on. It doesn't work. The announcement is the same as that. First

I didn't check what was changed in that fork but I can confirm that the fork from @realmayus is working: https://github.com/realmayus/memrise2anki-extension

wilddom commented 2 years ago

At the moment I have no need to use the addon myself, but I hope to find a few minutes over the holidays to take a closer look.

wilddom commented 2 years ago

Please try the 1.2.7 release.