xpra icon
Bug tracker and wiki

#1415 closed defect (fixed)

dbus could be not optional

Reported by: Jens H. Goebbert Owned by: Jens H. Goebbert
Priority: minor Milestone:
Component: core Version: trunk
Keywords: Cc:

Description

Hello,

we do not have dbus available on all machine at JSC.
This seems not to be a problem for Xpra.

Except, that it filles the logfile with error messages like

^[[33m2017-01-18 16:23:31,519 cannot load dbus helper: No module named dbus^[[0m
^[[31m2017-01-18 16:23:31,534 dbus server error
Traceback (most recent call last):
  File "/usr/local/software/jureca/Stage1/software/Xpra/1.0.1-GCCcore-5.4.0-Python-2.7.12-bare/lib/python2.7/site-packages/xpra/server/dbus/dbus_common.py", line 12, in dbus_exception_wrap
    v = fn()
  File "/usr/local/software/jureca/Stage1/software/Xpra/1.0.1-GCCcore-5.4.0-Python-2.7.12-bare/lib/python2.7/site-packages/xpra/x11/server.py", line 1349, in make_dbus_server
    from xpra.x11.dbus.x11_dbus_server import X11_DBUS_Server
  File "/usr/local/software/jureca/Stage1/software/Xpra/1.0.1-GCCcore-5.4.0-Python-2.7.12-bare/lib/python2.7/site-packages/xpra/x11/dbus/x11_dbus_server.py", line 7, in <module>
    from xpra.server.dbus.dbus_server import DBUS_Server, INTERFACE
  File "/usr/local/software/jureca/Stage1/software/Xpra/1.0.1-GCCcore-5.4.0-Python-2.7.12-bare/lib/python2.7/site-packages/xpra/server/dbus/dbus_server.py", line 7, in <module>
    from xpra.dbus.helper import dbus_to_native, native_to_dbus
  File "/usr/local/software/jureca/Stage1/software/Xpra/1.0.1-GCCcore-5.4.0-Python-2.7.12-bare/lib/python2.7/site-packages/xpra/dbus/helper.py", line 7, in <module>
    import dbus
ImportError: No module named dbus^[[0m
^[[31m2017-01-18 16:23:31,538 Error setting up server dbus instance:^[[0m
^[[31m2017-01-18 16:23:31,538   No module named dbus^[[0m

Change History (2)

comment:1 Changed 11 months ago by Antoine Martin

Owner: changed from Antoine Martin to Jens H. Goebbert

The messages are converted to warnings in r14816, this should be included in the next 1.0.x update.

Note: to get rid of most of those warnings, set:

  • dbus-proxy=no
  • dbus-control=no

Please close if that works for you.

comment:2 Changed 11 months ago by Jens H. Goebbert

Resolution: fixed
Status: newclosed

Thanks. This works.

Note: See TracTickets for help on using tickets.