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 90 forks source link

"Failed to Load" Error #45

Closed damronatron closed 5 years ago

damronatron commented 5 years ago

Problem description

*I installed heat-maps manually but it won't load. I get a "failed to load" message when I open anki. I can see the review-heat map addon on my addons page. I have all the same addons and set up on my Dell Laptop, but heat map works fine on my Dell (the error is happening on my MacBook Pro).

Checklist

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

Information about your Anki set-up

Version 2.1.14 (7b93e985) Qt 5.12.1 PyQt 5.11.3

If you are using Anki 2.1

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

If you are using Anki 2.0

Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:

Please fill in details about your operating system (Windows/macOS/Linux, which version):

Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below: image image

Error message (if any)

*An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading 'review_heatmap': Traceback (most recent call last): File "aqt/addons.py", line 80, in loadAddons File "/Users//Library/Application Support/Anki2/addons21/review_heatmap/init.py", line 41, in from . import main # noqa: F401 File "/Users//Library/Application Support/Anki2/addons21/review_heatmap/main.py", line 40, in from .gui.options import initializeOptions File "/Users//Library/Application Support/Anki2/addons21/review_heatmap/gui/options.py", line 46, in from ..libaddon.gui.dialog_options import OptionsDialog File "/Users//Library/Application Support/Anki2/addons21/review_heatmap/libaddon/gui/dialog_options.py", line 44, in from ..platform import PLATFORM ImportError: cannot import name 'PLATFORM'

glutanimate commented 5 years ago

Hi. It looks like your machine is affected by a bug in Anki's current release (#43). There is a beta release of Anki available that should fix the problem. Please see the discussion here for more info: https://github.com/glutanimate/review-heatmap/issues/43#issuecomment-507514023