Comments (27)
i have another shared folder which does not exhibit this problem but also doesn't get synced. Unfortunately can't attach a screenshot here, but here's a temporary link:
http://wanderinghorse.net/wh/tmp/gdrive-sgbeal-201205011729.png
Notice that "counters" and "fossil-collab" are shared, but grive syncs:
$ find . -type d
.
./counters
./Docs
./Docs/Gaming
./Docs/Gaming/Fudge
./Docs/Gaming/Ideas
./Docs/Work
./Docs/Work/Consol
./Docs/Work/Consol/maxdome
./Docs/Misc
from grive.
I can't reproduce the problem. Can you tell me how did your create the "ScGrBa" folder?
from grive.
Sorry for the delay - i slept all afternoon yesterday and just got back from work.
i created all of those folders via the old GDocs web interface, with the exception of "counters" and the top-level "Docs" dir (my virtual root, which i moved all my old GDocs folders into). The "counters" dir (which gets synced at top-level) was created via the newer GDrive interface, but i don't remember if it was initially created at the (sub)dir level which it is at now. Since i'm (exclusively) on Linux, i'm not using any drive syncing which would have created the dirs for me (not counting grive, but i haven't added any dirs locally).
Unfortunately i won't have access to my "real" computer again until the weekend - my netbook is too slow to do any significant compilation on, so i'll have to wait until Friday before i can try it out again.
If you're not seeing the problem, then great. i'll give it another look on Friday or Saturday, and maybe it will have gone away on my side by then as well :).
from grive.
Looks like I can't re-do what you did to create the folders, cos the old GDocs web is gone.
In order to understand what is going on, I need to log the server's response text. Let me prepare some tools to do that. Note that the log may contain some sensitive information about your documents (e.g. titles, creation time etc, not the content). Please take a look yourself before sending it to me.
from grive.
Weird - today i pulled the latest and it's doing something different: synching my 'counters' files into ./
[stephan@hamsun:/cvs/grive/grive]$ mkdir foo/cvs/grive/grive]$ cd foo
[stephan@hamsun:
[stephan@hamsun:~/cvs/grive/grive/foo]$ ../grive
downloading ./ship-0074.svg
downloading ./ships-counters-halfinch.svg
downloading ./Docs/Work/Consol/2012-04-XX HTML5-5 Fragen-5 Antworten_ v2.doc
downloading ./ship-0077.svg
downloading ./ship-0076.svg
...
and it's still missing a couple of the dirs in the screenshot i sent:
[stephan@hamsun:~/cvs/grive/grive/foo]$ find . -type d
.
./Docs
./Docs/Gaming
./Docs/Gaming/Fudge
./Docs/Gaming/Ideas
./Docs/Work
./Docs/Work/Consol
./Docs/Work/Consol/maxdome
./Docs/Misc
i cannot account for any weirdness in my setup. Sorry about that :(. AFAIR i haven't moved any files around since the last tests, only edited a few spreadsheets.
from grive.
It may be due to google internally moved some of the data. Thanks for keeping me informed. I will see what I can do.
from grive.
I think I know the problem. It's probably due to grive only fetch part of the data about the folders.
Can you please see if the v0.0.4 branch does the right thing? If yes, I will roll out another release.
from grive.
You seem to have solved it :)
[stephan@hamsun:~/cvs/grive/grive/foo]$ ../grive
downloading ./Docs/Gaming/ScGrBa/counters/ship-0074.svg
downloading ./Docs/Gaming/ScGrBa/counters/ships-counters-halfinch.svg
downloading ./Docs/Work/Consol/2012-04-XX HTML5-5 Fragen-5 Antworten_ v2.doc
...
All dirs/files look perfect when it's finished. This is great stuff :)
from grive.
Thank you! I am releasing v0.0.4 then.
from grive.
i spoke too soon about the perfect sync, though - i found a dir which contains some pngs which were not synched.
http://www.wanderinghorse.net/wh/tmp/gdrive-sgbeal-201205061620.png
vs.
[stephan@host:~/cvs/grive/grive/foo]$ find . -type d
.
./Docs
./Docs/Gaming
./Docs/Gaming/Fudge
./Docs/Gaming/ScGrBa
./Docs/Gaming/ScGrBa/counters
./Docs/Work
./Docs/Work/Consol
./Docs/Work/Consol/maxdome
./Docs/Misc
PS: i do not generally expect (but don't care if) dirs which contain no actual files (as opposed to gdocs) to be created locally, and do not consider either behaviour a bug.
from grive.
I will add some debugging facility to collect log files in the upcoming builds.
from grive.
Hi, just want to ask if the missing folder is actually shared within your own drive?
from grive.
Hi, nestal,
It was shared via the gdocs interface before gdrive was released. After gdrive i moved all of my top-level GDocs folders into a single top-level GDrive folder named Docs (to simplify synching to my hard drive).
from grive.
By looking at the code I think it may cause problems if a folder has multiple parents, but it doesn't look like this is your case.
from grive.
Hope that match's new debug code can tell us more about it.
from grive.
AFAIK i don't have multiple parents anywhere (i don't think the UI allows it, even if the data model does), but i have moved that folder before, so maybe there's some historical information about its parentage somewhere (e.g. in the context of versioning). i'm just guessing, though - i know nothing about the gdrive protocols and APIs.
from grive.
Yes the UI allows it. You can press ctrl when dragging the folders in "My Drive". The same folder will appear in multiple folders.
from grive.
can you please check again if v0.0.5 fixes this problem?
from grive.
This time it synced a lot of PDF files i had forgotten about :).
Everything seems to be working great (expected dir structure and files), but after syncing i found the following files which are not from me:
[stephan@host:~/cvs/grive/grive/foo]$ l *.xml
-rw-rw-r-- 1 stephan stephan 30006 May 15 08:54 dir-065432.xml
-rw-rw-r-- 1 stephan stephan 342491 May 15 08:54 first-065432.xml
-rw-rw-r-- 1 stephan stephan 365335 May 15 08:55 second-065508.xml
-rw-rw-r-- 1 stephan stephan 137848 May 15 08:55 second-065546.xml
They're full of google-related metadata, it seems. Maybe temp files left over by grive?
from grive.
yes these are log files generated by grive. I forgot to remove the debug code that generated them before releasing 0.0.5. I will make them configurable in the next version
from grive.
i think this can be closed? i have shared folders (multiple levels deep with different sharing per level in some cases) being synced just fine by grive.
from grive.
Yes if you think it's OK. It's raised by you and so it's your decision.
from grive.
i don't have the permissions to close this. As far as i'm concerned, syncing appears to work more or less reliably (barring the occasional network hang and similar stuff, but there's no much you can do about that).
from grive.
It looks strange that you can't close it. Some people can close the issues raise by them.
from grive.
Normally i can, but this one was closed and re-opened by you, so i no longer owned it.
from grive.
ah yes. I see.
from grive.
I have the same problem yet. (i think my grive is updated: grive version 0.4.0-pre Oct 6 2015 23:21:35
)
from grive.
Related Issues (20)
- cd ../google_drive/ HOT 2
- Compiling and installing in Debian (LinuxMint Debian Edition) HOT 1
- Grive deleted files when storage reached its maximum HOT 1
- Error when running grive -a HOT 1
- Automatic syncing HOT 1
- User Rate Limit Exceeded HOT 1
- Delete remote, local deleted. and destination folder HOT 1
- grive -s fails complaining of inability to connect to port 443 of google authentication server HOT 1
- Stuck at "Reading remote server file list" on first use HOT 3
- HTML files are not synced very well HOT 1
- Cant set bandwidth limit while uploading files HOT 1
- Issues with building in the readme: Unmet build dependencies: debhelper zlib1g-dev HOT 3
- How do i uninstall grive HOT 6
- Fix The Readme, it is confusing! HOT 1
- Dependency errors on Debian 9 (stretch) HOT 1
- .trash doesn't work is not same file system HOT 1
- Duplicated Files in Google Drive HOT 1
- Removing grive permissions to Google Drive HOT 1
- GRIVE NO LONGER MAINTAINED PLEASE USE GRIVE2 HOT 1
- Google has disable temporarily Grive session start HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grive.