-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Maestro CLI errors on all commands - Fedora 41 #2278
Comments
I'm having the same issue |
I tried using sudo and it worked. Doing some tests calling directly the jar library, I discovered that's missing some binary that should be extracted to the temp folder by the Jar library. |
In #2324, @Harenabs21 found that this issue was resolved in OpenJDK 23, but you might then fall foul of #2120 if you're using the GraalJS engine. |
Is there an existing issue for this?
Steps to reproduce
Actual results
leonardohofling@DESKTOP-BRUUJDN ➜ ProjectX git:(feature/add-redux) ✗ maestro
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:143)
leonardohofling@DESKTOP-BRUUJDN ➜ ProjectX git:(feature/add-redux) ✗ maestro test e2e/register-flow.yaml
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:143)
Alternative way to execute without error:
leonardohofling@DESKTOP-BRUUJDN ➜ ProjectX git:(feature/add-redux) ✗ maestro --no-ansi --no-color
option '--no-color' should be specified only once
Usage: maestro [-hv] [--[no-]ansi] [--verbose] [-p=] [--udid=] [COMMAND]
-h, --help Display help message
--[no-]ansi, --[no-]color
Enable / disable colors and ansi output
-p, --platform=
(Optional) Select a platform to run on
--udid, --device=
(Optional) Device ID to run on explicitly, can be a comma separated list of IDs: --device "Emulator_1,Emulator_2"
-v, --version Display CLI version
--verbose Enable verbose logging
Commands:
test Test a Flow or set of Flows on a local iOS Simulator or Android Emulator
cloud Test a Flow or set of Flows on Maestro Cloud (https://cloud.mobile.dev)
record Render a beautiful video of your Flow - Great for demos and bug reports
download-samples Download sample apps and flows for trying out maestro without setting up your own app
login Log into Maestro Cloud
logout Log out of Maestro Cloud
bugreport Report a bug - Help us improve your experience!
start-device Starts or creates an iOS Simulator or Android Emulator similar to the ones on Maestro Cloud
Expected results
Show documentation or execute the tests
About app
React Native
About environment
openjdk 17.0.6 2023-01-17 LTS
Fedora 41
Ryzen 7 5700x
Logs
Logs
Maestro version
1.39.9
How did you install Maestro?
install script (https://get.maestro.mobile.dev)
Anything else?
No response
The text was updated successfully, but these errors were encountered: