Garulf / Steam-Search

Search and launch your Steam Game library
MIT License
7 stars 3 forks source link

KeyError #40

Open TheBoxTrot opened 1 year ago

TheBoxTrot commented 1 year ago

Please type any relevant information here

Trace Log

``` Traceback (most recent call last): File "C:\Users\user\AppData\Local\Temp\onefile_10220_133173867251973512\flox\launcher.py", line 44, in run File "C:\Users\user\AppData\Local\Temp\onefile_10220_133173867251973512\flox\__init__.py", line 131, in _query File "C:\Users\user\AppData\Local\Temp\onefile_10220_133173867251973512\plugin\main.py", line 18, in query File "C:\Users\user\AppData\Local\Temp\onefile_10220_133173867251973512\plugin\steam.py", line 90, in all_games File "C:\Users\user\AppData\Local\Temp\onefile_10220_133173867251973512\plugin\library.py", line 44, in games KeyError: 'AppState' ```

ghost commented 1 year ago

I have this error too

ghost commented 1 year ago

Did you managed somehow to fix it?

Garulf commented 1 year ago

Looks like the plugin is having a hard time with on of your game's manifest file. I've updated The Plugin to skip these files instead of crashing. Please check for updates with pm update or manually install by typing: pm install https://github.com/Garulf/Steam-Search/releases/download/v8.1.0/Steam-Search.zip.

There is a new "Debug" option in the plugin settings when selected will log any files the plugin is having trouble reading.

image

If you'd like to help me find out why these files are not working could you please enable debugging and upload your log and the file its having trouble with? I'd like to fix this error instead of skipping over them. Thanks in advance!

TheBoxTrot commented 1 year ago

Would that possibly be caused by games that don't have a steam page or any metadata e.g beta games?

Garulf commented 1 year ago

Yes, this is very possible. But if possible I'd like to inspect the cause to make sure.

TheBoxTrot commented 1 year ago

Will do as soon as I can

Garulf commented 1 year ago

Will do as soon as I can

Awesome! I appreciate it.

TheBoxTrot commented 1 year ago

weird its now working with the new update. is this the file you need? 2023-02-24.txt

Garulf commented 1 year ago

weird its now working with the new update.

Yeah instead of stopping when a games manifest's data is incomplete or missing it now skips the file. But it'll log which file it skips as long as you have debugging enabled.

is this the file you need? 2023-02-24.txt

Sorry I should have clarified which log file. There should be a log file in the plugins install directory called plugin.log.

image

EDIT: You can easily access the plugin's install directory by accessing FLow Launcher's settings and clicking the folder icon in the corner for that plugin. image

TheBoxTrot commented 1 year ago

i have debug on but plugin.log is still empty

Garulf commented 1 year ago

Sorry for the delay, looks like I messed up and the debug is never triggered.

Are you still having this issue?