Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s). Not enough devices connected (1) to run the requested number of shards (1). #2165

Open
1 task done
markjoseultra opened this issue Dec 2, 2024 · 4 comments
Labels

Comments

@markjoseultra
Copy link

markjoseultra commented Dec 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

  • Follow the setup windows setup
  • Create a sample flow.yaml
  • Run maestro --host <WINDOWS_IPV4_ADDR> test flow.yaml
  • then it will this
    Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
    Not enough devices connected (1) to run the requested number of shards (1).

Actual results

Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
Not enough devices connected (1) to run the requested number of shards (1).

Expected results

Test should run

About app

Is this an open source or closed source project? - Close project

Is this a native or cross-platform app? - Cross platform

Framework used to build the app - Flutter

If applicable, version of the framework (e.g. Flutter 3.22.0, Compose 1.62.0)
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (3 months ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

If applicable, minimum and target Android SDK/iOS version (e.g. minSdk 21, targetSdk 34) - minSdkVersion 24

About environment

Run on windows 10 WSL2

Java Version
openjdk 21.0.5 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.04)
OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.04, mixed mode, sharing)

Ubuntu
Ubuntu 24.04.1 LTS

Processor architecture
x64

Logs

Logs
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->

maestro_logs.zip

Maestro version

1.39.2

How did you install Maestro?

other (please specify in the text area below)

Anything else?

I use this to install maestro
curl -Ls "https://get.maestro.mobile.dev" | bash

Maestro studio is running fine, the only thing I need now is to run the script created using maestro but it returns
this instead.
Want to use 0 devices, which is not enough to run 1 shards. Missing 1 device(s).
Not enough devices connected (1) to run the requested number of shards (1).

@markjoseultra
Copy link
Author

I was able to workaround the issue by using maestro version 1.36.0

export MAESTRO_VERSION=1.36.0; curl -Ls "https://get.maestro.mobile.dev" | bash

please fix the new version

@herval herval added the Maestro label Dec 3, 2024 — with Linear
@Nimiras
Copy link

Nimiras commented Dec 12, 2024

Had the same problem too. The only version I that worked was 1.36.0.
Despite that, Maestro Studio works perfectly fine for me.
Please fix that in newer versions.

@markjoseultra
Copy link
Author

The new version works perfectly on MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants