From: Benny M. <ben...@gm...> - 2008-10-01 07:25:25
|
The database format GRAMPS uses is not a real file, so you cannot move or rename it, see http://gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb So go back to the original position and export the data instead. Always keep .gramps files of your work, GRAMPS 2.2.x stores them automatically where the .grdb file is as .backup.gramps. As you use ubuntu, you can upgrade to version 3.0.1 with many new features with the package on our website. This error is less likely there Benny 2008/9/29 Mike Stuart <mik...@ya...> > User Information: > =================== > > I moved my .grdb file into another folder and attempted to open GRAMPS by > double-clicking on the file itself. > > > Error Details: > =================== > > 47846: ERROR: gramps.py: line 148: Unhandled exception > Traceback (most recent call last): > File "/usr/share/gramps/ViewManager.py", line 899, in new_activate > (filename,filetype) = self.db_loader.new_file() > File "/usr/lib/python2.5/warnings.py", line 62, in warn > globals) > File "/usr/lib/python2.5/warnings.py", line 83, in warn_explicit > for item in filters: > File "/usr/share/gramps/DbLoader.py", line 179, in new_file > self.read_file(filename,filetype) > File "/usr/share/gramps/DbLoader.py", line 436, in read_file > self.dbstate.change_database(dbclass(Config.get(Config.TRANSACTIONS))) > File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 2406, in > change_database > self.db.close() > File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1075, in close > self._close_metadata() > File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 994, in > _close_metadata > self.metadata.put('name_formats',self.name_formats,txn=the_txn) > AttributeError: 'NoneType' object has no attribute 'put' > > > System Information: > =================== > > Python version: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 > (Ubuntu 4.2.3-2ubuntu7)] > BSDDB version: 4.4.5.3 > Gramps version: 2.2.10-1 > LANG: en_US.UTF-8 > OS: Linux > Distribution: 2.6.24-19-generic > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gramps-bugs mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-bugs > > |