From: Peter L. <pet...@te...> - 2010-10-25 06:11:49
|
Did svn up and no problems with person view. And yes I have a bunch people without surnames. I tried to load all plugings and at the end I got: ERROR .: Unhandled exception Traceback (most recent call last): File "/home/peter/svn/GRAMPS/trunk/src/gui/plug/_windows.py", line 383, in __get_all_addons load_addon_file(url, callback=pm.append_message) File "/home/peter/svn/GRAMPS/trunk/src/gen/plug/utils.py", line 214, in load_addon_file buffer = cStringIO.StringIO(fp.read()) File "/usr/lib/python2.6/socket.py", line 329, in read data = self._sock.recv(rbufsize) error: [Errno 104] Förbindelse borttagen av partnern (meaning The connection deleted by the partner) I also get many messages on the console. Shall I catch the and report? /Peter > 2010/10/24 Benny Malengier <ben...@gm...> > > > 2010/10/24 Peter Landgren <pet...@te...> > > > >> OK, > > > >> Import OK, but when I click on person view I get: > > Did you do something else apart from import? > > You have a name with the surname list empty. I still have to add checks > > in the interface to make sure that cannot happen. Perhaps you made it > > like that? If not, the import code contains an error somewhere I must > > track. > > I will try to have it that no surname list is allowed. Svn up, and this > error should go away. > Check the people with no surname if no error happened on import, that is, > surname not being set on import. > > Benny > > > Benny > > > >> ERROR .: Unhandled exception > >> > >> Traceback (most recent call last): > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/viewmanager.py", line 649, > >> in > >> > >> view_changed > >> > >> self.__change_page(page_num) > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/viewmanager.py", line 1133, > >> in > >> > >> __change_page > >> > >> self.active_page.set_active() > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/plugins/lib/libpersonview.py", > >> > >> line 397, in set_active > >> > >> ListView.set_active(self) > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/views/listview.py", line > >> 247, > >> > >> in set_active > >> > >> NavigationView.set_active(self) > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/views/navigationview.py", > >> line > >> > >> 152, in set_active > >> > >> PageView.set_active(self) > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/views/pageview.py", line > >> 219, > >> > >> in set_active > >> > >> self.build_tree() > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/views/listview.py", line > >> 267, > >> > >> in build_tree > >> > >> sort_map=self.column_order()) > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/peoplemodel.py", > >> line 468, in __init__ > >> > >> scol=scol, order=order, sort_map=sort_map) > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/flatbasemodel.py" > >> , line 407, in > >> __init__ > >> > >> self.rebuild_data() > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/flatbasemodel.py" > >> , line 507, in > >> _rebuild_search > >> > >> allkeys = self.sort_keys() > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/flatbasemodel.py" > >> , line 496, in > >> sort_keys > >> > >> self.sort_func(data)), key) for key, data in cursor) > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/flatbasemodel.py" > >> , line 496, in > >> <genexpr> > >> > >> self.sort_func(data)), key) for key, data in cursor) > >> > >> File > >> > >> "/home/peter/svn/GRAMPS/trunk/src/gui/views/treemodels/peoplemodel.py", > >> line 188, in > >> sort_name > >> > >> return (n.get_primary_surname().get_surname(), n.get_first_name()) > >> > >> AttributeError: 'NoneType' object has no attribute 'get_surname' > >> > >> Then, if I click another view I get: > >> ERROR: gramps.py: line 142: Unhandled exception > >> > >> Traceback (most recent call last): > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/viewmanager.py", line 649, > >> in > >> > >> view_changed > >> > >> self.__change_page(page_num) > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/viewmanager.py", line 1130, > >> in > >> > >> __change_page > >> > >> self.__disconnect_previous_page() > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/viewmanager.py", line 1163, > >> in > >> > >> __disconnect_previous_page > >> > >> self.active_page.set_inactive() > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/plugins/lib/libpersonview.py", > >> > >> line 405, in set_inactive > >> > >> self.uistate.viewmanager.tags.tag_disable() > >> > >> File "/home/peter/svn/GRAMPS/trunk/src/gui/views/tags.py", line 128, in > >> > >> tag_disable > >> > >> self.uistate.uimanager.remove_ui(self.tag_id) > >> > >> TypeError: Parameter 'merge_id' must be an int or a long > >> > >> If I start Gramps in all other views except person view, I see all my > >> data. As soon as move to > >> Person view the above happens. > >> > >> /Peter -- Peter Landgren Talken Hagen 671 94 BRUNSKOG 0570-530 21 070-345 0964 pet...@te... Skype: pgl4820.2 |