Public bug reported:

card changed, and I hit 0 quickly, resulting in

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 
324, in keyPressEvent
    self.grade_answer(self.key_to_grade_map[event.key()])
  File "/usr/lib/python3/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 
396, in grade_answer
    self.review_controller().grade_answer(grade)
  File 
"/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py",
 line 149, in grade_answer
    previous_grade = card_to_grade.grade
 AttributeError: 'NoneType' object has no attribute 'grade'

ubuntu: 18.04 LTS bionic
mnemosyne: 2.4-0.1

** Affects: mnemosyne (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1815983

Title:
   AttributeError: 'NoneType' object has no attribute 'grade'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mnemosyne/+bug/1815983/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to