Web based family history software

Question repository_hierarchy module error

  • mac.alter
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 months 3 weeks ago #1 by mac.alter
repository_hierarchy module error was created by mac.alter
Installed and did basic configuration (to see if error disappeared, turned off some). Saw error which mentions Vesta module that I have installed:
 

File Attachment:

File Name: error.txt
File Size:11 KB

Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
  • Please Log in or Create an account to join the conversation.

    More
    9 months 3 weeks ago #2 by hermann
    Replied by hermann on topic repository_hierarchy module error
    As far as I can see: this is not related to the Vesta modules.

    Hermann
    Designer of the custom module "Extended Family"

    webtrees 2.1.20 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu

    Please Log in or Create an account to join the conversation.

    • mac.alter
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    9 months 3 weeks ago #3 by mac.alter
    Replied by mac.alter on topic repository_hierarchy module error
    Is the author of the module on the webtrees forum? I've deactivated it for now.

    Mac.alter [update: 05 Aug 2024]
    webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)

    Please Log in or Create an account to join the conversation.

    • bertkoor
    • Offline
    • Platinum Member
    • Platinum Member
    • Greetings from Utrecht, Holland
    More
    9 months 3 weeks ago - 9 months 3 weeks ago #4 by bertkoor
    Replied by bertkoor on topic repository_hierarchy module error
    Do you remember where you got that module from?
    Looks the same as what's mentioned here: www.webtrees.net/index.php/forum/4-custo...repository-hierarchy

    stamboom.BertKoor.nl runs on webtrees v2.1.20
    Last edit: 9 months 3 weeks ago by bertkoor.

    Please Log in or Create an account to join the conversation.

    • mac.alter
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    9 months 3 weeks ago #5 by mac.alter
    Replied by mac.alter on topic repository_hierarchy module error
    Link on forum here. Went to GitHub.

    Mac.alter [update: 05 Aug 2024]
    webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)

    Please Log in or Create an account to join the conversation.

    More
    9 months 3 weeks ago #6 by Franz Frese
    Replied by Franz Frese on topic repository_hierarchy module error
    first line tells: the module is repository_hierarchy. you know the author of that module.

    Please Log in or Create an account to join the conversation.

    • bertkoor
    • Offline
    • Platinum Member
    • Platinum Member
    • Greetings from Utrecht, Holland
    More
    9 months 3 weeks ago - 9 months 3 weeks ago #7 by bertkoor
    Replied by bertkoor on topic repository_hierarchy module error
    Best is to report the issue there then...
    github.com/Jefferson49/RepositoryHierarchy/issues

    It may happen on your website only, to solve the bug he may be helped tremendously with a copy of your data.

    stamboom.BertKoor.nl runs on webtrees v2.1.20
    Last edit: 9 months 3 weeks ago by bertkoor.

    Please Log in or Create an account to join the conversation.

    More
    9 months 3 weeks ago - 9 months 3 weeks ago #8 by Jefferson49
    Replied by Jefferson49 on topic repository_hierarchy module error

    Best is to report the issue there then...
    github.com/Jefferson49/RepositoryHierarchy/issues

    It may happen on your website only, to solve the bug he may be helped tremendously with a copy of your data.

     
    Yes, it would be best to create an issue on Github and attach the Gedcom data of the individual or family, you have selected.

    As the module author, I am also reading the webtrees forum posts, but only from time to time. If you file a Github issue, I will directly get an email notification.

    A first draft feedback on the error is that it might be related to a repository XREF (i.e. 2 REPO @X1234@), which is used in a source citation. Maybe, the XREF is empty or the XREF (X1234) does not exist.

    I will check in more detail in the next days and will try to improve the robustness of the code
    Last edit: 9 months 3 weeks ago by Jefferson49. Reason: Typos etc.

    Please Log in or Create an account to join the conversation.

    • mac.alter
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    9 months 3 weeks ago #9 by mac.alter
    Replied by mac.alter on topic repository_hierarchy module error
    Will have to turn the module on and seeing if I can replicate error. I assume you're referring to supplying the GEDCOM code for the record which was random. I happened to be on that person's record but don't remember who. So will note that when I experiment again.

    Mac.alter [update: 05 Aug 2024]
    webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)

    Please Log in or Create an account to join the conversation.

    More
    9 months 3 weeks ago - 9 months 3 weeks ago #10 by Jefferson49
    Replied by Jefferson49 on topic repository_hierarchy module error
    Some minutes ago, I released a new version v1.3.8  of the Repository Hierarchy module. As a bugfix, the new version contains a robustness measure for XREFs in sources.

    The error can be reproduced, if a source contains a wrong XREF to a repository, e.g. if X1234 does not exist in the following example, and "Source facts to show for sources within source citations" is used :

    0 @I9117@ INDI
    1 BAPM
    2 DATE 31 JAN 1881
    2 SOUR @S10698@

    0 @S10698@ SOUR
    1 REPO @X1234@

    You can try to search for these kind of wrong repository XREFs, if you check the webtrees tree in the control panel:

    Control panel / Manage family trees / Check for errors 



    It might be possible to search in the browser for "Source:" or "does not exist".
  • Last edit: 9 months 3 weeks ago by Jefferson49. Reason: Link is wrongly shown

    Please Log in or Create an account to join the conversation.

    • mac.alter
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    9 months 3 weeks ago #11 by mac.alter
    Replied by mac.alter on topic repository_hierarchy module error
    I do have wacky Repository entries at the moment. Done during import (my fault not kiwitrees->webtrees). Will address these and then turn module back on and see what happens.

    Mac.alter [update: 05 Aug 2024]
    webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)

    Please Log in or Create an account to join the conversation.

    More
    9 months 3 weeks ago #12 by Jefferson49
    Replied by Jefferson49 on topic repository_hierarchy module error
    > Will address these and then turn module back on and see what happens.

    Since the module should be robust against wrong XREFs now, you can switch it on if you use the latest release (even if your tree contains errors)

    Please Log in or Create an account to join the conversation.

    • mac.alter
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    9 months 3 weeks ago #13 by mac.alter
    Replied by mac.alter on topic repository_hierarchy module error
    I installed repository_hierarchy_v1.3.7

    Mac.alter [update: 05 Aug 2024]
    webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)

    Please Log in or Create an account to join the conversation.

    Powered by Kunena Forum