Zim

Fwd: [abrt] Zim: widgets.py:2155:get_window:AttributeError: 'AppIndicatorTrayIcon' object has no attribute 'get_toplevel'

Bug #1556729 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Committed
Medium
Unassigned

Bug Description

https://bugzilla.redhat.com/show_bug.cgi?id=1317339

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>

Changed in zim:
status: New → Confirmed
importance: Undecided → Medium
Changed in zim:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.