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

[windows] error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"The system cannot find the path specified."} #1530

Closed
NeoTheThird opened this issue Nov 12, 2020 · 10 comments
Labels
bug a bug in the software itself

Comments

@NeoTheThird
Copy link
Member

UBports Installer 0.7.0-beta (exe)
Environment: Microsoft Windows 10 Home 10.0.18363 win32 10.0.18363 x64 18363 0.0 NodeJS v12.16.3
Device: angler nexus 6P
Target OS: Ubuntu Touch
Settings: undefined
OPEN-CUTS run: https://ubports.open-cuts.org/run/5faaaa469702a600079dbcda
Log: https://paste.ubuntu.com/p/cfcNvQNMVx/

Originally posted by @XtofHeylands in #1474 (comment)

error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"The system cannot find the path specified."}
stack trace: Error: Flashing failed: {"error":{"code":1},"stderr":"The system cannot find the path specified."}
    at C:\Users\xtofh\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\promise-android-tools\src\fastboot.js:157:15
    at C:\Users\xtofh\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\cancelable-promise\dist\CancelablePromise.js:27:18
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Log is unfortunately incomplete due to #1522. We'll need a new report to reproduce this.

@NeoTheThird NeoTheThird added the bug a bug in the software itself label Nov 12, 2020
@NeoTheThird NeoTheThird changed the title error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"The system cannot find the path specified."} [windows] error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"The system cannot find the path specified."} Nov 12, 2020
@NeoTheThird
Copy link
Member Author

Duplicate of #1517

@NeoTheThird NeoTheThird marked this as a duplicate of #1517 Nov 12, 2020
@XtofHeylands
Copy link

Could it be a fault on my end?

@NeoTheThird
Copy link
Member Author

I was able to connect it to some reports from other people (so it's not just you), but i could not reproduce it myself yet. Have you tried multiple times?

@XtofHeylands
Copy link

Tried using different versions of the installer (0.5/0.6/0.7) Precedure I tried several times was:

  1. flashing stock android 7.1.2 image + enab dev/usb debugging etc...
  2. flashing twpr recovery
  3. formatting all partitions (not sure about this part, pretty badely documented imo)
  4. running the installer

Always resulted in this error.

@Lup1ng
Copy link

Lup1ng commented Nov 12, 2020

Same here.
https://paste.ubuntu.com/p/p2sMMpRnP6/

@NeoTheThird
Copy link
Member Author

@Lup1ng your issue looks different:

error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"ϵͳ�Ҳ���ָ����·����"}
stack trace: Error: Flashing failed: {"error":{"code":1},"stderr":"ϵͳ�Ҳ���ָ����·����"}
    at C:\Users\win\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\promise-android-tools\src\fastboot.js:157:15
    at C:\Users\win\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\cancelable-promise\dist\CancelablePromise.js:27:18
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

If i may ask @Lup1ng what language do you have your system set as? Do you remember what the error said, when the installer showed it? Pastebin seems to have messed it up...

@NeoTheThird
Copy link
Member Author

The original issue should be fixed in 0.7.2-beta, if someone wants to test. @XtofHeylands

@XtofHeylands
Copy link

worked like a charm, thanks a lottt mate!!

@NeoTheThird
Copy link
Member Author

Very good to hear, thank you for reporting back :)

@Lup1ng
Copy link

Lup1ng commented Nov 13, 2020

@Lup1ng your issue looks different:

error: Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"ϵͳ�Ҳ���ָ����·����"}
stack trace: Error: Flashing failed: {"error":{"code":1},"stderr":"ϵͳ�Ҳ���ָ����·����"}
    at C:\Users\win\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\promise-android-tools\src\fastboot.js:157:15
    at C:\Users\win\AppData\Local\Temp\1k2qLsXkOGbeMaJ8ZAVO1Be99hN\resources\app.asar\node_modules\cancelable-promise\dist\CancelablePromise.js:27:18
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

If i may ask @Lup1ng what language do you have your system set as? Do you remember what the error said, when the installer showed it? Pastebin seems to have messed it up...

Everything working great in 0.7.2! Thanks a lot!

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
Projects
None yet
Development

No branches or pull requests

3 participants