Casterlabs / caffeinated

The code for Caffeinated.
https://casterlabs.co?ref=github_caffeinated
Other
17 stars 0 forks source link

Doesn't launch on Linux #44

Closed pelicanfuture closed 7 months ago

pelicanfuture commented 7 months ago

When downloading the caffeinated app from casterlabs.co for linux, the program launches for a bit and says "Launching Caffeinated.." then crashes with no helpful output from the terminal. However, below is what I got from launching the program in the terminal. Maybe I could help fix this somehow and/or help test if it works. Please let me know or help fix this! :)

App Directory: /home/peli/.local/share/casterlabs-caffeinated
Log file: /home/peli/.local/share/casterlabs-caffeinated/logs/updater.log
Chosen Streamer: template
App isn't responding (or isn't open), attempting to kill it.
IPC communication timed out.
You are up to date!
Updater CommandLine: ./Casterlabs-Caffeinated-Updater
 > System.out.println("Hello World!");
Hello World!

[INFO  ] [Bootstrap] App has been started by the updater, cool beans.
[INFO  ] [CaffeinatedApp] 
[INFO  ] [CaffeinatedApp] 
[INFO  ] [CaffeinatedApp] ---------- 2023-11-26T05:59:51.299141Z ----------
[INFO  ] [CaffeinatedApp] Log file: /home/peli/.local/share/casterlabs-caffeinated/logs/app.log
[INFO  ] [Bootstrap] Starting app.
[INFO  ] [EmojiIndex] Loading emoji index...
[INFO  ] [SystemFontsProvider] Loading System fonts.
[INFO  ] [InstanceManager] IPC (HOST): SUMMON
[WARN  ] [_LocaleLoader] Unable to find locale provider for: en-US
[INFO  ] [Bootstrap] Entry                        | Value
[INFO  ] [Bootstrap] -----------------------------+-------------------------
[INFO  ] [Bootstrap] buildInfo.versionString      | 1.2-a69e346-stable
[INFO  ] [Bootstrap] buildInfo.author             | Casterlabs
[INFO  ] [Bootstrap] buildInfo.isDev              | false
[INFO  ] [Bootstrap] platform.arch                | x86_64
[INFO  ] [Bootstrap] platform.osFamily            | Unix
[INFO  ] [Bootstrap] platform.osDistribution      | Linux
[INFO  ] [Bootstrap] bootstrap.args               | null
[INFO  ] [Bootstrap] 
[INFO  ] [SoraFramework] Loaded plugin Caffeinated Conductor (LocalServer):Casterlabs (co.casterlabs.caffeinated.conductor)
[INFO  ] [GoogleFontsProvider] Loading GoogleFonts.
[INFO  ] [LocalServer] Started!
[INFO  ] [Bootstrap] Initializing UI (this may take some time)
[INFO  ] [Bootstrap] Starting the UI
UI Started!
e3ndr commented 7 months ago

Does launching as SUDO do anything?

pelicanfuture commented 7 months ago

Nope, still get the same "error" and terminal output except with /root instead of my /user

App Directory: /root/.local/share/casterlabs-caffeinated
Log file: /root/.local/share/casterlabs-caffeinated/logs/updater.log
Chosen Streamer: template
IPC communication timed out.
App isn't responding (or isn't open), attempting to kill it.
Build was not healthy, forcing redownload.
Downloading updates.
Updater CommandLine: ./Casterlabs-Caffeinated-Updater
 > System.out.println("Hello World!");
Hello World!

[INFO  ] [Bootstrap] App has been started by the updater, cool beans.
[INFO  ] [CaffeinatedApp] 
[INFO  ] [CaffeinatedApp] 
[INFO  ] [CaffeinatedApp] ---------- 2023-11-26T07:15:55.222611Z ----------
[INFO  ] [CaffeinatedApp] Log file: /root/.local/share/casterlabs-caffeinated/logs/app.log
[INFO  ] [Bootstrap] Starting app.
[INFO  ] [PreferenceFile (theme)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [EmojiIndex] Loading emoji index...
[INFO  ] [PreferenceFile (ui)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [PreferenceFile (controldeck)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [SystemFontsProvider] Loading System fonts.
[INFO  ] [PreferenceFile (chatbot)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [InstanceManager] IPC (HOST): SUMMON
[INFO  ] [PreferenceFile (window)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [PreferenceFile (auth)] Preferences file doesn't exist, creating it with defaults.
[INFO  ] [PreferenceFile (app)] Preferences file doesn't exist, creating it with defaults.
[WARN  ] [_LocaleLoader] Unable to find locale provider for: en-US
[INFO  ] [Bootstrap] Entry                        | Value
[INFO  ] [Bootstrap] -----------------------------+-------------------------
[INFO  ] [Bootstrap] buildInfo.versionString      | 1.2-a69e346-stable
[INFO  ] [Bootstrap] buildInfo.author             | Casterlabs
[INFO  ] [Bootstrap] buildInfo.isDev              | false
[INFO  ] [Bootstrap] platform.arch                | x86_64
[INFO  ] [Bootstrap] platform.osFamily            | Unix
[INFO  ] [Bootstrap] platform.osDistribution      | Linux
[INFO  ] [Bootstrap] bootstrap.args               | null
[INFO  ] [Bootstrap] 
[INFO  ] [SoraFramework] Loaded plugin Caffeinated Conductor (LocalServer):Casterlabs (co.casterlabs.caffeinated.conductor)
[INFO  ] [LocalServer] Started!
[INFO  ] [Bootstrap] Initializing UI (this may take some time)
[INFO  ] [Bootstrap] Starting the UI
UI Started!
e3ndr commented 7 months ago

What Distro are you using?

pelicanfuture commented 7 months ago

I tried a couple including Ubuntu Unity, Gentoo, and Solus and all had the same result. The errors provided however were provided from my Gentoo PC.

e3ndr commented 7 months ago

this sucks. while i would like to get linux working properly again, i don't really have the capacity to. our app does run under Wine pretty easily, but i know that's sacrilege 😅

pelicanfuture commented 7 months ago

Yeah, I'd rather have a working linux version than be forced to use workarounds lol. If possible, maybe I could help test some linux builds if you have the time to make some. Let me know if that's possible and I could give you my discord or email or something, as this is a really cool tool that I'm sure the linux streamers that exist lol would be really sad to not have working properly.

pelicanfuture commented 7 months ago

Maybe it has something to do with it being unable to find the locale provider for en_US as it says on line 29 in the terminal output I posted.

...
[WARN  ] [_LocaleLoader] Unable to find locale provider for: en-US
...
e3ndr commented 7 months ago

Yeah, I'd rather have a working linux version than be forced to use workarounds lol. If possible, maybe I could help test some linux builds if you have the time to make some. Let me know if that's possible and I could give you my discord or email or something, as this is a really cool tool that I'm sure the linux streamers that exist lol would be really sad to not have working properly.

Join the Casterlabs Discord and DM me (e3ndr). I'll work with you to hopefully fix Linux, but for now I'm going to pull the download from the site.

e3ndr commented 7 months ago

Maybe it has something to do with it being unable to find the locale provider for en_US as it says on line 29 in the terminal output I posted.

...
[WARN  ] [_LocaleLoader] Unable to find locale provider for: en-US
...

Unrelated :)