Doug,
with all the date work you have done in trunk, could you take a look at this?

Ken,
this is a development version, thanks for the bug submission, but know that the code is not stable and not for day to day use. We would also be gratefull if you post bugs in development version on the bug tracker instead of this mailing list: http://bugs.gramps-project.org

Benny

2007/12/10, Ken <matlow@slingshot.co.nz>:
User Information:
===================

After opening Gramps I begun merging duplicate places.
I had processed some when this error happened.


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

662019: ERROR: gramps.py: line 165: Unhandled exception
Traceback (most recent call last):
  File "/home/benny/gramps30/src/Merge/_MergePlace.py", line 150, in merge
    person = self.db.get_person_from_handle(handle)
  File "/home/benny/gramps30/src/gen/db/base.py", line 750, in
get_person_from_handle
    return self.get_from_handle(handle, Person, self.person_map )
  File "/home/benny/gramps30/src/gen/db/dbdir.py", line 1559, in
get_from_handle
    newobj.unserialize(data)
  File "/home/benny/gramps30/src/gen/lib/person.py", line 190, in
unserialize
    self.primary_name.unserialize(primary_name)
  File "/home/benny/gramps30/src/gen/lib/name.py", line 130, in unserialize
    SourceBase.unserialize(self, source_list)
  File "/home/benny/gramps30/src/gen/lib/srcbase.py", line 71, in
unserialize
    for item in data]
  File "/home/benny/gramps30/src/gen/lib/srcref.py", line 87, in unserialize
    DateBase.unserialize(self, date)
  File "/home/benny/gramps30/src/gen/lib/datebase.py", line 75, in
unserialize
    self.date = Date()
  File "/home/benny/gramps30/src/gen/lib/date.py", line 157, in __init__
    self.sortval  = source.sortval
TypeError: unsupported operand type(s) for %=: 'NoneType' and 'NoneType'


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

Python version: 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) [GCC 4.1.3
20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
BSDDB version: 4.4.5.2
Gramps version: 2.3.91-0.SVN9440
LANG: en_NZ.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs