From: Alexandre Duret-L. <ad...@sr...> - 2003-12-01 18:58:50
|
>>> "Don" == Don Allingham <don...@co...> writes: Don> On Sun, 2003-11-30 at 13:33, Alexandre Duret-Lutz wrote: >> >>> "adl" == Alexandre Duret-Lutz <ad...@us...> writes: >> >> [...] >> adl> File "/home/adl/usr/share/gramps/PeopleStore.py", line 199, in remove adl> iter_parent = self.model.iter_parent (iter) adl> TypeError: child should be a GtkTreeIter >> >> This seems to happen on people who have no parents. Don> I can seem to reproduce this. It may be data dependent. Can you send me Don> a test case with instructions on how to duplicate this? While trying to construct a test case from scratch, I found out another issue: you can't add anybody to an empty database. I think this is a different error because the Python trace is different, but maybe I'm wrong. Anyway maybe you can fix this first, so I can construct a test case for the other one. Here is how to reproduce this: 1. start gramps on an empty database 2. in the (empty) "people listing" view, click on the "+" button 3. enter a dummy name for this person 4. try to click on "Ok": boom! Traceback (most recent call last): File "/home/adl/usr/share/gramps/EditPerson.py", line 1512, in on_apply_person_clicked self.callback(self,self.add_places) File "/home/adl/usr/share/gramps/gramps_main.py", line 1591, in new_after_edit self.people_view.redisplay_person_list(epo.person) File "/home/adl/usr/share/gramps/PeopleView.py", line 399, in redisplay_person_list self.add_to_person_list(person,1) File "/home/adl/usr/share/gramps/PeopleView.py", line 212, in add_to_person_list self.goto_active_person() File "/home/adl/usr/share/gramps/PeopleView.py", line 243, in goto_active_person self.ptabs.set_current_page(self.model2page[model]) KeyError: <PeopleStore.PeopleStore instance at 0x4156ff4c> -- Alexandre Duret-Lutz |