Issue 50 in google-docs-upload: duplicate detection

18 views
Skip to first unread message

google-do...@googlecode.com

unread,
Apr 26, 2011, 10:54:31 AM4/26/11
to google-docs-u...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 50 by d...@mairie-aubagne.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I'm using the following batch to upload an excel spreadsheet : java -jar
E:\gdu\google-docs-upload-1.4.6.jar "\\xxxxx\xxxxx\xxxxx\AGENDA
EVENEMENTIEL" -u xxx@xxx -p xxxxx -ra
The batch file is running every five minute on a windows 2008 r2 server and
upload an excel spreadsheet called "AGENDA 2011.xls"

The expected output is a single up-to-date AGENDA 2011 spreadsheet on
google docs but randomly the duplicate detection isn't working.
See the result in attached file.
The shared one should be updated but sometimes a new one is created instead.

Attachments:
google.JPG 48.2 KB

google-do...@googlecode.com

unread,
Aug 31, 2011, 10:59:46 AM8/31/11
to google-docs-u...@googlegroups.com

Comment #1 on issue 50 by samco...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I am also having a problem with duplicate detection
I am uploading a folder that has subfolders for each staff member and that
sub folder is sometimes recreated the new folder is not shared with them so
they can not see it.
I have 151 user folders i.e. jdoe that is shared with john doe at his
google apps account jd...@ourschools.org
it duplicates most of them then it gets to the m's and works fine for i.e.
mjones thru zsmith

I am on os x 10.6
used tags --recursive --username u...@ourschools.org --password $pass
--without-conversion --skip-all
when I run I have a total of 257 files to check
worked fine when I tests with only 6 sub folders so I may need to rework my
script to upload each staff members folder on its own

google-do...@googlecode.com

unread,
Sep 1, 2011, 9:59:34 AM9/1/11
to google-docs-u...@googlegroups.com

Comment #2 on issue 50 by samco...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

rebuilt my script to upload each user sub folder individually the same
folders duplicated.
figured out that it is the name on googles side is not flagging as
duplicate. if I right click the folder on google and select rename and the
click ok with out changing the name it then does not duplicate the folder.


google-do...@googlecode.com

unread,
Sep 1, 2011, 12:09:53 PM9/1/11
to google-docs-u...@googlegroups.com

Comment #3 on issue 50 by samco...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

that still did not fix it. every time I run it picks 20+ folders it dups
then fix them and it finds 20+ more

google-do...@googlecode.com

unread,
Apr 23, 2012, 3:03:04 AM4/23/12
to google-docs-u...@googlegroups.com

Comment #4 on issue 50 by j.kha...@kr.om: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I faced the duplicate issue I am uploading a folder of 6 files; 2 of my
files out of 6 got duplicated. I deleted the 2 new files created and ran
the script again which resolved the issue. I am not sure why the
duplication happened. I am using the below script:

java -jar C:\gdu\google-docs-upload-1.4.7.jar %1 -protocol https
--recursive -u x...@xyz.com -p xyz -ra %*

google-do...@googlecode.com

unread,
Jun 16, 2012, 10:31:26 AM6/16/12
to google-docs-u...@googlegroups.com

Comment #5 on issue 50 by robbkwri...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50


I'm having the same issue:

java -jar %bin_path%google-docs-upload-1.4.7.jar kml --without-folders
-username XXXX -password XXXX --protocol https --without-conversion
--replace-all --remote-folder XXXX

- I'm uploading the files in the directory data once per hour
- often a new file is created
- but sometimes a new remote-folder is created - which is even more
frustrating.

If I'm sharing the GDocs folder to others, suddenly the files get uploaded
into the new directory and the reciepients are still looking at the older,
non updating folder.


google-do...@googlecode.com

unread,
Jul 17, 2012, 12:11:51 PM7/17/12
to google-docs-u...@googlegroups.com

Comment #6 on issue 50 by shanebla...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

any update on this ??

google-do...@googlecode.com

unread,
Jul 17, 2012, 7:03:58 PM7/17/12
to google-docs-u...@googlegroups.com

Comment #7 on issue 50 by anton.be...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I'm really sorry, but I haven't had time to work on this.

google-do...@googlecode.com

unread,
Jul 18, 2012, 12:21:32 AM7/18/12
to google-docs-u...@googlegroups.com

Comment #8 on issue 50 by j.kha...@kr.om: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

Dear Anton Beloglazov,

Would appreciate your help into this to look into this...your tool his
helping me and many other like me a lot and thanks a lot for this..but this
issue seems to crop up sometimes...i do not know the reason for this. I
have attached the screenshot for the error which crops up in the command
prompt. Please spare some time to help us resolve this.

Thanks again.

Attachments:
Error.JPG 140 KB

google-do...@googlecode.com

unread,
Jul 18, 2012, 6:49:20 AM7/18/12
to google-docs-u...@googlegroups.com

Comment #9 on issue 50 by samco...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I sugest looking in to Google drive I have changed my scripts to write in
to Google Drive folder then let it upload and sync to google. you can have
your script handle duplicates.



google-do...@googlecode.com

unread,
Jul 18, 2012, 6:18:58 PM7/18/12
to google-docs-u...@googlegroups.com

Comment #10 on issue 50 by shanebla...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

What version of google api does this tool use? In the short term I wrote
something to remove the duplicates. It would be nice if you could proved a
way to pass in the document key that way you could ensure you are updating
the correct doc

google-do...@googlecode.com

unread,
Jul 19, 2012, 7:01:27 PM7/19/12
to google-docs-u...@googlegroups.com

Comment #11 on issue 50 by shanebla...@gmail.com: duplicate detection
http://code.google.com/p/google-docs-upload/issues/detail?id=50

I see the issue the code looks for the folder to update by name if there
are two folder with the same name it will always select the first folder.

It looks like parts of the api failure creates a duplicate folder .... (the
code will always find the new folder first)

Reply all
Reply to author
Forward
0 new messages