You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My system is running xpra (build from source with the latest commit on master) as a client and tries to connect to a remote xpra server.
For some reason connection.get_controller() in device_info.py returns an integer on my system, which causes the xpra client to crash with the following error.
2024-01-12 18:15:24,111 error preparing connection: 'int' object has no attribute 'get_vendor'
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/xpra/client/base/client.py", line 396, in send_hello
hello.update(self.make_hello())
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/xpra/client/gtk3/client_base.py", line 828, in make_hello
capabilities = UIXpraClient.make_hello(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/xpra/client/gui/ui_client_base.py", line 394, in make_hello
caps.update(c.get_caps(self))
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/xpra/client/mixins/network_state.py", line 135, in get_caps
default_adapter_type = guess_adapter_type(get_NM_adapter_type(device_name) or device_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/xpra/net/device_info.py", line 50, in get_NM_adapter_type
log(f"NM device {device_name!r}: {nmdevice.get_vendor()} {nmdevice.get_product()}")
^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'get_vendor'
To mitigate the issue I've added nmdevice = False on the line above the if statement.
If needed I'm willing to try different versions or possible patches.
To Reproduce
Steps to reproduce the behavior:
server command : xpra start --daemon=no --exit-with-children --start-child=my/program
client command : xpra attach ssh://myserver.eu/0
run the client command and wait
System Information (please complete the following information):
Server OS: Linux Ubuntu 20.04 focal
Client OS: Linux Arch
Xpra Server Version: 5.0.3-r1
Xpra Client Version: 6.0 commit b7225fd from master
Describe the bug
My system is running xpra (build from source with the latest commit on master) as a client and tries to connect to a remote xpra server.
For some reason
connection.get_controller()
in device_info.py returns an integer on my system, which causes the xpra client to crash with the following error.To mitigate the issue I've added
nmdevice = False
on the line above the if statement.If needed I'm willing to try different versions or possible patches.
To Reproduce
Steps to reproduce the behavior:
System Information (please complete the following information):
Additional context
Build details
The text was updated successfully, but these errors were encountered: