I have been attempting to use Balena to program an SD card with a firmware image for one of my employer’s products; we normally use Roadkil’s Disk Imager but we are currently looking at alternatives. Although I have been able to program a similar firmware image in the past on a Windows 10 system when working from home, I am currently receiving Something went wrong. It it is a compressed image, please check that the archive is not corrupted. User did not grant permission on the Windows 7 desktop in the lab.
I have tried running the standalone build as Administrator and I have also tried running command prompt as Administrator, executing the standalone programmer from the command line. Here is a dump from the console:
index.css:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
electron/js2c/renderer_init.js:13 (electron) The remote module is deprecated. Use GitHub - electron/remote: Bridge JavaScript objects from the main process to the renderer process in Electron. instead.
log @ electron/js2c/renderer_init.js:13
gui.js:364 _____ _ _
| | | | |
| | | | | | ___ _ __
| || / | ’ \ / _ \ '|
| || || (| | | | / |
_/ ____|| ||___||Interested in joining the Etcher team?
Drop us a line at join+etcher@balena.ioVersion = 1.7.8, Type = portable
gui.js:46 Mon Mar 28 2022 09:31:45 GMT+0100 (British Summer Time) Application start ({“packageType”:“portable”,“version”:“1.7.8”,“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 {“stack”:“Error: The specified module could not be found.\r\n\\?\C:\Users\Admin\AppData\Local\Temp\26ZDwweoEftoYLfXXExMqtMd7tA\resources\app\generated\modules\winusb-driver-generator\build\Release\Generator.node\n at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846)\n at Object.Module._extensions…node (internal/modules/cjs/loader.js:1138:18)\n at Object.func [as .node] (electron/js2c/asar_bundle.js:5:1846)\n at Module.load (internal/modules/cjs/loader.js:935:32)\n at Module._load (internal/modules/cjs/loader.js:776:14)\n at Function.f.load (electron/js2c/asar_bundle.js:5:12913)\n at Function.o.load (electron/js2c/renderer_init.js:33:379)\n at Module.require (internal/modules/cjs/loader.js:959:19)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object.defineProperty.value (file:///C%3A/Users/Admin/AppData/Local/Temp/26ZDwweoEftoYLfXXExMqtMd7tA/resources/app/generated/gui.js:35:145014)“,“message”:“The specified module could not be found.\r\n\\?\C:\Users\Admin\AppData\Local\Temp\26ZDwweoEftoYLfXXExMqtMd7tA\resources\app\generated\modules\winusb-driver-generator\build\Release\Generator.node”}
logException @ gui.js:46
gui.js:46 [Axios v1.7.8] Transitional option ‘clarifyTimeoutError’ has been deprecated since v1.0.0 and will be removed in the near future
console. @ gui.js:46
gui.js:46 [Axios v1.7.8] Transitional option ‘forcedJSONParsing’ has been deprecated since v1.0.0 and will be removed in the near future
console. @ gui.js:46
gui.js:46 [Axios v1.7.8] Transitional option ‘silentJSONParsing’ has been deprecated since v1.0.0 and will be removed in the near future
console. @ gui.js:46
gui.js:46 Mon Mar 28 2022 09:31:46 GMT+0100 (British Summer Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 Mon Mar 28 2022 09:31:48 GMT+0100 (British Summer Time) Missing partition table ({“metadata”:{“size”:12222464,“name”:“StreamcorderHDHDMI-Recovery-134.img”,“hasMBR”:false,“extension”:“img”,“path”:”\\server1\transfer\AMPSoftware\Streamcorder\1.34\Firmware-Main\StreamCorderHDHDMI-Recovery-134\StreamcorderHDHDMI-Recovery-134.img"},“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 Mon Mar 28 2022 09:31:48 GMT+0100 (British Summer Time) Select image ({“image”:{“size”:12222464,“name”:“StreamcorderHDHDMI-Recovery-134.img”,“hasMBR”:false,“extension”:“img”,“path”:“\\server1\transfer\AMPSoftware\Streamcorder\1.34\Firmware-Main\StreamCorderHDHDMI-Recovery-134\StreamcorderHDHDMI-Recovery-134.img”,“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 Mon Mar 28 2022 09:31:53 GMT+0100 (British Summer Time) Flash ({“image”:{“size”:12222464,“name”:“StreamcorderHDHDMI-Recovery-134.img”,“hasMBR”:false,“extension”:“img”,“path”:“\\server1\transfer\AMPSoftware\Streamcorder\1.34\Firmware-Main\StreamCorderHDHDMI-Recovery-134\StreamcorderHDHDMI-Recovery-134.img”},“drives”:[{“size”:16172187648,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:false,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic- SD/MMC USB Device”,“isUAS”:false,“partitionTableType”:null}],“driveCount”:1,“uuid”:“10990183-af87-42a3-ad44-faf89bc382b7”,“status”:“started”,“flashInstanceUuid”:“10990183-af87-42a3-ad44-faf89bc382b7”,“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 Elevating command: C:\Users\Admin\AppData\Local\Temp\26ZDwweoEftoYLfXXExMqtMd7tA\balenaEtcher.exe C:\Users\Admin\AppData\Local\Temp\26ZDwweoEftoYLfXXExMqtMd7tA\resources\app\generated\child-writer.js
gui.js:46 Terminating IPC server
gui.js:46 Flash results Object__proto: Object
gui.js:46 Mon Mar 28 2022 09:31:53 GMT+0100 (British Summer Time) Write failed ({“image”:{“size”:12222464,“name”:“StreamcorderHDHDMI-Recovery-134.img”,“hasMBR”:false,“extension”:“img”,“path”:”\\server1\transfer\AMPSoftware\Streamcorder\1.34\Firmware-Main\StreamCorderHDHDMI-Recovery-134\StreamcorderHDHDMI-Recovery-134.img"},“drives”:[{“size”:16172187648,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:“\\.\PhysicalDrive1”,“error”:null,“isReadOnly”:false,“displayName”:“F:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:false,“device”:“\\.\PhysicalDrive1”,“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“F:\”}],“description”:“Generic- SD/MMC USB Device”,“isUAS”:false,“partitionTableType”:null}],“driveCount”:1,“uuid”:“10990183-af87-42a3-ad44-faf89bc382b7”,“status”:“failed”,“flashInstanceUuid”:“10990183-af87-42a3-ad44-faf89bc382b7”,“error”:{},“sample”:0.1,“applicationSessionUuid”:“4a733433-4f14-45fa-9afb-29f55f0ba235”,“flashingWorkflowUuid”:“36055f9a-ef58-4ca5-863b-17054ea8a71e”})
gui.js:46 {“stack”:“Error: User did not grant permission.\n at file:///C%3A/Users/Admin/AppData/Local/Temp/26ZDwweoEftoYLfXXExMqtMd7tA/resources/app/generated/gui.js:46:702552\n at ChildProcess.exithandler (child_process.js:324:5)\n at ChildProcess.emit (events.js:315:20)\n at maybeClose (internal/child_process.js:1048:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)”,“message”:“User did not grant permission.”,“image”:“StreamcorderHDHDMI-Recovery-134.img”}
console. @ gui.js:46
gui.js:35 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
I am currently using 1.7.8 but have the same problem with 1.5.105