freeshow application freezes on start up
When i open the app, the application just hangs on the loading page. It does not open I currently a mac user
Weird. Are you able to open the application using the command line and see if you get any errors there?
how do i do this, from the command line?
Check out this: https://www.quora.com/How-can-you-start-an-app-using-terminal-in-Mac-OS-X
Hi, I gave it a try via the terminal on my mac and still having the same issue. I also tried downgrading to see if it was the version, all the way to v0.94. It still hangs at this point and does not give any errors.
Thanks. That's really strange. I would have thought that it would show an error in the terminal at least. Not an expert on macOS.
Does the program have the proper read/write permissions?
Are you able to navigate to this path: ~/Library/Application Support/FreeShow/ And see if you have an error_log.json file there, if you do, you can send that here.
I am unable to find freeshow in the folder Application support. Is there anywhere else I could find it?
It should be there.. Maybe that's the issue then. 🤔
@jzongker Do you have any idea as to why it won't start up on this specific OS/device?
hi does anyone know what i can do to fix this?
Not sure if this helps. But first try uninstalling the entire application, then install it again.
But before you open, please check out the Mac security settings. Go to settings, "Security & Privacy", then find a list of "Privacy" options. Here one should be "Files and Folders", make sure FreeShow is allowed here, also please try some of the other options that makes sense, then try opening the application again. Does this make any difference?
As a last resort you can try opening a local version of the dev environment to see if you get any errors there.
Hi, Sorry for the delay in responding. I gave adding freeshow to the privacy and security, a go and didnt get anywhere(freeshow still hangs), will give the dev environment a try.
Okay. You need to install node js and the download the files in this project on GitHub, then extract and from the CMD, run "npm install", and then "npm start".
Okay gave the dev environment a try, this is what i am getting:
Could not load app content. Please check console for any errors! - got this message too at the end My mac does come with a console application, which is kind of like a log file for my whole system but I don't know how to find which error is for what application.
Thanks! Looks like this is the issue, but not sure how to fix it:
The only simular issue I could find was this: https://github.com/quasarframework/quasar/issues/16741
Looks like a pretty new error, found these also:
- https://github.com/jdms754/electron-forge-vite-esm-test/issues/1
- https://github.com/electron/electron/issues/37876#issuecomment-1984873828
Oh Okay, Please let me know if you do find a solution as I am still unable to use freeshow
Just was wondering if this new error means anything to you: (node:14564) electron: Failed to load URL: http://localhost:3000/ with error: ERR_CONNECTION_REFUSED
(Use Electron --trace-warnings ... to show where the warning was created)
Failed to load window: {"errno":-102,"code":"ERR_CONNECTION_REFUSED","url":"http://localhost:3000/"}
[14564:0425/201405.984128:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
I also found out how to send over a log file for this issue from the console app, I have attached it to this comment. FreeshowLog.txt
Thanks. Not sure why it does not load, but it should not throw ERR_CONNECTION_REFUSED.
Does adding this to scripts/entitlements.mac.plist change anything?
<key>com.apple.security.app-sandbox</key>
<true/>
yeah it removed the ERR_CONNECTION_REFUSED error but not the other errror: [31595:0427/211902.964330:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1) Loading content again. App is probably not finished building yet
Okay, great! I found out the "Autofill.enable' wasn't found" is just a warning that can be ignored. Did it load the app interface after waiting 2 minutes?
The app still hangs at startup and does not load
Okay, please try changing this from false to true in your dev environment, and check if you get any errors in the browser console! https://github.com/ChurchApps/FreeShow/blob/a06825266b4c96b3dcaf0389636db435b02ae295/src/electron/utils/windowOptions.ts#L28
Okay tried this and it finally loads!
Was glithcing for a bit and then showed this:
screenshot of terminal:
But then opens like normal:
errors on browser console before opening like normal:
Thanks for your help, just was wondering how to get this working outside the dev environment?
Awesome! Maybe the error in the fist image has something to do with it.. Looks like it took a very long time to load. 🤔
I think another application may have port 3000 in use..? When freeshow isn't running maybe just open up a web browser and go to http://localhost:3000/ and https://localhost:3000/, or run netstat from a terminal.
Good suggestion @jzongker. I still don't get why it does not load in production in the first place in this scenario, because it doesn't use any ports to run the main application. 🤔
Just checked and port 3000 is not in use: