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

Checking for Updates, new Update Dialog reported over and over again #619

Closed
alankleindev opened this issue Apr 24, 2024 · 6 comments
Closed

Comments

@alankleindev
Copy link

When checking for the latest update, I get notified but the notification dialog keeps popping up over and over again after I click the OK button.

Then Error which I click OK to 3 times and then it closes and updated itself successfully.

image image
@lukehaas
Copy link
Owner

lukehaas commented Apr 24, 2024

Thanks, @alankleindev. I'm not able to trigger this error myself.
It's very odd that these messages came up multiple times; that shouldn't be possible.
Something really strange must have happened for this to occur.

How do you usually quit the app? Had you had it running for long before triggering the update check? Any extra info about how you use the app may be useful in finding a clue to the cause.

@alankleindev
Copy link
Author

I believe I had the app open always in the background. So I believe it is started automatically when I reboot my machine for updates or other reasons, if that helps. So I don't quit the app.

@alankleindev
Copy link
Author

Here is some info from the runjs debug log for yesterdays timeframe:


       "[2024-04-24 08:38:03.468] [warn]  Error: The command is disabled and cannot be executed",
        "    at d.quitAndInstall (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:184435)",
        "    at Immediate._ [as _onImmediate] (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:8:122446)",
        "    at process.processImmediate (node:internal/timers:478:21)",
        "[2024-04-24 08:38:03.470] [error] Error: Error: The command is disabled and cannot be executed",
        "    at d.quitAndInstall (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:184435)",
        "    at Immediate._ [as _onImmediate] (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:8:122446)",
        "    at process.processImmediate (node:internal/timers:478:21)",
        "[2024-04-24 08:38:34.257] [warn]  Error: The command is disabled and cannot be executed",
        "    at d.quitAndInstall (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:184435)",
        "    at Immediate._ [as _onImmediate] (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:8:122446)",
        "    at process.processImmediate (node:internal/timers:478:21)",
        "[2024-04-24 08:38:34.258] [error] Error: Error: The command is disabled and cannot be executed",
        "    at d.quitAndInstall (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:184435)",
        "    at Immediate._ [as _onImmediate] (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:8:122446)",
        "    at process.processImmediate (node:internal/timers:478:21)",
        "[2024-04-24 08:38:34.345] [error] Error: Error: net::ERR_HTTP2_PROTOCOL_ERROR",
        "    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109574)",
        "    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
        "    at SimpleURLLoaderWrapper.emit (node:domain:488:12)",
        "[2024-04-24 08:38:34.345] [error] download update Error: net::ERR_HTTP2_PROTOCOL_ERROR",
        "    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109574)",
        "    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
        "    at SimpleURLLoaderWrapper.emit (node:domain:488:12)",
        "[2024-04-24 08:38:34.346] [error] Error: Error: net::ERR_HTTP2_PROTOCOL_ERROR",
        "    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109574)",
        "    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
        "    at SimpleURLLoaderWrapper.emit (node:domain:488:12)",
        "[2024-04-24 08:38:34.346] [error] download update Error: net::ERR_HTTP2_PROTOCOL_ERROR",
        "    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:109574)",
        "    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
        "    at SimpleURLLoaderWrapper.emit (node:domain:488:12)",
        "[2024-04-25 14:38:19.516] [error] Unhandled TypeError: Cannot read properties of undefined (reading 'libraryDefaultDir')",
        "    at Function.resolvePathFn (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:97807)",
        "    at Function.readAllLogs (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:14:97314)",
        "    at click (/Applications/RunJS.app/Contents/Resources/app.asar/entry-bundle.js:8:90918)",
        "    at MenuItem.click (node:electron/js2c/browser_init:2:29559)",
        "    at a._executeCommand (node:electron/js2c/browser_init:2:34987)",
        ""
      ]
    }
  ]
}

@lukehaas
Copy link
Owner

Thanks, this is helpful 👍

@alankleindev
Copy link
Author

The latest update worked for me :) No issues at all upgrading to Version 2.12.1 (2.12.1)

@lukehaas
Copy link
Owner

Thanks. I'm still not sure what caused this issue, I've not made any changes that could have fixed it.
Hopefully, it was just a one-off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants