diff --git a/ChangeLog b/ChangeLog index 501cc96a1..51b343b3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-12-01 Brian Matherly + * src/GrampsDb/_GrampsBSDDB.py: comment out lsn_reset - it causes crashes. + 2006-12-01 Martin Hawlisch * src/DataViews/_RelationView.py: Show buttons for reorder and add parents in case the toolbar is not visible. diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 99525f17b..bb6983ae7 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -1087,10 +1087,12 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback): # Attempt to clear log sequence numbers, to make database portable # This will only work for python2.5 and higher - try: - self.env.lsn_reset(self.full_name) - except AttributeError: - pass +# Comment this our because it causes crashes. +# To reproduce the crash, create a new DB, import example.gramps, open and close the db a few times. +# try: +# self.env.lsn_reset(self.full_name) +# except AttributeError: +# pass self.env.close()