From: Peter L. <pet...@te...> - 2008-10-30 20:48:23
|
Doug, When grams run, it uses the files in /usr/local/share/gramps. If you modify DbManager.py in ~/downloads/gramps-3.0.2/src, you must do a "make install" as root, in ~/downloads/gramps-3.0.2. /Peter > I have DbManager.py in /usr/local/share/gramps (Date modified 13 Oct > 2008) and also ~/downloads/gramps-3.0.2/src (Date modified 27 Sep 2008). > I presume the ~/downloads is the one to edit and then re-installation > will change the /usr/local version. Is that right? > > Doug > > Benny Malengier wrote: > > <snip> > > > > The fix will be in 3.0.4 when released. This can still take a while, > > although this is the second more important fix. > > If you want the fix now, you can use branch30 from subversion (info on > > our wiki, but you need to be a technical person to do it), or do the > > fix manually yourself (again, some daring needed). The patch is very > > simple: > > > > --- src/DbManager.py (revision 11214) > > +++ src/DbManager.py (working copy) > > @@ -631,7 +631,8 @@ > > node = self.model.get_iter(path) > > old_text = self.model.get_value(node, NAME_COL) > > if not old_text.strip() == new_text.strip(): > > - if len(path) > 1 : > > + if ":" in path : > > self.__rename_revision(path, new_text) > > else: > > self.__rename_database(path, new_text) > > > > The - is deleted line, and the + added line. You find the file > > DbManager.py on your computer (eg with the locate command). > > For the normal user, it is best to do just wait for version 3.0.4 to > > be released. > > > > Benny > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users -- Peter Landgren Talken Hagen 671 94 BRUNSKOG 0570-530 21 070-635 4719 pet...@te... Skype: pgl4820.2 |