Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError #40

Open
TheBoxTrot opened this issue Jan 5, 2023 · 11 comments
Open

KeyError #40

TheBoxTrot opened this issue Jan 5, 2023 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@TheBoxTrot
Copy link

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
Copy link

ghost commented Feb 12, 2023

I have this error too

@ghost
Copy link

ghost commented Feb 12, 2023

Did you managed somehow to fix it?

@Garulf Garulf mentioned this issue Feb 23, 2023
@Garulf
Copy link
Owner

Garulf commented Feb 23, 2023

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!

@Garulf Garulf self-assigned this Feb 23, 2023
@Garulf Garulf added the bug Something isn't working label Feb 23, 2023
@TheBoxTrot
Copy link
Author

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

@Garulf
Copy link
Owner

Garulf commented Feb 24, 2023

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

@TheBoxTrot
Copy link
Author

Will do as soon as I can

@Garulf
Copy link
Owner

Garulf commented Feb 24, 2023

Will do as soon as I can

Awesome! I appreciate it.

@TheBoxTrot
Copy link
Author

TheBoxTrot commented Feb 24, 2023

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

@Garulf
Copy link
Owner

Garulf commented Feb 24, 2023

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
Copy link
Author

i have debug on but plugin.log is still empty

@Garulf
Copy link
Owner

Garulf commented May 28, 2023

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

Are you still having this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants