Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx systray failure #656

Closed
totaam opened this issue Aug 22, 2014 · 3 comments
Closed

osx systray failure #656

totaam opened this issue Aug 22, 2014 · 3 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 22, 2014

Issue migrated from trac ticket # 656

component: client | priority: critical | resolution: fixed

2014-08-22 14:21:15: totaam created the issue


Apparently with pidgin:

make_instance[<class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>, None, 'Pidgin', None, \
    <function tray_geometry at 0xbd1aa30>, <function tray_click at 0xbd1a9b0>, \
    <function tray_mouseover at 0xbd1a9f0>, <function tray_exit at 0xbd1aa70>] \
    failed to instantiate <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>
Traceback (most recent call last):
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 530, in make_instance
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 38, in __init__
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 104, in set_icon_from_file
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 117, in do_set_icon_from_file
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 123, in set_icon_from_pixbuf
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 91, in get_geometry
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 46, in may_guess
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 148, in recalculate_geometry
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 597, in tray_geometry
AttributeError: 'NoneType' object has no attribute 'get_geometry'
Traceback (most recent call last):
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 1756, in _process_new_tray
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 605, in setup_system_tray
AssertionError: could not instantiate a system tray for tray id 4
@totaam
Copy link
Collaborator Author

totaam commented Aug 22, 2014

2014-08-22 14:47:42: totaam changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 22, 2014

2014-08-22 14:47:42: totaam changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Aug 22, 2014

2014-08-22 14:47:42: totaam commented


This code is old, I believe it is the newer GTK builds we now use that must have caused this bug to surface.

r7414 fixes that, 7415 for v0.14.x branch - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant