Xpra: Ticket #1760: AttributeError on latest client

Running a beta r18246 client against a beta r18246 server - both Fedora 26 and built from source.

I'm able to connect, but immediately upon connection the client outputs the following traceback and exits:

2018-02-01 12:08:40,357 error on <class 'xpra.platform.xposix.gui.ClientExtras'> cleanup
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/client/ui_client_base.py", line 642, in cleanup
    x.cleanup()
  File "/usr/lib64/python2.7/site-packages/xpra/platform/xposix/gui.py", line 733, in cleanup
    if self.session_bus:
AttributeError: 'ClientExtras' object has no attribute 'session_bus'
2018-02-01 12:08:40,888 error on <class 'xpra.platform.xposix.gui.ClientExtras'> cleanup
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xpra/client/ui_client_base.py", line 642, in cleanup
    x.cleanup()
  File "/usr/lib64/python2.7/site-packages/xpra/platform/xposix/gui.py", line 733, in cleanup
    if self.session_bus:
AttributeError: 'ClientExtras' object has no attribute 'session_bus'


Thu, 01 Feb 2018 21:34:16 GMT - Antoine Martin: owner changed

This particular traceback only occurs during cleanup (when the process terminates), not on connection.

It is caused by r18241 which disables part of r18240, it is fixed in r18247 - or by re-enabling the (broken) screensaver detection with XPRA_DBUS_SCREENSAVER=1 (see ticket:540#comment:20)

If your client disconnects immediately, then that's a different problem. Note: there seems to be some clipboard related problems caused by #1312, if that causes problems then just run with the clipboard disabled until that is solved.


Thu, 01 Feb 2018 21:57:25 GMT - J. Max Mena: status changed; resolution set

Weird - I rebuilt my server and client with r18247 and everything works as expected even running with clipboard enabled.

Closing.


Sat, 23 Jan 2021 05:33:04 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1760