8000 TypeError: Cannot create a consistent method resolution order (MRO) for bases Utils, LayeredPane · Issue #63 · ldtp/ldtp2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeError: Cannot create a consistent method resolution order (MRO) for bases Utils, LayeredPane #63
Open
@debugger1979

Description

@debugger1979

Hi!
I am trying to use your project for Almalinux 9 OS. The installation and preparation of the environment are performed according to your documentation. When trying to run a test script gedit.py an error appears:

[user@msvsphere-9 ldtp2]$ /usr/bin/env /bin/python /home/user/.vscode/extensions/ms-python.python-2023.22.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 59373 -- /home/user/ldtp2/examples/gedit.py
Traceback (most recent call last):
File "", line 1, in
File "/home/user/ldtp2/ldtpd/init.py", line 38, in
from .xmlrpc_daemon import XMLRPCLdtpd
File "/home/user/ldtp2/ldtpd/xmlrpc_daemon.py", line 25, in
from . import core
File "/home/user/ldtp2/ldtpd/core.py", line 68, in
from .combo_box import ComboBox
File "/home/user/ldtp2/ldtpd/combo_box.py", line 286, in
class ComboBox(Utils, LayeredPane):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Utils, LayeredPane
Traceback (most recent call last):
File "/home/user/ldtp2/examples/gedit.py", line 20, in
import ldtp, ooldtp
File "/usr/local/lib/python3.9/site-packages/ldtp-3.5.1-py3.9.egg/ldtp/init.py", line 593, in
_populateNamespace(globals())
File "/usr/local/lib/python3.9/site-packages/ldtp-3.5.1-py3.9.egg/ldtp/init.py", line 247, in _populateNamespace
for method in client._client.system.listMethods():
File "/usr/lib64/python3.9/xmlrpc/client.py", line 1122, in call
return self.__send(self.__name, args)
File "/usr/lib64/python3.9/xmlrpc/client.py", line 1464, in __request
response = self.__transport.request(
File "/usr/local/lib/python3.9/site-packages/ldtp-3.5.1-py3.9.egg/ldtp/client.py", line 152, in request
h=self.send_request(host, handler, request_body, bool(verbose))
File "/usr/lib64/python3.9/xmlrpc/client.py", line 1291, in send_request
self.send_content(connection, request_body)
File "/usr/lib64/python3.9/xmlrpc/client.py", line 1321, in send_content
connection.endheaders(request_body)
File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/lib64/python3.9/http/client.py", line 980, in send
self.connect()
File "/usr/lib64/python3.9/http/client.py", line 946, in connect
self.sock = self._create_connection(
File "/usr/lib64/python3.9/socket.py", line 844, in create_connection
raise err
File "/usr/lib64/python3.9/socket.py", line 832, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

Please help me figure out this error.

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