-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Crash if non-flatpak steam is missing #353
Comments
Looks like it's happening because I still have files in the |
Having Steam files from a previous installation but no valid Steam install for that type is probably causing the crash as you point out, rather than anything to do with the Flatpak. Although, I thought we'd be checking for a valid Steam install earlier: ProtonUp-Qt/pupgui2/constants.py Lines 26 to 36 in 89bdbcf
Oh, wait, we default to I guess there isn't a check for Steam being missing. We check for other launchers being missing, but I guess ProtonUp-Qt always expects Steam. |
This could be the culprit: Line 207 in 89bdbcf
Since Perhaps we need a different helper function to call in That line is part of a bigger loop that loops through all ProtonUp-Qt/pupgui2/constants.py Line 38 in 89bdbcf
Each install location is a dictionary with a |
I'll take a stab at getting a draft of something ready for this later tonight if no one else is looking at it. No guarantee I'll get the approach right but if I don't end up opening any PR I'll at least note the pitfalls I ran into :-) |
Ran into the same issue here, if it helps I copied the missing file from another PC and it worked. The UI displays the native steam location as an option despite there not being a native installation. |
Deleting the empty directories (i.e. removing all of The issue is that right now ProtonUp-Qt only looks to see if the Steam directories exist. If they do, it assumes Steam is installed, and when it tries to look for the VDF files it needs, they don't exist and it crashes. #356 is aiming to solve this by introducing a stricter check for these data files, with some other changes included (mainly refactoring some semi-related logic out of I am a bit curious though as to how a system can end up with these left behind directories. Did you uninstall regular Steam and replace it with Flatpak Steam, and this is just left-behind installation files? Nothing changed in the logic, so if this is the case, it seems there are more user switching to Flatpak Steam, that is, unistalling a previous Steam installation and switching. In other words, a use-case that has suddenly cropped up, which is why I ask. Just curiosity is all 😀 |
Arch linux was having a day the native package wasn't rendering so I uninstalled native and downloaded the flatpak version for troubleshooting. |
Interesting, as an Arch user for many years I have never encountered that issue, but makes sense. |
Describe the bug
Crash if non-flatpak steam is missing
To Reproduce
Start program without non-flatpak steam -> crash right away
Desktop (please complete the following information):
Terminal output
The text was updated successfully, but these errors were encountered: