From: Don A. <don...@co...> - 2006-11-04 17:41:42
|
Have you tried switching back to python 2.4? Switching to python 2.5 on an active database is not a good idea. It changes the database access method.=20 You should backup to database using the XML output format. This format is independent of any backend database changes that may occur. Don=20 On Sat, 2006-11-04 at 15:44 +0000, Oliver Kayas wrote: > Hi Everyone >=20 > I'm using Ubuntu Edgy Eft. I created my family tree using Gramps version = 2.0.11. > I recently installed version 2.2.1 and the database worked fine. Today I > installed version 2.2.2 and the database did not open. I have tried openi= ng the > file in versions 2.0.11, 2.2.1 and 2.2.2 and it won't open in any of them= . Even > my backup file won't open in any of these versions of gramps. When I try = to open > it in version 2.2.2 it gives me the following error message: - >=20 > 4395: ERROR: __init__.py: line 1091: Failed to open database. > Traceback (most recent call last): > File "/usr/share/gramps/DbLoader.py", line 419, in read_file > self.dbstate.db.load(filename,self.uistate.pulse_progressbar,mode) > File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 365, in load > self.metadata =3D self.open_table(self.full_name,"meta") > File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 166, in open_ta= ble > dbmap.open(file_name, table_name, dbtype, self.open_flags(), 0666) > DBInvalidArgError: (22, 'Invalid argument -- /home/kayas80/Desktop/oliver= kayas > family tree.grdb: unexpected file type or format') >=20 > I edited /usr/bin/gramps to force version 2.5 instead of version 2.4 of P= ython > as was suggested in a post I read and it made no difference. I'm a real b= eginner > to Linux so any help would be GREATLY appreciated. Please don't tell me t= he > files have been corrupted beyond repair - there is years of work that wil= l be > forever lost!!! Many thanks. >=20 >=20 > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel |