Bug#586294: osc: httplib.BadStatusLine error

2010-08-25 Thread Michal Čihař
Hi

Dne Fri, 18 Jun 2010 11:05:56 +0300
Fathi Boudra  napsal(a):

> since some days (python 2.6 switch ?), when I try to run a local package 
> build:
> Traceback (most recent call last):
>   File "/usr/bin/osc", line 21, in 
> r = babysitter.run(osccli)
[...]
>   File "/usr/lib/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib/python2.6/httplib.py", line 355, in _read_status
> raise BadStatusLine(line)
> httplib.BadStatusLine

Still seeing this bug? I believe it was some Python problem and I'm
unable to reproduce it anymore.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#586294: osc: httplib.BadStatusLine error

2010-06-18 Thread Fathi Boudra
Package: osc
Version: 0.127-1

Hi,

since some days (python 2.6 switch ?), when I try to run a local package build:
Traceback (most recent call last):
  File "/usr/bin/osc", line 21, in 
r = babysitter.run(osccli)
  File "/usr/lib/pymodules/python2.6/osc/babysitter.py", line 50, in run
return prg.main()
  File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 308, in main
return self.cmd(args)
  File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 331, in cmd
retval = self.onecmd(argv)
  File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 447, in onecmd
return self._dispatch_cmd(handler, argv)
  File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 1177, in _dispatch_cmd
return handler(argv[0], opts, *args)
  File "/usr/lib/pymodules/python2.6/osc/commandline.py", line 3970, in do_build
return osc.build.main(opts, args)
  File "/usr/lib/pymodules/python2.6/osc/build.py", line 526, in main
addlist=extra_pkgs))
  File "/usr/lib/pymodules/python2.6/osc/core.py", line 3978, in get_buildinfo
f = http_POST(u, data=specfile)
  File "/usr/lib/pymodules/python2.6/osc/core.py", line 2108, in http_POST
def http_POST(*args, **kwargs):   return http_request('POST',
*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/osc/core.py", line 2095, in http_request
fd = urllib2.urlopen(req, data=data)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
  File "/usr/lib/pymodules/python2.6/osc/oscssl.py", line 200, in https_open
r = h.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 355, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine

Cheers,

Fathi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org