diff --git a/src/GrampsBSDDB.py b/src/GrampsBSDDB.py index 9209209d6..43b3b69b3 100644 --- a/src/GrampsBSDDB.py +++ b/src/GrampsBSDDB.py @@ -513,8 +513,11 @@ class GrampsBSDDB(GrampsDbBase): existing_references = set() primary_cur = self.get_reference_map_primary_cursor() - - ret = primary_cur.set(handle) + + try: + ret = primary_cur.set(handle) + except: + ret = None while (ret is not None): (key,data) = ret