glutanimate / review-heatmap

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

Review Heatmap Error #35

Closed akmfrench closed 5 years ago

akmfrench commented 5 years ago

Problem description or Feature request

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

Downloaded anki 2.1 heat map folder, moved folder to addons21 folder. Upon restarting anki, I get an error message, copied below.

Checklist

Please replace the space inside the brackets with an x if the following sentences apply to you. Feel free to disregard some of these if you're posting a feature request rather than a bug report.

Information about your Anki Setup

*Please open Anki, go to Help → About, look-up two lines, starting with `Version:` and `Qt` and copy-paste them below:* ``` Version 2.1.11 (3cf770c7) Qt 5.12.1 PyQt 5.11.3 ``` *Please fill in your OS details (Linux/Mac/Windows, which version):* ``` OS: Mac 10.14.4 ``` *Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:* ![image](https://user-images.githubusercontent.com/49712125/56272027-55b0d280-60a6-11e9-8ac8-763231501ac7.png)

Error message (if any)

*If you got an error message, please copy and paste it below:* 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 71, in loadAddons File "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/__init__.py", line 41, in from . import main # noqa: F401 File "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/main.py", line 40, in from .gui.options import initializeOptions File "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/gui/options.py", line 46, in from ..libaddon.gui.dialog_options import OptionsDialog File "/Users/MyName/Library/Application Support/Anki2/addons21/review_heatmap/libaddon/gui/dialog_options.py", line 44, in from ..platform import PLATFORM ImportError: cannot import name 'PLATFORM' ```python"
akmfrench commented 5 years ago

image

I downloaded this file review-heatmap-release-v0.7.0-beta.1-anki21 and drug it into the addons21 folder

glutanimate commented 5 years ago

Hi @akmfrench,

Thanks for the report. Unfortunately I can't reproduce the issue here. From the error message it seems like something went wrong while copying the data into the add-ons folder (the code segments quoted in the message no longer exist, so somehow there are files from an earlier add-on release in there).

Please delete the review_heatmap folder in your ad-ons directory, then download this zip file and go through the installation steps again.

akmfrench commented 5 years ago

@glutanimate

Thank you for the response! I tried it all again with no luck. Even tried deleting Anki 2.0 to see if that helped at all. Will there be an official release for this at any point/ any eta on that?

I appreciate all your work!

lucascp2004 commented 5 years ago

I got this error today When loading 'review_heatmap': Traceback (most recent call last): File "aqt/addons.py", line 80, in loadAddons File "/home/lucas/.local/share/Anki2/addons21/review_heatmap/__init__.py", line 41, in <module> from . import main # noqa: F401 File "/home/lucas/.local/share/Anki2/addons21/review_heatmap/main.py", line 40, in <module> from .gui.options import initializeOptions File "/home/lucas/.local/share/Anki2/addons21/review_heatmap/gui/options.py", line 46, in <module> from ..libaddon.gui.dialog_options import OptionsDialog File "/home/lucas/.local/share/Anki2/addons21/review_heatmap/libaddon/gui/dialog_options.py", line 44, in <module> from ..platform import PLATFORM ImportError: cannot import name 'PLATFORM'

Version 2.1.14 (7b93e985) Qt 5.12.1 PyQt 5.11.3 Screenshot_2019-07-22_18-17-18 webcodings and bleach are python librarys lucas is my addon that use these librarys

lucascp2004 commented 5 years ago

When i remove all addons still don't work

glutanimate commented 5 years ago

This was an issue with Anki's add-on system that is now fixed in the 2.1.15 beta. You can download the beta here. For more information please also see #43.

(This issue report came first, but since the other one now contains more in-depth discussion about the problem, I will be marking this one as the duplicate)