stravo1 / obsidian-gdrive-sync

sync notes across devices in Obsidian via Google Drive
521 stars 15 forks source link

Error on folder creation without notes (Sync went wrong - too many errors within a minute) #26

Open melkkoe opened 5 months ago

melkkoe commented 5 months ago

Using the latest (0.9.9) version of the plugin.

  1. I create a (empty) subfolder under a parent folder, (On Desktop/Windows)

  2. I open the Android-app > automatic sync process starts ('downloading missing files') but this causes an error instantly (Error: something went wrong. sync might be paused!)

When i do create a Note within the newly created subfolder, the sync does work.

Please see included log files

melkkoe commented 5 months ago

error-log-gdrive-plugin.md verbose-log-gdrive-plugin.md

stravo1 commented 5 months ago

thank you for reporting this issue, previous users have also reported this "Folder Already Exists" issue before but not with any other details. thank you so much for providing the steps for recreating the issue, will take a look into it :)

stravo1 commented 5 months ago

hello again, just shared a new release v0.9.9-beta-10, can you try this release and report back the results?

thank you

melkkoe commented 5 months ago

Hi stravo1,

i've installed the new beta-10 release on desktop and android, but the error persists. See the attached logging. verbose-log-gdrive-plugin.md error-log-gdrive-plugin.md

When i open the Android app, the following messages appears on screen: (in this order)

Downloading missing files Error: something wen wrong. maybe the sync is paused Downloading 1/2 files Download complete :-) Fatal error: too many errors. Report at Github

Kind regards,

stravo1 commented 5 months ago

hello! unfortunately i couldn't recreate the issue on my Mac and Android, I will try it on a Windows computer soon.

but until then, a few things i would like to clarify:

  1. are there any other plugins installed on the phone or desktop? if so can you try and recreate the issue with a vanilla vault with only this plug-in installed?
  2. i see that the issue is with the "Templates" folder in the logs, can you recreate the issue with other folders as well (like how you mentioned previously, that creating an empty subfolder causes the issue)?
  3. if creating any empty subfolder is causing this issue, can you check and see what was the file being uploaded to Google Drive (as only folders are not uploaded, only if there is a file in that folder then the file is uploaded along with the name of the folder)?

going back and forth via GitHub comments and testing via only GitHub releases is a hassle, if you don't mind you can join the discord server https://discord.com/invite/dPasX4Ac2P where i can send you test builds without releasing them on GitHub, or if discord is not your thing and you're comfortable with email,, drop me a mail at stravoone@gmail.com, will send you test files over the mail.

thank you :)