Viewing 4 posts - 1 through 4 (of 4 total)
Author
Posts
  • #3649

    I am looking at Place hierarchy and see the first entry “unknown” (attached1) but when I click on it, get error (attached2). Is there a way to correct?

    attached1

    attached2

    ----- [updated: 31Dec2022] MacOS: 10.15.7  (Catalina) Safari   14.1.2;  Firefox 108.0.1 (64-bit);  108.0.1462.54 (Official build) (x86_64)

    Alter-Drukarsh connections | The Garelick: 3.3.11b - PHP 8.0 FastCGI - mySQL 8.

  • #3652

    I have no idea I’m afraid. It is something unique to your site as far as I can tell from that error message. Is “/wtkiwi/” the correct address for your site?

    You will need to find where in your GEDCOM data you have the unknown place. It’s presumably a comma on the end of a PLAC tag where it should be comma followed by a country name. It should be possible to find it using Search, though it would be easier if you could use the Batch Update Search/Replace tool (just to search, not replace anything). You can use regex to find a comma at the end of a PLAC tag line. Then if you can show me the GEDCOM snippet that contains it I will be able to test and see if your problem is reproducible.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #3653

    I’ve tested my theory, and can confirm. If you have this in your GEDCOM:

    2 PLAC sometown, somestate,

    You will get the error you have. Note the comma on the end of the line that should not be there. The line should, of course, be

    2 PLAC sometown, somestate, somecountry

    or at least (but less desirable)

    2 PLAC sometown, somestate

    Either way, the key is not having a comma at the end. You can have them in the middle, like

    2 PLAC sometown, , somecountry

    though I never do.

    To find and fix this go to Admin -> Batch Update -> Search & Replace. Set the “Search method” to “Regular expression” and enter this in the “Search text/pattern” field:
    2 PLAC [.*],$

    This is a regex to find any line that begins “2 PLAC”, then has anything at all, and ends in a comma. Click outside the “Search text/pattern” field and wait for the error to be found. No need to enter anything anywhere else. When the error appears you will see what record you need to go to and fix the data problem.

    If you also get a click-able “Next” button, then you know you have more similar issues to fix, otherwise it is a single problem.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #3654

    I had to export as Batch is too taxing to run on my site.

    In BBEdit (Mac text editor) used the search “2 PLAC .*,$ >>> no brackets and found 2 PLAC Ostrowitz, Plzeňský Kraj, Czech Republic,. I recognized this as one I just changed (GUI) and obviously didn’t know I left a comma behind.

    I then noted the INDI number and went to that record and made the change.

    Did a display for Place hierarchy and “unknown” is gone. Thanks.

    PS: Yes, my subdirectory is “wtkiwi”.

    ----- [updated: 31Dec2022] MacOS: 10.15.7  (Catalina) Safari   14.1.2;  Firefox 108.0.1 (64-bit);  108.0.1462.54 (Official build) (x86_64)

    Alter-Drukarsh connections | The Garelick: 3.3.11b - PHP 8.0 FastCGI - mySQL 8.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘PLAC unidentified’ is closed to new replies.