"User Information:
===================
Error Details:
===================
67073: WARNING: _ReadGedcom.py: line 756: Line 27296 was not understood, so it was ignored.
67074: WARNING: _ReadGedcom.py: line 756: Line 27297 was not understood, so it was ignored.
67075: WARNING: _ReadGedcom.py: line 756: Line 27298 was not understood, so it was ignored.
67076: WARNING: _ReadGedcom.py: line 756: Line 27299 was not understood, so it was ignored.
72095: WARNING: _ReadGedcom.py: line 756: Line 34268 was not understood, so it was ignored.
72097: WARNING: _ReadGedcom.py: line 756: Line 34270 was not understood, so it was ignored.
72097: WARNING: _ReadGedcom.py: line 756: Line 34271 was not understood, so it was ignored.
72098: WARNING: _ReadGedcom.py: line 756: Line 34272 was not understood, so it was ignored.
72100: WARNING: _ReadGedcom.py: line 756: Line 34274 was not understood, so it was ignored.
72101: WARNING: _ReadGedcom.py: line 756: Line 34276 was not understood, so it was ignored.
72102: WARNING: _ReadGedcom.py: line 756: Line 34277 was not understood, so it was ignored.
72103: WARNING: _ReadGedcom.py: line 756: Line 34278 was not understood, so it was ignored.
73134: WARNING: _ReadGedcom.py: line 756: Line 36316 was not understood, so it was ignored.
73138: WARNING: _ReadGedcom.py: line 756: Line 36326 was not understood, so it was ignored.
73140: WARNING: _ReadGedcom.py: line 756: Line 36333 was not understood, so it was ignored.
73143: WARNING: _ReadGedcom.py: line 756: Line 36341 was not understood, so it was ignored.
73145: WARNING: _ReadGedcom.py: line 756: Line 36347 was not understood, so it was ignored.
236670: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
File "/usr/share/gramps/ManagedWindow.py", line 215, in f
self.id2item[item.window_id].present()
File "/usr/share/gramps/ManagedWindow.py", line 388, in present
assert self.window, "ManagedWindow: self.window does not exist!"
AttributeError: RelCalc instance has no attribute 'window'
410118: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
File "/usr/share/gramps/plugins/Verify.py", line 336, in on_apply_clicked
self.window.window.set_cursor(None)
AttributeError: 'NoneType' object has no attribute 'set_cursor'
591765: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
File "/usr/share/gramps/ManagedWindow.py", line 215, in f
self.id2item[item.window_id].present()
File "/usr/share/gramps/ManagedWindow.py", line 388, in present
assert self.window, "ManagedWindow: self.window does not exist!"
AttributeError: RelCalc instance has no attribute 'window'
System Information:
===================
Python version: 2.5 (release25-maint, Mar 15 2007, 10:53:31) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.6-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.20-13-generic
"

Don,
Thanks again! gramps-2.2.6 is working beautifully for me now! Had to do
a little tinkering to get the dependencies to register correctly, so
I'll mention what I did in case this is helpful to another FreeBSD user
experiencing the same problem:
1. add the following lines to /etc/make.conf:
.if ${.CURDIR:M*/databases/py-bsddb}
WANT_BDB_VER=43
.endif
2. reinstall py-bsddb if it is already installed, otherwise install it
normally ("portupgrade -f py24-bsddb" will do the trick for reinstalling)
3. install/upgrade gramps normally (i.e. "portupgrade gramps")
The gramps Port has db42 listed as a required library, yet py-bsddb, one
of the run dependencies for gramps, seems to default to db41. The
py-bsddb Port will build with db41, 42, or 43. (No support listed for
db44). However, building with a version other than db41 requires the
user to specify a db version flag such as the one I used in the above
example. (A complete listing of the db flags that can be used is found
in /usr/ports/Mk/bsd.database.mk).
I don't know of a good way to alert the user to this problem, other than
a notice (pkg-message included with the gramps Port files?) that s/he
must check what version of db py-bsddb is built against, and if
necessary specify a make flag to force py-bsddb to build against a newer
version of db.
Thanks for all of your help! I like the new database views in gramps-2.2.
Kevin Reinholz
Don Allingham wrote:
The more recent db the better. I think we would prefer db43 or higher.
Don
On Tue, 2007-03-20 at 11:15 -0600, Kevin Reinholz wrote:
> 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

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details