Author Topic: macOS Monterey  (Read 3863 times)

0 Members and 1 Guest are viewing this topic.

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
macOS Monterey
« on: June 23, 2022, 16:01:56 »
Hello,

I have installed Ancestris on my MacBook Pro (running Monterey) and MacBook Air (running Big Sur).

The java installation is up to date.

In both cases, when I launch the App I get a message ..

“You can’t open the application “Ancestris” because this application is not supported on this Mac”

… when I try to run the executable from a terminal with sudo, I get “bad CPU type in executable”

I wonder if anyone has any suggestions?

Thanks in advance.

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: macOS Monterey
« Reply #1 on: June 23, 2022, 17:57:00 »
Which version of Java is installed on your Mac ?

Zurga

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 756
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #2 on: June 23, 2022, 21:28:15 »
Hi,

Thanks for the error message. Apologies for that. I have modified the package a couple of days ago and while it works on my Mac, it does not work on all. There seems to be a ZSH vs BASH difference.
Does Ancestris start if you launch Ancestris.app/Contents/Resources/ancestris/bin/ancestris instead of just clicking on Ancestris.app? It would mean I have to redo the launcher differently...

Best regards,
Frederic

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 756
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #3 on: June 23, 2022, 21:46:44 »
Does any of these solutions work ?

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: macOS Monterey
« Reply #4 on: June 24, 2022, 08:24:44 »
Hi,

When I try running the binary under sudo …

Ancestris.app/Contents/Resources/ancestris/bin/ancestris

… I get a message …

“unable to execute …. bad CPU type in executable”

My Java version is 1.8.0_191

Thanks for responding.

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 756
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #5 on: June 24, 2022, 20:08:21 »
Hi,

I have repackaged both Ancestris v11 and v12.

Can you please re-install and let me know if it fixes the pb?

Cheers,
Frederic

Offline f1vnc

  • VIP
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: macOS Monterey
« Reply #6 on: June 24, 2022, 22:31:00 »
Hi,

Yes, it now launches from both my MacBook Air & Pro. It also runs from the Terminal.

Many thanks, I’m very impressed.

cheers
F1VNC (Keith)

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 756
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #7 on: June 25, 2022, 07:39:53 »
Hi Keith,

Very glad to hear!
If you see anything else, feel free to ask.

Cheers,
Frederic

Offline William Thomas

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: macOS Monterey 12.5
« Reply #8 on: July 30, 2022, 00:46:56 »
I am having a similar problem: I have Java 8 (according to the settinings panel), just installed version 12, then reinstalled version 11. When I try to open Ancestris, I get "“Ancestris.app” is damaged and can’t be opened. You should move it to the Trash."

When I tried the terminal command % Ancestris.app/Contents/Resources/ancestris/bin/ancestris
zsh: no such file or directory: Ancestris.app/Contents/Resources/ancestris/bin/ancestris

I may have a problem with Java:
/usr/libexec/java_home -V
Matching Java Virtual Machines (2):
    17.0.3 (arm64) "Eclipse Adoptium" - "OpenJDK 17.0.3" /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
    1.8.333.02 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home

Thanks in advance,
Will

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 756
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: macOS Monterey
« Reply #9 on: July 30, 2022, 13:58:51 »
Hi Will,

Thanks for your message. I am not sure this is related otherwise you would get the same message.
The bin/ancestris file should be there obviously because it is in the downloaded package.
Ideally you should have java 17 active (what does java -version gives you in a terminal window?) and run Ancestris 12 because more recent.

If I were you, I would remove all ancestris versions (delete folders or apps), remove java 8 (not sure how), make sure java 17 is still active (open a terminal and type "java -version"), then reinstall Ancestris 12 and try again.

Let us know,
Frederic

Offline William Thomas

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re : macOS Monterey
« Reply #10 on: August 07, 2022, 23:05:14 »
That worked.  Many thanks!

Will