0

I am trying to use Maestro CLI to test my application, but I encountered an issue when running the maestro command. Here is the error I receive:

Exception in thread "main" java.lang.UnsatisfiedLinkError: 'int org.fusesource.jansi.internal.CLibrary.isatty(int)'
        at org.fusesource.jansi.internal.CLibrary.isatty(Native Method)
        at maestro.cli.DisableAnsiMixin$Companion.applyCLIMixin(DisableAnsiMixin.kt:43)
        at maestro.cli.DisableAnsiMixin$Companion.executionStrategy(DisableAnsiMixin.kt:21)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at maestro.cli.AppKt.main(App.kt:144)

System Information:

  • OS: Fedora Workstation 41

  • Java version: OpenJDK 21.0.3 (LTS)

  • Maestro version: CLI 1.39.13 (installed via the official documentation)

Steps to Reproduce:

  1. Installed Maestro using the instructions from the official website.

  2. Ran the maestro command to confirm the installation.

  3. Encountered the above error.

What I've Tried:

  • Reinstalling Maestro.

  • Verifying that the jansi library is installed on my system. It seems to be included already.

  • Running a flow test with Maestro, but the same error persists.

Additional Notes:

  • From what I understand, the issue might be related to Jansi's native dependencies or compatibility with Fedora.

  • If anyone has encountered this issue or has suggestions to resolve it, your help would be greatly appreciated!

Thank you in advance!

1
  • Edit: the problem is solved, I just had to upgrade my Java version to the latest version which is 23.0.2 Commented Feb 20 at 3:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.