8000 LDTP2 engine is crashing and ldtp client is reporting connection refused 111 error · Issue #53 · ldtp/ldtp2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
LDTP2 engine is crashing and ldtp client is reporting connection refused 111 error #53
Open
@purushothamc

Description

@purushothamc

Hi,

We're running LDTP in a python script in ubuntu 16.04
These scripts are invoked from RobotFramework to find active prompts on Ubuntu machine.

We're running ldtp script using python subprocess module.
But we're getting following exception when we run above.
` from ldtp import *
File "/usr/local/lib/python2.7/dist-packages/ldtp/init.py", line 593, in
_populateNamespace(globals())
File "/usr/local/lib/python2.7/dist-packages/ldtp/init.py", line 255, in _populateNamespace
d[local_name].doc = client._client.system.methodHelp(method)
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.7/dist-packages/ldtp/client.py", line 154, in request
response.reason, response.msg.headers)
xmlrpclib.ProtocolError: <ProtocolError for localhost:4118/RPC2: 500 Internal Server Error>
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1408, in dataReceived
finishCallback(data[contentLength:])
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1673, in _finishRequestBody
self.allContentReceived()
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 1736, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/http.py", line 762, in requestReceived
self.process()
--- ---
File "/usr/local/lib/python2.7/dist-packages/twisted/web/server.py", line 183, in process
self.render(resrc)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/server.py", line 234, in render
body = resrc.render(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
return m(request)
File "/usr/local/lib/python2.7/dist-packages/ldtpd/xmlrpc_daemon.py", line 120, in render_POST
print(debug_st)
exceptions.IOError: [Errno 32] Broken pipe

Traceback (most recent call last):
File "/opt/automation/DGAutomation/Libraries/PromptHandler/PFLinux.py", line 2, in
from ldtp import *
File "/usr/local/lib/python2.7/dist-packages/ldtp/init.py", line 593, in
_populateNamespace(globals())
File "/usr/local/lib/python2.7/dist-packages/ldtp/init.py", line 255, in _populateNamespace
d[local_name].doc = client._client.system.methodHelp(method)
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.7/dist-packages/ldtp/client.py", line 154, in request
response.reason, response.msg.headers)
xmlrpclib.ProtocolError: <ProtocolError for localhost:4118/RPC2: 500 Internal Server Error> `

This is not observed when run from ldtp import * in python interactive prompt.
We're using selenium to open Firefox browser, browser is getting opened 4D6A .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0