etcher: "Unknown error" when writing .img.xz file on Windows

  • Etcher version: 1.0.0-beta.10
  • Operating system and architecture: Windows 10 x64, Insider Preview build 14385
  • Do you see any meaningful error information on DevTools? Do I see anything? Yes. Meaningful? No. Just an error object with the same information as shown below.

When I attempt to flash an image (.img.xz) to an SD card, the operation often opens the UAC dialog for verification and then sits there with the message “Starting…” until I quit the application. When it gets past that, it progresses to around the 80% mark and then slows, before throwing an error (pictured below). The image that was written is corrupted, so Etcher did not successfully complete the imaging operation by the time the error was thrown.

I can’t find any useful info in the dev console and there are no other logs as far as I can tell, so past this screenshot I don’t have anything to go off of.

image

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 53 (46 by maintainers)

Commits related to this issue

Most upvoted comments

Using the “One retry” version, I ran it 6 times and every time it got past the “Starting…” phase when it previously threw the diskpart errors. I tried multiple drives and various other configurations, and every time it worked as it should have up to that point. It did not fix the later error (the original one mentioned in this issue), but as far as I can tell the diskpart ones are resolved. Reinstalling the standard beta 10 brought the error back first try.

So, I think that’s the fix to go with. However, it would be great if it warned you in the dev console that it was retrying so that it was clear that it had hit that problem. That way, we could be sure that the retry logic was in fact activating and future debugging would probably be easier as well.

I think that, based on what I saw with the one-time version, ten times is probably unnecessary. Would you like me to also try the one that rescans?


Now, I think the main thing that we have to figure out is the “unknown error, write” issue, which now happens every time for me. @jeffiscow would you mind installing the version that @jviotti linked to entitled “ONE RETRY”? I’d like to know if you now see an error there like I do or if it works without issue.

I ran the new debug build and both the dev console and the log file are exactly the same as they were before. Where is the new debug information supposed to be?

Agh, I hot-edited a dependency and then re-installed dependencies when packaging, so silly 😃