CravingCrates / AnkiCollab-Plugin

The source code for the Anki Plugin
GNU General Public License v3.0
56 stars 9 forks source link

Google Drive Media Upload #12

Closed superMDguy closed 1 year ago

superMDguy commented 1 year ago

Just tried out the plugin, but I'm running into an issue with the google drive media upload:

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 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0
Platform: macOS-13.2.1-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-09-05 13:48:53
Add-ons possibly involved: ⁨AnkiCollab - The free collaboration Platform⁩

Caught exception:
Traceback (most recent call last):
  File "/Users/supermdguy/Library/Application Support/Anki2/addons21/1957538407/gear_menu_setup.py", line 46, in gdrive_upload_missing
    upload_media_with_progress(deckHash, all_media)
NameError: name 'deckHash' is not defined
CravingCrates commented 1 year ago

This has been fixed in the latest version. Sorry for the inconvenience and thanks for reporting it! Please open another issue if it still doesn't work!

Thank you

superMDguy commented 1 year ago

Thanks! Media upload is working now