GoXLR-on-Linux / goxlr-utility

An unofficial GoXLR App replacement for Linux, Windows and MacOS
MIT License
635 stars 36 forks source link

The UI won't open #137

Closed markusradmark closed 4 months ago

markusradmark commented 7 months ago

I installed the driver and the GoXLR Utility and it's running. But when I press configure GoXLR the UI window doesn't show. Do anyone have a fix for this?

JulanDeAlb commented 7 months ago

Hey, can you check if you can access the UI via http://localhost:14564

markusradmark commented 7 months ago

Yes that works!

JulanDeAlb commented 7 months ago

Can you try downloading and installing WebView2 and give it another try? Normally the installer tries to download it, but lately we had several reports that it didn't download correctly.

markusradmark commented 7 months ago

For some reason it just works a few days later, used the localhost page until now.

TeamWolfyta commented 6 months ago

Also getting this on version 1.0.3, Refuses to launch the UI when running "C:\Program Files\GoXLR Utility\goxlr-launcher.exe" but will launch the UI when running "C:\Program Files\GoXLR Utility\goxlr-utility-ui.exe".

FrostyCoolSlug commented 6 months ago

Also getting this on version 1.0.3, Refuses to launch the UI when running "C:\Program Files\GoXLR Utility\goxlr-launcher.exe" but will launch the UI when running "C:\Program Files\GoXLR Utility\goxlr-utility-ui.exe".

Does the webui start instead when you run the launcher?

Could you also confirm what happens when you click the tray icon when the Daemon is running?

TeamWolfyta commented 6 months ago

@FrostyCoolSlug It doesn't launch when executing via "goxlr-launcher.exe" but it will work when executing "goxlr-utility-ui.exe". Also there no icon tray icon but according to task manager, the daemon is running in the background.

FrostyCoolSlug commented 6 months ago

Does the webui work? ( You should be able to open http://localhost:14564 n a web browser)? It sounds like the utility just isn't launching properly.

FrostyCoolSlug commented 6 months ago

Also, could you provide me with the log files, in the UI, you should be able to go to system -> Settings and click the folder icon next to the log level.

TeamWolfyta commented 6 months ago

@FrostyCoolSlug I did some basic debugging before commenting on this issue and back then the web server was working, Just checked again now to confirm that yup, web server still working.

Sure here are the logs: goxlr-daemon.log. If you require any other kinds of logs just say and I'll try and get them for you.

Just to note I closed anything GoXLR related in task manager and deleted the logs so it would be as close to me powering on my PC as possible, To me the logs don't give much to go off of so I did a bit of playing around and noticed somethings:

Tried changing the log level and replicating the same things I did when playing around with it and it just logs the same thing and doesn't seem to provide anything meaning full to this problem. The daemon is still running through all of this mind you so maybe it's failing to properly recognize that the daemon is still running?

FrostyCoolSlug commented 6 months ago

Thanks, I'll do some additional testing on this..

The UI is supposed to stay open, but hidden, if you close it. It's runtime is bound to the daemon so if the utility is shutdown the UI will close along with it. The reasoning behind this is that it takes several seconds to run the UI up from cold, so we just keep it in the background staying warm until it's needed again (generally by clicking the Utility icon in the system tray, or launching from the start menu).

Looking at the logs is kinda interesting though, the goxlr-launcher binary is supposed to determine whether the daemon is running or not, if it's not running launch it, if it's running activate the UI. The errors in the log files imply it's attempting to start the daemon even though it's already running (which is why the UI isn't popping up), someone else has reported this recently on discord, so I'll need to find out what's going on there.

Thanks for the close analysis, it's certainly help with tracking down where things are going wrong!

FrostyCoolSlug commented 6 months ago

Can you give the Windows artifact on the bottom of this https://github.com/GoXLR-on-Linux/goxlr-utility/actions/runs/7436762911 build an install, and let me know if it solves the problem?

Thanks.

TeamWolfyta commented 6 months ago

Can confirm that trying to re-launch the UI using "C:\Program Files\GoXLR Utility\goxlr-launcher.exe" now works. Also works when launching via the system tray icon (I thought the system tray icon was broken too but just noticed there is a setting for it, Had it off the entire time, Just turned it on and the system tray icon also launches it, I'm just slightly blind 😆)

Thanks for fixing this issue!