ports/113479: Gramps 2.2.x needs py-bsddb with db43 on FreeBSD
Petr Holub
hopet at ics.muni.cz
Fri Jun 8 12:30:05 UTC 2007
>Number: 113479
>Category: ports
>Synopsis: Gramps 2.2.x needs py-bsddb with db43 on FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 08 12:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Petr Holub
>Release: FreeBSD 6.2-RELEASE-p4 i386
>Organization:
Masaryk University
>Environment:
System: FreeBSD evenstar.ics.muni.cz 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When Gramps version 2.2.x opens some database using db41 as FreeBSD
defaults with py-bsddb, it crashes. Discussion of the problem including
possible solution can be found in gramps-bug@ list:
http://sourceforge.net/mailarchive/forum.php?thread_name=200706061425.l56EP3Ys023918%40dior.ics.muni.cz&forum_name=gramps-bugs
>How-To-Repeat:
Open a database (esp. the ones created using Gramps 2.0.x) and you get
the following error:
5392: 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'42364: 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'
>Fix:
Use
USE_BDB= 43+
in databases/py-bsddb/Makefile instead of the original
USE_BDB= yes
and rebuild the py-bsddb.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list