Tormak9970 / Steam-Art-Manager

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

Same issue as #182, crash then installation not found #196

Closed kdliu86 closed 2 months ago

kdliu86 commented 4 months ago

Still broken with 3.6.6. I was able to open the app 1 time, scroll my library, then it crashed. On 2nd load it said Steam not found.


[Steam Art Manager] [16:11:2] [INFO]: Initialized logging file
[Steam Art Manager] [16:11:4] [INFO]: Finished checking settings for new app version and/or migration.
[Steam Art Manager] [16:11:4] [INFO]: Added /home/deck/.local/share/Steam to scope.
[Steam Art Manager] [16:11:4] [INFO]: Checking config/loginusers.vdf for current user info.
[Steam Art Manager] [16:11:4] [INFO]: Loaded 1 steam users.
[Steam Art Manager] [16:11:4] [WARNING]: The SteamGridDB API key found in settings is no longer valid.
[Steam Art Manager] [16:11:4] [INFO]: Loaded 0 custom game names.
[Steam Art Manager] [16:11:4] [INFO]: Finished loading app settings.
[Steam Art Manager] [16:11:4] [INFO]: Added /home/deck/.local/share/Steam to scope.
[Steam Art Manager] [16:11:4] [INFO]: App setup complete.
[Steam Art Manager] [16:11:4] [INFO]: App loaded. IsOnline: true.
[Steam Art Manager] [16:11:4] [INFO]: Getting steam shortcuts.vdf...
[Steam Art Manager] [16:11:4] [INFO]: shortcuts.vdf exists, reading...
[Steam Art Manager] [16:11:4] [ERROR]: Error adding /home/deck/.local/share/steam to scope. Path does not exist.
[Steam Art Manager] [16:11:4] [INFO]: Updated setting steamInstallPath to "/home/deck/.local/share/Steam".
[Steam Art Manager] [16:11:4] [INFO]: Added /home/deck/.local/share/Steam to scope.
[Steam Art Manager] [16:11:4] [INFO]: Updated setting debugMode to false.
[Steam Art Manager] [16:11:4] [INFO]: Loaded non-steam games.
[Steam Art Manager] [16:11:4] [INFO]: Getting steam grids folder...
[Steam Art Manager] [16:11:4] [INFO]: Grids loaded.
[Steam Art Manager] [16:11:4] [INFO]: Getting steam library cache folder...
[Steam Art Manager] [16:11:4] [INFO]: Initialized CacheController.
[Steam Art Manager] [16:11:4] [INFO]: Library Cache loaded.
[Steam Art Manager] [16:11:4] [INFO]: Cached logo positions for 1 games.
Tormak9970 commented 4 months ago

@kdliu86 I believe I've addressed the issue. I simplified how paths were being resolved on linux, and added some more error checks. There should be a new release in the next 15 minutes or so. Let me know if there's still issues after the update.

kdliu86 commented 4 months ago

Crashed as I scrolled my non-steam section of the library.

[Steam Art Manager] [23:41:38] [INFO]: Initialized logging file
[Steam Art Manager] [23:41:39] [INFO]: Finished checking settings for new app version and/or migration.
[Steam Art Manager] [23:41:39] [INFO]: Added /home/deck/.steam/steam to scope.
[Steam Art Manager] [23:41:39] [INFO]: Checking config/loginusers.vdf for current user info.
[Steam Art Manager] [23:41:39] [INFO]: Loaded 1 steam users.
[Steam Art Manager] [23:41:39] [WARNING]: The SteamGridDB API key found in settings is no longer valid.
[Steam Art Manager] [23:41:39] [INFO]: Loaded 0 custom game names.
[Steam Art Manager] [23:41:39] [INFO]: Finished loading app settings.
[Steam Art Manager] [23:41:39] [INFO]: App setup complete.
[Steam Art Manager] [23:41:39] [INFO]: App loaded. IsOnline: true.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam shortcuts.vdf...
[Steam Art Manager] [23:41:39] [INFO]: shortcuts.vdf exists, reading...
[Steam Art Manager] [23:41:39] [INFO]: Added /home/deck/.steam/steam to scope.
[Steam Art Manager] [23:41:39] [INFO]: Updated setting steamInstallPath to "/home/deck/.steam/steam".
[Steam Art Manager] [23:41:39] [INFO]: Updated setting debugMode to false.
[Steam Art Manager] [23:41:39] [INFO]: Loaded non-steam games.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam grids folder...
[Steam Art Manager] [23:41:39] [INFO]: Grids loaded.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam library cache folder...
[Steam Art Manager] [23:41:39] [INFO]: Initialized CacheController.
[Steam Art Manager] [23:41:40] [INFO]: Library Cache loaded.
[Steam Art Manager] [23:41:40] [INFO]: Cached logo positions for 3 games.
[Steam Art Manager] [23:41:49] [INFO]: Loaded 1941 games from Steam Community page.
[Steam Art Manager] [23:42:3] [INFO]: Saving settings...
[Steam Art Manager] [23:42:3] [INFO]: Updated setting steamGridDbApiKey to "#".
[Steam Art Manager] [23:42:3] [INFO]: Updated setting steamApiKeyMap to {"#":"#"}.
[Steam Art Manager] [23:42:3] [INFO]: Saved settings.
[Steam Art Manager] [23:42:3] [WARNING]: Steam API Key Changed
[Steam Art Manager] [23:42:6] [INFO]: Loaded 1894 games from Steam API.
[Steam Art Manager] [23:42:18] [INFO]: Updated setting windowSettings.main.type to "Icon".
Tormak9970 commented 4 months ago

Crashed as I scrolled my non-steam section of the library.

[Steam Art Manager] [23:41:38] [INFO]: Initialized logging file
[Steam Art Manager] [23:41:39] [INFO]: Finished checking settings for new app version and/or migration.
[Steam Art Manager] [23:41:39] [INFO]: Added /home/deck/.steam/steam to scope.
[Steam Art Manager] [23:41:39] [INFO]: Checking config/loginusers.vdf for current user info.
[Steam Art Manager] [23:41:39] [INFO]: Loaded 1 steam users.
[Steam Art Manager] [23:41:39] [WARNING]: The SteamGridDB API key found in settings is no longer valid.
[Steam Art Manager] [23:41:39] [INFO]: Loaded 0 custom game names.
[Steam Art Manager] [23:41:39] [INFO]: Finished loading app settings.
[Steam Art Manager] [23:41:39] [INFO]: App setup complete.
[Steam Art Manager] [23:41:39] [INFO]: App loaded. IsOnline: true.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam shortcuts.vdf...
[Steam Art Manager] [23:41:39] [INFO]: shortcuts.vdf exists, reading...
[Steam Art Manager] [23:41:39] [INFO]: Added /home/deck/.steam/steam to scope.
[Steam Art Manager] [23:41:39] [INFO]: Updated setting steamInstallPath to "/home/deck/.steam/steam".
[Steam Art Manager] [23:41:39] [INFO]: Updated setting debugMode to false.
[Steam Art Manager] [23:41:39] [INFO]: Loaded non-steam games.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam grids folder...
[Steam Art Manager] [23:41:39] [INFO]: Grids loaded.
[Steam Art Manager] [23:41:39] [INFO]: Getting steam library cache folder...
[Steam Art Manager] [23:41:39] [INFO]: Initialized CacheController.
[Steam Art Manager] [23:41:40] [INFO]: Library Cache loaded.
[Steam Art Manager] [23:41:40] [INFO]: Cached logo positions for 3 games.
[Steam Art Manager] [23:41:49] [INFO]: Loaded 1941 games from Steam Community page.
[Steam Art Manager] [23:42:3] [INFO]: Saving settings...
[Steam Art Manager] [23:42:3] [INFO]: Updated setting steamGridDbApiKey to "#".
[Steam Art Manager] [23:42:3] [INFO]: Updated setting steamApiKeyMap to {"#":"#"}.
[Steam Art Manager] [23:42:3] [INFO]: Saved settings.
[Steam Art Manager] [23:42:3] [WARNING]: Steam API Key Changed
[Steam Art Manager] [23:42:6] [INFO]: Loaded 1894 games from Steam API.
[Steam Art Manager] [23:42:18] [INFO]: Updated setting windowSettings.main.type to "Icon".

I'll do some testing with non steam games. To clarify, it worked fine until that point?

kdliu86 commented 4 months ago

Yeah, I was unable to scroll my library, I clicked non-steam games, it showed up as blank with a long scroll bar, and then it froze.

Tormak9970 commented 4 months ago

Yeah, I was unable to scroll my library, I clicked non-steam games, it showed up as blank with a long scroll bar, and then it froze.

So steam games did not load either?

kdliu86 commented 4 months ago

I just tried loading steam games, it loaded fine until I clicked on one that was previously uninstalled. It crashed as it tried to load grids for Watch_Dogs

This is on a fresh install of sarm:


[Steam Art Manager] [10:39:8] [WARNING]: Steam API Key Changed
[Steam Art Manager] [10:39:10] [INFO]: Loaded 1894 games from Steam API.
[Steam Art Manager] [10:39:21] [INFO]: Updated setting windowSettings.main.type to "Logo".
[Steam Art Manager] [10:39:23] [INFO]: Updated setting windowSettings.main.type to "Icon".
[Steam Art Manager] [10:39:44] [INFO]: Finding SGDB game for 331390...
[Steam Art Manager] [10:39:44] [INFO]: Fetching grids for game 331390...
[Steam Art Manager] [10:39:45] [INFO]: Query: "Icons for Winged Sakura: Mindy's Arc - page 0". Result: no grids.
[Steam Art Manager] [10:39:46] [INFO]: Fetching grids for game 331390...
[Steam Art Manager] [10:39:46] [INFO]: Updated setting windowSettings.main.type to "Hero".
[Steam Art Manager] [10:39:46] [INFO]: Query: "Heroes for Winged Sakura: Mindy's Arc - page 0". Result: no grids.
[Steam Art Manager] [10:39:47] [INFO]: Finding SGDB game for 204180...
[Steam Art Manager] [10:39:48] [INFO]: Fetching grids for game 204180...
[Steam Art Manager] [10:39:48] [INFO]: Query: "Heroes for Waveform - page 0". Result: 2 grids.
[Steam Art Manager] [10:39:48] [INFO]: Finding SGDB game for 243470...
[Steam Art Manager] [10:39:48] [INFO]: Fetching grids for game 243470...
[Steam Art Manager] [10:39:48] [INFO]: Query: "Heroes for Watch_Dogs - page 0". Result: 17 grids.
Tormak9970 commented 4 months ago

@kdliu86 I am unable to reproduce this on my steamdeck. My non-steam games load fine, and my regular ones load fine as well (this is with 3.6.8). Did you use emudeck to setup the non-steam games?

kdliu86 commented 4 months ago

I only have Steam Games, non-Steam Lutris games added to Steam, and some non-Steam games added directly in Steam.

Tormak9970 commented 4 months ago

I only have Steam Games, non-Steam Lutris games added to Steam, and some non-Steam games added directly in Steam.

hmm, I wonder if the way lutris adds games to steam is breaking something with sarm. Can you share your shortcuts.vdf so I can test with it? should be in /home/deck/.steam/steam/userdata/YOUR_ID/config

Tormak9970 commented 2 months ago

closing this as there has been no activity. I will reopen if I get more information