Zim

Fwd: [abrt] Zim-0.59-1.fc18: pageview.py:4797:_set_menuitems_sensitive:AttributeError: 'gtk.TextBuffer' object has no attribute 'get_insert_iter'

Bug #1122748 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Undecided
Unassigned

Bug Description

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

Description of problem:
I think I played with toolbar visibility at the moment

Version-Release number of selected component:
Zim-0.59-1.fc18

Additional info:
cmdline: /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-kparal/zim-server-socket 30
executable: /usr/bin/zim
kernel: 3.7.6-201.fc18.x86_64
uid: 1000

Truncated backtrace:
pageview.py:4797:_set_menuitems_sensitive:AttributeError: 'gtk.TextBuffer' object has no attribute 'get_insert_iter'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 4783, in set_readonly
    self._set_menuitems_sensitive(True)
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 4797, in _set_menuitems_sensitive
    iter = buffer.get_insert_iter()
AttributeError: 'gtk.TextBuffer' object has no attribute 'get_insert_iter'

Local variables in innermost frame:
buffer: <gtk.TextBuffer object at 0x23ee140 (GtkTextBuffer at 0x274f4a0)>
action: <gtk.Action object at 0x25e35a0 (GtkAction at 0x2747cb0)>
self: <PageView object at 0x25da5f0 (zim+gui+pageview+PageView at 0x24d25d0)>
sensitive: True

Tags: pageview 2min
tags: added: pageview
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

This could happen if no page is loaded, will fix init of the widget

tags: added: 2min
Changed in zim:
status: New → Confirmed
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.