RunJS icon indicating copy to clipboard operation
RunJS copied to clipboard

RunJS Keeps Freezing

Open bdJohnson72 opened this issue 3 years ago • 8 comments

When I open a file, I get a fat cursor and it is unresponsive to keyboard commands. I have uninstalled and reinstalled but still get the same issue. My debug log is belog

[ { "path": "C:\\Users\\bjohnson\\AppData\\Roaming\\runjs\\logs\\main.log", "lines": [ "[2021-12-14 15:25:11.842] [error] Error: Invalid argument provided for port\n at e.exports (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:270928)\n at App.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2021-12-20 08:22:26.538] [error] Cannot download differentially, fallback to full download: Error: sha512 checksum mismatch, expected +6jDW4bCBNETWSC+IJOJLCklrUqKv3a1B04jtpMs5FZgnbfZ5yHLqDgOvU8mHBf4xzoIu/ZtI9h5s2cXlvMvew==, got og6gKCYkObWsORKoUXNwe8oPSjUJveJdh+vp8I8hY+4yfjukPoaHxk/GYTviF1KjPpB9EOHAccWawLjYnBhHYg==\n at Object.t.newError (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:21698)\n at y.validate (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:11:60496)\n at m.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:11:79488)\n at m.emit (events.js:315:20)\n at emitCloseNT (internal/streams/destroy.js:87:10)\n at processTicksAndRejections (internal/process/task_queues.js:79:21)", "[2022-01-25 15:46:42.235] [error] Error: Invalid argument provided for port\n at e.exports (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:270928)\n at App.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2022-01-26 05:01:52.818] [error] [renderer] Error: ERR_FAILED (-2) loading 'file:///C:/Users/bjohnson/AppData/Local/Programs/runjs/resources/app.asar/blank.html'\n at rejectAndCleanup (node:electron/js2c/browser_init:161:7486)\n at Object.stopLoadingListener (node:electron/js2c/browser_init:161:7861)\n at Object.emit (node:events:394:28)", "" ] } ]

bdJohnson72 avatar Jan 26 '22 10:01 bdJohnson72

Thanks, @bdJohnson72. Are you seeing this with all files or just a particular file?

lukehaas avatar Jan 26 '22 10:01 lukehaas

I am seeing with any tab I have open even if it is an empty tab.

[ { "path": "C:\\Users\\bjohnson\\AppData\\Roaming\\runjs\\logs\\main.log", "lines": [ "[2021-12-14 15:25:11.842] [error] Error: Invalid argument provided for port\n at e.exports (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:270928)\n at App.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2021-12-20 08:22:26.538] [error] Cannot download differentially, fallback to full download: Error: sha512 checksum mismatch, expected +6jDW4bCBNETWSC+IJOJLCklrUqKv3a1B04jtpMs5FZgnbfZ5yHLqDgOvU8mHBf4xzoIu/ZtI9h5s2cXlvMvew==, got og6gKCYkObWsORKoUXNwe8oPSjUJveJdh+vp8I8hY+4yfjukPoaHxk/GYTviF1KjPpB9EOHAccWawLjYnBhHYg==\n at Object.t.newError (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:21698)\n at y.validate (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:11:60496)\n at m.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:11:79488)\n at m.emit (events.js:315:20)\n at emitCloseNT (internal/streams/destroy.js:87:10)\n at processTicksAndRejections (internal/process/task_queues.js:79:21)", "[2022-01-25 15:46:42.235] [error] Error: Invalid argument provided for port\n at e.exports (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:270928)\n at App.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow.<anonymous> (C:\\Users\\bjohnson\\AppData\\Local\\Programs\\runjs\\resources\\app.asar\\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2022-01-26 05:01:52.818] [error] [renderer] Error: ERR_FAILED (-2) loading 'file:///C:/Users/bjohnson/AppData/Local/Programs/runjs/resources/app.asar/blank.html'\n at rejectAndCleanup (node:electron/js2c/browser_init:161:7486)\n at Object.stopLoadingListener (node:electron/js2c/browser_init:161:7861)\n at Object.emit (node:events:394:28)", "" ] } ]

bdJohnson72 avatar Jan 27 '22 14:01 bdJohnson72

Which version of Windows are you on?

lukehaas avatar Jan 27 '22 14:01 lukehaas

Windows 10 Enterprise

bdJohnson72 avatar Jan 27 '22 17:01 bdJohnson72

There are some errors in your debug log that are concerning and I'm not sure what kind of scenarios can cause such errors.

One thing to try could be to delete the user data directory for RunJS, this is located here: %APPDATA%\runjs Just make sure to quit RunJS and save anything important first.

lukehaas avatar Feb 03 '22 11:02 lukehaas

I have tried to delete everything and un-install. I did a fresh install this morning and no luck.

[ { "path": "C:\Users\bjohnson\AppData\Roaming\runjs\logs\main.log", "lines": [ "[2021-12-14 15:25:11.842] [error] Error: Invalid argument provided for port\n at e.exports (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:223:270928)\n at App. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2021-12-20 08:22:26.538] [error] Cannot download differentially, fallback to full download: Error: sha512 checksum mismatch, expected +6jDW4bCBNETWSC+IJOJLCklrUqKv3a1B04jtpMs5FZgnbfZ5yHLqDgOvU8mHBf4xzoIu/ZtI9h5s2cXlvMvew==, got og6gKCYkObWsORKoUXNwe8oPSjUJveJdh+vp8I8hY+4yfjukPoaHxk/GYTviF1KjPpB9EOHAccWawLjYnBhHYg==\n at Object.t.newError (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:1:21698)\n at y.validate (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:11:60496)\n at m. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:11:79488)\n at m.emit (events.js:315:20)\n at emitCloseNT (internal/streams/destroy.js:87:10)\n at processTicksAndRejections (internal/process/task_queues.js:79:21)", "[2022-01-25 15:46:42.235] [error] Error: Invalid argument provided for port\n at e.exports (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:223:270928)\n at App. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:223:269195)\n at App.emit (events.js:327:22)\n at BrowserWindow. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:1:155362)\n at BrowserWindow.emit (events.js:315:20)", "[2022-01-26 05:01:52.818] [error] [renderer] Error: ERR_FAILED (-2) loading 'file:///C:/Users/bjohnson/AppData/Local/Programs/runjs/resources/app.asar/blank.html'\n at rejectAndCleanup (node:electron/js2c/browser_init:161:7486)\n at Object.stopLoadingListener (node:electron/js2c/browser_init:161:7861)\n at Object.emit (node:events:394:28)", "[2022-01-27 16:32:22.399] [error] [renderer] Error: ERR_FAILED (-2) loading 'file:///C:/Users/bjohnson/AppData/Local/Programs/runjs/resources/app.asar/blank.html'\n at rejectAndCleanup (node:electron/js2c/browser_init:161:7486)\n at Object.stopLoadingListener (node:electron/js2c/browser_init:161:7861)\n at Object.emit (node:events:394:28)", "[2022-02-01 08:31:00.950] [error] Error: ENOENT: no such file or directory, lstat '--allow-file-access-from-files'\n at lstatSync (node:fs:1514:3)\n at Object.e.lstatSync (node:electron/js2c/asar_bundle:5:3740)\n at listenForFileOpen (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:58928)\n at App. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:63660)\n at App.emit (node:events:394:28)", "[2022-02-10 05:56:01.351] [error] Error: ENOENT: no such file or directory, lstat '--allow-file-access-from-files'\n at lstatSync (node:fs:1514:3)\n at Object.e.lstatSync (node:electron/js2c/asar_bundle:5:3740)\n at listenForFileOpen (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:58928)\n at App. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:63660)\n at App.emit (node:events:394:28)", "[2022-02-10 05:58:46.738] [error] Error: ENOENT: no such file or directory, lstat '--allow-file-access-from-files'\n at lstatSync (node:fs:1514:3)\n at Object.e.lstatSync (node:electron/js2c/asar_bundle:5:3740)\n at listenForFileOpen (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:59074)\n at App. (C:\Users\bjohnson\AppData\Local\Programs\runjs\resources\app.asar\entry-bundle.js:8:63664)\n at App.emit (node:events:394:28)", "" ] } ]

bdJohnson72 avatar Feb 10 '22 12:02 bdJohnson72

The errors seem to suggest that RunJS is not able to access some key resources. Are you aware of any system settings you have enabled that might prevent RunJS from accessing its own resources via the filesystem?

lukehaas avatar Feb 10 '22 13:02 lukehaas

No, it is a work machine. But RunJS did work fine. Then it stopped

bdJohnson72 avatar Feb 17 '22 12:02 bdJohnson72

@bdJohnson72 are you still seeing this issue in the latest release - version 2.7.1?

lukehaas avatar Oct 11 '22 14:10 lukehaas