Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Attempted to register a second handler for 'showSaveDialog' #278

Open
baruchiro opened this issue Jul 30, 2021 · 1 comment
Open
Labels
bug Something isn't working from user hacktoberfest https://hacktoberfest.digitalocean.com

Comments

@baruchiro
Copy link
Collaborator

From #276 logs, in Mac, if you close that app but Mac keeps it opened (don't understand this feature) we are getting this error:

[2021-07-29 20:19:19.814] [debug] Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (electron/js2c/browser_init.js:197:337)
    at /Applications/caspion.app/Contents/Resources/app-arm64.asar/background.js:2:577063
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (/Applications/caspion.app/Contents/Resources/app-arm64.asar/background.js:2:577041)
    at u (/Applications/caspion.app/Contents/Resources/app-arm64.asar/background.js:2:429830)
    at App.<anonymous> (/Applications/caspion.app/Contents/Resources/app-arm64.asar/background.js:2:430021)
    at App.emit (events.js:315:20)
    at App.EventEmitter.emit (domain.js:467:12)

main.log

@baruchiro baruchiro added bug Something isn't working good first issue Good for newcomers from user labels Jul 30, 2021
@baruchiro baruchiro added the hacktoberfest https://hacktoberfest.digitalocean.com label Oct 5, 2021
@bablat
Copy link

bablat commented Feb 20, 2023

I'm getting this on Ubuntu as well:

[4031202:0220/132624.004944:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
(node:4031136) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
(Use `caspion --trace-deprecation ...` to show where the warning was created)
13:26:24.087 › Attempted to register a second handler for 'showSaveDialog'
13:26:24.088 › UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at /tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767131)
    at m (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6646721)
13:26:24.089 › UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at /tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767131)
    at m (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6646721)
(node:4031136) UnhandledPromiseRejectionWarning: UnhandledRejection Error: Attempted to register a second handler for 'showSaveDialog'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:193:337)
    at /tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767153
    at Array.forEach (<anonymous>)
    at Object.t.registerHandlers (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6767131)
    at m (/tmp/.mount_caspiojJrJkZ/resources/app.asar/background.js:2:6646721)
(node:4031136) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

@baruchiro baruchiro removed the good first issue Good for newcomers label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working from user hacktoberfest https://hacktoberfest.digitalocean.com
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants