From: Josip <jo...@pi...> - 2014-04-13 08:30:24
|
> > On running gramps I changed Date Format from Month-Day-year to > day-month-year in German. On restart I got the error. Might be that I > left gramps from "Schaubilder (views)" view? > > > Error Details: > =================== > > 15551: ERROR: grampsapp.py: line 116: Unhandled exception > Traceback (most recent call last): > File ".\gramps\gui\viewmanager.py", line 1021, in view_changed > self.__change_page(page_num) > File ".\gramps\gui\viewmanager.py", line 1034, in __change_page > self.active_page.set_active() > File ".\gramps\gui\views\listview.py", line 298, in set_active > NavigationView.set_active(self) > File ".\gramps\gui\views\navigationview.py", line 155, in set_active > PageView.set_active(self) > File ".\gramps\gui\views\pageview.py", line 309, in set_active > self.build_tree() > File ".\gramps\gui\views\listview.py", line 329, in build_tree > sort_map=self.column_order()) > File ".\gramps\gui\views\treemodels\peoplemodel.py", line 567, in > __init__ > order=order, sort_map=sort_map) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 348, in > __init__ > self.rebuild_data(self.current_filter, skip=skip) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 517, in > rebuild_data > self._build_data(self.current_filter, None, skip) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 586, in > _rebuild_filter > self.gen_cursor, self.map, self.add_row) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 645, in > __rebuild_filter > add_func(handle, data) > File ".\gramps\gui\views\treemodels\peoplemodel.py", line 619, in add_row > self.add_node(group_name, handle, sort_key, handle) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 670, in > add_node > self.add_node(None, parent, parent, None, add_parent=False) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 680, in > add_node > parent_node.add_child(child_node, self.nodemap) > File ".\gramps\gui\views\treemodels\treebasemodel.py", line 125, in > add_child > index = bisect_right(self.children, (node.sortkey, nodeid)) > TypeError: unorderable types: str() < bytes() > Thanks for testing! We can't mix types in sorting in python3. Somebody will have to look that. -- Josip |