From: Jérôme <rom...@ya...> - 2008-10-25 18:38:12
|
Hi, > I am a historian who is thinking about using gramps in the research project I am engaged in (nobility in Spain in the Early Modern Period). > For this reason I should learn python in order to be able to write my own plugins which can help me analyze the data. What is missing ? > At the moment I am playing with the most basic plugins in order to understand the logic of the language and the programm. Have you tried 'quick report' ? http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Reports#Quick_Reports http://www.gramps-project.org/wiki/index.php?title=Quick_Reports > why am I getting an error in line 97 of the attached file Seems you can get this informations on 'Staristics Chart' report: http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Reports#Statistics_Chart or 'Gramplets': http://www.gramps-project.org/wiki/index.php?title=Gramps_3.0_Wiki_Manual_-_Gramplets#Statistics_Gramplet > PS: btw, in internet I find sometimes this: > import RelLib > which I also find in the doc about the apis... but I have the impression this > is substituted by gen.lib. Am I right? you are right ! Jérôme Igor Sosa Mayor a écrit : > Hi, > > first of all: congratulations for the programm you have developed! I like it > very much. > > Secondly: maybe this is nto the right list to pose my question... Sorry if it > is so. > > To my problem(s): > > I am a historian who is thinking about using gramps in the research project I > am engaged in (nobility in Spain in the Early Modern Period). For this reason > I should learn python in order to be able to write my own plugins which can > help me analyze the data. > > At the moment I am playing with the most basic plugins in order to understand > the logic of the language and the programm. And I tripped over the 1st > problem. > > The question is: why am I getting an error in line 97 of the attached file AND > NOT in line 85? I supposed it has to do with the data I am storing in: > persona = database.get_person_from_handle(child_handle) > but how can I see which is stored in it (or which type of variable it is? is > it a list?) > > In any case: I am not asking for the "solution" (I am just playing...) but for > a hint in the right direction to search. > > Thanks in advance, > > Igor > > PS: btw, in internet I find sometimes this: > import RelLib > which I also find in the doc about the apis... but I have the impression this > is substituted by gen.lib. Am I right? > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel |