On Mon, 2015-10-12 at 15:51 +0530, Ritesh Raj Sarraf wrote:
> Exception in thread Thread-2:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 810, in
> __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.7/threading.py", line 763, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/media/SSHD/rrs-home/devel/apt-offline/apt-
> offline/apt_offline_core/AptOfflineLib.py", line 636, in run
>     self.responseQueue.put( self.WorkerFunction( item, thread_name )
> )
>   File "/media/SSHD/rrs-home/devel/apt-offline/apt-
> offline/apt_offline_core/AptOfflineCoreLib.py", line 638, in
> DataFetcher
>     if FetchBugReportsDebian.FetchBugsDebian(PackageName) in [1,2]:
>   File "/media/SSHD/rrs-home/devel/apt-offline/apt-
> offline/apt_offline_core/AptOfflineCoreLib.py", line 155, in
> FetchBugsDebian
>     self.bugs_list = debianbts.get_bugs( 'package', PackageName )
>   File "/usr/lib/python2.7/dist-packages/debianbts.py", line 409, in
> get_bugs
>     reply = soap_client.call('get_bugs', method_el)
>   File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py",
> line
> 260, in call
>     self.xml_response = self.send(method, self.xml_request)
>   File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py",
> line
> 313, in send
>     location, http_method, body=xml, headers=headers)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1607, in request
>     (response, content) = self._request(conn, authority, uri,
> request_uri, method, body, headers, redirections, cachekey)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1349, in _request
>     (response, content) = self._conn_request(conn, request_uri,
> method,
> body, headers)
>   File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1305, in _conn_request
>     response = conn.getresponse()
>   File "/usr/lib/python2.7/httplib.py", line 1131, in getresponse
>     response.begin()
>   File "/usr/lib/python2.7/httplib.py", line 453, in begin
>     version, status, reason = self._read_status()
>   File "/usr/lib/python2.7/httplib.py", line 417, in _read_status
>     raise BadStatusLine(line)
> BadStatusLine: ''
> 

This one, BadStatusLine, has been a headache for me too.
It is a Python bug. https://bugs.python.org/issue8823


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to