Catalina 10.15.2 and Etcher 1.5.71

Hi,

I’m on MacOsX Catalina 10.15.2 and Etcher 1.5.71. When I try to flash my USB to install Ubuntu, there is this message :

the writer process ended unexpectedly. Please try again, …

I try this Terminal command but it doesn’t work :

sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher

Thank you for your help

RJ17

Hi rj17, and welcome to the forums.

To give us more information, can you paste the logs from the application? You can see them by opening the DevTools Console with cmd + opt + i.

Additionally, you could also try with another image to rule out an issue with the image itself.

Thank you for your help

Devices: /dev/disk2
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Umount on success: true
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Validate on success: true
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Trim: false
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Fri Jan 17 2020 23:32:29 GMT+0100 (heure normale d’Europe centrale) Flash error ({“error”:{“name”:“Error”,“message”:“EPERM: operation not permitted, open ‘/dev/rdisk2’”,“stack”:“Error: EPERM: operation not permitted, open ‘/dev/rdisk2’”,“code”:“EPERM”,“syscall”:“open”,“errno”:-1},“applicationSessionUuid”:“8bebe5b1-2d05-4965-8893-5102a06b7202”,“flashingWorkflowUuid”:“5fb261ae-9e09-4d2f-8105-8ae944cf3a40”,“flashInstanceUuid”:“25c19402-6c6c-400e-af39-3789655cd594”,“image”:“/Users/rj17/Downloads/ubuntu-18.04.3-desktop-amd64.iso”,“drives”:[{“size”:8006926336,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:“/dev/rdisk2”,“error”:null,“isReadOnly”:false,“displayName”:“/dev/disk2”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:“/dev/disk2”,“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:,“description”:“Integral Splash Pink Media”,“isUAS”:null}],“driveCount”:1,“uuid”:“25c19402-6c6c-400e-af39-3789655cd594”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“trim”:false,“sample”:0.1})
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Finish: 0
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Flash results {results: {…}, cancelled: false}
/Applications/balenaEtcher.app/Contents/Resources/app/node_modules/raven-js/dist/raven.js:58 Terminating IPC server
/Applications/balenaEtcher.app/Contents/Resources/app/lib/assets/icon.png:1 GET file:///Applications/balenaEtcher.app/Contents/Resources/app/lib/assets/icon.png net::ERR_FILE_NOT_FOUND

Thanks for that. This looks similar to this issue https://github.com/balena-io/etcher/issues/2833 - could you try that workaround and see if that resolves your issue?

It works !

Under Catalina one must add the application to the security exceptions:
Go to “ System Preferences ” -> “ Security & Privacy ” -> “ Privacy “.
Add the application to the list of “ Full Disk Access “ items, and you should be good to go.
No need to run as sudo.

Thank you so much !