xpra icon
Bug tracker and wiki

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

Opened 4 years ago

Closed 4 years ago

Last modified 8 months ago

#1746 closed defect (fixed)

Latest OSX client GTK traceback

Reported by: J. Max Mena Owned by: Antoine Martin
Priority: blocker Milestone: 2.3
Component: client Version: trunk
Keywords: Cc:


Using the latest trunk r17825 client, I am unable to attach to my Fedora 26 trunk r18032 server. The client produces the following traceback and then fails to attach:

/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/platform/darwin/gui.py:95: Warning: invalid cast from 'GtkMenuBar' to 'GtkWindow'
/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/platform/darwin/gui.py:95: GtkWarning: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
xpra main error:
Traceback (most recent call last):
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 175, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 1503, in run_mode
    return run_client(error_cb, options, args, mode)
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 2452, in run_client
    app = get_client_app(error_cb, opts, extra_args, mode)
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 2530, in get_client_app
    app = make_client(error_cb, opts)
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 2591, in make_client
    toolkit_module = __import__(client_module, globals(), locals(), ['XpraClient'])
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/client.py", line 21, in <module>
    from xpra.client.gtk2.client_window import ClientWindow
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/client_window.py", line 11, in <module>
    from xpra.client.gtk2.gtk2_window_base import GTK2WindowBase
  File "/Users/max/Desktop/xpradists/r17825/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/gtk2_window_base.py", line 33, in <module>
    DISPLAY_HAS_SCREEN_INDEX = os.environ.get("DISPLAY").split(":")[-1].find(".")>=0
AttributeError: 'NoneType' object has no attribute 'split'

Blocker for #1157

Change History (3)

comment:1 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

This particular bug had been fixed in r17852.

You can workaround it by running xpra with:

DISPLAY=whatever Xpra attach ...

Until I can make newer builds.

comment:2 Changed 4 years ago by Antoine Martin

New beta builds posted: https://xpra.org/beta/osx/

Note: unless you are testing recent 2.3 features, most other builds have everything needed.

comment:3 Changed 8 months ago by migration script

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

Note: See TracTickets for help on using tickets.