Keep getting "something went wrong." error on Arch

I am getting the same error on windows 10, trying to install Tails/Kali on a USB drive. See the screenshot attached. Please help.

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

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

Version = 1.5.115, Type = nsis
gui.js:54098 Thu Jan 28 2021 02:48:57 GMT+0000 (Greenwich Mean Time) Application start ({"packageType":"nsis","version":"1.5.115","sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Thu Jan 28 2021 02:49:12 GMT+0000 (Greenwich Mean Time) Open image selector ({"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 {"stack":"Error: ENOENT: no such file or directory, open 'C:\\Users\\Vins\\AppData\\Local\\Temp\\tmp-2828-O1E97on2fvRs'","message":"ENOENT: no such file or directory, open 'C:\\Users\\Vins\\AppData\\Local\\Temp\\tmp-2828-O1E97on2fvRs'","errno":-4058,"code":"ENOENT","syscall":"open","path":"tmp-2828-O1E97on2fvRs"}
console.<computed> @ gui.js:44749
gui.js:44749 Thu Jan 28 2021 02:49:18 GMT+0000 (Greenwich Mean Time) Select image ({"image":{"size":1194328064,"name":"tails-amd64-4.15.img","hasMBR":true,"partitions":[{"offset":1048576,"size":1192230912,"type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B","guid":"34BF027A-8001-4B93-8243-1F9D3DCE7DE7","name":"Tails","index":1}],"extension":"img","path":"C:\\Users\\Vin's\\Downloads\\Blindly Delete\\tails-amd64-4.15.img","logo":false,"blockMap":false},"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Thu Jan 28 2021 02:49:19 GMT+0000 (Greenwich Mean Time) Reselect drive ({"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Thu Jan 28 2021 02:49:26 GMT+0000 (Greenwich Mean Time) Toggle drive ({"drive":{"size":15728640000,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive2","error":null,"isReadOnly":false,"displayName":"E:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive2","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"E:\\"}],"description":"Generic Flash Disk USB Device","isUAS":false,"partitionTableType":"mbr"},"previouslySelected":true,"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Thu Jan 28 2021 02:49:26 GMT+0000 (Greenwich Mean Time) Toggle drive ({"drive":{"size":8004304896,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive3","error":null,"isReadOnly":false,"displayName":"H:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive3","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"H:\\"}],"description":"SanDisk Cruzer Blade USB Device","isUAS":false,"partitionTableType":"mbr"},"previouslySelected":false,"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Thu Jan 28 2021 02:49:27 GMT+0000 (Greenwich Mean Time) Flash ({"image":{"size":1194328064,"name":"tails-amd64-4.15.img","hasMBR":true,"partitions":[{"offset":1048576,"size":1192230912,"type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B","guid":"34BF027A-8001-4B93-8243-1F9D3DCE7DE7","name":"Tails","index":1}],"extension":"img","path":"C:\\Users\\Vin's\\Downloads\\Blindly Delete\\tails-amd64-4.15.img"},"drives":[{"size":8004304896,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive3","error":null,"isReadOnly":false,"displayName":"H:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive3","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"H:\\"}],"description":"SanDisk Cruzer Blade USB Device","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"71d7926e-43e9-422a-ab0e-7ff848581973","status":"started","flashInstanceUuid":"71d7926e-43e9-422a-ab0e-7ff848581973","sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 Elevating command: C:\Users\Vin's\AppData\Local\Programs\balena-etcher\balenaEtcher.exe C:\Users\Vin's\AppData\Local\Programs\balena-etcher\resources\app\generated\child-writer.js
gui.js:44749 Terminating IPC server
gui.js:44749 Flash results Object
gui.js:44749 Thu Jan 28 2021 02:49:27 GMT+0000 (Greenwich Mean Time) Write failed ({"image":{"size":1194328064,"name":"tails-amd64-4.15.img","hasMBR":true,"partitions":[{"offset":1048576,"size":1192230912,"type":"C12A7328-F81F-11D2-BA4B-00A0C93EC93B","guid":"34BF027A-8001-4B93-8243-1F9D3DCE7DE7","name":"Tails","index":1}],"extension":"img","path":"C:\\Users\\Vin's\\Downloads\\Blindly Delete\\tails-amd64-4.15.img"},"drives":[{"size":8004304896,"isVirtual":false,"enumerator":"USBSTOR","logicalBlockSize":512,"raw":"\\\\.\\PhysicalDrive3","error":null,"isReadOnly":false,"displayName":"H:\\","blockSize":512,"isSCSI":false,"isRemovable":true,"device":"\\\\.\\PhysicalDrive3","busVersion":"2.0","isSystem":false,"busType":"USB","isCard":false,"isUSB":true,"devicePath":null,"mountpoints":[{"path":"H:\\"}],"description":"SanDisk Cruzer Blade USB Device","isUAS":false,"partitionTableType":"mbr"}],"driveCount":1,"uuid":"71d7926e-43e9-422a-ab0e-7ff848581973","status":"failed","flashInstanceUuid":"71d7926e-43e9-422a-ab0e-7ff848581973","error":{"errno":-4058,"code":"ENOENT","syscall":"open","path":"C:\\Users\\Vins\\AppData\\Local\\Temp\\balena-etcher-electron--2828-G1jHn33jVcFd-.cmd"},"sample":0.1,"applicationSessionUuid":"831ec2f7-4377-4106-8174-9cedff189a01","flashingWorkflowUuid":"f7d198d5-9150-4746-b63f-1492484ffb11"})
gui.js:44749 {"stack":"Error: ENOENT: no such file or directory, open 'C:\\Users\\Vins\\AppData\\Local\\Temp\\balena-etcher-electron--2828-G1jHn33jVcFd-.cmd'","message":"ENOENT: no such file or directory, open 'C:\\Users\\Vins\\AppData\\Local\\Temp\\balena-etcher-electron--2828-G1jHn33jVcFd-.cmd'","errno":-4058,"code":"ENOENT","syscall":"open","path":"balena-etcher-electron--2828-G1jHn33jVcFd-.cmd","image":"tails-amd64-4.15.img"}
console.<computed> @ gui.js:44749
gui.js:33148  0 devices, 0% at 0.00 MB/s (total 0.00 MB/s)  with 0 failed devices

@david2c142

No polkit authentication agent found

That’s your problem.

You can either:

@JakeGame try running etcher as an Administrator.

@Ajay1

This is due to the quote in your username.
I’ve managed to reproduce this and opened an issue Flashing fails if the username containes a quote · Issue #3424 · balena-io/etcher · GitHub
I’ll try to fix it in the next release.

@Ajay1 in the meantime, running Etcher as an Administrator should work around the issue.

Hey @Ajay1 Etcher v1.5.116 addresses the issue you reported (Flashing fails if the username contains a quote). Thank you for raising it.