liberodark / ODrive

Google Drive GUI for Windows / Mac / Linux
https://liberodark.github.io/ODrive/
GNU General Public License v3.0
1.16k stars 136 forks source link

[BUG] odrive does not sync files from the PC when a file is deleted or added by another device #127

Open antrrax opened 5 years ago

antrrax commented 5 years ago

Describe the bug odrive does not sync files from the PC when a file is deleted or added by another device (Android phone - official Google Drive app) even running with super user permission

To Reproduce Steps to reproduce the behavior: I installed the version: odrive_0.3.0_amd64.deb. I synchronized with the Google Drive account in the cloud and restarted the PC.

If I start the program in terminal with superuser permission [$ sudo odrive], everything goes as expected at this point. 1) In Nemo, if I add a file to the Google Drive folder ... It uploads it to the cloud. [OK] 2) In Nemo, if I delete a file from the Google Drive folder ... It sends the file to the trash and removes the file from the cloud. [OK]

But the error occurs when I am accessing Google Drive through Cloud (android phone) and deleting a file. Odrive does not remove this file from the Google Drive folder in Nemo. Even odrive with super user permission

Expected behavior When I delete a cloud file from Google Drive through my phone. Odrive should automatically sync and delete the file in Nemo's Google Drive folder or it should have a button to force sync when it's most convenient for the user.

Desktop (please complete the following information):

liberodark commented 5 years ago

ok but 0.3.0 is pre release is not a final stable release better is 0.2.1 now my goal is finish a version with the same stability but with new fonctionality im work on.

antrrax commented 5 years ago

The same error occurs in version 0.2.2

nophead commented 5 years ago

Isn't this the whole reason for o drive?

It initially downloaded all my files but it doesn't keep them in sync. The icon on the top bar of the screen has a red circle on it but it never propagates changes from or to other machines. What is the point of this program?

nophead commented 5 years ago

Building from the version on GitHub, renaming 100 of my photos to ensure they had unique names and adding a delay to fix the rate issue ODrive now does see changes on another machine and updates the files locally, but it doesn't propagate changes made on the local machine back to GoogleDrive. It prints:

Events  ['change' ]
Emitting last event for <path>

But that is it.