glutanimate / review-heatmap

Anki add-on to help you keep track of your review activity
https://ankiweb.net/shared/info/1771074083
Other
1.2k stars 88 forks source link

Not working in Anki 2.1.57 (6b7d372c)⁩ #181

Closed markhavemann closed 1 year ago

markhavemann commented 1 year ago

Problem description

*Not working in Anki 2.1.57 (6b7d372c)⁩ On the main page it just displays broken image link icons: image

When I go to the addons menu and click the "config" button for review heatmap I get the following error:

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.57 (6b7d372c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0 Platform: Windows-10-10.0.19041 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2023-02-09 11:06:47

Caught exception: Traceback (most recent call last): File "aqt.addons", line 971, in onConfig File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\gui\options.py", line 209, in invokeOptionsDialog dialog = RevHmOptions(config, mw, parent=parent) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\gui\options.py", line 107, in init super(RevHmOptions, self).init( File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\dialog_options.py", line 81, in init super(OptionsDialog, self).init( File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\dialog_mapped.py", line 154, in init self.setData(data) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\dialog_mapped.py", line 162, in setData self.interface.set(widget_name, key, value) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\interface.py", line 270, in set return setter(widget, data) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\interface.py", line 354, in setValue self._setDateTime(widget, data) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\interface.py", line 800, in _setDateTime return qdatetimeedit.setDateTime(self._createDateTimeFromUnix(curtime)) File "C:\Users\Mark\AppData\Roaming\Anki2\addons21\review_heatmap\libaddon\gui\basic\interface.py", line 793, in _createDateTimeFromUnix qdatetime.setTime_t(unixtime) AttributeError: 'QDateTime' object has no attribute 'setTime_t'

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):

Error message (if any)

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

glutanimate commented 1 year ago

Hey Mark, thanks for the report! It looks like you have an older version of the add-on installed. Please delete the one you currently have installed and download the latest release from AnkiWeb. That should fix the missing heatmap :)

markhavemann commented 1 year ago

Thank you!