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

Echer 1.19.21 "Something went wrong. If it is a compressed image, please check that the archive is not corrupted". #4330

Open
saulpugg opened this issue Oct 6, 2024 · 13 comments

Comments

@saulpugg
Copy link

saulpugg commented Oct 6, 2024

  • Etcher version:
  • Operating system and architecture:
  • Image flashed:
  • What do you think should have happened:
  • What happened:
  • Do you see any meaningful error information in the DevTools?
@saulpugg
Copy link
Author

saulpugg commented Oct 6, 2024

The software doesn't allow me to flash the USB stick. It stops showing the message shown on the title.

@gramtech
Copy link

Hey, I am having the same issue, I have tried a couple different USB sticks, one of which I have used before with Etcher

Etcher version: 1.19.25
Operating system and architecture: MacOS Somona, Intel 
Image flashed: ubuntu-mate-24.04.1-desktop-amd64.iso 
What happened: Received the following error:

Something went wrong. If it is a compressed image, please check that the archive is not corrupted.
The writer process ended unexpectedly

@SeQwintial
Copy link

Untitled1
I have also received the same error as the above comment; in addition, 4 separate windows popped up during the validation process telling me I needed to format the new drives (each one is partitioned from the flash, i'm assuming) before I can use them. Is Windows getting in the way of the final validation?

@juniorr001
Copy link

juniorr001 commented Oct 11, 2024

I solved it by running as administrator.
right click on the shortcut > run as administrator.

@SeQwintial
Copy link

I solved it by running as administrator. right click on the shortcut > run as administrator.

I have unfortunately tried this, as well as disabling my antivirus/windows defender, and trying it in a different usb slot. Attempting to boot the kobo with the sd card in it also does nothing (in the case that the validation error was irrelevant and the flashing had worked properly)

@2ZZ
Copy link

2ZZ commented Nov 11, 2024

This is happening every time on MacOS for me, I tried 3 different Macbooks, different USB sticks and all on the latest version of Etcher.

@stellar-liyanbin
Copy link

I first tried flashing the file in the file.img.xz format, but it failed. Then I tried extracting it to somefile.img first and then flashing it, and that worked, all on MacOS.

@fatso83
Copy link

fatso83 commented Nov 17, 2024

@saulpugg There is absolutely nothing to go by in your bug reports. It's near useless when you don't even bother filling out the template. Like which version, which os, ... how do you expect anyone to be able to work with this?

@2ZZ
Copy link

2ZZ commented Nov 17, 2024

I first tried flashing the file in the file.img.xz format, but it failed. Then I tried extracting it to somefile.img first and then flashing it, and that worked, all on MacOS.

My failures were with .xz as well.

@SeQwintial
Copy link

I first tried flashing the file in the file.img.xz format, but it failed. Then I tried extracting it to somefile.img first and then flashing it, and that worked, all on MacOS.

My failures were with .xz as well.

I've solved my problem with this, and it turns out I had to extract the .xz file first before attempting to flash it. Worked on first attempt, Win10.

Git1
(Note the "0-N905C file" extension - this was the one that worked)

@MrTechGadget
Copy link

I am also experiencing this issue on macOS with 1.19.25 on a .img.xz image that I have used dozens of times with no issues with 1.7.8. Apparently there has been a feature regression.

@4b11b4
Copy link

4b11b4 commented Nov 27, 2024

Also having this issue, however
I was able to flash the rpi5 image provided by Balena, so this lends towards me thinking there's an issue with whatever image I'm trying to flash.

update: was successful on etcher v1.19.25
this issue can probably be closed, as
it seems to be either related to the user's environment or is fixed in newer versions

macOS 14.0, etcher 1.19.21

I have an .xz image
(from Luxonis' RPI_OS)
that I decompressed and added a .img extension to
It seemed that selecting the .xz would result in nothing happening in the interface (couldn't proceed to selecting target)

Attempts:

  1. Failure
    From dev tools console, it seems I got to 92% then there was an unexpected write failure.
  2. Failure
    Verifying 1 device, 100% at 19.90 MB/s (total 19.90 MB/s) eta in 0s with 0 failed devices
    index.js:2 fail event
    index.js:2 {size: 31266438656, isVirtual: false, enumerator: 'DiskArbitration', logicalBlockSize: 512, raw: '/dev/rdisk4', …}blockSize: 512busType: "USB"busVersion: nulldescription: "Mass Storage Device Media"device: "/dev/disk4"devicePath: "IODeviceTree:/arm-io/usb-drd0@2280000/usb-drd0-port-hs@00100000"displayName: "/dev/disk4"enumerator: "DiskArbitration"error: nullisCard: falseisReadOnly: falseisRemovable: trueisSCSI: falseisSystem: falseisUAS: nullisUSB: trueisVirtual: falselogicalBlockSize: 512mountpoints: [{…}]partitionTableType: "mbr"raw: "/dev/rdisk4"size: 31266438656[[Prototype]]: Object
    index.js:2 {name: 'Error', message: 'Unmount failed, invalid drive', stack: 'Error: Unmount failed, invalid drive'}message: "Unmount failed, invalid drive"name: "Error"stack: "Error: Unmount failed, invalid drive"[[Prototype]]: Object
    index.js:2 Starting...
    index.js:2 Starting...
    index.js:2 Flash results {}
    index.js:2 {}
    index.js:2 CHILD: flash done {results: {…}}results: bytesWritten: 7624622592devices: {failed: 1, successful: 0}errors: [Error: Unmount failed, invalid drive]sourceMetadata: {size: 8787493376, name: 'RPi_64bit_OS.img', blocks: Array(13), blockmappedSize: 7624622592}[[Prototype]]: Object[[Prototype]]: Object
    index.js:2 Flash results {results: {…}}results: bytesWritten: 7624622592devices: {failed: 1, successful: 0}errors: [Error: Unmount failed, invalid drive]sourceMetadata: {size: 8787493376, name: 'RPi_64bit_OS.img', blocks: Array(13), blockmappedSize: 7624622592}[[Prototype]]: Object[[Prototype]]: Object
    index.js:2 Starting...
    index.js:2 Error: The writer process ended unexpectedly
    at i (index.js:353:5238)
    at t.createUserError (index.js:353:6464)
    at m (index.js:140:45502)
    at index.js:140:46208
    at L. (index.js:140:42787)
    at L.emit (node:events:518:28)
    at e.exports.H (index.js:2:2317562)
    at e.exports.emit (node:events:518:28)
    at index.js:2:2293382
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@4b11b4
Copy link

4b11b4 commented Nov 27, 2024

one note is that I still get errors after success in the console (v1.91.25)

Verifying 1 device, 100% at 20.00 MB/s (total 20.00 MB/s) eta in 0s with 0 failed devices
index.js:2 CHILD: flash done {results: {…}}results: averageFlashingSpeed: 11454126.53192442bytesWritten: 7624622592devices: {failed: 0, successful: 1}errors: []sourceMetadata: {size: 8787493376, name: 'RPi_64bit_OS.img', blocks: Array(13), blockmappedSize: 7624622592}[[Prototype]]: Object[[Prototype]]: Object
index.js:2 Flash results {results: {…}}cancelled: falseresults: averageFlashingSpeed: 11454126.53192442bytesWritten: 7624622592devices: {failed: 0, successful: 1}errors: []sourceMetadata: {size: 8787493376, name: 'RPi_64bit_OS.img', blocks: Array(13), blockmappedSize: 7624622592}[[Prototype]]: Objectskip: false[[Prototype]]: Object
index.js:2 got results {results: {…}}cancelled: falseresults: averageFlashingSpeed: 11454126.53192442bytesWritten: 7624622592devices: {failed: 0, successful: 1}errors: []sourceMetadata: {size: 8787493376, name: 'RPi_64bit_OS.img', blocks: Array(13), blockmappedSize: 7624622592}[[Prototype]]: Objectskip: false[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()defineGetter: ƒ defineGetter()defineSetter: ƒ defineSetter()lookupGetter: ƒ lookupGetter()lookupSetter: ƒ lookupSetter()proto: (...)get proto: ƒ proto()set proto: ƒ proto()
index.js:2 Starting...
index.js:2 removed flashing flag
GET file:///Applications/balenaEtcher.app/Contents/Resources/app.asar/.webpack/renderer/main_window/media/icon.png net::ERR_FILE_NOT_FOUND
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 2 events"}
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 2 events"}
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 2 events"}
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 2 events"}
index.js:2 Amplitude Logger [Warn]: {code: 0, error: "Status 'unknown' provided for 2 events"}
index.js:2 Amplitude Logger [Error]: Event rejected due to exceeded retry count
index.js:2 Amplitude Logger [Error]: Event rejected due to exceeded retry count

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

No branches or pull requests

9 participants