iamjustkoi / StudyTimeStats

Customizable statistics add-on for Anki.
https://ankiweb.net/shared/info/1247171202
MIT License
21 stars 4 forks source link

Error on startup when using Qt5 versions of Anki #49

Closed iamjustkoi closed 9 months ago

iamjustkoi commented 9 months ago

Bug/Issue Description Error message on startup.

To Reproduce Steps to reproduce:

  1. Run Anki
  2. See error

System/Debug Info Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1 Platform: macOS-14.0-x86_64-i386-64bit

When loading Study Time Stats: Traceback (most recent call last): File "aqt.addons", line 245, in loadAddons File "/Users/.../Library/Application Support/Anki2/addons21/1247171202/init.py", line 8, in from .src import toolbar File "/Users/.../Library/Application Support/Anki2/addons21/1247171202/src/toolbar.py", line 12, in from .options import TimeStatsOptionsDialog File "/Users/.../Library/Application Support/Anki2/addons21/1247171202/src/options.py", line 55, in from ..res.ui.Qt5.options_dialog import Ui_OptionsDialog File "/Users/.../Library/Application Support/Anki2/addons21/1247171202/res/ui/Qt5/options_dialog.py", line 405, in from res.ui.forms import HoverButton ModuleNotFoundError: No module named 'res'

Additional Context Reported by another user via email.

iamjustkoi commented 9 months ago

Put this here for tracking but screwed up a little, anyway! Either way, should be fixed in v2.1.3!