Upload a new GEDCOM: can't convert from ANSEL to UTF-8

Bug #632040 reported by Chris Guirl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webtrees
Triaged
Wishlist
fisharebest

Bug Description

Steps to reproduce:
go to FamilySearch.org
download a record
in webtrees, go to GEDCOM administration
under Upload a new GEDCOM select a file
a new GEDCOM is created above and shows this error:

Loading data from GEDCOM: 0.0%
Error: cannot convert GEDCOM file from ANSEL encoding to UTF-8 encoding.

Looking at the logs, I do not see any new errors, just a lot of entries where the new GEDCOM is getting setup.

Steps to work around:
run LifeLines, create a new database
u [utilities], R [read from file], select the file downloaded from FamilySearch.org
LifeLines says: Cannot convert codeset (from <ANSEL> to <UTF-8>) Enter codeset to assume (* for none)
enter *
u, s [save to file], enter new filename
repeat the steps to reproduce the bug above, except use the new file

Revision history for this message
kiwi (kiwi3685-deactivatedaccount) wrote :

See the ReadMe file, and the WIKI:

http://wiki.webtrees.net/GEDCOM_%28family_tree%29_FILES

"ANSEL - currently will not import. Gives warning Error: cannot convert GEDCOM file from ANSEL encoding to UTF-8 encoding. Later releases of webtrees may include translation from ANSEL to UTF8, but this is not a simple process."

So yes, a bug of sorts, but a known one (hence the error message), that is not high on the list of To-Do's, so I'll mark this as "wishlist".

Changed in webtrees:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Chris Guirl (thelusiv-gmail) wrote :

Ah, I hadn't read that, thanks. I think the error message is misleading. It is worded as if it tried to convert from ANSEL but failed. I think it should say that this is not yet supported.

Revision history for this message
kiwi (kiwi3685-deactivatedaccount) wrote :

A fair comment - I'll change it, but will leave the status of this "bug" as it is, so we can look into adding the ability in the future.

Revision history for this message
fisharebest (fisharebest) wrote :

FYI, I have already written a MySQL stored procedure which converts ANSEL to UTF-8.

The importer just needs to call it.

The only reason it wasn't included in the webtrees 1.0 release is that I am concerned that some hosts may restrict the ability to create stored procedures.

Changed in webtrees:
assignee: nobody → fisharebest (fisharebest)
Revision history for this message
Andrew Amos (andrew-amos) wrote :

You could also suggest that people delete the line:

1 CHAR ANSEL

from the .GED file, as that may fix the problem (if they have already saved the file in some other format).

Changed in webtrees:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.