Bug 1317339 - [abrt] Zim: widgets.py:2155:get_window:AttributeError: 'AppIndicatorTrayIcon' object has no attribute 'get_toplevel'
Summary: [abrt] Zim: widgets.py:2155:get_window:AttributeError: 'AppIndicatorTrayIcon'...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: Zim
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robin Lee
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:feaf61f8c0b02cc9831329575fc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 03:08 UTC by Robin Lee
Modified: 2016-07-19 18:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:46:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.02 KB, text/plain)
2016-03-14 03:08 UTC, Robin Lee
no flags Details
File: environ (2.18 KB, text/plain)
2016-03-14 03:08 UTC, Robin Lee
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1556729 0 None None None 2016-03-14 03:12:07 UTC

Description Robin Lee 2016-03-14 03:08:12 UTC
Description of problem:
Try to open another Notebook through trayicon. I have two Notebooks with the same name 'Notes'.

Version-Release number of selected component:
Zim-0.65-1.fc22

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-cheese/zim-server-socket 30
executable:     /usr/bin/zim
kernel:         4.4.3-201.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
widgets.py:2155:get_window:AttributeError: 'AppIndicatorTrayIcon' object has no attribute 'get_toplevel'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/plugins/trayicon.py", line 209, in do_open_notebook
    NotebookDialog.unique(self, self, callback=self.do_activate_notebook).show()
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 2870, in unique
    dialog = klass(*args, **opts)
  File "/usr/lib/python2.7/site-packages/zim/gui/notebookdialog.py", line 281, in __init__
    Dialog.__init__(self, ui, _('Open Notebook')) # T: dialog title
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 2902, in __init__
    self, parent=get_window(ui),
  File "/usr/lib/python2.7/site-packages/zim/gui/widgets.py", line 2155, in get_window
    window = widget.get_toplevel() if widget else None
AttributeError: 'AppIndicatorTrayIcon' object has no attribute 'get_toplevel'

Local variables in innermost frame:
widget: <zim.plugins.trayicon.AppIndicatorTrayIcon object at 0x7fa5baab0850>

Comment 1 Robin Lee 2016-03-14 03:08:16 UTC
Created attachment 1136025 [details]
File: backtrace

Comment 2 Robin Lee 2016-03-14 03:08:17 UTC
Created attachment 1136026 [details]
File: environ

Comment 3 Doncho Gunchev 2016-03-28 20:48:08 UTC
Similar problem has been detected:

Right click on the systray icon and selected "Other..."

reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-dgunchev/zim-server-socket 30
event_log:      2016-03-28-23:44:32> ('report_uReport' completed successfully)
executable:     /usr/bin/zim
kernel:         4.4.6-200.fc22.x86_64
package:        Zim-0.65-1.fc22
reason:         widgets.py:2155:get_window:AttributeError: 'AppIndicatorTrayIcon' object has no attribute 'get_toplevel'
runlevel:       N 5
type:           Python
uid:            1000

Comment 4 Fedora End Of Life 2016-07-19 18:46:13 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.