From owner-freebsd-ports@FreeBSD.ORG Sat Feb 24 07:33:24 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3F2F16A402 for ; Sat, 24 Feb 2007 07:33:24 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 722D913C4C6 for ; Sat, 24 Feb 2007 07:33:24 +0000 (UTC) (envelope-from freebsd@troback.com) Received: from devil.troback.com (c-195-216-040-156.cust.thalamus.net [195.216.40.156]) by mail.gelita.se (Postfix) with ESMTP id 58D0E10F90B; Sat, 24 Feb 2007 08:33:18 +0100 (CET) Date: Sat, 24 Feb 2007 08:33:17 +0100 From: Anders Troback To: Chuck Swiger 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> X-Mailer: Claws Mail 2.7.2 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Troback-MailScanner-Information: Please contact the ISP for more information X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-From: freebsd@troback.com X-Spam-Status: No Cc: FreeBSD Subject: Re: Python and gramps... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 07:33:24 -0000 On Fri, 23 Feb 2007 14:58:21 -0800 Chuck Swiger 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/ -