fsrs4anki-helper icon indicating copy to clipboard operation
fsrs4anki-helper copied to clipboard

[BUG] Getting "Anki has encountered an unexpected error when closing Anki.

Open jonahspear-toast opened this issue 2 months ago • 4 comments

Describe the bug

Getting "Anki has encountered an unexpected error when closing Anki. Anki is saying that it is an issue with fsrs4anki-helper. Here is the debug info:

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3 Platform: macOS-14.3.1-arm64-arm-64bit

Traceback (most recent call last): File "aqt.taskman", line 142, in _on_closures_pending File "aqt.taskman", line 86, in File "/Users/jspear/Library/Application Support/Anki2/addons21/759844606/schedule/reschedule.py", line 171, in on_done mw.reset() File "aqt.main", line 851, in reset File "aqt.main", line 803, in _synthesize_op_did_execute_from_reset File "_aqt.hooks", line 3840, in call File "aqt.deckchooser", line 120, in on_operation_did_execute File "aqt.deckchooser", line 82, in _update_button_label RuntimeError: wrapped C/C++ object of type QPushButton has been deleted

===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) Advanced Review Bottom Bar ['1136455830', 2024-02-04T13:38, 'None', mod] FSRS4Anki Helper ['759844606', 2024-04-26T13:38, 'None', mod] Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', ''] PassFail 2 Remove the Easy and Hard buttons ['876946123', 2023-01-23T20:59, 'None', ''] Progress Bar cards done cards left secondscard time spentleft and ETA ['1097423555', 2023-10-02T04:05, 'None', mod] Puppy Reinforcement ['1722658993', 2023-11-16T07:59, 'None', ''] Reset Ease ['947935257', 2023-11-11T20:22, 'None', ''] Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', ''] right hand reviews hjkl answer shortcuts Handy Answer Keys configurable ['850294128', 2023-05-24T05:00, 'None', '']

===IDs of active AnkiWeb add-ons=== 1097423555 1136455830 1374772155 1722658993 1771074083 759844606 850294128 876946123 947935257

===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed])

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

  • Anki version: [e.g. 2.1.55]
  • OS: [e.g. iOS]
  • Scheduler version: [e.g. v1.0.0]
  • Optimizer version: [e.g. v1.0.3]
  • Simulator version: [e.g. v1.1.0]

Additional context Add any other context about the problem here.

jonahspear-toast avatar May 01 '24 19:05 jonahspear-toast