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

AttributeError on latest client #1760

Closed
totaam opened this issue Feb 1, 2018 · 5 comments
Closed

AttributeError on latest client #1760

totaam opened this issue Feb 1, 2018 · 5 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Feb 1, 2018

Issue migrated from trac ticket # 1760

component: client | priority: critical | resolution: fixed

2018-02-01 20:11:44: maxmylyn created the issue


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'
@totaam
Copy link
Collaborator Author

totaam commented Feb 1, 2018

2018-02-01 21:34:16: antoine changed owner from antoine to maxmylyn

@totaam
Copy link
Collaborator Author

totaam commented Feb 1, 2018

2018-02-01 21:34:16: antoine commented


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 #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.

@totaam
Copy link
Collaborator Author

totaam commented Feb 1, 2018

2018-02-01 21:57:26: maxmylyn changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Feb 1, 2018

2018-02-01 21:57:26: maxmylyn set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Feb 1, 2018

2018-02-01 21:57:26: maxmylyn commented


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

Closing.

@totaam totaam closed this as completed Feb 1, 2018
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