Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when switching screens #12

Open
silentcicada1 opened this issue Apr 21, 2020 · 1 comment
Open

Error when switching screens #12

silentcicada1 opened this issue Apr 21, 2020 · 1 comment

Comments

@silentcicada1
Copy link

This error occurs without fail on every screen change even when it is the only add on downloaded.

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, repeating 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-on support site.
Debug info:
Anki 2.1.23 (de9543ff) Python 3.8.0 Qt 5.13.1 PyQt 5.14.1
Platform: Mac 10.15.1
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-04-20 10:22:21
Add-ons possibly involved: Throughput Monitor

Caught exception:
Traceback (most recent call last):
File "aqt/main.py", line 928, in onStudyKey
File "aqt/main.py", line 591, in moveToState
File "aqt/gui_hooks.py", line 1538, in call
File "anki/hooks.py", line 611, in runHook
File "/Users/rachelstandifird/Library/Application Support/Anki2/addons21/826650564/main.py", line 426, in renderProgressBars
throughput_tracker = GetStateForCol(repaintFormat=True)
File "/Users/rachelstandifird/Library/Application Support/Anki2/addons21/826650564/main.py", line 355, in GetStateForCol
throughput_tracker.setStudyTimeLeftFormat(throughput[0])
File "/Users/rachelstandifird/Library/Application Support/Anki2/addons21/826650564/main.py", line 181, in setStudyTimeLeftFormat
bar_holder.studyTimeLeftBar.progressBar.setMaximum(((seconds_left + self.studyTimeStopwatch.get_time())*granularity) + self.dailyStudyTime)
OverflowError: argument 1 overflowed: value must be in the range -2147483648 to 2147483647

@silentcicada1
Copy link
Author

Error also occurs on 2.1.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant