AnKing-VIP / exam-notifier

Exam Notifier add-on for Anki
Other
3 stars 0 forks source link

Exam Notifier Menu from Options menu #17

Open paullyb17 opened 11 months ago

paullyb17 commented 11 months ago

Problem description

I am unable to access the menu to set up the exam notifier. I go to the deck option menu and scroll down to add ons and there is hyperlink next to Looking for exam notifier's options? Click Here! When I click on the click here, the error messager i included below pops up and nothing happens.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


    Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
    Platform: macOS-14.0-arm64-arm-64bit
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2023-10-05 22:48:12

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['popup_dictionary', 0, 'None', mod]
    AMBOSS add-on ['0amboss_addon', 2023-07-24T07:20, 'None', mod]
    Add Hyperlink ['318752047', 2023-06-18T07:39, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2022-10-23T06:10, 'None', mod]
    Advanced Browser ['874215009', 2023-07-01T15:55, 'None', '']
    Anki Simulator ['817108664', 2021-08-07T15:24, 'None', '']
    Anki Zoom ['538879081', 2020-04-03T20:20, 'v1.1.3', mod]
    Batch Editing ['291119185', 2019-09-19T13:04, 'None', '']
    BetterSearch ['1052724801', 2023-06-15T16:44, 'None', mod]
    Bionic Reading ['649714433', 2022-08-26T22:29, 'None', mod]
    Browser Resizer ['1435775540', 2021-08-01T17:11, 'None', '']
    Browser TableEditor side-by-side horizontal split ['831846358', 2022-01-25T17:11, 'None', mod]
    Calculate New Cards To Do ['2014569756', 2022-05-19T01:38, 'None', '']
    Card browser List only one card per note ['797076357', 2020-08-11T00:23, 'None', mod]
    Clickable Tags v20 ['1739176371', 2022-01-30T17:58, 'None', '']
    Collapsible Fields ['1896168623', 2021-03-07T10:08, 'None', '']
    Colorful Tags  Hierarchical Tags ['594329229', 2022-09-15T11:06, 'None', '']
    Convert Subdecks to Tag Hierarchy ['1172858842', 2023-02-07T13:15, 'None', '']
    Create Filtered Deck from the Browser ['861263371', 2017-08-29T14:57, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2023-04-18T21:19, 'None', mod]
    Customize Keyboard Shortcuts ['24411424', 2022-09-14T05:12, 'None', mod]
    Deadline2 ['723639202', 2021-05-02T00:45, 'None', mod]
    Edit Field During Review Cloze ['385888438', 2023-07-31T09:21, '6.15', mod]
    Editor ProToolBox - Web importer, quick format, & media scraper ['editor_pro_toolbox', 2023-06-20T17:53, 'None', mod]
    Exam Notifier ['exam_notifier', 2021-09-02T08:35, 'None', '']
    Extended Card Stats During Review ['1008566916', 2017-08-29T14:59, 'None', '']
    Extended Tag AddEdit Dialog ['1135507717', 2023-06-04T15:24, 'None', mod]
    Fastbar- with nightmode support ['46611790', 2023-06-27T07:47, 'None', '']
    Free Weekend - or Any Other Day ['742185195', 2020-04-10T07:57, 'None', mod]
    High Yield Tags ['1918380616', 2023-01-10T14:14, 'None', mod]
    Highlight Search Results in the Browser ['225180905', 2021-03-10T12:06, 'None', '']
    Hint Hotkeys ['1844908621', 2023-04-14T10:13, 'None', '']
    Image Editor ['307397307', 2022-09-08T00:09, 'None', '']
    Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', '']
    Image Style Editor ['1593969147', 2021-12-17T02:01, 'None', mod]
    ImageResizer ['1214357311', 2022-07-15T09:05, 'None', '']
    Leaderboard ['41708974', 2023-01-15T05:53, 'None', mod]
    Learning Step and Review Interval Retention ['1949865265', 2022-08-28T16:21, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2023-09-24T10:08, 'None', mod]
    More Overview Stats 21 ['738807903', 2021-07-30T15:13, 'None', mod]
    New Cards Counter ['635082046', 2022-04-20T16:37, 'None', '']
    Pokemanki ['633922407', 2021-02-24T13:49, 'None', '']
    Progress Bar ['2091361802', 2019-03-02T21:27, 'None', '']
    Puppy Reinforcement ['puppy_reinforcement', 2020-02-05T02:16, 'None', '']
    Quick Colour Changing ['2491935955', 2022-07-24T00:29, 'None', mod]
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-20T00:40, 'None', '']
    Refocus Card when Reviewing 21 ['1642550423', 2019-03-04T13:20, 'None', '']
    Resize images in editor ['1103084694', 2020-08-02T09:04, 'None', mod]
    Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
    Special Fields ['1102281552', 2022-11-21T20:49, 'None', mod]
    Speed Focus Mode auto-alert auto-reveal auto-answer ['1046608507', 2022-12-16T06:24, 'None', mod]
    Straight Reward ['957961234', 2022-12-12T08:49, 'None', '']
    Symbols As You Type ['2040501954', 2022-06-08T00:09, 'None', '']
    Symbols ['1461102936', 2019-04-23T09:37, 'None', mod]
    The KING of Button Add-ons ['374005964', 2023-02-17T18:21, 'None', mod]
    Web Browser - Search terms Import texts and images automatically ['864545277', 2022-08-02T16:49, 'None', mod]
    Weekends and Holidays ['1992008104', 2022-12-19T20:24, 'None', mod]
    Ze Frozen Fields ['94610912', 2021-02-11T19:06, 'None', '']
    add-on dialog searchfilter bar ['561945101', 2023-06-15T08:39, 'None', '']
    uworld_qid_to_anki_search ['607963104', 2023-05-04T20:30, 'None', '']
    when is next learning card due today due ['563204849', 2021-12-06T10:06, 'None', mod]

    ===IDs of active AnkiWeb add-ons===
    1008566916 1046608507 1052724801 1102281552 1103084694 1135507717 1172858842 1210908941 1214357311 1374772155 1435775540 1461102936 1556734708 1593969147 1642550423 1739176371 1771074083 1810938259 1844908621 1896168623 1918380616 1949865265 1992008104 2014569756 2040501954 2091361802 225180905 24411424 2491935955 291119185 307397307 318752047 374005964 385888438 41708974 46611790 538879081 561945101 563204849 594329229 607963104 633922407 635082046 649714433 723639202 738807903 742185195 744725736 797076357 817108664 831846358 861263371 864545277 874215009 94610912 957961234

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['put_ALL_due_learning_cards_first', 0, 'None', '']
    Audiovisual Feedback ['231569866', 2023-07-08T23:34, '0.8', mod]
    Butler-Addon ['1439937507', 2023-07-10T12:49, 'None', '']
    Countdown To Events and Exams ['1143540799', 2022-06-27T07:50, 'None', '']
    Load Balanced Scheduler ['208879074', 2019-07-23T22:37, 'None', '']
    Mini Format Pack ['295889520', 2019-03-01T22:13, 'None', '']
    PDF Exporter ['1442112168', 2023-03-20T19:53, 'None', '']
    Picmonic Anki Add-On ['40737180', 2022-06-14T17:35, 'None', '']
    Remote Decks ['924929499', 2022-11-15T08:37, 'None', '']
    Reset Ease ['947935257', 2020-12-27T09:59, 'None', '']
    Spell Checker with Custom Dictionaries ['390813456', 2022-11-26T11:38, 'None', mod]
    Stats Plus ['1009670238', 2021-03-04T07:23, 'None', '']
    Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-19T14:52, 'None', mod]
    The KING of Study Timers ['907028815', 2022-04-20T14:14, 'None', '']
    Wrapper meta-addon ['396502676', 2023-07-22T08:05, 'None', '']

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

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, repeating 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 to the add-on author.
Debug info:
Anki 2.1.64 (581f82c5) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-14.0-arm64-arm-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-10-05 22:48:12
Add-ons possibly involved: ⁨Exam Notifier⁩

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 5183, in __call__
  File "/Users/paulbowman/Library/Application Support/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 "/Users/paulbowman/Library/Application Support/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 "/Users/paulbowman/Library/Application Support/Anki2/addons21/exam_notifier/deck_options_legacy.py", line 63, in __init__
    self._qdatetime_from_epoch(unix_time_now)
  File "/Users/paulbowman/Library/Application Support/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'
AnKingMed commented 8 months ago

This should hopefully be working now on later versions. I have it working on 23.10. Is it still giving you this error?