Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2007 08:33:17 +0100
From:      Anders Troback <freebsd@troback.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Python and gramps...
Message-ID:  <20070224083317.79ebd5fa@devil.troback.com>
In-Reply-To: <6669CD12-8C90-4CB4-92B8-CB673B8A502E@mac.com>
References:  <20070223232142.11fe263f@devil.troback.com> <6669CD12-8C90-4CB4-92B8-CB673B8A502E@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Feb 2007 14:58:21 -0800
Chuck Swiger <cswiger@mac.com> wrote:

> On Feb 23, 2007, at 2:21 PM, Anders Troback wrote:
> > The port builds fine but when I'm start up the program and tries to
> > do things in the program I've got errors. The following error
> > occurs when I'm trying to create a new file:
> >
> > 8<-------------------------------------------------------------------
> > 13416: 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 =20
> > 347, in
> > load self.env.set_flags(db.DB_LOG_AUTOREMOVE,1)  # clean up unused =20
> > logs
> > AttributeError: 'module' object has no attribute 'DB_LOG_AUTOREMOVE'
> > 8<-------------------------------------------------------------------
> >
> > Similar error pops up almost every were! One person in the gramps ML
> > are hinting to a problem with the installation of BSDDB. I don't
> > know mush about Python so I'm kind of lost here!
>=20
> I think you need to choose a particular flavor of BDB which is
> recent enough to support these log capabilities; try setting
> something like these in /etc/make.conf:
>=20
> WITH_BERKELEYDB=3Ddb42
> WITH_BDB_VER=3D42
>=20
> ...or choose some other recent 4.x version, and then try =20
> reinstalling /usr/ports/databases/py-bsddb.
>=20

Yes, thanks that did it!

How do I reflect this in my port?


\\troback

--=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
How many Microsoft employees does it take to screw in a light bulb?
None, they declare darkness a new standard.
----------------------------------------------------------------
Anders Trob=E4ck
http://www.troback.com/
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070224083317.79ebd5fa>