Skip to content
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

HttpError 500 #86

Open
juanfrans opened this issue Jan 27, 2015 · 0 comments
Open

HttpError 500 #86

juanfrans opened this issue Jan 27, 2015 · 0 comments

Comments

@juanfrans
Copy link

Hi,
I've been getting this error consistently for the past 3 days. I'm trying to create my first backup on Google Drive but I'm unable to complete it because of this error. In addition, every time I relaunch the command, it starts copying the same set of files, as if it didn't know that most of those files are already on the drive. The command I'm using is:
gsync -p -o -g -v -r -l -s --progress --delete ~/data/source/ drive://destination/folder/location/

The error I keep getting is this one:
DEBUG: 'Exception': File "/Library/Python/2.7/site-packages/libgsync/drive/init.py", line 712, in update
status, res = req.next_chunk()
File "/Library/Python/2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(_args, _kwargs)
File "/Library/Python/2.7/site-packages/googleapiclient/http.py", line 874, in next_chunk
return self._process_response(resp, content)
File "/Library/Python/2.7/site-packages/googleapiclient/http.py", line 901, in _process_response
raise HttpError(resp, content, uri=self.uri)
0 0% 0.00B/s 0:00:11
DEBUG: <HttpError 500 when requesting https://www.googleapis.com/drive/v2/files?q=%220B2KgtycbJZTBc0NLbkxhMEt1NE0%22+in+parents+and+trashed+%3D+false&alt=json returned "Backend Error">: File "/Library/Python/2.7/site-packages/libgsync/crawler.py", line 150, in run
self._walk(srcpath, self._walkCallback, self._dev)
File "/Library/Python/2.7/site-packages/libgsync/crawler.py", line 124, in _walk
self._sync(f)
File "/Library/Python/2.7/site-packages/libgsync/sync/init.py", line 31, in call
self._sync(path)
File "/Library/Python/2.7/site-packages/libgsync/sync/init.py", line 64, in _sync
dstFile = self.dst.getInfo(relPath)
File "/Library/Python/2.7/site-packages/libgsync/sync/file/remote/init.py", line 61, in getInfo
info = drive.stat(path)
File "/Library/Python/2.7/site-packages/libgsync/drive/init.py", line 507, in stat
ents = self._query(parentId = parentId)
File "/Library/Python/2.7/site-packages/libgsync/drive/init.py", line 791, in _query
files = service.files().list(
_param).execute()
File "/Library/Python/2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(_args, **kwargs)
File "/Library/Python/2.7/site-packages/googleapiclient/http.py", line 723, in execute
raise HttpError(resp, content, uri=self.uri)
Error: HttpError 500 when requesting https://www.googleapis.com/drive/v2/files?q=%220B2KgtycbJZTBc0NLbkxhMEt1NE0%22+in+parents+and+trashed+%3D+false&alt=json returned "Backend Error"

Any ideas?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant