Anki 24.04.1 (ccd9ca1a) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631
Traceback (most recent call last):
File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 498, in accept
self._callback(self.suggestion_meta())
File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 107, in <lambda>
callback=lambda suggestion_meta: _on_suggestion_dialog_for_single_suggestion_closed(
File "C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py", line 173, in _on_suggestion_dialog_for_single_suggestion_closed
if suggestion_result == ChangeSuggestionResult.SUCCESS:
UnboundLocalError: local variable 'suggestion_result' referenced before assignment
@ProductTeam It’s similar to the issue in the linked post. In this case, it’s caused by note:1555364876545 missing the Lecture Notes field as can be seen here: Sign In
Was this because of the user who created this card that there is no lecture notes field?
I usually make all of these but I believe a few other maintainers made some in the past. I never have tampered with note types or changing fields/deleting fields so I very sure this was not me. Can this be fixed? Is this AnkiHub related?
I don’t recall who made this card, @herstein.jacob was it you? I don’t think its Thomas or Bilal (bilal made one but I don’t think its this one). I don’t think its me either because otherwise all the ones I made would be broken as well