* 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 06e8b2d74e
commit 76d2ea9c44
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> 2006-12-01 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DataViews/_RelationView.py: Show buttons for reorder and add * src/DataViews/_RelationView.py: Show buttons for reorder and add
parents in case the toolbar is not visible. 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 # Attempt to clear log sequence numbers, to make database portable
# This will only work for python2.5 and higher # This will only work for python2.5 and higher
try: # Comment this our because it causes crashes.
self.env.lsn_reset(self.full_name) # To reproduce the crash, create a new DB, import example.gramps, open and close the db a few times.
except AttributeError: # try:
pass # self.env.lsn_reset(self.full_name)
# except AttributeError:
# pass
self.env.close() self.env.close()