-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google drive not working #26
Comments
Hi lahela223, sorry to hear that all is not working right for you. Could you please be more specific with your issues, preferrably by quoting the precise steps you took, so that I may try to reproduce them on my environment? When you're saying
what exactly do you mean? Also, regarding
I didn't have any problems with copying multiple files into a Google Drive volume from a different volume - or copy a file inside the Google Drive root directory. Actually, this is how I created the file "tHEfILE.txt" in the first place. Please report the Gateway variant and assembly versions you are using. Cheers |
Hello lahela223 and viciousviper, I also having the same issue in the latest version (1.0.11-beta). In a root folder of my google drive I have two folders named "Work" (but they have different Ids). ArgumentException occur during child folder enumeration inside: To be more specific - during I have used a very dirty workaround to make it work for me but it is may require to consider changing CloudDirectoryNode.children type from Dictionary to Lookup. Another way - is to change the behavior of Google Drive Provider. May be. I would work on it further with your guidance. |
Hi @psxvoid, thanks for reporting this condition. What kind of file/directory names would you expect to see on the Windows filesystem side, and how would you expect to distinguish between them? |
Hi @viciousviper, Thanks for sharing such interesting project. Regarding the naming scheme - this is how google drive client for windows handles the issue:
So, it is possible to name them differently, e.g. "Scripts[1] formerly Scripts". Also there is could be another issue - with renaming such folders. So, may be it worth to introduce another optional field for CloudItemNode like "Alias". Or a required "Id". By the way, apps like "ExpanDrive" or "NetDrive2" just ignore duplicate names: |
Yeah, the "Scripts"-"Scripts (1)"-"Scripts (2)" scheme is pretty much the standard behavior of Windows Explorer when you copy a preexisting file without renaming it. However, in your scenario it is not quite as clear which of the multiple instances should be regarded as the "original" and which are the "copies" - and how the copies should be ordered. In general, even a distinction by creation/modification date may not lead to unique results. Displaying just one of the several identically named items does not feel right, either. After all - which one should be chosen to represent the set, and would it not confuse a user if he/she removed/renamed the item and a different instance popped up from nowhere? Your suggestion of additional file attributes like "Alias" or "Id" cannot work, alas, because the I could certainly suppress non-unique items entirely - but this does not appear to be the intention of the original poster. It would avoid the Exception, though. |
Yeah, it is some kind of weird. Popping up folders sounds not user friendly and generally should be avoided. Except exceptional cases like this one. Probably, the order of copies doesn't matter because the main purpose of this feature could be the ability to see all data inside a "gateway" provider. The order may be defined during files\folder enumeration. Regarding "Alias" - would it be possible to pass the alias (when it is not null) instead of a file name to Another possible naming scheme might be "Conflict name [N] - <original_file_name>". We can use something similar to the following algorithm during files\folders enumeration (pseudo code):
|
hi
google drive is failing if there are multiple files with same name on root. also not able to copy any file in drive it says drive full.?
The text was updated successfully, but these errors were encountered: