Add-on Exam Notifier bug

I’m part fo the anki → [AnKing Membership - Silver tier], so I have this add-on preinstaled by default with the butler pack.

System : Linux
Distro : Fedora
Architecture : x86_64
Instalation Options : flatpak
Version :

flatpak list

Anki    net.ankiweb.Anki        2.1.58  stable  flathub-1       system

Add-on page → GitHub - AnKing-Memberships/exam-notifier: Exam Notifier add-on for Anki

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.58 (ab8b1465) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Linux-6.1.12-200.fc37.x86_64-x86_64-with-glibc2.35
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-02-22 17:56:20
Add-ons possibly involved: <U+2068>Exam Notifier<U+2069>

Caught exception:
Traceback (most recent call last):
  File "aqt.webview", line 46, in cmd
  File "aqt.webview", line 153, in _onCmd
  File "aqt.webview", line 656, in _onBridgeCmd
  File "_aqt.hooks", line 5182, in __call__
  File "/home/hhlp/.var/app/net.ankiweb.Anki/data/Anki2/addons21/exam_notifier/deck_options.py", line 150, in on_webview_did_receive_js_message
    DeckConf(self._main_window, deck_legacy)
  File "aqt.deckconf", line 40, in __init__
  File "_aqt.hooks", line 1829, in __call__
  File "/home/hhlp/.var/app/net.ankiweb.Anki/data/Anki2/addons21/exam_notifier/deck_options_legacy.py", line 109, in on_deck_config_gui_loaded
    deck_config_tab = self._factory(parent=deck_conf_dialog)
  File "/home/hhlp/.var/app/net.ankiweb.Anki/data/Anki2/addons21/exam_notifier/deck_options_legacy.py", line 63, in __init__
    self._qdatetime_from_epoch(unix_time_now)
  File "/home/hhlp/.var/app/net.ankiweb.Anki/data/Anki2/addons21/exam_notifier/deck_options_legacy.py", line 89, in _qdatetime_from_epoch
    qdatetime.setTime_t(unix_epoch)
AttributeError: 'QDateTime' object has no attribute 'setTime_t'

Regards.,

Anki and the Anking team are not related (we are very thankful for the add-ons, decks, and marketing for Anki), you should report here instead: Issues · AnKing-Memberships/exam-notifier · GitHub

it could be the problem as well, you should try the official version to see if the issue persists

You are welcome to continue using your distro’s version of Anki if you prefer, but if you run into any issues, you will need to report them to your distribution’s package maintainers.

same issue in the oficial image, but I’ve download the latest version of the add-ons and works well now

Regards.

1 Like