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....


2008/10/8 Russell Harrison <>
User Information:

trying to sort my list of families by last changed

Error Details:

7675064: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/", line 676, in column_clicked
 File "/usr/share/gramps/DisplayModels/", line 81, in __init__
   search=search, skip=skip, sort_map=sort_map)
 File "/usr/share/gramps/DisplayModels/", line 177, in __init__
 File "/usr/share/gramps/DisplayModels/", line 217, in
   dlist = [ k for k in self.sort_keys() \
 File "/usr/share/gramps/DisplayModels/", line 188, in sort_keys
   key = locale.strxfrm(self.sort_func(data[1]))
 File "/usr/share/gramps/DisplayModels/", line 124, in
   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:
Gramps version: 2.2.10-1
OS: Linux

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
Gramps-bugs mailing list