Etcher giving error when trying to flash SD card on Linux Mint 19.2

Hi
I;m trying to write a diskimage of the Octopi setup for a Raspberry Pi on my Linux Mint 19.2 computer. I’m using the 1.5.67 appimage of Etcher, writing to a 32GB Sandisk micro-SD card.
I’ve tried half a d0zen times, and each time I get the error, “Something went wrong. If it is compressed image, please check that the archive is not corrupted”.

The iso image (2019-09-26-octopi-buster-lite-0.17.0.img) is not compressed, and the mg5 checksum of the original zip file checks out.
The microSD card had a previous version of Octopi on it, and so far I have tried deleting all partitions, creating a single ext4 partition, then tried changing that to a FAT32 partition, also tried it with no partition on the SD Card, each time I get the same error.

I looked through anything similar in the forums, and tried the Ctrl+Shft+i. the last entry - in red - is shown below:

/tmp/.mount_balenaf8…resin-corvus.js:233 {“stack”:“Error: The elevated process died unexpectedly\n at Object.exports.createError (file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:1797:17)\n at Object.exports.createUserError (file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:1836:18)\n at file:///tmp/.mount_balenaf8fehu/resources/app.asar/generated/gui.js:11381:22”,“message”:“The elevated process died unexpectedly”,“description”:“The process error code was 9”,“report”:false,“image”:“2019-09-26-octopi-buster-lite-0.17.0.img”}

This is all greek to me, can anyone help figure out what is going wrong?
I have used Etcher in the past, on previous Linux installations, and not had any problems using it before.
Cheers


Hi there,

The error you see must appear because Etcher is not able to respawn itself with proper permissions needed to access the external drive.
I’m not sure what the root cause of this is, but will try run on a vm with Linux Mint and see how it works for me.

Thanks for taking a look. A further detail which may or may not be relevant: When I run the Etcher AppImage, After choosing the .iso file and selecting the device to flash onto, when I hit the “Flash” button, a window pops up asking for my pw, so I assumed Etcher needs to run as root? However, it may be that it is requesting my pw so it can access the microSD card?
Cheers
Gixxer600

Hi, yesterday we reproduced the problem with new Etcher version on Linux.
It should be fixed with the following pull request:

We’ll update this thread when the new Etcher version is released with a fix.

Hello, I just wanted to let you know that a new version of etcher (v1.5.69) is out and it should fix the issue. Thanks for bringing this up, let us know if everything is working as expected now.

Hi,
Thanks very much for fixing this so quickly, the new version worked perfectly :slight_smile: I’m also glad that - for a change - the error wasn’t something that I’d done or set up wrongly, lol
Gixx

Great news, thanks for letting us know!

I get the same error when using version 1.5.71. Attempting to flash 2019-09-26-raspbian-buster-lite.img to a 30G SD card which previously worked in my Pi B. I get the same error reported by Gixxer600. I’m using KDE Neon 5.17, Plasma desktop.

Hi Tom, thanks for reporting this error. Like last time, we’ll take a look for any breaking changes and let you know what we discover (and if a new release is needed to address the issue). Thanks!

Hi, can you send us the logs when the issue happens? (Press ctrl + shift + i to open devtools, then see Console tab).

I’m not development-savvy, but here goes. Hope it helps!

Version = 1.5.71, Type = appimage
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:37 GMT-0800 (Pacific Standard Time) Application start ({“packageType”:“appimage”,“version”:“1.5.71”,“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:39 GMT-0800 (Pacific Standard Time) SafeWebview loaded ({“event”:{“fromCache”:false,“headers”:{“Accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3”,“Sec-Fetch-Mode”:“navigate”,“Sec-Fetch-Site”:“none”,“Sec-Fetch-User”:"?1",“Upgrade-Insecure-Requests”:“1”,“User-Agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) balena-etcher-electron/1.5.71 Chrome/76.0.3809.146 Electron/6.1.4 Safari/537.36”},“id”:10,“method”:“GET”,“referrer”:"",“resourceType”:“mainFrame”,“responseHeaders”:{“Accept-Ranges”:[“bytes”],“Cache-Control”:[“public, max-age=0”],“Connection”:[“keep-alive”],“Content-Encoding”:[“gzip”],“Content-Type”:[“text/html; charset=UTF-8”],“Date”:[“Fri, 24 Jan 2020 05:57:38 GMT”],“Etag”:[“W/“3c832-16fd250bc00"”],“Last-Modified”:[“Thu, 23 Jan 2020 12:11:44 GMT”],“Server”:[“Cowboy”],“Transfer-Encoding”:[“chunked”],“Vary”:[“Accept-Encoding”],“Via”:[“1.1 vegur, 1.1 vegur”]},“statusCode”:200,“statusLine”:“HTTP/1.1 200 OK”,“timestamp”:1579845459001.912,“url”:“https://www.balena.io/etcher/success-banner/?etcher-version=1.5.71&api-version=2&optOutAnalytics=false"},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,"sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:42 GMT-0800 (Pacific Standard Time) Open image selector ({“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:49 GMT-0800 (Pacific Standard Time) Select image ({“image”:{“size”:2248146944,“name”:“2019-09-26-raspbian-buster-lite.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:1975517184,“type”:131,“index”:2}],“path”:”/home/herrmann/Downloads/2019-09-26-raspbian-buster-lite.img",“extension”:“img”,“logo”:false,“blockMap”:false},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flash ({“image”:"/home/herrmann/Downloads/2019-09-26-raspbian-buster-lite.img",“drives”:[{“size”:16008609792,“isVirtual”:false,“enumerator”:“lsblk:json”,“logicalBlockSize”:512,“raw”:"/dev/sdb",“error”:null,“isReadOnly”:false,“displayName”:"/dev/sdb",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/sdb",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:null,“isUSB”:true,“devicePath”:"/dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0",“mountpoints”:[{“path”:"/media/herrmann/9F31-7814",“label”:null}],“description”:“SanDisk Ultra (/media/herrmann/9F31-7814)”,“isUAS”:null}],“driveCount”:1,“uuid”:“1ee4e848-efed-4d96-ab2a-1e83cc072ce4”,“status”:“started”,“flashInstanceUuid”:“1ee4e848-efed-4d96-ab2a-1e83cc072ce4”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“trim”:false,“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,“sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Elevating command: /run/user/1000/appimagelauncherfs/0000.AppImage -e require(${process.env.APPDIR}/resources/app.asar)
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) SafeWebview loaded ({“event”:{“fromCache”:false,“headers”:{“Accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3”,“Sec-Fetch-Mode”:“navigate”,“Sec-Fetch-Site”:“none”,“Sec-Fetch-User”:"?1",“Upgrade-Insecure-Requests”:“1”,“User-Agent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) balena-etcher-electron/1.5.71 Chrome/76.0.3809.146 Electron/6.1.4 Safari/537.36”},“id”:31,“method”:“GET”,“referrer”:"",“resourceType”:“mainFrame”,“responseHeaders”:{“access-control-allow-origin”:["*"],“age”:[“389”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“559fc5bc7938e37e-SEA”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Fri, 24 Jan 2020 05:57:52 GMT”],“expect-ct”:[“max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct””],“expires”:[“Thu, 23 Jan 2020 20:53:25 GMT”],“last-modified”:[“Tue, 21 Jan 2020 17:49:11 GMT”],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“1”],“x-fastly-request-id”:[“2812d06e88bd285a2d45c8e1d7dabe8e91017f5f”],“x-github-request-id”:[“148C:1EC5:1D8177:212CA7:5E2A056C”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-sea4441-SEA”],“x-timer”:[“S1579845473.739441,VS0,VE0”]},“statusCode”:200,“statusLine”:“HTTP/1.1 200”,“timestamp”:1579845472755.826,“url”:“https://assets.balena.io/etcher-featured/index.html?etcher-version=1.5.71&api-version=2&optOutAnalytics=false"},“applicationSessionUuid”:“88e8433d-12db-44a5-828c-e04fca6b6719”,“flashingWorkflowUuid”:“1d8bfd89-d931-4a27-941f-9965faa277d0”,"sample”:0.1})
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Thu Jan 23 2020 21:57:52 GMT-0800 (Pacific Standard Time) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 error OperationalError
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Terminating IPC server
/tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58 {“stack”:“Error: The elevated process died unexpectedly\n at Object.exports.createError (file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:1577:17)\n at Object.exports.createUserError (file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:1616:18)\n at file:///tmp/.mount_balena9tTEOW/resources/app.asar/generated/gui.js:8589:22”,“message”:“The elevated process died unexpectedly”,“description”:“The process error code was 126”,“report”:false,“image”:“2019-09-26-raspbian-buster-lite.img”}
console. @ /tmp/.mount_balena9tTEOW/resources/app.asar/node_modules/raven-js/dist/raven.js:58
/tmp/.mount_balena9tTEOW/resources/app.asar/lib/assets/icon.png:1 Failed to load resource: net::ERR_FILE_NOT_FOUND

Hey there! Can you try running the application with sudo to discard a permission issue? Also, can you try running an older version of Etcher? Knowing which is the latest Etcher version that works for you would help us pin point what broke!

I am getting the same error.
I am running KDE neon with latest updates.

/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:27705 Download the React DevTools for a better development experience: https://fb.me/react-devtoolsYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58  _____ _       _
|  ___| |     | |
| |__ | |_ ___| |__   ___ _ __
|  __|| __/ __| '_ \ / _ \ '__|
| |___| || (__| | | |  __/ |
\____/ \__\___|_| |_|\___|_|

Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.io

Version = 1.5.76, Type = appimage
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:25 GMT+0100 (Central European Standard Time) Application start ({"packageType":"appimage","version":"1.5.76","applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:32 GMT+0100 (Central European Standard Time) Open image selector ({"applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","flashingWorkflowUuid":"0a4a7317-b4d9-41ed-9ac1-68db29076ef5","sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:34 GMT+0100 (Central European Standard Time) Select image ({"image":{"size":4294967296,"name":"lineage-16.0-20191222-UNOFFICIAL-KonstaKANG-rpi3.img","hasMBR":true,"partitions":[{"offset":1048576,"size":134217728,"type":12,"index":1},{"offset":135266304,"size":1073741824,"type":131,"index":2},{"offset":1209008128,"size":268435456,"type":131,"index":3},{"offset":1477443584,"size":2817523712,"type":131,"index":4}],"path":"/home/tobias/Downloads/rpi/lineage-16.0-20191222-UNOFFICIAL-KonstaKANG-rpi3.img","extension":"img","logo":false,"blockMap":false},"applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","flashingWorkflowUuid":"0a4a7317-b4d9-41ed-9ac1-68db29076ef5","sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:38 GMT+0100 (Central European Standard Time) Flashing 0 devices, 0% at null MB/s (total null MB/s) eta in undefineds with 0 failed devices
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:38 GMT+0100 (Central European Standard Time) Flash ({"image":"/home/tobias/Downloads/rpi/lineage-16.0-20191222-UNOFFICIAL-KonstaKANG-rpi3.img","drives":[{"size":63864569856,"isVirtual":false,"enumerator":"lsblk:json","logicalBlockSize":512,"raw":"/dev/sda","error":null,"isReadOnly":false,"displayName":"/dev/sda","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"/dev/sda","busVersion":null,"isSystem":false,"busType":"USB","isCard":null,"isUSB":true,"devicePath":"/dev/disk/by-path/pci-0000:07:00.3-usb-0:6.1.4:1.0-scsi-0:0:0:0","mountpoints":[],"description":"Mass Storage Device","isUAS":null}],"driveCount":1,"uuid":"8dbaa554-22cd-4350-a8a0-2c736c476c30","status":"started","flashInstanceUuid":"8dbaa554-22cd-4350-a8a0-2c736c476c30","unmountOnSuccess":true,"validateWriteOnSuccess":true,"trim":true,"applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","flashingWorkflowUuid":"0a4a7317-b4d9-41ed-9ac1-68db29076ef5","sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Elevating command: /run/user/1000/appimagelauncherfs/0000.AppImage -e require(`${process.env.APPDIR}/resources/app.asar`)
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:38 GMT+0100 (Central European Standard Time) SafeWebview loaded ({"event":{"id":1,"url":"https://assets.balena.io/etcher-featured/index.html?etcher-version=1.5.76&api-version=2&optOutAnalytics=false","method":"GET","timestamp":1581078098270.2551,"resourceType":"mainFrame","ip":"2606:4700:3031::681f:529d","fromCache":false,"statusLine":"HTTP/1.1 200","statusCode":200,"responseHeaders":{"access-control-allow-origin":["*"],"age":["188"],"cache-control":["max-age=600"],"cf-cache-status":["DYNAMIC"],"cf-ray":["56155321f8d063b9-FRA"],"content-encoding":["br"],"content-type":["text/html; charset=utf-8"],"date":["Fri, 07 Feb 2020 12:21:38 GMT"],"expect-ct":["max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""],"expires":["Thu, 06 Feb 2020 14:12:44 GMT"],"last-modified":["Tue, 21 Jan 2020 17:49:11 GMT"],"server":["cloudflare"],"status":["200"],"vary":["Accept-Encoding"],"via":["1.1 varnish"],"x-cache":["HIT"],"x-cache-hits":["1"],"x-fastly-request-id":["928de9fabbe0498d423463a3cd2aa98ae46faa7a"],"x-github-request-id":["0BA8:5215:1C6F4:24140:5E3C1C84"],"x-proxy-cache":["MISS"],"x-served-by":["cache-fra19180-FRA"],"x-timer":["S1581078098.246638,VS0,VE1"]},"referrer":"","error":"net::OK"},"applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","flashingWorkflowUuid":"0a4a7317-b4d9-41ed-9ac1-68db29076ef5","sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 error Error: Command failed: cd "/home/tobias/Downloads/rpi"; "/usr/bin/pkexec" --disable-internal-agent /bin/bash -c "echo SUDOPROMPT; bash '/tmp/balena-etcher-electron-18049iiGztOLIj7nC.cmd'"
/tmp/balena-etcher-electron-18049iiGztOLIj7nC.cmd: line 77: /run/user/1000/appimagelauncherfs/0000.AppImage: Permission denied

    at ChildProcess.exithandler (child_process.js:308)
    at ChildProcess.emit (events.js:203)
    at maybeClose (internal/child_process.js:1021)
    at Socket.<anonymous> (internal/child_process.js:430)
    at Socket.emit (events.js:203)
    at Pipe.<anonymous> (net.js:588)
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Terminating IPC server
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Flash results {}
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 Fri Feb 07 2020 13:21:40 GMT+0100 (Central European Standard Time) Write failed ({"image":"/home/tobias/Downloads/rpi/lineage-16.0-20191222-UNOFFICIAL-KonstaKANG-rpi3.img","drives":[{"size":63864569856,"isVirtual":false,"enumerator":"lsblk:json","logicalBlockSize":512,"raw":"/dev/sda","error":null,"isReadOnly":false,"displayName":"/dev/sda","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"/dev/sda","busVersion":null,"isSystem":false,"busType":"USB","isCard":null,"isUSB":true,"devicePath":"/dev/disk/by-path/pci-0000:07:00.3-usb-0:6.1.4:1.0-scsi-0:0:0:0","mountpoints":[],"description":"Mass Storage Device","isUAS":null}],"driveCount":1,"uuid":"8dbaa554-22cd-4350-a8a0-2c736c476c30","status":"failed","flashInstanceUuid":"8dbaa554-22cd-4350-a8a0-2c736c476c30","unmountOnSuccess":true,"validateWriteOnSuccess":true,"trim":true,"applicationSessionUuid":"2dc018b3-8ff5-4ad3-ad14-888ec2f7d9aa","flashingWorkflowUuid":"0a4a7317-b4d9-41ed-9ac1-68db29076ef5","error":{"description":"The process error code was 126","report":false},"sample":0.1})
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 {"stack":"Error: The elevated process died unexpectedly\n    at createError (file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:1091:19)\n    at Object.createUserError (file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:1112:12)\n    at file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:5973:30","message":"The elevated process died unexpectedly","description":"The process error code was 126","report":false,"image":"lineage-16.0-20191222-UNOFFICIAL-KonstaKANG-rpi3.img"}
console.<computed> @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58
logException @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/resin-corvus/src/resin-corvus.js:233
flashImageToDrive @ gui.js:5259
async function (async)
flashImageToDrive @ gui.js:5243
tryFlash @ gui.js:5337
callCallback @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:336
wrapped @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:444
invokeGuardedCallbackDev @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:385
invokeGuardedCallback @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:440
invokeGuardedCallbackAndCatchFirstError @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:454
executeDispatch @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:584
executeDispatchesInOrder @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:609
executeDispatchesAndRelease @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:713
executeDispatchesAndReleaseTopLevel @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:722
forEachAccumulated @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:694
runEventsInBatch @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:739
runExtractedPluginEventsInBatch @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:880
handleTopLevel @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5807
batchedEventUpdates$1 @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24368
batchedEventUpdates @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:1419
dispatchEventForPluginEventSystem @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5898
attemptToDispatchEvent @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6014
dispatchEvent @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5918
unstable_runWithPriority @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:818
runWithPriority$2 @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:12130
discreteUpdates$1 @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24384
discreteUpdates @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:1442
dispatchDiscreteEvent @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5885
wrapped @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:444
/tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58 {"stack":"Error: The writer process ended unexpectedly\n    at createError (file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:1091:19)\n    at Object.createUserError (file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:1112:12)\n    at Server.<anonymous> (file:///tmp/.mount_balena9kYAkM/resources/app.asar/generated/gui.js:5689:30)","message":"The writer process ended unexpectedly","description":"Please try again, and contact the Etcher team if the problem persists","report":false,"code":"ECHILDDIED"}
console.<computed> @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:58
logException @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/resin-corvus/src/resin-corvus.js:233
(anonymous) @ gui.js:3397
wrapped @ /tmp/.mount_balena9kYAkM/resources/app.asar/node_modules/raven-js/dist/raven.js:444
/tmp/.mount_balena9kYAkM/resources/app.asar/lib/assets/icon.png:1 GET file:///tmp/.mount_balena9kYAkM/resources/app.asar/lib/assets/icon.png net::ERR_FILE_NOT_FOUND

I tried the following versions:
1.5.76: fails
1.5.75: fails, same error as 1.5.76
1.5.74: not working, blank window
1.5.73: fails, same error as 1.5.76
1.5.72: fails, same error as 1.5.76
1.5.71: fails, same error as 1.5.76
1.5.70: fails, same error as 1.5.76
1.5.69: fails, same error as 1.5.76
1.5.50: fails, different error message “user did not grant permission”, even though I did
1.5.0: fails, different error message “user did not grant permission”, even though I did
1.3.1: fails, no conclusive error message

Hi @Terces and welcome to the forums. Can you just confirm that, as the advice above, you’ve tried running the application with sudo to discard a permission issue? If you have, could you also try the Debian package available from https://github.com/balena-io/etcher/releases to see if that has the same issue?

Hello garethtdavis,

I did, yes. Apparently it is a problem with AppImageLauncher that comes preinstalled with KDE neon. I removed it and now it is working as it should. I found the hint here:

sadly there is no detailed information as to why this happens.

Thanks for the valuable feedback and workaround and glad it is working now.

Hi garethtdavies,

I created a bugreport on the AppImageLaucher github page. I hope this will get fixed upstream.

1 Like

hello i have been trying to flash a debain armhf iso to a 16gb usb the file is about 800mb when i run the flash it says if it is a compressed image check if it is corrupted and that there was an error spawning the child process. i am trying to sent the crtl+shift+i consol log but it says it is too long