NSO-RPC icon indicating copy to clipboard operation
NSO-RPC copied to clipboard

Launch error

Open LewiFF opened this issue 2 years ago • 1 comments

I keep getting this error : Launch error See the py2app website for debugging launch issues

LewiFF avatar Oct 09 '22 15:10 LewiFF

As of recently, I've been receiving a lot of 9403 errors from the app. What I did to fix this was delete the ~/Documents/NSO-RPC/tempToken.txt and ~/Documents/NSO-RPC/private.txt files, then try logging back in. I've also just pushed 24925d65a0d129a90959e0a422ab19b244d486e8 which fixed another error I had been receiving due to my poor thinking when writing that section of code. If you are still receiving errors after trying a few times, check your logs.txt file in the same directory as mentioned above and send here what the newest error is. It may be that the latest commit fixes your issue. I'm sorry again for the inconvenience caused by this.

MCMi460 avatar Oct 10 '22 18:10 MCMi460

Hi, not the OP, but getting the same behavior. I'm on an M1 Mac, and have set the app to open at login. Here's the error I get. Maybe it's trying to connect before my computer has established an internet connection?

1671475647.867906: Failed to get Apple's store page. Retrying...
1671475647.867906: Failed to get Apple's store page. Retrying...
1671475647.867906: Failed to get Apple's store page. Retrying...
1671475647.867906: Failed to get Apple's store page. Retrying...
1671475647.867906: Failed to get Apple's store page. Retrying...

finnmayhew avatar Dec 19 '22 18:12 finnmayhew

The main repo hasn't been updated yet, theirs a fix in the development branch around getting the version info, however that will sometimes give you a error starting as well as the commit I did was flawed, theirs a better fix coming but it's currently stuck in limbo because it's part of autostart code that needs more testing on the macos side

HotaruBlaze avatar Dec 20 '22 00:12 HotaruBlaze

Glad to hear that's on the way, thank y'all for your work!

finnmayhew avatar Dec 20 '22 00:12 finnmayhew

If you are able to, I'd suggest trying out cloning this fork&branch: https://github.com/HotaruBlaze/NSO-RPC/tree/startUp-MacOS and seeing if you still get the above errors, This would require python 3 already being installed as I cannot generate a macOS build.

python ./client/app.py or python3 ./client/app.py

Note: If this build does in fact work for you, I recommend not using the "Start on launch" options in the settings at this time.

HotaruBlaze avatar Dec 20 '22 00:12 HotaruBlaze

Now that this issue is fixed, I will be closing it. Please update me if any further problems ensue. Thank you!

MCMi460 avatar May 26 '23 05:05 MCMi460