Zim

Fwd: [abrt] Zim-0.53-1.fc15: pageindex.py:590:do_drag_data_received:TypeError: 'NoneType' object is not iterable

Bug #905226 reported by Robin Lee
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

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

abrt version: 2.0.3
architecture: i686
cmdline: /usr/bin/python /usr/bin/zim
comment: Not sure how, but this error keeps coming since I use Zim 0.53.
This is the stable repo version. I do nothing fancy.
component: Zim
executable: /usr/bin/zim
kernel: 2.6.41.4-1.fc15.i686
os_release: Fedora release 15 (Lovelock)
package: Zim-0.53-1.fc15
reason: pageindex.py:590:do_drag_data_received:TypeError: 'NoneType'
object is not iterable
time: Wed Dec 14 16:57:43 2011
uid: 500
username: mt

backtrace:
:pageindex.py:590:do_drag_data_received:TypeError: 'NoneType' object is not
iterable
:
:Traceback (most recent call last):
: File "/usr/lib/python2.7/site-packages/zim/gui/pageindex.py", line 590, in
do_drag_data_received
: treepath, position = self.get_dest_row_at_pos(x, y)
:TypeError: 'NoneType' object is not iterable
:
:Local variables in innermost frame:
:info: 2
:dragcontext: <gtk.gdk.DragContext object at 0xa978a04 (GdkDragContext at
0xa502e18)>
:selectiondata: <GtkSelectionData at 0xbf80bff4>
:self: <PageTreeView object at 0xa554734 (zim+gui+pageindex+PageTreeView at
0xa5ca1d8)>
:source: <Path: memo:tecoz>
:names: [u'memo:tecoz']
:time: 32779599
:y: 408
:x: 24

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

Patch:

< treepath, position = self.get_dest_row_at_pos(x, y)

> dest_row = self.get_dest_row_at_pos(x, y)
> if dest_row is None:
> return
> else:
> treepath, position = pos

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

Will commit in rev 632

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

Fix released in version 0.59

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.