Application Error: raise BadStatusLine
Working on the latest mercurial repo. Running the trytond with postgresql. The tryton app return this error after clicking the connec button to the localhost:5432.
Traceback (most recent call last):
File "bin/tryton", line 69, in <module>
client.TrytonClient().run()
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/client.py", line 294, in run
main.sig_login()
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/gui/main.py", line 849, in sig_login
host, port, database, username = DBLogin().run()
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/gui/window/dblogin.py", line 623, in run
test = DBListEditor.test_server_version(hostname, port)
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/gui/window/dblogin.py", line 276, in test_server_version
version = rpc.server_version(host, port)
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/rpc.py", line 58, in server_version
result = connection.common.server.version()
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/home/yongkie/ydata/ypython/ytryton/tryton/tryton/jsonrpc.py", line 284, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
response = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1136, 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: ''