From: Kevin R. <rei...@al...> - 2007-03-20 17:29:09
|
Don, Thanks for your response. I have both db41 (db-4.1.25_4) and db42 (db-4.2.52_5) installed through Ports. (FreeBSD allows db4, 41, 42, 43, and 44 to coexist peacefully). For the time being I've downgraded to gramps-2.0.11_1, which has db41 as a dependency. Which version of db should I use with gramps-2.2? (i.e. which version are most Linux folks using now? db44?) Thanks, Kevin Reinholz Don Allingham wrote: FreeBSD seems to ship with an older version of libdb by default. If you upgrade this, GRAMPS should work. Don On Tue, 2007-03-13 at 08:43 -0600, Kevin Reinholz wrote: > User Information: > =================== > > I received this error when trying to open my .grdb file created with > gramps-2.0.11. > I was able to successfully "open" (not "import"--clicking on the import > command did nothing) a .ged export of the same database, but when > attempting to "save as" a new .grdb file, I received this same error again. > > In the past simply upgrading all python-related Ports fixed any gramps > issues, but this time my python and all related ports are current. > > > Error Details: > =================== > > 1938917: ERROR: DbLoader.py: line 468: Failed to open database. > Traceback (most recent call last): > File "/usr/local/share/gramps/DbLoader.py", line 447, in read_file > self.dbstate.db.load(filename,self.uistate.pulse_progressbar,mode) > File "/usr/local/share/gramps/GrampsDb/_GrampsBSDDB.py", line 347, in load > self.env.set_flags(db.DB_LOG_AUTOREMOVE,1) # clean up unused logs > AttributeError: 'module' object has no attribute > 'DB_LOG_AUTOREMOVE'2284516: ERROR: DbLoader.py: line 490: Failed to open > database. > Traceback (most recent call last): > File "/usr/local/share/gramps/DbLoader.py", line 487, in open_saved_as > self.uistate.pulse_progressbar) > File "/usr/local/share/gramps/GrampsDb/_GrampsBSDDB.py", line 464, in > load_from > self.load(filename,callback) > File "/usr/local/share/gramps/GrampsDb/_GrampsBSDDB.py", line 347, in load > self.env.set_flags(db.DB_LOG_AUTOREMOVE,1) # clean up unused logs > AttributeError: 'module' object has no attribute 'DB_LOG_AUTOREMOVE' > > System Information: > =================== > > Python version: 2.4.4 (#2, Feb 14 2007, 16:14:02) [GCC 3.4.6 [FreeBSD] > 20060305] > BSDDB version: 4.3.0.3 > Gramps version: 2.2.6-1 > LANG: en_US.UTF-8 > OS: FreeBSD > Distribution: 6.2-RELEASE |