xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 8 years ago

Closed 8 years ago

Last modified 16 months ago

#515 closed defect (fixed)

xpra crashes on launch - "from xpra.client.tray_base import TrayBase … ImportError: No module named client.tray_base"

Reported by: Stroller Owned by: Antoine Martin
Priority: major Milestone: 0.12
Component: server Version: 0.11.x
Keywords: Cc:


On the xpra.org homepage, the "Get started with Xpra" section says:

On the machine which will export the application (xterm in this example):
xpra start :100 --start-child=xterm

On my machine:

$ xpra start :100 --start-child=firefox
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/xpra", line 4, in <module>
    import xpra.scripts.main
  File "/usr/lib64/python2.7/site-packages/xpra/scripts/main.py", line 21, in <module>
  File "/usr/lib64/python2.7/site-packages/xpra/platform/features.py", line 34, in <module>
  File "/usr/lib64/python2.7/site-packages/xpra/platform/__init__.py", line 38, in platform_import
    platform_module = __import__(module, {}, {}, imports)
  File "/usr/lib64/python2.7/site-packages/xpra/platform/xposix/features.py", line 19, in <module>
    from xpra.platform.xposix.appindicator_tray import is_unity
  File "/usr/lib64/python2.7/site-packages/xpra/platform/xposix/appindicator_tray.py", line 10, in <module>
    from xpra.client.tray_base import TrayBase, debug
ImportError: No module named client.tray_base

Version is 0.11.2, installed from the Gentoo ebuild in the official portage tree.

My server is headless, so I wished a minimal installation I chose the use flags "-client clipboard rencode x264 csc webp vpx -dec_av2 -dec_av -opengl -pulseaudio -sound".

Attachments (1)

xpra_and_environment_info.txt (5.7 KB) - added by Stroller 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Stroller

comment:1 Changed 8 years ago by Antoine Martin

Milestone: 0.12
Owner: changed from Antoine Martin to Antoine Martin
Status: newassigned

Pure server installations haven't been checked in a long time. Will fix.

comment:2 Changed 8 years ago by Antoine Martin

r5435 should fix this problem. Will backport to v0.11.x

comment:3 Changed 8 years ago by Stroller

0.11.2 works for me with the r5435 changeset.

Many thanks!

comment:4 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Applied to 0.11.x branch in r5450. Closing.

comment:5 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.