sviatoslav-lebediev / anki-quizlet-importer-extended

86 stars 10 forks source link

Repetitive crash #120

Closed philb64 closed 1 year ago

philb64 commented 1 year ago

Hi, when trying to import https://quizlet.com/819982185/hsk-4-new-words-flash-cards/ I keep getting this error message below. Can you please help? PS: I just LOVE your add-on, it is so useful to me. Thank you so much for your hard work.

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, repeat 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.65 (aa9a734f) Python 3.9.15 Qt 6.4.3 PyQt 6.4.0 Platform: Windows-10-10.0.22621 Flags: frz=True ao=True sv=3 Add-ons, last update check: 2023-09-26 16:47:06

Caught exception: Traceback (most recent call last): File "anki.notes", line 154, in _field_index KeyError: 'BackText'

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\Users\phili\AppData\Roaming\Anki2\addons21\1362209126__init.py", line 373, in onCode self.createDeck(deck) File "C:\Users\phili\AppData\Roaming\Anki2\addons21\1362209126\init.py", line 421, in createDeck note["BackText"] = item["definition"] File "anki.notes", line 162, in setitem__ File "anki.notes", line 156, in _field_index KeyError: 'BackText'

sviatoslav-lebediev commented 1 year ago

Hi 99% that you have edited the "system" note type, the add-on uses this note time for the import process. More here https://github.com/sviatoslav-lebediev/anki-quizlet-importer-extended/issues/103#issuecomment-1629578103

philb64 commented 1 year ago

Hi,

Effectively, that was the issue. Thanks a lot!

Best regards,

Philippe

From: sviatoslav-lebediev @.> Sent: 27 September 2023 18:50 To: sviatoslav-lebediev/anki-quizlet-importer-extended @.> Cc: philb64 @.>; Author @.> Subject: Re: [sviatoslav-lebediev/anki-quizlet-importer-extended] Repetitive crash (Issue #120)

Hi 99% that you have edited the "system" note type, the add-on uses this note time for the import process. More here #103 (comment)https://github.com/sviatoslav-lebediev/anki-quizlet-importer-extended/issues/103#issuecomment-1629578103

- Reply to this email directly, view it on GitHubhttps://github.com/sviatoslav-lebediev/anki-quizlet-importer-extended/issues/120#issuecomment-1737159578, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC3AER33AM7LFR64IGLV4RTX4QAGRANCNFSM6AAAAAA5IQFDAQ. You are receiving this because you authored the thread.Message ID: @.**@.>>