Could not call remote function ``
See original GitHub issueAccording to TrackJS, this error happened on Windows 8.1 when clicking “Burn” when a burn was already in process (around ~30%).
Could not call remote function ``. Check that the function signature is correct. Underlying error: Error processing argument -1.
Error: Could not call remote function ``. Check that the function signature is correct. Underlying error: Error processing argument -1.
at callFunction (C:\Users\Alexandros\resin-etcher\node_modules\electron-prebuilt\dist\resources\atom.asar\browser\lib\rpc-server.js:203:11)
at EventEmitter.<anonymous> (C:\Users\Alexandros\resin-etcher\node_modules\electron-prebuilt\dist\resources\atom.asar\browser\lib\rpc-server.js:293:12)
at emitMany (events.js:108:13)
at EventEmitter.emit (events.js:182:7)
at EventEmitter.<anonymous> (C:\Users\Alexandros\resin-etcher\node_modules\electron-prebuilt\dist\resources\atom.asar\browser\api\lib\web-contents.js:129:25)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
could not call remote function 'capturePage' on electron app ...
my indexjs is for mainWindow. Uncaught Error: Could not call remote function 'capturePage'. Check that the function signature is correct.
Read more >Error: Could not call remote method 'setPosition'. Check that ...
The following error is in the console: browser-main.js:1 Uncaught (in promise) Error: Could not call remote method 'setPosition'.
Read more >Quixel Bridge Error: Could not call remote function 'getPath'
I'm currently having an issue with bridge where it opens to a blank screen, absolutely nothing on it except the top bar for...
Read more >@electron/remote - npm
@electron/remote. @electron/remote is an Electron module that bridges JavaScript objects from the main process to the renderer process.
Read more >Could not execute Remote Function Call RSAO_BICS_OPEN ...
The following error pops up in AO when you open an AO report from the BPC web via the BPF (Business Process Flow)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So after some investigation, turns out Electron throws this error when you call a native function of the main process from the renderer process with the wrong arguments.
According to your stack trace, you get an error during the flash process the gets passed to
OSDialogService.showError()
fromlib/gui/app.js
:OSDialogService.showError()
callselectron.remote.dialog.showErrorBox()
, a native function from the main process. According to the error, there is a conversion issue with the first parameter, the error title, which is computed like this:The conversion hint makes me thing that either
error.message
orerror.code
(most probably this one) is a number, and not a string.This issue is obscuring the real bug. I’ll submit a PR to make sure
title
is a string as a way to prevent these from happening in the future, but I’d be amazing if you can manage to reproduce the error, so we can hopefully get to the bottom it.Please let me know if you do have a way to reliably trigger this error and I’ll send a custom build to you containing extra debugging information.
Thank you very much again and let me know how it goes!
Hi @Leshich ,
Thanks for reporting this.
I don’t think this is the root cause of the problem. Etcher doesn’t care about the drive format since it access the raw disk and blindly writes bytes to it, so it must be something else.
In any case, I’ve tried flashing to an NTFS drive but as I expected I was not able to reproduce the issue.
Can you actively reproduce when formatting as NTFS?
What Etcher version are you running BTW?