nigelhorne / ged2site Goto Github PK
View Code? Open in Web Editor NEWCreate a family tree website from a Gedcom file
Home Page: https://genealogy.nigelhorne.com
License: GNU General Public License v2.0
Create a family tree website from a Gedcom file
Home Page: https://genealogy.nigelhorne.com
License: GNU General Public License v2.0
This looks like a great tool you've developed here. However I'm having a bit of trouble getting it to run on my mum's gedcom file from Family Tree Maker. When running ./ged2site -cFd constantine181214_2017-02-05.ged
it gets to about 80/3500 and crashes out with:
Can't link('static-site/img/M13.jpg', 'dynamic-site/img/M13.jpg'): No such file or directory at ./ged2site line 2887
Unfortunately I have very little knowledge of Perl or the GEDCOM format, so I have literally know idea where to start tracing the problem. I'm hoping you can help me!
Mary Colyer: Date of residence bet 16 Jun 1903 and 22 Jul 1903 is after date of death Mar 21, 1920 at line 5990 at ./ged2site line 6013, line 18539.
Mary Colyer: Date of residence bet 11 Oct 1904 and 20 Dec 1904 is after date of death Mar 21, 1920 at line 5990 at ./ged2site line 6013, line 18539.
If there are no locations in a Gedcom (e.g. no residence or census records), a 500 error is generated when visiting page.fcgi?page=locations. It should give a message to add some locations to the Gedcom.
The home page of today's events, and the calendar will list events as happening this year if the year is a date range. Good examples are date of death = "between 1914 and 1919" will show as happening today.
I've noticed that the Census Index link sometimes point to ".html".
For example on https://genealogy.nigelhorne.com/cgi-bin/page.fcgi?page=people&home=1 currently points to https://genealogy.nigelhorne.com/save_to/web/English/page.fcgi/.html
This seems to be for cached pages in the save_to folder. If I do a Ctrl-Shift-R to invalidate the page cache, that seems to temporarily resolve the problem.
As a slight tangent, I've tried messing around with all kinds of different caching settings, as I basically want to disable the "save_to" folder and use a reverse proxy cache instead but haven't had much luck. Could you explain the cache, disc_cache and memory cache options?
Thanks again!
Sam
If there are no censuses in a Gedcom, a 500 error is generated when visiting page.fcgi?page=censuses. It should give a message to add some census references to the Gedcom.
Just a small bug I've had to work around. I have "-w" on so I can have the todo page generated. However not got as far as getting a Google Maps API key yet.
So my command looks like this:
./ged2site -cFdwh "Deborah Ann /Collins/" source.ged
The error is this:
Can't call method "geocode" on an undefined value at ./ged2site line 4633, <GEN0> line 15983.
The line number might differ, as I've added a few census mappings to my version. But I've just commented out this bit to get things working:
if(!$osm->geocode($town)) {
# Don't die because there are many
# false positives as locations
# may no longer exist
if(my $person = $params{'person'}) {
warn colored($person->as_string({ include_years => 1 }) . ": unknown location $place", 'red');
} else {
warn colored("Unknown location $place", 'red');
}
$places{$place} = 0;
$places{$town} = 0;
return 0;
}
Thanks for all your help with everything. I've just got http://beta.constantinefamily.org.uk up and running with the most basic possible setup. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.