* src/GrampsDb/_GrampsBSDDB.py: comment out lsn_reset - it causes crashes.

svn: r7747
This commit is contained in:
Brian Matherly 2006-12-02 04:20:48 +00:00
parent 4f63ae457d
commit 11335bc6bc
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,6 @@
2006-12-01 Brian Matherly <brian@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: comment out lsn_reset - it causes crashes.
2006-12-01 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_RelationView.py: Show buttons for reorder and add
parents in case the toolbar is not visible.

View File

@ -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()