xpra icon
Bug tracker and wiki

Opened 6 years ago

Closed 6 years ago

#677 closed defect (fixed)

Traceback found connecting osx 0.14.3 client session

Reported by: alas Owned by: Antoine Martin
Priority: minor Milestone:
Component: client Version: 0.14.x
Keywords: Cc:

Description

Connecting an osx 0.14.3 client using the command line I'm seeing the following traceback:

2014-09-12 15:22:20,145 renderer 'Intel HD Graphics 4000 OpenGL Engine' enabled (found in both blacklist and whitelist)
2014-09-12 15:22:20,158 OpenGL_accelerate module loaded
2014-09-12 15:22:20,159 Using accelerated ArrayDatatype
2014-09-12 15:22:20,191 make_instance[<class 'xpra.platform.darwin.osx_tray.OSXTray'>, <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>, <gtk.MenuBar object at 0x635ec88 (GtkMenuBar at 0x196e0d8)>, u'tcp:10.0.32.188:1205', '', <function xpra_tray_geometry at 0xc79b4f0>, <function xpra_tray_click at 0xc761af0>, <function xpra_tray_mouseover at 0xc79b430>, <function xpra_tray_exit at 0xc79b4b0>] failed to instantiate <class 'xpra.platform.darwin.osx_tray.OSXTray'>
Traceback (most recent call last):
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 530, in make_instance
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/platform/darwin/osx_tray.py", line 30, in __init__
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/platform/darwin/osx_tray.py", line 84, in set_global_menu
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/platform/darwin/osx_menu.py", line 97, in add_full_menu
TypeError: 'NoneType' object is not iterable
2014-09-12 15:22:20,220 make_instance[<class 'xpra.platform.darwin.osx_tray.OSXTray'>, <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>, <gtk.MenuBar object at 0x635ec88 (GtkMenuBar at 0x196e0d8)>, u'tcp:10.0.32.188:1205', '', <function xpra_tray_geometry at 0xc79b4f0>, <function xpra_tray_click at 0xc761af0>, <function xpra_tray_mouseover at 0xc79b430>, <function xpra_tray_exit at 0xc79b4b0>] failed to instantiate <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>
Traceback (most recent call last):
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 530, in make_instance
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 38, in __init__
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 104, in set_icon_from_file
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 117, in do_set_icon_from_file
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 123, in set_icon_from_pixbuf
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 91, in get_geometry
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 46, in may_guess
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 148, in recalculate_geometry
  File "/Users/spikesinc/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 554, in xpra_tray_geometry
AttributeError: 'NoneType' object has no attribute 'get_geometry'
Deallocating GtkQuartzStatusIcon
2014-09-12 15:22:20,224 event loop not started

It doesn't seem to affect functionality, but might be something worth looking at.

Change History (2)

comment:1 Changed 6 years ago by Antoine Martin

Status: newassigned

Thanks.

The first stacktrace is because your builds have SHOW_ABOUT_XPRA set to false, this is fixed in r7595. This would have caused the forwarded tray to go missing.

The second one is very similar to #656, fixed in r7594. This would have caused the osx global menu to go missing.

Both should get backported.

Last edited 6 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Backports in r7655 and r7656. Closing.

Note: See TracTickets for help on using tickets.