Date: Sat, 26 Jun 2010 22:58:58 -0600 (MDT) From: Bob Melson <melsonr@earthlink.net> To: linimon@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/147669: science/gramps fails to start Message-ID: <201006270458.o5R4wwbV048601@strider.rgmhome.net> In-Reply-To: <201006270428.o5R4SlQG036353@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is what I see when I try to import a gedcom file into gramps. The process followed is: 1) create a new family tree by clicking on Famly Trees -> Manage Family Trees and selecting "New" from the options on the right of the screen, then selecting "Load Family Tree" when it has been created. 2) Family Trees -> Import, then selecting a gedcom file to attempt to import. Error is as below. I had already rebuilt py-bsdbb to 4.3 as part of my flailing at the problem. Existing databases/family trees do not reliably or consistently load. I can't presently provide an error message, but will do so the next time the error occurs. User Information: =================== Error Details: =================== 28720: ERROR: dbloader.py: line 247: Failed to import database. Traceback (most recent call last): File "/usr/local/share/gramps/gui/dbloader.py", line 237, in do_import self._pulse_progress) File "/usr/local/share/gramps/plugins/import/ImportGedcom.py", line 124, in importData gedparse.parse_gedcom_file(False) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2259, in parse_gedcom_file self.__parse_record() File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2587, in __parse_record self.__parse_indi(line) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2688, in __parse_indi self.__parse_level(state, self.indi_parse_tbl, self.__person_event) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2634, in __parse_level func(line, state) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2866, in __person_name self.__parse_level(sub_state, self.name_parse_tbl, self.__undefined) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 2634, in __parse_level func(line, state) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 3249, in __name_sour sref = self.handle_source(line, state.level) File "/usr/local/share/gramps/plugins/lib/libgedcom.py", line 5565, in handle_source self.dbase.commit_source(src, self.trans) File "/usr/local/share/gramps/gen/db/write.py", line 1423, in commit_source transaction, change_time) File "/usr/local/share/gramps/gen/db/write.py", line 1342, in commit_base data_map.put(handle, obj.serialize()) File "/usr/local/lib/python2.6/bsddb/dbshelve.py", line 249, in put return self.db.put(key, data, txn, flags) DBInvalidArgError: (22, 'Invalid argument -- DB handle previously used in transaction, missing transaction handle') System Information: =================== Python version: 2.6.5 (r265:79063, Jun 20 2010, 21:21:41) [GCC 4.2.1 20070719 [FreeBSD]] BSDDB version: 4.7.3 Gramps version: 3.2.3-1 LANG: OS: FreeBSD Distribution: 8.0-STABLE GTK version : (2, 20, 1) pygtk version : (2, 17, 0) gobject version: (2, 21, 1) cairo version : (1, 8, 8) > Synopsis: science/gramps fails to start > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Sun Jun 27 04:28:04 UTC 2010 > State-Changed-Why: > >From misfiled PR ports/148171: > > Date: Sun, 27 Jun 2010 01:18:57 +0400 > From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> > To: bug-followup@FreeBSD.org > Subject: Re: ports/147669 > > Can you please show us error messages when you trying to start with > preexisting database? And when you trying to import files in gedcom format. > > -- > Regards, > Ruslan > > >From misfiled PR ports/148172: > > Date: Sun, 27 Jun 2010 01:38:01 +0400 > From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> > To: bug-followup@FreeBSD.org > Subject: Re: ports/147669 > > And make sure that you follow pkg-message instructions: > > === > GRAMPS needs py-bsddb to be compiled with: > > WITH_BERKELEYDB=db43 > WITH_BDB_VER=43 > > > You can do like this to make that happen: > > echo "WITH_BERKELEYDB=db43" >> /etc/make.conf > echo "WITH_BDB_VER=43" >> /etc/make.conf > cd /usr/ports/databases/py-bsddb > make clean all deinstall reinstall clean > === > > I didn't work for me until i rebuild py-bsddb with bdb43. > > -- > Regards, > Ruslan > > http://www.freebsd.org/cgi/query-pr.cgi?pr=147669 -- Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas ----- Nothing astonishes men so much as common sense and plain dealing. Ralph Waldo Emerson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006270458.o5R4wwbV048601>