karelin / winpdb

Automatically exported from code.google.com/p/winpdb
0 stars 1 forks source link

BadStatusLine exception on 'attach' command #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a script with the embedded debugger
2. run rpdb2
3. specify password
4. enter "attach" command

What is the expected output? What do you see instead?
I have exected to get th table of scripts to debug without a message about 
exception.
But i see a message about exception.

> password test
Password is set to: "test"

> attach
Connecting to 'localhost'...
> *** Command returned the following error:
> *** <class 'httplib.BadStatusLine'>, ''.
> *** Please check stderr for stack trace and report to support.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rpdb2.py", line 10226, in ConnectNoThrow
    self.Connect()
  File "/usr/lib/pymodules/python2.7/rpdb2.py", line 10237, in Connect
    server_info = server.server_info()
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/pymodules/python2.7/rpdb2.py", line 9511, in __request
    r = self.m_method(rpdb_version, fencrypt, fcompress, digest, msg)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''
Scripts to debug on 'localhost':

   pid    name
--------------------------
   1264   /home/norriss/projects/debug.py

>

Though it works fine after all.

What version of the product are you using? On what operating system?
Version: 1.4.8-1
Ubuntu 12.04

Please provide any additional information below.

Original issue reported on code.google.com by nik...@ivideon.ru on 27 Sep 2013 at 3:00