xpra icon
Bug tracker and wiki

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

Opened 7 years ago

Closed 7 years ago

Last modified 16 months ago

#950 closed defect (fixed)

0.14.28: missng os import; client crash

Reported by: onlyjob Owned by: Antoine Martin
Priority: blocker Milestone: 0.16
Component: client Version: 0.14.x
Keywords: Cc:


As reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795877

Client 0.14.28 crashes on attach due to missing os import:

xpra main error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 119, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 778, in run_mode
    return run_client(error_cb, options, args, mode)
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 1129, in run_client
    app = make_client(error_cb, opts)
  File "/usr/lib/python2.7/dist-packages/xpra/scripts/main.py", line 1199, in make_client
    toolkit_module = __import__(client_module, globals(), locals(), ['XpraClient'])
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk2/client.py", line 26, in <module>
    from xpra.client.gtk_base.gtk_client_base import GTKXpraClient, xor_str
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/gtk_client_base.py", line 22, in <module>
    from xpra.client.ui_client_base import UIXpraClient
  File "/usr/lib/python2.7/dist-packages/xpra/client/ui_client_base.py", line 29, in <module>
    from xpra.client.client_tray import ClientTray
  File "/usr/lib/python2.7/dist-packages/xpra/client/client_tray.py", line 10, in <module>
    from xpra.client.gtk_base.gtk_window_backing_base import GTKWindowBacking
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/gtk_window_backing_base.py", line 15, in <module>
    from xpra.client.window_backing_base import WindowBackingBase, unpremultiply_argb
  File "/usr/lib/python2.7/dist-packages/xpra/client/window_backing_base.py", line 25, in <module>
    WEBP_PILLOW = os.environ.get("XPRA_WEBP_PILLOW", "0")=="1"
NameError: name 'os' is not defined

Change History (2)

comment:1 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

This was fixed 2 weeks ago: r10214.

comment:2 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.