Tormak9970 / Steam-Art-Manager

Simple and elegant Steam library customization
GNU General Public License v3.0
93 stars 4 forks source link

Infinite loading (linux mint) #139

Closed JohnGhostly closed 6 months ago

JohnGhostly commented 1 year ago

Describe the bug Infinite loading bug.

To Reproduce Steps to reproduce the behavior:

  1. Installed on linux mint (running with hrough kde plasma desktop environment) with dependencies

Expected behavior Load within at least a minute of startup

Screenshots Screenshot_20230811_024012

Logs: [Steam Art Manager] [2:42:47] [INFO]: Initialized logging file [Steam Art Manager] [2:42:47] [INFO]: Added Steam directory to scope. [Steam Art Manager] [2:42:47] [INFO]: Initializing CacheController... [Steam Art Manager] [2:42:47] [INFO]: Checking config/loginusers.vdf for current user info. [Steam Art Manager] [2:42:47] [INFO]: Loaded 1 steam users. [Steam Art Manager] [2:42:47] [INFO]: Found cache dir. [Steam Art Manager] [2:42:47] [INFO]: Found grids cache dir. [Steam Art Manager] [2:42:47] [INFO]: Found Capsule cache dir. [Steam Art Manager] [2:42:47] [INFO]: App setup complete. [Steam Art Manager] [2:42:47] [INFO]: App loaded. IsOnline: true. [Steam Art Manager] [2:42:47] [INFO]: Loading non-steam games... [Steam Art Manager] [2:42:47] [INFO]: Getting steam shortcuts.vdf... [Steam Art Manager] [2:42:47] [INFO]: shortcuts.vdf exists, reading... [Steam Art Manager] [2:42:47] [INFO]: Loaded non-steam games. [Steam Art Manager] [2:42:47] [INFO]: Getting steam games... [Steam Art Manager] [2:42:47] [INFO]: Getting steam grids folder... [Steam Art Manager] [2:42:47] [INFO]: Found Wide Capsule cache dir. [Steam Art Manager] [2:42:47] [INFO]: Found Hero cache dir. [Steam Art Manager] [2:42:47] [INFO]: Found Logo cache dir. [Steam Art Manager] [2:42:47] [INFO]: Found Icon cache dir. [Steam Art Manager] [2:42:47] [INFO]: Initialized CacheController. (log does not seem to provide any useful information)

System information (please complete the following information):

Additional information I haven't a clue about what could be causing this Api key for steamgridDB and Steam are both set

Tormak9970 commented 1 year ago

I'll look into this. I was able to run it on a linux mint VM, so I suspect its related to your setup.

JohnGhostly commented 1 year ago

It probably is. theres some oddities related to how steam was installed. apparently its not in a common directory.

Tormak9970 commented 1 year ago

It probably is. theres some oddities related to how steam was installed. apparently its not in a common directory.

Aah. I need to add support for non standard install locations. Where is yours installed? (you can prob solve your problems by making a symlink to the expected locations)

Tormak9970 commented 1 year ago

Custom Steam Path support has been implemented as of https://github.com/Tormak9970/Steam-Art-Manager/commit/3bec5628ad4b5f0fbb932a800c3abc17147b2543 and will be included in the next update

JohnGhostly commented 1 year ago

It probably is. theres some oddities related to how steam was installed. apparently its not in a common directory.

Aah. I need to add support for non standard install locations. Where is yours installed? (you can prob solve your problems by making a symlink to the expected locations)

My steam folder is located in /home/(user)/.steam/steam I have no idea why its installed here rather than /home/(user)/.local/share/Steam

Tormak9970 commented 1 year ago

hmm, that's the default location. steam symlinks them. Means I gotta figure out what the actual issue is ig, since its not the path

Tormak9970 commented 1 year ago

@JohnGhostly can you try using one of the debug builds I just made? Once it launches, right click -> inspect, and see if there's an error in the "console" tab

JohnGhostly commented 1 year ago

Wheres the console tab? I installed the debug build and I dont see one

Tormak9970 commented 1 year ago

Wheres the console tab? I installed the debug build and I dont see one

When you open up the inspector, there should be a row of tabs at the top of it. May need to make the app full screen for a moment to see the console tab, but it should be there

JohnGhostly commented 1 year ago

Can't find it image

Tormak9970 commented 1 year ago

Can't find it image

you have to first right-click, then hit inspect (or hit ctrl+shift+i), then you should see a new section show up on the bottom or the right side of the app, and the console tab will be in there

JohnGhostly commented 1 year ago

ctrl+shift+i doesn't seem to do anything. Im not sure where inspect would be. its not under right click either

Tormak9970 commented 1 year ago

ctrl+shift+i doesn't seem to do anything. Im not sure where inspect would be. its not under right click either

this is the debug build, right?

JohnGhostly commented 1 year ago

Correct. I installed it through konsole. I'll try doing a full uninstall and doing it again.

Tormak9970 commented 1 year ago

Correct. I installed it through konsole. I'll try doing a full uninstall and doing it again.

Alright. Maybe try just downloading the appimage, since maybe there's an issue with the installer script

Tormak9970 commented 1 year ago

@JohnGhostly there was an issue with the installer script, may have been why it wasn't installing debug builds. Fixed it for the next release

Tormak9970 commented 1 year ago

Going to try debugging this with a VM again, and see if I can make any progress

Tormak9970 commented 1 year ago

I am unable to reproduce the issue (once steam is installed) image

baltimoresports commented 6 months ago

image

Same issue with Bazzite (Fedora).

baltimoresports commented 6 months ago

I get either infinite loading or a white box

image

image

Same issue with Bazzite (Fedora).

Tormak9970 commented 6 months ago

@baltimoresports can you provide your log file? There's a chance that might indicate what the issue is, I've added better logging in the last few updates

baltimoresports commented 6 months ago

@baltimoresports can you provide your log file? There's a chance that might indicate what the issue is, I've added better logging in the last few updates

Sorry, where can I find the log file on linux. I can only find the appimage in my home.

Edit: I did find this one: /var/home/bazzite/.config/dev.tormak.steam-art-manager/logs/core.log

[Steam Art Manager] [18:50:19] [INFO]: Initialized logging file
[Steam Art Manager] [18:50:19] [INFO]: Initializing CacheController...
[Steam Art Manager] [18:50:32] [INFO]: Saving settings...
[Steam Art Manager] [18:50:41] [INFO]: Saving settings...

It will eventually prompt me to upgrade to 3.0.0. I can try and set my steam directory and APIs but it never saves.

baltimoresports commented 6 months ago

Just my steps if it helps...

Install using the latest linux-installer.sh and it installs 2.9.0 image

Open for the first time and get prompted to upgrade

image

image

image

If it helps my steam path is: /home/bazzite/.steam/steam/

One thing I did notice is 2.9.0 pulls up my steam username in the dropdown, but 3.0.0 does not.

I also see multiple processes of it running. Not sure if thats normal or they not closing cleanly

image

I hope this helps. Thank you!

Tormak9970 commented 6 months ago

Just my steps if it helps...

Install using the latest linux-installer.sh and it installs 2.9.0 image

Open for the first time and get prompted to upgrade

image

image

image

If it helps my steam path is: /home/bazzite/.steam/steam/

One thing I did notice is 2.9.0 pulls up my steam username in the dropdown, but 3.0.0 does not.

Hmm, it looks like the latest release didn't build properly (It had fixes for some settings issues), and this seems to be related to saving settings. I'm gonna try and fix that release right now. Once I do I'll update this issue, but if that works then something related to the updater is also broken, if not, I'll try and look into it more

baltimoresports commented 6 months ago

Hmm, it looks like the latest release didn't build properly (It had fixes for some settings issues), and this seems to be related to saving settings. I'm gonna try and fix that release right now. Once I do I'll update this issue, but if that works then something related to the updater is also broken, if not, I'll try and look into it more

Thank you!

Tormak9970 commented 6 months ago

@baltimoresports can you try the new release after uninstalling your current one?

baltimoresports commented 6 months ago

Sorry no luck.

image

Tormak9970 commented 6 months ago

what happens if you delete your settings.json file? it should be in ~/bazzite/.config/dev.tormak.steam-art-manager

baltimoresports commented 6 months ago

Nothing there...

image

Tormak9970 commented 6 months ago

what happens if you put this in that folder? settings.json (its the default settings.json that should get created)

baltimoresports commented 6 months ago

what happens if you put this in that folder? settings.json (its the default settings.json that should get created)

Same freeze unfortunately.

image

Tormak9970 commented 6 months ago

damn, this is annoying. Its working fine on my SteamOS install (my only linux machine unfortunately). I'll look into it some more, thanks for the help

Tormak9970 commented 6 months ago

I'm going to try running bazzite on a VM and see if I can reproduce this problem and fix it

Tormak9970 commented 6 months ago

This appears to be an issue with the framework I'm using. I need to do some troubleshooting

baltimoresports commented 6 months ago

This appears to be an issue with the framework I'm using. I need to do some troubleshooting

Thank you for the support!

Tormak9970 commented 6 months ago

This appears to be an issue with the framework I'm using. I need to do some troubleshooting

Thank you for the support!

We figured out the problem was bazzite symlinks /home to /var/home, there's a workaround for it tho, so hopefully this resolves the issue

Tormak9970 commented 6 months ago

@baltimoresports can you try using the appimage from this debug release: https://github.com/Tormak9970/Steam-Art-Manager/releases/tag/debug-3.2.0

Tormak9970 commented 6 months ago

As of https://github.com/Tormak9970/Steam-Art-Manager/commit/5a1dfe291a59d42829b74b596d0c5c434bf4b883 the app is now functioning on bazzite. This fix will be included in the next release, and will also fix any other issues related to symlinks in the paths SARM uses.

baltimoresports commented 6 months ago

As of 5a1dfe2 the app is now functioning on bazzite. This fix will be included in the next release, and will also fix any other issues related to symlinks in the paths SARM uses.

You're awesome. Thank you!