Comment #1 on issue 304 by
myself...@gmail.com: BadStatusLine raised on
I will also get this error periodically with the Drive API. It will
sporadically happen, but otherwise not happen most of the time. It's as if
there's a malformed response. I'll either do the same operation again, or
remount, and it'll be fine.
ERROR Could not send delete for entry with ID
[0B2iR2qHm9cDTdWstXzczV2NNdGs].#012
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gdrivefs-0.13.4-py2.7.egg/gdrivefs/gdtool/drive.py",
line 685, in remove_entry
result = client.files().delete(args).execute()
File "/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.2-py2.7.egg/oauth2client/util.py",
line 132, in positional_wrapper
return wrapped(args, *kwargs)
File "/usr/l
ocal/lib/python2.7/dist-packages/google_api_python_client-1.2-py2.7.egg/apiclient/http.py",
line 716, in execute
body=self.body, headers=self.headers)
File "/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.2-py2.7.egg/oauth2client/util.py",
line 132, in positional_wrapper
return wrapped(args, *kwargs)
File "/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.2-py2.7.egg/oauth2client/client.py",
line 490, in new_request
redirections, connection_type)
File "/usr/local/lib/pytho
n2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/init.py", line 1570, in
request
(response, content) = self.request(conn, authority, uri, requesturi,
method, body, headers, redirections, cachekey)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/init.py",
line 1317, in request
(response, content) = self.conn_request(conn, request_uri, method, body,
headers)
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/init.py",
line 1286, in connrequest
response = conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self.readstatus()
File "/usr/lib/python2.7/httplib.py", line 371, in readstatus
raise BadStatusLine(line)
BadStatusLine: ''
Very annoying.