On 30/08/11 22:58, Gary Fay wrote:
Is it possible to use GRAMPS for non humans. Females repductive at 6 months- polygamy and other violations of human norms?

People have used Gramps for animal pedigrees:

http://gramps-project.org/wiki/index.php?title=Animal_pedigree



If not how hard would it be to rip out any validation?

Some of the validation is configurable in the preferences:

Edit -> Preferences -> Dates



Looked ay python but never ...dove in ...

Python is easy to learn, especially if you have previous programming experience.

You can also write your own translations.

What non-humans are you thinking of using Gramps with?


Nick.




-----Original message-----
From: gramps-devel-request@lists.sourceforge.net
To:
gramps-devel@lists.sourceforge.net
Sent:
Tue, Aug 30, 2011 14:59:14 GMT+00:00
Subject:
Gramps-devel Digest, Vol 63, Issue 35

Send Gramps-devel mailing list submissions to
gramps-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gramps-devel
or, via email, send a message with subject or body 'help' to
gramps-devel-request@lists.sourceforge.net

You can reach the person managing the list at
gramps-devel-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gramps-devel digest..."


Today's Topics:

1. Re: Help requested on database upgrade please (Benny Malengier)
2. media ref list??? (Rob Healey)
3. Questions about test data (Tim Lyons)
4. Re: media ref list??? (Nick Hall)
5. Re : Questions about test data (jerome)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Aug 2011 12:12:17 +0200
From: Benny Malengier
Subject: Re: [Gramps-devel] Help requested on database upgrade please
To: Tim Lyons
Cc: Gramps Development List ,
Gerald Britton
Message-ID:

Content-Type: text/plain; charset="utf-8"

2011/8/29 Tim Lyons

> On 23 Aug 2011, at 21:29, Benny Malengier wrote:
>
>
>
> 2011/8/23 Tim Lyons
>
>
>> you can delete the table and recreate it with the function as used in the
> tool with that name. That tool is a good way to test your code.
>
>
>
> Could someone please explain the difference between Tools -> Family Tree
> Repair -> Rebuild Reference Maps and Rebuild Secondary Indices.
>
> I understand that the first calls write.py reindex_reference_map and the
> second calls rebuild_secondary. I can see that reindex_reference_map
> rebuilds the reference maps by going through each primary object, and
> calling update_reference_map, but what exactly does rebuild_secondary do?
>

Without looking at the code, secondary tables are index tables of bsddb
which bsddb can construct automatically, eg our surname table for sorting.

Also, in write.py I have had to call self.__connect_secondary() and
> self.__open_undodb() before doing the gramps_upgrade_16. Would I have to do
> that if I used the reindex_reference_map function?
>

Large updates are better without the secondary tables connected, as it slows
down the upgrade. Then, when finished, you connect them or have bsddb
rebuild them.
I would have to dive into the code to help more.

Benny
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Tue, 30 Aug 2011 03:39:35 -0700
From: Rob Healey
Subject: [Gramps-devel] media ref list???
To: Gramps Development List
Message-ID:

Content-Type: text/plain; charset="utf-8"

Greetings:

If I add, family.get_media_list, in NarrativeWeb, I get a list of media
refebces...

How can I get the same result, but for the report.database instead...

for instance something like, db.get_medaia_ref_list()???

Can someone help me???

--
Sincerely yours,
Rob G. Healey

"Always surround yourself with people that inspire you to
greatness!"
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Tue, 30 Aug 2011 13:09:34 +0100
From: Tim Lyons
Subject: [Gramps-devel] Questions about test data
To: Gramps Development List
Message-ID: <60025542-A32E-4E4A-A361-069B3EF6A4EE@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

I notice that there are two different gramps data files in the svn
repository under example, example.gramps and data.gramps. However,
only data.gramps is put into the tar file, so only this is really
accessible to the users.

(1) Why are there two different files?

(2) What is the licensing associated with the files? Do any of them
contain real, or private, data?

(3) Is it intended that example.gramps should be used as a general
test file for gramps development (obviously most bug fixes or
enhancements will need specific test data, but I am just talking about
a general confidence test database).

(4) Why are both files stored as gramps files with the media stored
separately - I find I have to connect each media object every time I
import the files. Wouldn't it be better to store the data with the
media? (This is particularly a problem for users who might try to
import data.gramps)

(5) My main question! I would like to have an example person (and
connected objects) that contains at least one of every possible data
element. I see that the home person Lewis Anderson Garner has many
different data elements, but not all. Also I have seen people suggest
use of him to test various reports. So, would you prefer:
(a) That I enhance Lewis Anderson Garner (and associated objects like
his events) so that every possible element is represented.
(b) that I enhance some other person in example.gramps
(c) that I just create some other private test file?

Thanks.





------------------------------

Message: 4
Date: Tue, 30 Aug 2011 15:46:44 +0100
From: Nick Hall
Subject: Re: [Gramps-devel] media ref list???
To: gramps-devel@lists.sourceforge.net
Message-ID: <4E5CF7D4.2050203@hotmail.com>
Content-Type: text/plain; charset="utf-8"



On 30/08/11 11:39, Rob Healey wrote:
> Greetings:
>
> If I add, family.get_media_list, in NarrativeWeb, I get a list of
> media refebces...
>
> How can I get the same result, but for the report.database instead...
>
> for instance something like, db.get_medaia_ref_list()???

To get all media objects in the database use:

db.get_media_object_handles()

If you want to find all media reference objects then try looping through
people, familes, events, sources and places. Then you can call
obj.get_media_list() for each object.

Nick.


>
> Can someone help me???
>
> --
> Sincerely yours,
> Rob G. Healey
>
> "Always surround yourself with people that inspire you to
> greatness!"
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
>
>
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Tue, 30 Aug 2011 15:58:59 +0100 (BST)
From: jerome
Subject: [Gramps-devel] Re : Questions about test data
To: Gramps Development List , Tim
Lyons
Message-ID:
<1314716339.71201.YahooMailClassic@web24107.mail.ird.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Hello,


I can try to answer on some of your questions.
Some months ago, I noted that some data were missing on our samples according new data scheme (DTD). I started to list them, then to update them...

http://www.gramps-project.org/bugs/view.php?id=4220

There is no 'real' data (private, existing) and content of data.gramps is also used for generating sample.ged.

The problem is to follow changes because import/export Gramps XML is not idempotent.

http://www.gramps-project.org/bugs/view.php?id=4365

So, I made most updates on example.gramps, which is not compressed and was modified for properly testing last features on previous stable releases (markup on note, dates, etc ...).

http://www.gramps-project.org/bugs/view.php?id=4220#c15648

I was not confortable for adding some 'private joke' or others fake data, but I suppose I did it right and this help us to make some tests, which were reported and fixed before stable release. :)
Today, it seems that only a content/sample for locality/street & address fields is missing on example.gramps.

So, I am not certain:

> (1) Why are there two different files?

'data.gramps' is the first generated sample
http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps10/example/gramps/

It was used when Gramps was reading Gramps XML file (before current DB backend < 2.0). With limited size in memory and basic content.

> (2) What is the licensing associated with the files? Do any
> of them
> contain real, or private, data?

I do not think anyone has written real data.
There is maybe records noted private, but only as sample.

> (3) Is it intended that example.gramps should be used as a
> general
> test file for gramps development (obviously most bug fixes
> or
> enhancements will need specific test data, but I am just
> talking about
> a general confidence test database).

Yes, example.gramps should be used for that.

Note, as said above to import then export the content of example.gramps will also rebuild 'order' because the handle key is a bsddb hash thus stored randomly on current BD (see others discussions on mailing list).
It is harder to see changes between two Gramps XML files after an import!

> (4) Why are both files stored as gramps files with the
> media stored
> separately - I find I have to connect each media object
> every time I
> import the files. Wouldn't it be better to store the data
> with the
> media? (This is particularly a problem for users who might
> try to
> import data.gramps)

I think it is related to the model of sample.
We have the choice for the best way for this feature: to illustrate and test relative media path preferences and media objects tools or a global compressed archives with a copy of our media ?

> (5) My main question! I would like to have an example
> person (and
> connected objects) that contains at least one of every
> possible data
> element. I see that the home person Lewis Anderson Garner
> has many
> different data elements, but not all.

Yes, I do not completed all fields (ex: association with one direction)
http://www.gramps-project.org/bugs/view.php?id=4335

> (a) That I enhance Lewis Anderson Garner (and associated
> objects like
> his events) so that every possible element is represented.
> (b) that I enhance some other person in example.gramps
> (c) that I just create some other private test file?

Feel free to improve example.gramps.
I also added some data on others persons (ex: handling spanish names, which sounds strange for Lewis Anderson Garner; or duplicated keys with different values on two different persons, etc ...)


J?r?me

--- En date de?: Mar 30.8.11, Tim Lyons a ?crit?:

> De: Tim Lyons
> Objet: [Gramps-devel] Questions about test data
> ?: "Gramps Development List"
> Date: Mardi 30 ao?t 2011, 14h09
> I notice that there are two different
> gramps data files in the svn?
> repository under example, example.gramps and data.gramps.
> However,?
> only data.gramps is put into the tar file, so only this is
> really?
> accessible to the users.
>
> (1) Why are there two different files?
>
> (2) What is the licensing associated with the files? Do any
> of them?
> contain real, or private, data?
>
> (3) Is it intended that example.gramps should be used as a
> general?
> test file for gramps development (obviously most bug fixes
> or?
> enhancements will need specific test data, but I am just
> talking about?
> a general confidence test database).
>
> (4) Why are both files stored as gramps files with the
> media stored?
> separately - I find I have to connect each media object
> every time I?
> import the files. Wouldn't it be better to store the data
> with the?
> media? (This is particularly a problem for users who might
> try to?
> import data.gramps)
>
> (5) My main question! I would like to have an example
> person (and?
> connected objects) that contains at least one of every
> possible data?
> element. I see that the home person Lewis Anderson Garner
> has many?
> different data elements, but not all. Also I have seen
> people suggest?
> use of him to test various reports. So, would you prefer:
> (a) That I enhance Lewis Anderson Garner (and associated
> objects like?
> his events) so that every possible element is represented.
> (b) that I enhance some other person in example.gramps
> (c) that I just create some other private test file?
>
> Thanks.
>
> ?
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even
> better
> price-free! And you'll get a free "Love Thy Logs" t-shirt
> when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>



------------------------------

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev

------------------------------

_______________________________________________
Gramps-devel mailing list
Gramps-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-devel


End of Gramps-devel Digest, Vol 63, Issue 35
********************************************
------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ Gramps-devel mailing list Gramps-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gramps-devel