From: <rom...@ya...> - 2007-12-28 21:18:56
|
After updating configure.in (rev 9614), no keys.ini mistakes (not yet). I am able to load Family Tree database previously created but cannot create a new one : 43837: ERROR: gramps.py: line 165: Unhandled exception Traceback (most recent call last): File "/home/jerome/gramps30/src/DbManager.py", line 753, in __new_db self.__create_new_db() File "/home/jerome/gramps30/src/DbManager.py", line 763, in __create_new_db new_path = self.__create_new_db_cli(title) AttributeError: DbManager instance has no attribute '_DbManager__create_new_db_cli' Douglas S. Blank a écrit : > I suspect that these errors are related to the changes that Benny is > making. Here is a quick-n-dirty patch to keep svn working: > > Index: src/Config/_GrampsGconfKeys.py > =================================================================== > --- src/Config/_GrampsGconfKeys.py (revision 9614) > +++ src/Config/_GrampsGconfKeys.py (working copy) > @@ -101,7 +101,10 @@ > val = client.get(key) > if val == None: > return None > - val = client.get_bool(key) > + try: > + val = client.get_bool(key) > + except: > + val = False > if val in (True, False): > return val > else: > Index: src/ArgHandler.py > =================================================================== > --- src/ArgHandler.py (revision 9614) > +++ src/ArgHandler.py (working copy) > @@ -450,7 +450,7 @@ > > elif Config.get(Config.RECENT_FILE) and Config.get(Config.AUTOLOAD): > filename = Config.get(Config.RECENT_FILE) > - self.vm.db_loader.read_file(filename, const.APP_GRAMPS) > + self.vm.db_loader.read_file(filename) #, const.APP_GRAMPS) > return (filename, const.APP_GRAMPS) > > #if os.path.isfile(rf): > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |