Bug was an incorrect implementation of TreeModelIface (get_iter would
never stop returning iterators)

Fix is:
diff --git a/dfeet/introspect_data.py b/dfeet/introspect_data.py
index f68ed19..df5ad85 100644
--- a/dfeet/introspect_data.py
+++ b/dfeet/introspect_data.py
@@ -51,6 +51,8 @@ class Node:
         return self.child_list.index(child)
 
     def on_get_iter(self, path):
+        if path[0] >= len(self.child_list):
+            return None
         op = self.child_list[path[0]]
         if len(path) == 1:
             return op

Uploaded to Lucid (needs approval to be released)

** Changed in: d-feet (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: d-feet (Ubuntu)
   Importance: Undecided => Low

** Changed in: d-feet (Ubuntu)
     Assignee: Baptiste Mille-Mathias (bmillemathias) => Robert Ancell 
(robert-ancell)

** Changed in: d-feet (Ubuntu)
       Status: Triaged => Fix Committed

-- 
d-feet crashed with AttributeError in cursor_changed_handler()
https://bugs.launchpad.net/bugs/189543
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to