Skip to content

Error with Exam notifier #36

@roxyk357

Description

@roxyk357

When i get to a card that had an exam notifier alert a pop says error with exam notifier i copied debug info and then anki crases.

Anki 25.07.5 (7172b2d2) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: macOS-15.6.1-arm64-arm-64bit-Mach-O

Traceback (most recent call last):
File "/Users/roxykronshtal/Library/Application Support/Anki2/addons21/236593452/libaddon/gui/notifications.py", line 281, in resizeEvent
self.update_position()
~~~~~~~~~~~~~~~~~~~~^^
File "/Users/roxykronshtal/Library/Application Support/Anki2/addons21/236593452/libaddon/gui/notifications.py", line 307, in update_position
self.parent().mapToGlobal(QPoint(x, y)) # type:ignore
~~~~~~^^^^^^
TypeError: arguments did not match any overloaded call:
QPoint(): too many arguments
QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float'
QPoint(a0: QPoint): argument 1 has unexpected type 'float'

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnKing Note Types Easy Customization ['952691989', 2025-10-20T14:38, 'None', mod]
Colorful Tags Hierarchical Tags ['594329229', 2022-09-15T10:06, 'None', '']
Congrats Confetti ['206062158', 2023-01-16T22:02, 'None', '']
Custom Background Image and Gear Icon ['1210908941', 2025-06-22T08:27, 'None', mod]
Exam Notifier ['236593452', 2025-02-01T06:20, 'None', '']
Image Occlusion Enhanced ['1374772155', 2022-04-09T02:15, 'None', '']
More Decks Stats and Time Left ['1556734708', 2025-06-23T15:44, 'None', '']
Postpone cards review ['1152543397', 2023-04-14T21:29, 'None', '']
Progress bar Actual ['1882716549', 2025-05-18T01:31, 'None', '']
Review Heatmap ['1771074083', 2022-06-29T20:43, 'None', '']
Special Fields ['1102281552', 2025-02-25T07:07, 'None', '']

===IDs of active AnkiWeb add-ons===
1102281552 1152543397 1210908941 1374772155 1556734708 1771074083 1882716549 206062158 236593452 594329229 952691989

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions