Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot create a consistent method resolution order (MRO) for bases Utils, LayeredPane #63

Open
debugger1979 opened this issue Jan 31, 2024 · 0 comments

Comments

@debugger1979
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant