continuous errors

I am trying to image a 16gb SD with the HamPi image. I can select the image, target drive, and then flash. It takes about 5 seconds or so and then I get a message asking to start the Windows command processor (I answer yes), and then in 30-40 seconds I get the error “Attention - The writer process ended unexpectedly Please try again, and contact the Etcher team if the problem persists.”

I am using Windows 10 with all current updates and Etcher v. 1.5.100. I have uninstalled Etcher and re-installed it. I have re-downloaded Etcher and re-installed it. I have re-downloaded the .img file multiple times. All with the same result. Can anyone help?

Hi there, are you able to capture any of the output from the Developer Tools while this occurs? You can access them by pressing Control+Shift+I while Etcher is open and running.

Other common items that can have an impact on Etcher are Windows Defender, Antivirus, or other security software that prevent devices from being written to. So you might try disabling any such programs, to see if that helps.

Hi, David.

I tried the C+S+I and it didn’t do anything. I am running Windows Defender and Sophos, so I will turn them off and try again. I will let you know how it goes.

Thanks.

Dave


like this… i will install moodlebox in raspberry pi 3, and alwas error like this. Help me please…

Hey @beny @hamiltdm unfortunately it is almost impossible to debug such issues without the full error report. Ctrl + Shift + I on windows and Cmd + Options + I on mac should both work, make sure the electron application is on the foreground and try pressing the combination a couple of times if it doesn’t show up immediately.
Once you manage to open that up, you should see the Console tab selected and all the Etcher logs displayed in there, can you post those in here? (either a screenshot, or copy-pasting it into a message would be fine)

Same problem I am having. A month ago +/- weeks everything worked. Windows 10 patches and things shift sideways. I have a log saved, but am a newbie and not allowed to paste much.

gui.js:83421 _____ _ _
| | | | |
| |
| |
| | ___ _ __
| || / | ’ \ / _ \ '|
| |
| || (
| | | | / |
_
/ ____|| ||___||

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

Version = 1.5.100, Type = nsis
gui.js:134075 Sat Jun 27 2020 22:02:46 GMT-0500 (Central Daylight Time) Application start ({“packageType”:“nsis”,“version”:“1.5.100”,“sample”:0.1,“applicationSessionUuid”:“114ed867-6ca1-4c91-add3-280eb540762d”,“flashingWorkflowUuid”:“0b8d8025-6100-42f4-8cac-d6bce4764529”})
gui.js:126777 Sat Jun 27 2020 22:02:49 GMT-0500 (Central Daylight Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“114ed867-6ca1-4c91-add3-280eb540762d”,“flashingWorkflowUuid”:“0b8d8025-6100-42f4-8cac-d6bce4764529”})

hello,
Can you instead save the output to a text file and try and upload it please?
Thanks

Hi, I’ve the same problem since today (yesterday went everything allright).
This is my log with the same problem.
balenaetcher_log.pdf (93.4 KB)

Hey there! Thanks a lot for the logs. Can you confirm that Etcher works fine if you run it as an administrator?

Nope, it didn’t work with administrator privileges too.
I needed to restart the PC and, after that, it has restored the full functionality.


___| | | |

__ | |_ _| | ___ _ __

__|| _/ | ’ \ / _ \ '|

_| || (| | | | __/ |

_/ __|| ||___|_|

Interested in joining the Etcher team?

Drop us a line at join+etcher@balena.io

Version = 1.5.100, Type = nsis

gui.js:134075 Wed Jul 01 2020 11:03:12 GMT-0700 (Mountain Standard Time) Application start ({“packageType”:“nsis”,“version”:“1.5.100”,“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Wed Jul 01 2020 11:03:17 GMT-0700 (Mountain Standard Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Wed Jul 01 2020 11:03:27 GMT-0700 (Mountain Standard Time) Select image ({“image”:{“size”:13488881152,“name”:“HamPi_v1.0.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:13216251904,“type”:131,“index”:2}],“path”:“M:\Downloads\Raspberry Pi\HamPI\HamPi v1.0 by W3DJS\HamPi_v1.0.img”,“extension”:“img”,“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Wed Jul 01 2020 11:03:47 GMT-0700 (Mountain Standard Time) Toggle drive ({“drive”:{“size”:63864569856,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive5”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive5”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false},“previouslySelected”:false,“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Wed Jul 01 2020 11:03:49 GMT-0700 (Mountain Standard Time) Flash ({“image”:“M:\Downloads\Raspberry Pi\HamPI\HamPi v1.0 by W3DJS\HamPi_v1.0.img”,“drives”:[{“size”:63864569856,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive5”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive5”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“status”:“started”,“flashInstanceUuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Elevating command: C:\Users\hamil\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\hamil\AppData\Local\Programs\balena-etcher\resources\app

gui.js:126777 Wed Jul 01 2020 11:03:49 GMT-0700 (Mountain Standard Time) SafeWebview loaded ({“event”:{“id”:1,“url”:“https://www.balena.io/etcher/featured 200”,“statusCode”:200,“responseHeaders”:{“access-control-allow-origin”:[“*”],“age”:[“353”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“5ac20bbcba6ae4e2-LAX”],“cf-request-id”:[“03ad25a9f40000e4e24998d200000001”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Wed, 01 Jul 2020 18:03:48 GMT”],“expect-ct”:[“max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\”“],“expires”:[“Thu, 25 Jun 2020 14:19:30 GMT”],“last-modified”:[“Wed, 17 Jun 2020 21:19:41 GMT”],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“3”],“x-fastly-request-id”:[“d1cfc20efc1805618eef158185a32a9c925723ec”],“x-github-request-id”:[“D9AA:0A64:7969CB:910242:5EF4B01A”],“x-origin-cache”:[“HIT”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-lax8635-LAX”],“x-timer”:[“S1593626629.614002,VS0,VE0”]},“referrer”:”",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:7847 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices

gui.js:126777 Successfully connected to IPC server: etcher-server-15628, socket root C:\Users\hamil\AppData\Local\Temp\

gui.js:126777 Image: M:\Downloads\Raspberry Pi\HamPI\HamPi v1.0 by W3DJS\HamPi_v1.0.img

gui.js:126777 Devices: \.\PhysicalDrive5

gui.js:126777 Umount on success: true

gui.js:126777 Validate on success: true

gui.js:126777 Auto blockmapping: true

gui.js:126777 Decompress first: true

gui.js:126777 Wed Jul 01 2020 11:03:57 GMT-0700 (Mountain Standard Time) Flash error ({“image”:“M:\Downloads\Raspberry Pi\HamPI\HamPi v1.0 by W3DJS\HamPi_v1.0.img”,“drives”:[{“size”:63864569856,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive5”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive5”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“flashInstanceUuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“error”:{“name”:“Error”,“message”:“EPERM: operation not permitted, write”,“stack”:“Error: EPERM: operation not permitted, write”,“code”:“EPERM”,“syscall”:“write”,“errno”:-4048},“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

gui.js:126777 Finish: 0

gui.js:126777 Terminating IPC server

gui.js:126777 Flash results Object

gui.js:126777 Wed Jul 01 2020 11:04:01 GMT-0700 (Mountain Standard Time) Write failed ({“image”:“M:\Downloads\Raspberry Pi\HamPI\HamPi v1.0 by W3DJS\HamPi_v1.0.img”,“drives”:[{“size”:63864569856,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive5”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“\\.\PhysicalDrive5”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic STORAGE DEVICE USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“status”:“failed”,“flashInstanceUuid”:“6865352c-a235-4e5e-bf93-b16b702f93cd”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“error”:{“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“code”:“ECHILDDIED”},“sample”:0.1,“applicationSessionUuid”:“1eaf2693-9226-4c1a-b5e2-e58d8f8da527”,“flashingWorkflowUuid”:“c38a977f-91e1-42ca-85a6-e7ddf7a86ca7”})

Hi @hamiltdm , looks like permission issue, can you try a solution described here?

Windows defender has a “Controlled folder access” setting which can cause unexpected permissions errors. It might be worth looking into if that could be the cause for your issue (It have been disabled by default in the past, but maybe it’s not in some installs?) . More info: Allow an app to access controlled folders - Microsoft Support

The Controlled Folder access is set to off.

Hi @hamiltdm – thanks for the additional info. I’ll check with the Etcher team about this. In the meantime, I’m wondering if you see any additional information in the Windows Event Viewer? You can find a good introduction to that here: https://www.howtogeek.com/123646/htg-explains-what-the-windows-event-viewer-is-and-how-you-can-use-it/

All the best,
Hugh

Hi!

Do you have any antivirus/anti-malware installed in your system? If so, try disabling it temporary and flashing again. It seems that etcher is getting a permission error when trying to write, and such programs can cause that.

Has anyone found a fix on this. I’m still getting this error while tryng to create a bootable USB with Linux Mint to replace Win 10 on a computer where the stupid Windows 10 update messed it up. I’m using my kids Win 7 computer with Etcher on my Admin user profile. I’ve already turned off everything ing the windows security and even gave special security permissions for Etcher in 3 different places there. Its frustrating because I’d like to get my computer back up that I work on using the boot USB this program can make.

Hi there, are you able to fully erase this disk using Windows diskpart.exe (remove all partitions) and then create a single FAT partition to see if the disk sub-system is working correctly first?

I finally got it to work by using Etcher on my laptop. Identical setup to my desktop, but it worked. Thanks