Zim

Fwd: [abrt] Zim-0.55-1.fc16: pageview.py:2549:paste_clipboard:AttributeError: 'NoneType' object has no attribute 'resolve_images'

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

Bug Description

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

libreport version: 2.0.8
abrt_version: 2.0.7
cmdline: /usr/bin/python /usr/bin/zim
comment: Creating new page
executable: /usr/bin/zim
kernel: 3.3.0-4.fc16.x86_64
reason: pageview.py:2549:paste_clipboard:AttributeError: 'NoneType' object has no attribute 'resolve_images'
time: Tue 27 Mar 2012 08:13:56 BST
uid: 1000
username: pier

backtrace:
:pageview.py:2549:paste_clipboard:AttributeError: 'NoneType' object has no attribute 'resolve_images'
:
:Traceback (most recent call last):
: File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 3287, in do_button_press_event
: buffer.paste_clipboard(SelectionClipboard, iter, self.get_editable())
: File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 2549, in paste_clipboard
: parsetree.resolve_images(self.notebook, self.page)
:AttributeError: 'NoneType' object has no attribute 'resolve_images'
:
:Local variables in innermost frame:
:self: <TextBuffer object at 0x2ca4410 (zim+gui+pageview+TextBuffer at 0x2db5300)>
:iter: <GtkTextIter at 0x2e7a0a0>
:mark: <gtk.TextMark object at 0x2c9bd20 (GtkTextMark at 0x2e5f360)>
:clipboard: <zim.gui.clipboard.ClipboardManager object at 0x297d190>
:parsetree: None
:default_editable: True

Revision history for this message
Robin Lee (cheeselee) wrote :

Reproducible with these steps:
1) create new page
2) write 'reproducer'
3) use the mouse to select the word
4) press middle mouse button (wheel)

[Boom!]

https://bugzilla.redhat.com/show_bug.cgi?id=807149#c4

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in rev 543

Changed in zim:
status: New → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in zim 0.57

Changed in zim:
status: Fix Committed → Fix Released
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.