|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [Gramps-windows] Damaged databaseMy mails to windows will bounce.
http://docs.python.org/library/os.html#os.unlink so it is a remove, and windows does not allow him. If he makes a copy first of the grampsdb directory, can he delete the original file with his normal user files? Benny 2009/11/5 Stephen George <steve_geo@...>: > Hi Devs, > > This question was asked on the windows list, I don't know the answer so > I hope someone over here can help. > > Please ensure replies also cc windows list, as I don't think Felipe is > one the dev list > > Thanks > Steve > > Felipe Schnack wrote: >> Hello, >> >> The "Manage Family Trees" window shows that my database is corrupt (the >> red icon). When I try to click the repair button I get the following >> error, do anyone ever saw this problem? >> >> 478108: ERROR: gramps.py: line 160: Unhandled exception >> Traceback (most recent call last): >> File "C:\Arquivos de programas\gramps\DbManager.py", line 862, in >> __repair_db >> os.unlink(fname) >> WindowsError: [Error 5] Acesso negado: 'D:\\Documents and >> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e' >> >> I can't find a way to know what exactly is wrong about the database, it >> seems to be working fine. >> >> Thanks!! >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gramps-windows mailing list >> Gramps-windows@... >> https://lists.sourceforge.net/lists/listinfo/gramps-windows >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 8.5.424 / Virus Database: 270.14.50/2481 - Release Date: 11/04/09 19:51:00 >> >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gramps-devel mailing list > Gramps-devel@... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gramps-devel mailing list Gramps-devel@... https://lists.sourceforge.net/lists/listinfo/gramps-devel |
|
|
Re: [Gramps-windows] Damaged databaseLooking at http://docs.python.org/library/os.html#os.remove I see
behavior on windows is a bit different, if file in use, an error is given, on unix not Something strange to his path given also: 'D:\\Documents and >>> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e No idea why there is a 49bda94e inside another famility tree. Normally you have something like: $ ls /home/benny/.gramps/grampsdb/49aba165 event.db log.0000000009 log.0000000023 log.0000000037 log.0000000051 log.0000000065 log.0000000079 place.db event.gbkp log.0000000010 log.0000000024 log.0000000038 log.0000000052 log.0000000066 media.db place.gbkp event_id.db log.0000000011 log.0000000025 log.0000000039 log.0000000053 log.0000000067 media.gbkp place_id.db family.db log.0000000012 log.0000000026 log.0000000040 log.0000000054 log.0000000068 media_id.db primary_map.db family.gbkp log.0000000013 log.0000000027 log.0000000041 log.0000000055 log.0000000069 meta_data.db referenced_map.db family_id.db log.0000000014 log.0000000028 log.0000000042 log.0000000056 log.0000000070 meta_data.gbkp reference_map.db log.0000000001 log.0000000015 log.0000000029 log.0000000043 log.0000000057 log.0000000071 name_group.db repo.db log.0000000002 log.0000000016 log.0000000030 log.0000000044 log.0000000058 log.0000000072 name.txt repo.gbkp log.0000000003 log.0000000017 log.0000000031 log.0000000045 log.0000000059 log.0000000073 note.db repo_id.db log.0000000004 log.0000000018 log.0000000032 log.0000000046 log.0000000060 log.0000000074 note.gbkp source.db log.0000000005 log.0000000019 log.0000000033 log.0000000047 log.0000000061 log.0000000075 note_id.db source.gbkp log.0000000006 log.0000000020 log.0000000034 log.0000000048 log.0000000062 log.0000000076 person.db source_id.db log.0000000007 log.0000000021 log.0000000035 log.0000000049 log.0000000063 log.0000000077 person.gbkp surnames.db log.0000000008 log.0000000022 log.0000000036 log.0000000050 log.0000000064 log.0000000078 person_id.db The gbkp are the backup files for the db files. Renaming those to db removing the old db might be how recover works. I never looked at the recover code though, would have to do that to know how it works. Anyway, from the file path given, perhaps there is a directory in the fam tree directory , which cannot be removed with the unlink command. Perhaps revisions (never used those myself)? Benny 2009/11/5 Benny Malengier <benny.malengier@...>: > My mails to windows will bounce. > http://docs.python.org/library/os.html#os.unlink > so it is a remove, and windows does not allow him. > > If he makes a copy first of the grampsdb directory, can he delete the > original file with his normal user files? > > Benny > > 2009/11/5 Stephen George <steve_geo@...>: >> Hi Devs, >> >> This question was asked on the windows list, I don't know the answer so >> I hope someone over here can help. >> >> Please ensure replies also cc windows list, as I don't think Felipe is >> one the dev list >> >> Thanks >> Steve >> >> Felipe Schnack wrote: >>> Hello, >>> >>> The "Manage Family Trees" window shows that my database is corrupt (the >>> red icon). When I try to click the repair button I get the following >>> error, do anyone ever saw this problem? >>> >>> 478108: ERROR: gramps.py: line 160: Unhandled exception >>> Traceback (most recent call last): >>> File "C:\Arquivos de programas\gramps\DbManager.py", line 862, in >>> __repair_db >>> os.unlink(fname) >>> WindowsError: [Error 5] Acesso negado: 'D:\\Documents and >>> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e' >>> >>> I can't find a way to know what exactly is wrong about the database, it >>> seems to be working fine. >>> >>> Thanks!! >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gramps-windows mailing list >>> Gramps-windows@... >>> https://lists.sourceforge.net/lists/listinfo/gramps-windows >>> ------------------------------------------------------------------------ >>> >>> >>> No virus found in this incoming message. >>> Checked by AVG - www.avg.com >>> Version: 8.5.424 / Virus Database: 270.14.50/2481 - Release Date: 11/04/09 19:51:00 >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gramps-devel mailing list >> Gramps-devel@... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gramps-devel mailing list Gramps-devel@... https://lists.sourceforge.net/lists/listinfo/gramps-devel |
|
|
Re: [Gramps-windows] Damaged database> Something strange to his path given also:
> 'D:\\Documents and >>>> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e Windows is installed on D:\ partition isn't it ? Are your local (home) directory mounted ? i.e Felipe.DESKTOP is on an other partition why there is double antislashs \\ ? > C:\Arquivos de programas\gramps\ programs are on C:\ !!! Are you running gramps installed on an other HD ? Benny Malengier a écrit : > Looking at http://docs.python.org/library/os.html#os.remove I see > behavior on windows is a bit different, if file in use, an error is > given, on unix not > > Something strange to his path given also: > 'D:\\Documents and >>>> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e > > No idea why there is a 49bda94e inside another famility tree. Normally > you have something like: > > $ ls /home/benny/.gramps/grampsdb/49aba165 > event.db log.0000000009 log.0000000023 log.0000000037 > log.0000000051 log.0000000065 log.0000000079 place.db > event.gbkp log.0000000010 log.0000000024 log.0000000038 > log.0000000052 log.0000000066 media.db place.gbkp > event_id.db log.0000000011 log.0000000025 log.0000000039 > log.0000000053 log.0000000067 media.gbkp place_id.db > family.db log.0000000012 log.0000000026 log.0000000040 > log.0000000054 log.0000000068 media_id.db primary_map.db > family.gbkp log.0000000013 log.0000000027 log.0000000041 > log.0000000055 log.0000000069 meta_data.db referenced_map.db > family_id.db log.0000000014 log.0000000028 log.0000000042 > log.0000000056 log.0000000070 meta_data.gbkp reference_map.db > log.0000000001 log.0000000015 log.0000000029 log.0000000043 > log.0000000057 log.0000000071 name_group.db repo.db > log.0000000002 log.0000000016 log.0000000030 log.0000000044 > log.0000000058 log.0000000072 name.txt repo.gbkp > log.0000000003 log.0000000017 log.0000000031 log.0000000045 > log.0000000059 log.0000000073 note.db repo_id.db > log.0000000004 log.0000000018 log.0000000032 log.0000000046 > log.0000000060 log.0000000074 note.gbkp source.db > log.0000000005 log.0000000019 log.0000000033 log.0000000047 > log.0000000061 log.0000000075 note_id.db source.gbkp > log.0000000006 log.0000000020 log.0000000034 log.0000000048 > log.0000000062 log.0000000076 person.db source_id.db > log.0000000007 log.0000000021 log.0000000035 log.0000000049 > log.0000000063 log.0000000077 person.gbkp surnames.db > log.0000000008 log.0000000022 log.0000000036 log.0000000050 > log.0000000064 log.0000000078 person_id.db > > > The gbkp are the backup files for the db files. Renaming those to db > removing the old db might be how recover works. I never looked at the > recover code though, would have to do that to know how it works. > > Anyway, from the file path given, perhaps there is a directory in the > fam tree directory , which cannot be removed with the unlink command. > Perhaps revisions (never used those myself)? > > Benny > 2009/11/5 Benny Malengier <benny.malengier@...>: >> My mails to windows will bounce. >> http://docs.python.org/library/os.html#os.unlink >> so it is a remove, and windows does not allow him. >> >> If he makes a copy first of the grampsdb directory, can he delete the >> original file with his normal user files? >> >> Benny >> >> 2009/11/5 Stephen George <steve_geo@...>: >>> Hi Devs, >>> >>> This question was asked on the windows list, I don't know the answer so >>> I hope someone over here can help. >>> >>> Please ensure replies also cc windows list, as I don't think Felipe is >>> one the dev list >>> >>> Thanks >>> Steve >>> >>> Felipe Schnack wrote: >>>> Hello, >>>> >>>> The "Manage Family Trees" window shows that my database is corrupt (the >>>> red icon). When I try to click the repair button I get the following >>>> error, do anyone ever saw this problem? >>>> >>>> 478108: ERROR: gramps.py: line 160: Unhandled exception >>>> Traceback (most recent call last): >>>> File "C:\Arquivos de programas\gramps\DbManager.py", line 862, in >>>> __repair_db >>>> os.unlink(fname) >>>> WindowsError: [Error 5] Acesso negado: 'D:\\Documents and >>>> Settings\\Felipe.DESKTOP\\Meus documentos\\genealogia\\4801322e\\49bda94e' >>>> >>>> I can't find a way to know what exactly is wrong about the database, it >>>> seems to be working fine. >>>> >>>> Thanks!! >>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>>> trial. Simplify your report design, integration and deployment - and focus on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Gramps-windows mailing list >>>> Gramps-windows@... >>>> https://lists.sourceforge.net/lists/listinfo/gramps-windows >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> No virus found in this incoming message. >>>> Checked by AVG - www.avg.com >>>> Version: 8.5.424 / Virus Database: 270.14.50/2481 - Release Date: 11/04/09 19:51:00 >>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Gramps-devel mailing list >>> Gramps-devel@... >>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >>> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gramps-devel mailing list > Gramps-devel@... > https://lists.sourceforge.net/lists/listinfo/gramps-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gramps-devel mailing list Gramps-devel@... https://lists.sourceforge.net/lists/listinfo/gramps-devel |
| Free embeddable forum powered by Nabble | Forum Help |