You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This is a custom-rebuilt version with electron25, as electron19 has been dropped in archlinux official repo, I tried to rebuild etcher with newer electron (namely electron 22 to 25).
All builds succeded but failed to flash any image.
update: with 1.18.13 I still cannot flash any image. When I select an image, it pops
And I see the logs in console says
index.css:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
gui.js:320 _____ _ _
| ___| | | |
| |__ | |_ ___| |__ ___ _ __
| __|| __/ __| '_ \ / _ \ '__|
| |___| || (__| | | | __/ |
\____/ \__\___|_| |_|\___|_|
Interested in joining the Etcher team?
Drop us a line at [email protected]
Version = 1.18.13, Type = local
node:events:491 Uncaught Error: spawn /usr/lib/balena-etcher/generated/etcher-util ENOENT
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at __node_internal_errnoException (node:internal/errors:620:12)
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gui.js:3 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ gui.js:3
gui.js:3 TypeError: requestMetadata is not a function
at gui.js:278:1759
at SourceSelector.selectSource (gui.js:278:2719)
at SourceSelector.openImageSelector (gui.js:278:3117)
(anonymous) @ gui.js:3
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Language changed to: en
packageUpdatable false
ready-to-show: 1.562s
(electron:482616): Gtk-WARNING **: 21:13:02.747: Failed to measure available space: ???????
Error occurred in handler for'disable-screensaver': Error: No handler registered for'disable-screensaver'
at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:88977)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
(node:482616) Warning: No such label 'ready-to-show'forconsole.timeEnd()
(Use `electron --trace-warnings ...` to show where the warning was created)
Error occurred in handler for'enable-screensaver': Error: No handler registered for'enable-screensaver'
at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:88977)
at EventEmitter.emit (node:events:513:28)
at EventEmitter.emit (node:domain:489:12)
(electron:482616): Gtk-WARNING **: 21:13:19.846: Failed to measure available space: ???????
(electron:482616): Gtk-WARNING **: 21:13:20.023: Failed to measure available space: ???????
(node:482616) Warning: No such label 'ready-to-show'forconsole.timeEnd()
Supplemental information: Here is the output by etcher (built with electron19)
Devtools:
➜ ~ balena-etcher-electron
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[496011:0708/212850.125976:ERROR:backend_impl.cc(2020)] Invalid file version or magic
Language changed to: en
packageUpdatable false
ready-to-show: 1.678s
(electron19:496011): Gtk-WARNING **: 21:28:52.139: Failed to measure available space: ???????
(electron19:496011): Gtk-WARNING **: 21:28:56.245: Failed to measure available space: ???????
Error occurred in handler for'disable-screensaver': No handler registered for'disable-screensaver'
[496011:0708/212902.878360:ERROR:backend_impl.cc(2020)] Invalid file version or magic
[496011:0708/212902.878474:ERROR:backend_impl.cc(2020)] Invalid file version or magic
(node:496011) Warning: No such label 'ready-to-show'forconsole.timeEnd()
(Use `electron19 --trace-warnings ...` to show where the warning was created)
(electron19:496011): Gtk-WARNING **: 21:29:10.285: Failed to measure available space: ???????
(node:496011) Warning: No such label 'ready-to-show'forconsole.timeEnd()
(electron19:496011): Gtk-WARNING **: 21:30:55.384: Failed to measure available space: ???????
(electron19:496011): Gtk-WARNING **: 21:30:55.555: Failed to measure available space: ???????
Error occurred in handler for'enable-screensaver': No handler registered for'enable-screensaver'
(node:496011) Warning: No such label 'ready-to-show'forconsole.timeEnd()
The text was updated successfully, but these errors were encountered:
We know it can't run on electron 20 and up due to security related changes in electron and chromium. This is a good thing as it makes it harder for random dev to shoot themself in the foot.
But it broke legitimate use case as ours.
We're currently working to work around the new limitations.
Note: This is a custom-rebuilt version with
electron25
, as electron19 has been dropped in archlinux official repo, I tried to rebuildetcher
with newerelectron
(namelyelectron
22 to 25).All builds succeded but failed to flash any image.
update: with 1.18.13 I still cannot flash any image. When I select an image, it pops
And I see the logs in console says
But
etcher
built withelectron19
works fine.My build script: github gist
Failed to flash (any) image.
After the password is entered, the following error occurs.
text version for copy and paste:
output from terminal
Devtools:
terminal:
The text was updated successfully, but these errors were encountered: