Drew Ferguson | 16 Sep 11:09 2014

Re: Problems with broken places records

On Mon, 15 Sep 2014 20:14:05 -0400
brian <isogoog <at> gmail.com> wrote:

> On 09/15/2014 01:12 PM, Drew Ferguson wrote:
> 
> Congratulations!
> Can you please share with us exactly how?

I ran gramps from the command-line like this

	gramps -d grampslog

and when I ran the database check, the errant records were reported to the
console (not the log)

Don't ask me how the logging is supposed to work as I cannot figure it -
it is something to do with the python logging module - but the default
seems to be STDERR. 
Quite possibly I didn't need the -d switch at all,
just running from the console might be enough so STDERR can be seen or
otherwise trapped - which normally is not the case for me since I
usually launch gramps through X

> > Solved:
> >
> > Figured out how to switch debugging on which then reported exactly
> > which source records had the bad Place data
> >
> > On Mon, 15 Sep 2014 00:30:55 +0100
> > Drew Ferguson <drew <at> fergiesontour.org> wrote:
(Continue reading)

Drew Ferguson | 15 Sep 01:30 2014

Problems with broken places records

Hi

When I try to export data or other tasks the system barfs with this.

Evidently some data is fecked; any suggestions on how I could track down
broken places?

24029416: ERROR: tool.py: line 256: Failed to start tool.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/gramps/gui/plug/tool.py", line
252, in gui_tool callback = callback)
  File
"/usr/lib/python3.4/site-packages/gramps/plugins/tool/extractcity.py",
line 428, in __init__ self.run(dbstate.db) File
"/usr/lib/python3.4/site-packages/gramps/plugins/tool/extractcity.py",
line 447, in run loc = get_main_location(db, place) File
"/usr/lib/python3.4/site-packages/gramps/gen/utils/location.py", line 53,
in get_main_location items[int(place.get_type())] = place.name
AttributeError: 'NoneType' object has no attribute 'name'On Sun, 14 Sep
2014 16:54:16 +0100 Drew Ferguson <drew <at> fergiesontour.org> wrote:

> Hi
> 
> When I run "Check & Repair Database" the system (4.1.0 linux) generates 3
> place records claiming that "3 places were referenced, but not found"
> 
> But the records created do not have any references so I cannot figure out
> how to correct whatever is wrong.
> 
> Is there a way to list references or something that might help me track
(Continue reading)

Drew Ferguson | 14 Sep 17:54 2014
Face

Problems with places records

Hi

When I run "Check & Repair Database" the system (4.1.0 linux) generates 3
place records claiming that "3 places were referenced, but not found"

But the records created do not have any references so I cannot figure out
how to correct whatever is wrong.

Is there a way to list references or something that might help me track
 down what is wrong?

Thanks
--

-- 
Drew

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
J C | 14 Sep 09:37 2014
Picon

Delete from mailing list

Hi

I would appreciate if you can delete my email address from your mailing list please.  Thank you for your co-operation.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gramps-users mailing list
Gramps-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users
Chris Bagley | 14 Sep 06:59 2014

Comparing two Gramps databases

I would like to compare two databases. Casting about I came across GrampsCompare.py which was developed by derHeinzi (Heinz Brinker ?) and advised to this list at the following address on
20 September 2011:

http://gramps.1791082.n4.nabble.com/Database-compare-and-merge-td3832887.html

Subsequently there was some discussion participated in by DS Blank, Jerome, Ken B, and Benny Malengier, and of course derHeinzi, which appears to have ended on October 11 2011.

When I attempt to use the utility I get the following:

~/Gramps/Testing_GrampsCompare $ ./GrampsCompare.py data_60p.xml I0001 data_60_1.xml I0001
Comparing family trees
Reference file is data_60p.xml
Key person ID in reference file is I0001
Changed file is data_60_1.xml
Key person ID in changed file is I0001

Parse first file
Traceback (most recent call last):
  File "./GrampsCompare.py", line 241, in <module>
    db1 = ElementTree.parse(referenceFile).getroot()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
    parser.feed(data)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 0
chris <at> chris-Satellite-A100 ~/Gramps/Testing_GrampsCompare $

I know next to nothing about Python, or XML for that matter, so trying to determine what I am doing wrong is difficult. I should add that in the above example I have used the 60 person example file as the base, with the same file with one person added as the changed file.  However, I get the same result with several different pairs of files. I am using Linux Mint 17 and the default is Python 2.7.6.

I would appreciate any suggestions as to what I am doing wrong.
regards
Chris


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gramps-users mailing list
Gramps-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users
Chris Bagley | 11 Sep 05:29 2014

Issues arising from extracting a "sub-database" from the main database

Our primary data base is a mixture of my wife's tree and my tree. It's 
about 85% her tree, as she had the good sense to have ancestors from 
places like Oxfordshire, rather than from places like Donegal. With the 
benefit of hindsight we should have started two separate trees all those 
years ago, and kept them separate, but we didn't. So I have now 
extracted my tree from the main tree by simply setting up another tree, 
copying all the main tree to it, then deleting all her ancestors and 
associated persons.  This has worked fine.  Except that when I deleted 
all her ancestors I did not, it seems, delete the places and events 
associated with them. OK, so I go to places and attempt to delete a 
place and gramps says do you really want to do this because this place 
is associated with Fred.  Well, I know that Fred is no longer there, so 
that shouldn't be a problem, but it still causes me some unease.  Am I 
screwing up the database by doing this? The same question also applies 
if I want to clean up the events list.

Any thoughts?
Chris

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Sebastian Schubert | 10 Sep 20:37 2014
Picon

Add citation in citationtreeview: automatically select source

Hi,

I mainly use the citation tree view (sources view with citations
included as a tree) to manage citations. In order to add a new citation
to a source, the source has to be selected. I often have a citation
selected and want to add another citation to the corresponding source.
This raises the error that a source has to be selected. While this
strict approach is certainly valid, I find it better from a usability
point of view if just the corresponding source would be used for the new
citation.

I attached a simple patch which changes the behaviour (needs to be
checked!). What do you think? If you agree I put the patch into the bug
tracker for official review.

Cheers
Sebastian
Attachment (citadd.patch): text/x-patch, 1194 bytes
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gramps-users mailing list
Gramps-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users
Ron Johnson | 10 Sep 12:22 2014
Picon
Picon

Re: does merging addresses change address in other areas

On 09/10/2014 02:08 AM, Peter Hewett wrote:
> ------------------------
> From: Chris Bagley Wed 10 Sep 2014 18:59:35 NZST
>
>> When I translated our TMG data to Gramps and sought to use the Geography tool I noticed that we had been a
little less than disciplined in describing addresses.  For example, an Australian example but
illustrative, I have people with activities/addresses in, say, Sydney, which gets variously shown as
Sydney NSW, Sydney N.S.W., Sydney NWS, Sydney New South Wales, Sydney Australia, etc, you get the idea.  I
would like to clean this up.  If I choose one of these, probably the one with the lowest ID number and merge the
others into it will that change all instances. e.g. if I merge Sydney NSW with Sydney N.S.W, making the
first the ultimate one, will all instances of Sydney N.S.W. be changed to Sydney NSW?
>    
>
> Yes, Merging the places combines all the items referenced by both places
> into the merged one.  I got similar effects when upgrading gramps (from
> 4.0.x to 4.1.x I think).
> I found that a bit of care was needed, especially where different levels
> in the place hierarchy have the same name.  For example, Wellington city
> is in Wellington region.

Excellent point, which is why I (almost) always add the county name and "Co" 
in the Place Description.

--

-- 
My word, man!  Don't you know your quantum statistics?

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Chris Bagley | 10 Sep 08:53 2014

does merging addresses change address in other areas

When I translated our TMG data to Gramps and sought to use the Geography tool I noticed that we had been a little less than disciplined in describing addresses.  For example, an Australian example but illustrative, I have people with activities/addresses in, say, Sydney, which gets variously shown as Sydney NSW, Sydney N.S.W., Sydney NWS, Sydney New South Wales, Sydney Australia, etc, you get the idea.  I would like to clean this up.  If I choose one of these, probably the one with the lowest ID number and merge the others into it will that change all instances. e.g. if I merge Sydney NSW with Sydney N.S.W, making the first the ultimate one, will all instances of Sydney N.S.W. be changed to Sydney NSW?
 
thanks
Chris
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Gramps-users mailing list
Gramps-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users
Petr Hejl | 9 Sep 16:55 2014
Picon

Import and web report problem

Hi,
I do full gramps package export and import to the Gramps of the same 
version. Everything is ok. I run DB check, rebuild reference map, 
rebuild secondary indexes, merge citations and DB check again. So far so 
good.

However when the web report is generated some random (from my point of 
view) records are missing although these are visible ok in gramps UI. 
For example one person is missing its family and in the list of parents 
and sibling two siblings are missing.

What could cause that? Is it a bug?

Thanks,
P.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
pekka.valta | 8 Sep 23:32 2014
Picon
Picon

Polygons of historical places

Hi,

I have now played with new Place construction in Gramps. A nice step forward. I did notice a discussion about
historical maps in Gramps and I remembered a service which I know to some extend: Finnish Spatio-Temporal
Ontology. 
See
- http://www.seco.tkk.fi/ontologies/sapo/
- http://www.seco.tkk.fi/publications/2007/kauppinen_deichstetter_hyvonen_Temp-O-Map_Ontology-based_Search_and_Visualization_of_Spatio_Temporal_Maps_2007.pdf
- http://www.kulttuurisampo.fi/historiallisetAlueet.shtml?lang=en

The last one is an example of how the areas of finnish municipalities have changed with time and how each
"time bound" municipality can be  projected on a modern map. Try with two "Enonkoski". The secretess is
having polygon points of a place in data base, not only a single point as Gramps today allows. Would it be
possible to enchance Gramps with outlines of a place by set of coordinates and get them rendered in map
services? I believe that all major map services used by Gramps support rendering of polygons, see e.g. https://developers.google.com/maps/documentation/javascript/examples/polygon-simple

Best Regards

Pekka

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

Gmane