It would appear one of your last changed data are not a valid date/string
Is is possible to go over the column of the families and see if there is one with bad data?

If you cannot find the date entry causing the issue, can you export to .gramps format, and then import that again, and retry? Does it still happen?

Otherwise I would need data to reproduce the issue on my PC. If it is corruption of the data due to an external problem, I believe it best to have a crash allowing to correct the problem (and trying to fix the thing causing the corruption), than to have gramps ignoring the corruption meaning you never know there is a problem....

Benny

2008/10/8 Russell Harrison <rtlm10@gmail.com>
User Information:
===================

trying to sort my list of families by last changed


Error Details:
===================

7675064: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/PageView.py", line 676, in column_clicked
   sort_map=self.column_order())
 File "/usr/share/gramps/DisplayModels/_FamilyModel.py", line 81, in __init__
   search=search, skip=skip, sort_map=sort_map)
 File "/usr/share/gramps/DisplayModels/_BaseModel.py", line 177, in __init__
   self.rebuild_data()
 File "/usr/share/gramps/DisplayModels/_BaseModel.py", line 217, in
_rebuild_filter
   dlist = [ k for k in self.sort_keys() \
 File "/usr/share/gramps/DisplayModels/_BaseModel.py", line 188, in sort_keys
   key = locale.strxfrm(self.sort_func(data[1]))
 File "/usr/share/gramps/DisplayModels/_FamilyModel.py", line 124, in
sort_change
   return "%012x" % data[13]
TypeError: not all arguments converted during string formatting


System Information:
===================

Python version: 2.5.1 (r251:54863, Jun 15 2008, 18:24:51) [GCC 4.3.0
20080428 (Red Hat 4.3.0-8)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.10-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.26.5-45.fc9.i686

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs