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

"/bin/sh: 1: fastboot: not found", "The system cannot find the path specified." #1517

Closed
rubencarneiro opened this issue Nov 10, 2020 · 3 comments · Fixed by #1534
Closed
Assignees
Labels
bug a bug in the software itself

Comments

@rubencarneiro
Copy link

UBports Installer 0.7.0-beta (deb)
Environment: Ubuntu 20.04.1 LTS Focal Fossa linux 5.4.0-52-generic x64 NodeJS v12.16.3
Device: FP2
Target OS: Ubuntu Touch
Settings: undefined
OPEN-CUTS run: https://ubports.open-cuts.org/run/5faa48349702a600079dbc1a
Log: https://paste.ubuntu.com/p/XRDx9MsmMy/

Try to Flash FP2 Normaly

@NeoTheThird
Copy link
Member

I can't seem to be able to reproduce this yet, super weird issue. Thanks for reporting!

@NeoTheThird NeoTheThird added needs confirmation a bug that has not yet been confirmed or reproduced bug a bug in the software itself and removed needs confirmation a bug that has not yet been confirmed or reproduced labels Nov 12, 2020
@NeoTheThird
Copy link
Member

This and #1530 are most likely the same issue. The first time it happens is when flashing fastboot, which is also the first command that uses spawn rather than exec. Might be because spawn uses a shell?

@NeoTheThird NeoTheThird changed the title Error: fastboot:flash: Error: Flashing failed: {"error":{"code":2},"stderr":"/bin/sh: 1: fastboot: not found"} "/bin/sh: 1: fastboot: not found", "The system cannot find the path specified." Nov 12, 2020
NeoTheThird added a commit that referenced this issue Nov 13, 2020
…s.spawn() can not access files inside asar packages. Fixes #1517
@NeoTheThird NeoTheThird self-assigned this Nov 13, 2020
@NeoTheThird NeoTheThird moved this from In progress to Done in UBports Installer Development Nov 13, 2020
NeoTheThird added a commit that referenced this issue Nov 13, 2020
…s.spawn() can not access files inside asar packages. Fixes #1517
@NeoTheThird
Copy link
Member

Should be fixed in 0.7.2-beta, if someone wants to test. Thanks to all who helped triage this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the software itself
Development

Successfully merging a pull request may close this issue.

2 participants