sviatoslav-lebediev / anki-quizlet-importer-extended

86 stars 10 forks source link

Cannot run add-on - QSizePolicy issue #131

Closed connor-hawley closed 11 months ago

connor-hawley commented 11 months ago

Here's the full Anki error:

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 to the add-on author. Debug info: Anki 23.10 (51a10f09) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3 Platform: macOS-13.6-x86_64-i386-64bit Flags: frz=True ao=True sv=3 Add-ons, last update check: 2023-11-01 22:42:43 Add-ons possibly involved: ⁨Quizlet to Anki 21 Importer with audio support⁩

Caught exception: Traceback (most recent call last): File "/Users/hawlconn/Library/Application Support/Anki2/addons21/1362209126/init.py", line 731, in runQuizletPlugin window = QuizletWindow() File "/Users/hawlconn/Library/Application Support/Anki2/addons21/1362209126/init.py", line 136, in init self.initGUI() File "/Users/hawlconn/Library/Application Support/Anki2/addons21/1362209126/init__.py", line 279, in initGUI self.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum) AttributeError: type object 'QSizePolicy' has no attribute 'Minimum'

this is the only add-on I'm running. please feel free to follow-up for more information

sviatoslav-lebediev commented 11 months ago

Hi, looks like this is because of the new anki version. I will take a look and will let you know. Thx for the report

sviatoslav-lebediev commented 11 months ago

it should be fixed, pls take a look and let me know if everything is ok

connor-hawley commented 11 months ago

yes, the fix worked. thank you so much! :)

sviatoslav-lebediev commented 11 months ago

cool, happy to help