Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: Pollux on October 11, 2020, 06:10:30

Title: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 06:10:30
A question from me in the Haiku forum (https://discuss.haiku-os.org/t/java-openjdk/2583/35) and an answer to it:

    Question from Polli (me):
Despite the availability of OpenJDK + NetBeans for Haiku, the software has yet to be "rebuilt" in order to use it with Haiku. This is probably even required "within" the various Linux distributions
   
    Reply from un_spacyar:
No. If the Java app is distributed as a JAR package, all you need to do is open a terminal and type:
java -jar <filename>

This command can be included in a simple .sh script and then run the app by double-clicking it.

    My question here on the Ancestris forum:
So can I forget a 'simple' use of Ancestris on Haiku?

Thanks for an answer!
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 07:59:37
Addition to the previous post:

After a long wait, Haiku is now running great on my Zotac ZBOX IQ01.
When it comes to JAVA, decisive things have also happened (OpenJDK, netBeans).
Is that enough (see ScreenShots)?

Thanks for an answer!
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 11, 2020, 09:06:57
Technically, on Linux flavor OS, the launching script is "ancestris".
This is a shell script that check variables and launch the "platform/lib/nbexec" script.
This shell script launch a command line with "org.netbeans.Main" as main class.
As far as I can see, everything is jar file in the netbeans distribution (Platform and Harness).

For my understanding, you can launch Ancestris from Haiku.
Besides this, I have no clues about the graphical library involved.

Did you try just to run ancestris script from Haiku after have downloaded it on your computer ?

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 11:29:56
Thank you for your answer, Zurga!

Unfortunately it doesn't help me, not even https://discuss.haiku-os.org/t/haiku-java/8929 and neither do the answers at Ancestris!
I am primarily a user. All answers received so far, no matter where and from whom, are unfortunately written in such a way that I could only use them if I am a freak or at least an 'insider'.

It is probably better if I continue to use my old (also an older version) software (sometimes with serious errors, including data loss, but simply brilliant) under Windows.
I would have preferred to use Ancestris via haiku, but there are more important things in life!
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 11, 2020, 11:40:10
OK, I will try to be less technic.

First install Java for Haiku. Prefer OpenJdk 11 rather than 13. (Long term support involved, but technic part).
Then download the zip file with all Ancestris distribution. (generic linux file or v11 package).
Unzip the content of Ancestris zip file in a directory.
In a command line console, go to bin directory inside ancestris directory.
Type ./ancestris

What happens ?

The basic launch installation is there : https://docs.ancestris.org/books/user-guide/page/install-and-start-ancestris#bkmrk-start-ancestris

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 15:11:49
Thank you, Zurga!

Before I (probably) struggle in vain, I posted your answer on the Haiku forum (https://discuss.haiku-os.org/t/java-openjdk/2583/37).
I received the following answer (s):

MrEntropy
1
2h

I installed openjdk11 from HaikuDepot, which also installed openjdk11_jre. However, ‘java’ could not be found until I also installed openjdk11_default.

Running ./ancentris resulted in… “an illegal reflective access by org.netbeans”

So, probably not very helpful to you but it does try to do something.

Update:
Using JDK8, I got the Ancestris splash screen, and then it crashed.

MrEntropy
2h

This is from the java debug report that got saved, if it helps anybody.
Frame IP Function Name
-----------------------------------------------
00000000 0x15bbe5af072 _kern_snooze_etc + 0xa
Disassembly:
_kern_snooze_etc:
0x0000015bbe5af068: 4989ca mov %rcx, %r10
0x0000015bbe5af06b: 48c7c0bb000000 mov $0xbb, %rax
0x0000015bbe5af072: 0f05 syscall <–

   0x7ffdba6c8d20   0x15bbe630ce7   clock_nanosleep + 0x67
   0x7ffdba6c8d40   0x15bbe632493   nanosleep + 0x13
   0x7ffdba6c8d50   0x1af14933478   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xb47478
   0x7ffdba6c8f10   0x1af149e4c02   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xbf8c02
   0x7ffdba6c90c0   0x1af14b277f3   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xd3b7f3
   0x7ffdba6c9130   0x1af14b27af3   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xd3baf3
   0x7ffdba6c91b0   0x1af14ac12b4   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xcd52b4
   0x7ffdba6c91f0   0x1af1493512e   /boot/system/lib/openjdk11/lib/server/libjvm.so + 0xb4912e
   0x7ffdba6c9220   0x15bbe5bea05   pthread_thread_entry(void*, void*) + 0x15
   00000000   0x7ffffe5ec260   commpage_thread_exit + 0

I don't know if you can see anything from this that could help?
There was once a working port from Ancestris 0.9 for Haiku.
At some point there were internal changes in the OS and it no longer worked.
Since the creator, Prof. Michel Clasquin-Johnson, did not write or add a recipe, a new beginning would be necessary.
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 16:41:45

MrEntropy
2h
No problem. I can probably get better and more complete logs if you need them.

Reply

Polli (me)
2h
netbeans in the HaikuDepot = 8.2-1
Aktuell Apache NetBeans = 12.0 (4. Juni 2020)

Can it be related to that?
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 11, 2020, 16:44:53
I answered directly on Haiku forum.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 16:50:52
Thank you very much, Zurga!
Fantastic, this help!
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 11, 2020, 21:10:12
Ancestris under Haiku shows my son-in-law Stefan's French ancestors.
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 12, 2020, 07:37:08
I installed from the haiku depot, ignoring the necessity:

ca_root_certificates_java
openjdk8
openjdk8_default
openjdk8_jre
openjdk8_sources
netbeans_bin 8.2-1

Ancestris versions 10 for Linux, version 10 for MacOSX and version 11 (latest, nightly) for ALL can be started.

Each time after an error message appears, ignoring it and (without cleaning up) restarting it!
Title: Re : Ancestris for Haiku?
Post by: Zurga on October 12, 2020, 08:47:25
Thank for your feedback.

I'm pretty sure that Netbeans is not required to launch Ancestris.
All the Netbeans files are taken from the Ancestris package.

Zurga
Title: Re : Ancestris für Haiku?
Post by: Pollux on October 12, 2020, 09:01:37
There is still a lot to do, not on the part of the Ancestris programmers, but on the part of Haiku!
I'm curious to see if something happens!
Before Ancestris can start, there is always an error message that has not been cleaned up (then Ancestris will not start up) but must be ignored.
There are other error messages on certain occasions without blocking Ancestris.
Should I send such error messages (or screenshots of them) to an email address? Otherwise I might overload the forum.

Zurga, thank you again for your commitment!

Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 12, 2020, 09:31:55
If you believe that the problem is related to something we could do, you can post the errors.
If you believe that the trouble is related to Haiku and Java port, there is nothing we can do.

Any information can help others users.

Zurga
Title: Re: Re : Ancestris für Haiku?
Post by: Pollux on October 14, 2020, 04:06:55
Thank for your feedback.

I'm pretty sure that Netbeans is not required to launch Ancestris.
All the Netbeans files are taken from the Ancestris package.

Zurga

After starting Ancestris 11 and downloading the available updates, a colored NetBeans will start.
That can't be the NetBeans 8.2-1 from the HaikuDepot ...
So you seem to be correct with your guess !?

Pollux

Edit...

After I tried to implement your recommendation to use OpenJDK11 again, it could not be installed because:

    https://discuss.haiku-os.org/t/java-openjdk/2583/66

    Polli
    12h
    When trying to install OpenJDK11 comes:
    nothing provides lib:libjpeg>=9.3.0 needed by openjdk11_jre-11.0.4.11-1

    Is there a solution?
   
What are the advantages of OpenJDK11 over OpenJDK8 for use by Ancestris11 (latest)?

Thanks, Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 14, 2020, 07:36:55
My point is : if you install a jdk over 8, use jdk 11 rather jdk 13.
Jdk 8 and jdk 11 are long term support version. So theses versions have security fixes when it is mandatory.
Java 9, 10, 12, 13 and 14 are short term support with no security fixes.

This is why I suggest to use jdk 11 instead of jdk 13 from the list you provide in your messages.

Now, Jdk 8 is a very good option.
There is no need to upgrade jdk 8 to another version.
You have a version allowing to launch Ancestris v11, be pragmatic, keep it.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 14, 2020, 08:27:43
So OpenJDK11 has no advantages over OpenJDK8 for running Ancestris11 (latest)?
Neither in functions nor in speed?

No matter how, but I would like to test it!
Only, it cannot be installed because ... (see https://discuss.haiku-os.org/t/java-openjdk/2583/69).
I'm not happy about that!

Thank you for your exemplary help, Zurga!
Ancestris has a great team!
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 14, 2020, 09:26:20
To my knowledge, Openjdk 11 or OpenJdk 8 is the same thing for Ancestris.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 17, 2020, 05:20:20
I read it here, albeit very late:
https://en.ancestris.org/index.php?title=Installation

Most of the Ancestris features are compatible with Java Version 11, but to ensure full compatibility Java Version 8 (aka Version 1.8-) is recommended.
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 17, 2020, 07:25:49
This was the case for Ancestris 10.
Ancrestris 11 should be full compliant with Java 11.
Beside this you don't need Java 11 to run Ancestris.

The updated version of the documentation is here : https://docs.ancestris.org/shelves/english

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 17, 2020, 07:36:58
Thank you Zurga!
But then something is wrong ...
... I went straight from the Ancestris website.
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 17, 2020, 07:55:36
The wiki is the old documentation.
I provide the link to the new documentation.

Where did you find a link to the old wiki ?
We should have removed all theses links from our sites.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 17, 2020, 08:37:40
Maybe phantom data ~ the internet forgets NOTHING!
If this information wasn't available, I wouldn't have been able to read it.
Anyway, I got there from the official Ancestris website.
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 17, 2020, 09:34:21
Ancestris wiki is still available but the official website or forum should not have link to it.
If you have the link we miss to remove, please, tell us where it is.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 17, 2020, 11:59:18
https://en.ancestris.org/index.php?title=Installation
Title: Re : Re: Ancestris for Haiku?
Post by: Zurga on October 17, 2020, 12:40:24
https://en.ancestris.org/index.php?title=Installation
This is the wiki, old documentation.

This wiki is not referenced any more by Ancestris website.
If you find a reference on official website : https://www.ancestris.org/index.html, please tell us.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 17, 2020, 19:05:51
Maybe it would be helpful to do it the way BeSly does it:
http://besly.de/index.php/de/ (with a link to http://old.besly.de/) ...
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 20, 2020, 06:57:18
Moin Zurga,
I just posted something on the haiku forum.
Which 'results' are you perhaps interested in?
Where can I find log files and the like. Do I have to make preferences somewhere so that they are written?
Thank you!
Polli

.....
If anyone is interested in (dewy) log files, reports, etc. (in connection with OpenJDK + Ancestris on Haiku, ...):
For life and health, I build a virgin SSD into my Zotac ZBOX IQ01 and provide partitions for Windows10, Haiku32 (daily / nightly) + Haiku64 (daily / nightly) and for shared data.

Korli kindly created a recipe for Ancestris10 (official stable version) and at the same time 'solved' the problem with libjpeg_9.3 (installation OpenJDK11) for it.
But I also want to test Ancestris11 (daily / nightly), otherwise I will miss too many updates!

If:
How should I proceed in order to achieve real and usable (helpful) results (log files, reports, ..., screen shots)?
Memory:
If:
How should I proceed in order to achieve real and usable (helpful) results (log files, reports, …, screen shots)?
Memory:
After the first Ancestris Start click, different error messages appear, which must be left as they are, otherwise Ancestris (10 + 11) will not start with a second Start click!
Title: Re: Ancestris for Haiku?
Post by: Zurga on October 20, 2020, 07:59:04
Thanks you for your incredible effort to make it possible to use Ancestris with Haiku.

The log file is basically under /home/users/.ancestris/trunk/ancestris

Read here : https://docs.ancestris.org/books/user-guide/page/software-files-and-user-settings-files#bkmrk-the-user-directory

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 20, 2020, 17:01:04
Thanks, I'll take a closer look at this!
I hope the Haiku OpenJDK Java specialists can find the little bugs and fix them!

Ancestris is a powerful program. The only application left is to replace my current genealogy software!

Nevertheless, I am not without (so far) unfulfilled wishes!

Polli (Pollux)
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 22, 2020, 17:51:46
Hello!
I don't know if it's relevant. After starting Ancestris11-Haiku64 the following log file was written:

Title: Re : Ancestris for Haiku?
Post by: Zurga on October 22, 2020, 18:22:45
Seems to me that the problem is still in Java port, only Netbeans is initializing and trouble with getting network adapter information.
The stack trace shows trouble in libnet.so
Nothing Ancestris team can do with this trouble.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 22, 2020, 19:36:14
OK thanks!
Then I'll wait for the Haiku Java OpenJDK team to find time to make corrections!
They are in beta for the next stable version of Haiku and far too few people.

Pollux
Title: Re: Ancestris for Haiku?
Post by: Pollux on October 30, 2020, 05:44:42
OpenJDK 8 for Haiku has been rebuilt (now: 1.8u242_b8-3) and Ancestris 11 (updated almost daily, nightly) starts without an error message!
Title: Re : Ancestris for Haiku?
Post by: Zurga on October 30, 2020, 11:21:32
Very good news.
Thank you to keep us informed.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 01, 2020, 16:42:59
Under Haiku, Ancestris11 has the tab 'Registers records' under Preferences / Extensions, on Windows 10 this tab is missing.
'About Ancestris' shows:
Java: 1.8.0_221-b11 - C: \ Program Files \ Java \ jre1.8.0_221
Title: Re : Ancestris for Haiku?
Post by: Zurga on November 01, 2020, 17:27:32
"Registers record" is an optional module.
Add it from the extension management.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 01, 2020, 18:28:00
Thanks for opening my eyes!

Pollux
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 07:44:41

Moin Zurga,
i have something in
https://discuss.haiku-os.org/t/java-openjdk/2583/119
posted.
Unfortunately, the text and screen shots are not displayed as I intended.

Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 08:13:43
There is nothing we can do with the display on Haiku.
The trouble you experiment depends on the Java port.

For your understanding, Ancestris doesn't need to be installed, you just need to launch the program.
The installation package is there to help the users with little knowledge in computer mechanisms to have an easy way to launch the program and remove it.
So unzip the daily zip is sufficient to have a working software.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 10:27:54
I just wanted a 'family diagram'? create in PDF format: ERROR!
8GB are reserved in the default settings.
Does this ONLY apply to the Ancestris program itself?

Unfortunately the text could not be copied ...

Pollux

Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 10:29:49
Before that...
Title: Re : Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 11:00:26
How many individuals do you try to put in this diagram ?

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 11:14:25
SizeWarning...

Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 12:30:18
The good part is that Ancestris work correctly with almost 900 000 individuals.
But I can't give you others advice than reduce numbers of generation or add more memory.

Zurga
Title: Re: Ancestris für Haiku?
Post by: Pollux on November 03, 2020, 13:43:03
How can that be?
My current GEDCOM doesn't have that much personal data at all:

Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 14:09:20
Current GEDCOM just imported from Ancestris11 under Haiku64Bit ...

Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 14:12:07
This report displays the individuals several times if they appears in several places in your tree.
For example, if you have two cousins that have wed, theirs commons ancestors will appear in the two branches.
More of that, if you ask for the descendants of any individuals, you will have the complete path repeated on each ancestor.
So be careful with the options you choose.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 14:27:16
As a result, a diagram is unnecessarily bloated and also very confusing.
The connections are definitely difficult to see if I interpret your answer correctly.

Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 14:37:28
The result is not confused, because you have always separated lines. (See the picture in the report presentation).
You only see there is connection because you have the same individual several times in the report.

The best way to see connections is the graph display. every individual is represented only one time in this graph.
And you can see all the individuals of your genealogy.
By the way, I have never tried to see the graph with such a huge genealogy.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 03, 2020, 15:41:06
This is certainly more of a test case and not (or rarely?) For reality!
My current genealogy software (older version 1.xx) creates the diagram within 6 minutes on a weaker computer (laptop) on the display.
This representation is actually very sluggish and some other lists to be displayed (etc.) also work sluggishly.
In the meantime, I am not allowed to select some menu items (too large amount of data? - because they worked before!) Because they no longer work.
A close relative of mine is very interested in family and has already organized several family meetings for individual ancestral lines. Sometimes up to 240 participants came from all over the world!
The longest descendant diagram she had plotted was over 32 meters long! The participants were enthusiastic and asked about the software.
Unfortunately I can NOT recommend it any more!
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 16:15:28
Sorry to say that Ancestris is not the best software for printing tree.
You have lots several possible combination but we don't have all the possibilities.
What is your software ?

Zurga

Title: Re: Ancestris für Haiku?
Post by: Pollux on November 03, 2020, 17:11:34
In 2003, after Ray Dee Pollmann (Mormon, Vice President of the Zions Bank) wrote to me from the USA, I installed and tested around 50 genealogy software programs very quickly (I had absolutely no clue about genealogy).
The only software I really liked!) Was Ages! 1.31.
Current version (1.53 = 1.5.3), although I licensed version 2.x and thus financially supported it.
When I read about 'strategic partners' in the pre-announcements for V2.x, I wrote off this software!
Nevertheless: This genealogy software is very underestimated!
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 03, 2020, 22:37:01
The all in one report from Ages! is effectively impressive.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 04, 2020, 07:09:30
Yes, definitely!
It just lacks the possibility of presetting, not even the number of ancestor generations can be specified!
Unfortunately, this leads to unnecessarily long waiting times when creating this diagram, because only AFTER that I can reduce the number of ancestor generations.
The setting options that Ancestris offers me point in the right direction!
Just as I (consciously!) Misuse data fields for entries, I also misuse this diagram form to graphically represent common relationships (even between several people).
Unfortunately, it requires some preliminary work!

Pollux
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 04, 2020, 08:33:30
OpenJDK11 (Haiku Port) has been updated to 11.0.9.11-1!
Now Ancestris11 starts under Hauku64Bit with OpenJDK8 and OpenJDK11 without an error message!
https://discuss.haiku-os.org/t/java-openjdk/2583/123

Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 04, 2020, 09:06:07
Great news.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 04, 2020, 12:49:40
Please read:
https://discuss.haiku-os.org/t/java-openjdk/2583/124

Pollux
Title: Re: Ancestris for Haiku?
Post by: Zurga on November 04, 2020, 13:15:46
I have answered :

The Memory size management is a bug in the last version of Ancestris.
This should be corrected tomorrow.
Meanwhile, just save your memory settings.
When Ancestris relaunch, close it and open again.
The memory size should be taken in account.
This is not related to the Java port.

Zurga
Title: Re : Ancestris for Haiku?
Post by: Pollux on November 04, 2020, 14:51:34
Thank you Zurga, please be so kind and look here again:
https://discuss.haiku-os.org/t/java-openjdk/2583/126

Pollux
Title: Re : Ancestris for Haiku?
Post by: Zurga on November 04, 2020, 15:13:10
Be careful with 32bits architecture : Java memory size is limited to 1Gb on theses types of architecture.

As I said, your settings are saved, but the automatic relaunch has a bug. This is why a fresh launch of Ancestris take your memory settings in account.

I see nothing I can do with your last comment on Haiku.

Zurga
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 04, 2020, 18:42:18
Please read here messages from Korli (Haiku-Team), who does a lot of work with us (Ancestris under Haiku):
https://discuss.haiku-os.org/t/java-openjdk/2583/129

Pollux
Title: Re: Ancestris for Haiku?
Post by: Pollux on November 05, 2020, 06:57:36
After reading my GEDCOM, which has been converted / corrected by Ancestris, the error message shown in the ScreenShot appears (initially as Kriddelkraddel).
What do I have to do?
Besides my own entries, I have imported maybe a hundred GEDCOM's from relatives around the world.
These were exports from maybe 20 different programs ...

Pollux

EDIT:
http://wiki-de.genealogy.net/GEDCOM/_LOC-Tag
Title: Re : Ancestris for Haiku?
Post by: Zurga on November 08, 2020, 22:37:08
Ancestris doesn't understand non-standard entities.
_LOC is one of them.
It is defined as entity, Ancestris is not able to read and understand them actually.

Zurga