carlos1172 / ProgressBarTimeLeft

Hello, this is my first "add-on" (which isn't really by me since I just tweaked/merged Glutanimate's Progress Bar add-on with Carlos Duarte's More Decks Stats and Time Left add-on.). I basically got the progress bar to work on 2.1.49, as well as added statistics for cards left, percentage left, time (s) spent per card based on today's reviews, and time left based on how fast you've done today's reviews. Note: it says studied 637 cards in 1.36 hours today (7.67 s/card) but that's not reflected in the progress bar because I did those reviews on iPad. Also, the progress bar only tracts reviews in your current anki session. If you restart the app, it'll reset to 0 cards done (but the total cards left will be less already). I have not tested this on any other version besides 2.1.49, but I just wanted to share it since it took me a while to get this working and I'm very proud of it (and am hugely thankful to Glutanimate and Mr. Duarte). Installation: Unzip them and paste them in C:\%APPDATA%\Anki2\addons21
14 stars 8 forks source link

When opening anki, an error will appear #27

Closed Diplproveably closed 1 year ago

Diplproveably commented 1 year ago
加载⁨Progress Bar cards done cards left secondscard time spentleft and ETA⁩时:
⁨Traceback (most recent call last):
  File "aqt.addons", line 246, in loadAddons
  File "C:\Users\周一飞\AppData\Roaming\Anki2\addons21\1097423555\__init__.py", line 1, in <module>
    from . import reviewer_progress_bar
  File "C:\Users\周一飞\AppData\Roaming\Anki2\addons21\1097423555\reviewer_progress_bar.py", line 596, in <module>
    toggle_sc = config['toggle_shortcut']
KeyError: 'toggle_shortcut'
⁩
PatrickDrewsES commented 1 year ago

Same here:

⁨Traceback (most recent call last): File "aqt.addons", line 246, in loadAddons File "/Users//Library/Application Support/Anki2/addons21/1695607349/init.py", line 1, in from . import reviewer_progress_bar File "/Users//Library/Application Support/Anki2/addons21/1695607349/reviewer_progress_bar.py", line 3, in from .night_mode import isnightmode ModuleNotFoundError: No module named '1695607349.night_mode' ⁩

akavi1 commented 1 year ago

@carlos1172 can you merge #26

BrachoDesu commented 1 year ago

Hello there

Error 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 '⁨Progress Bar cards done cards left secondscard time spentleft and ETA⁩': ⁨Traceback (most recent call last): File "aqt.addons", line 246, in loadAddons File "C:\Users\Ricardo\AppData\Roaming\Anki2\addons21\1097423555__init__.py", line 1, in from . import reviewer_progress_bar File "C:\Users\Ricardo\AppData\Roaming\Anki2\addons21\1097423555\reviewer_progress_bar.py", line 3, in from .night_mode import isnightmode ModuleNotFoundError: No module named '1097423555.night_mode' ⁩

carlos1172 commented 1 year ago

When did you get the error? After updating?

Regards, Carlos Miguel C. Resurreccion On Aug 28, 2023 at 11:40 AM +0800, BrachoDesu @.***>, wrote:

Hello there Error 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 '⁨Progress Bar cards done cards left secondscard time spentleft and ETA⁩': ⁨Traceback (most recent call last): File "aqt.addons", line 246, in loadAddons File "C:\Users\Ricardo\AppData\Roaming\Anki2\addons21\1097423555init.py", line 1, in from . import reviewer_progress_bar File "C:\Users\Ricardo\AppData\Roaming\Anki2\addons21\1097423555\reviewer_progress_bar.py", line 3, in from .night_mode import isnightmode ModuleNotFoundError: No module named '1097423555.night_mode' ⁩ — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

PatrickDrewsES commented 1 year ago

Right, it occurred right after updating to the recent version.

carlos1172 commented 1 year ago

I don't have time to fix this right now, but you guys can use an older version from the GitHub

Regards, Carlos Miguel C. Resurreccion On Aug 28, 2023 at 5:00 PM +0800, Patrick Drews @.***>, wrote:

Right, it occurred right after updating to the recent version. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>