From: <ben...@ug...> - 2007-03-12 09:00:53
|
Marlaina, indeed you need at least pygtk 2.5.0. You could correct the error you have with > File "/usr/share/gramps/GrampsWidgets.py", line 122, in IconButton > def __init__(self, func, handle, icon=gtk.STOCK_EDIT, > AttributeError: 'module' object has no attribute 'STOCK_EDIT' by opening that file and replacing STOCK_EDIT by eg STOCK_FIND, as here http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html#GTK-STOCK-EDIT:CAPS its shows that the STOCK_EDIT icon is from a more recent gtk 2.6 version. However, probably another error will pop up once you solve this one. Upgrading pygtk would be a major difficulty I think, you better don't consider it (it will depend on recent GTK, which will depend on ....). CentOS is a server linux distribution (copy of red hat), having the latest desktop packages is not so important for red hat, stability is. As a normal desktop user not needing the server applications, you are better of with Fedora, opensuse or ubuntu. Upgrading to a more recent distribution is an easier path, if that is available for you. (note that centOS 5 should be released soon, as new redhat was released recently). Otherwise, you can wait a bit. I think with Ubuntu Feisty (beginning of april), Alex will release a new genealogy live cd, with 2.2.6 on it. You could try that. Actually, you can try the present live cd (http://www.gramps-project.org/wiki/index.php?title=Linux_Genealogy_CD), but that has an older GRAMPS version on it (2.0.1 ??) Benny Quoting Marlaina Barr <mar...@gc...>: > Arghhhhhh, > > Regarding the email I sent earlier, yum and apt-get both gave me > gramps-2.2.5, not 2.2.6. The error messages in the email below came > when I tried to run gramps 2.2.5. And while yum and apt told me I had > the dependencies needed, the gramps link below says I need the pygtk > package version 2.5.0 for GRAMPS 2.0. I only have pygtk2-2.4.0-1 > > I have not been able to find that pygtk2 package for EL4 (but still > searching), and have not been able to find anything other than > gramps2.2.6 for my distro. > > Thanks, > > Marlaina > > -------------------------------------------------------------------------------------------------------------------------------------------------- > Hi, > > It took a while to find everything, but I do have all the dependencies. > CentOS4 is my distro on i686. > > This is what I get when I try to run gramps-2.2.6 from the command line > (2.0.11 worked for me), and it does not load: > > $gramps > Traceback (most recent call last): > File "/usr/share/gramps/gramps.py", line 97, in ? > import gramps_main > File "/usr/share/gramps/gramps_main.py", line 47, in ? > import ViewManager > File "/usr/share/gramps/ViewManager.py", line 68, in ? > import GrampsCfg > File "/usr/share/gramps/GrampsCfg.py", line 47, in ? > from GrampsWidgets import * > File "/usr/share/gramps/GrampsWidgets.py", line 120, in ? > class IconButton(gtk.Button): > File "/usr/share/gramps/GrampsWidgets.py", line 122, in IconButton > def __init__(self, func, handle, icon=gtk.STOCK_EDIT, > AttributeError: 'module' object has no attribute 'STOCK_EDIT' > > I have no idea what to do, but I sure would like this version. > > Marlaina Barr > > > On Sun, 2007-03-11 at 09:11 +0100, ben...@ug... wrote: > >> Marlaina, >> 0.11 >> see if what you need is on >> http://www.gramps-project.org/wiki/index.php?title=Installation >> >> If not, ask away on this list. >> The media tool can, after 2.2.6 is installed, be found in the tools >> menu. Try it >> on a copy of your database first (export your data to a new .grdb). >> >> 2.2.6 is also a lot faster on 10.000+ databases, you will like it. >> Getting the >> dependencies all right might be a problem however if you're on an old >> distribution. >> >> Benny >> >> Quoting Marlaina Barr <mar...@gc...>: >> >> > That would be great! I recently updated through DAG from >> > gramps-2.0.11-1.el4.rf to gramps-2.2.5-1.el4.rf and gramps would not >> > load. I got a slew of error messages so just reinstalled the old one : >> > ( >> > >> > I will need to probably update some dependencies, but yum update did not >> > add or list them. >> > >> > Marlaina >> > >> > On Sat, 2007-03-10 at 18:23 -0500, Gerald Britton wrote: >> > >> >> in 2.2.6 there is a media tool to let you do string replacement. So >> >> if I have media objects with "/my/media/files" and I want to change it >> >> to "/your/media/files" I can do it in one go using this tool . This is >> >> probably what you want >> >> >> >> On 3/10/07, Marlaina Barr <mar...@gc...> wrote: >> >> > >> >> > I have three grdbs I want to combine into one by importing one to the >> >> > other. But when I do, the media paths won't work and I'll have to >> >> manually >> >> > change the media paths for each media thing. I have over 300 >> in each of >> >> > them so it will be an ardorous task. >> >> > >> >> > For instance, one grdb and it's corresponding media is in my directory >> >> > genealogy/DATABASES/Settle >> >> > That directory has my Settle.grdb and 300+ media files >> >> > >> >> > another I want to combine is in my directory >> >> genealogy/DATABASES/McKnight >> >> > Same deal. >> >> > >> >> > I want to create a new directory >> >> > genealogy/DATABASES/Settle-Mcknight and have all my media >> >> > files and the new grdb in it. >> >> > >> >> > I hate to have media sources in different directories. >> >> > >> >> > With the old .gramps system, the media files were in the database >> >> and there >> >> > were no path problems. >> >> > >> >> > AND when I imported my old .gramps databases into the new >> .grdb ones, My >> >> > media files lost their names and were replaced with numbers such as >> >> > 00005.gif. For instance my file 1800.Census.Holdeman.gif became >> >> 00005.gif. >> >> > This makes identification slow for them. I am manually >> replacing those >> >> > numbers with the names they originally had. >> >> > >> >> > Another problem I have is probably due to the way I am >> inputting source >> >> > files. When I add a source, I click on the gallery tab in the source >> >> > editor. Then select a media object from my files. This way I can add >> >> > notes to the media object through the media editor and those notes >> >> will not >> >> > be visible when I convert it to a gedcom and upload it to a web >> site. They >> >> > will be for my own personal use. If I add my notes to the >> source editor, >> >> > those notes show up. But when I export to a gedcom to send my entire >> >> > database to someone, the media files are not there. Just the >> sources with >> >> > no reference to media paths. So if I send all the media files >> to someone, >> >> > they won't know which goes with which source. >> >> > >> >> > With 10,000+ names and sources already in 8 databases, major >> changes will >> >> > not be possible. >> >> > >> >> > Any suggestions with any of these problems? >> >> > >> >> > Marlaina Barr >> >> > >> ------------------------------------------------------------------------- >> >> > Take Surveys. Earn Cash. Influence the Future of IT >> >> > Join SourceForge.net's Techsay panel and you'll get the chance to >> >> share your >> >> > opinions on IT & business topics through brief surveys-and earn cash >> >> > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> > _______________________________________________ >> >> > Gramps-users mailing list >> >> > Gra...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/gramps-users >> >> > >> >> > >> >> >> > >> > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |