I installed the add-on and restarted Anki on my Windows 10 system. When I click Import from Folder from the Tools menu, it brings up the error dialog with the message given under:
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.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-15 19:04:32
Add-ons possibly involved: MultiDeckImporter
Caught exception:
Traceback (most recent call last):
File "C:\Users\saile\AppData\Roaming\Anki2\addons21\1263172192_init_.py", line 55, in importFromFolder
mw.importDialog.setFileMode(QFileDialog.Directory)
AttributeError: type object 'QFileDialog' has no attribute 'Directory'
I installed the add-on and restarted Anki on my Windows 10 system. When I click Import from Folder from the Tools menu, it brings up the error dialog with the message given under:
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.1 (fac9e0ee) Python 3.9.15 Qt 6.6.0 PyQt 6.6.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-15 19:04:32
Add-ons possibly involved: MultiDeckImporter
Caught exception:
Traceback (most recent call last):
File "C:\Users\saile\AppData\Roaming\Anki2\addons21\1263172192_init_.py", line 55, in importFromFolder
mw.importDialog.setFileMode(QFileDialog.Directory)
AttributeError: type object 'QFileDialog' has no attribute 'Directory'