-
Notifications
You must be signed in to change notification settings - Fork 5
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
TypeError: unsupported operand type(s) for /: 'NoneType' and 'str' #10
Comments
Do you have two installations of Steam, one installed using Flatpak and another other than Flatpak? Protontricks found both If you are intending to use Protontricks Flatpak with the non-Flatpak version of Steam, you could either remove the other Steam installation or use the
You could also create aliases to separate the two installations. For example, you could add these to your
|
When both Flatpak and non-Flatpak versions of Steam are installed for the same user, Steam installation detection might return two paths that correspond to two different installations of Steam. Ensure that the two paths returned by `find_steam_path` are the same when Flatpak sandbox is active and Flatpak installation directory is found. Refs flathub/com.github.Matoking.protontricks#10
I've pushed a potential fix to the Steam installation discovery. Could you try installing the fix using the following command and check if it fixes the issue?
|
|
Incomplete Proton installations where the `dist` directory does not exist yet cause Protontricks to crash. Check for this and instruct the user to launch a Steam app at least once to ensure the installation is complete. Refs flathub/com.github.Matoking.protontricks#10
The Flatpak version of Protontricks defaulting to the Flatpak version of Steam is intentional, but the crash is not. It seems like that Proton is installed for Flatpak Steam, but hasn't been launched yet, which is causing the crash. Proton versions except for Proton Experimental install a directory named I've pushed another potential fix. Could you try running this command to install the newer fix:
After that, try running the following command:
Assuming everything works correctly, it should now instruct the user to launch a Steam app at least once to ensure that the Proton installation is finished. If not, the problem is probably elsewhere and needs more investigation. |
log changes but still only 2 games and crashes... protontricks (INFO): Running inside Flatpak sandbox, version 1.6.5. |
"~/.local/share/Steam" corresponds to a different directory inside a Steam Flatpak. Ensure Protontricks doesn't mix them and try to look for Flatpak Steam apps in the non-Flatpak installation directory. Refs flathub/com.github.Matoking.protontricks#10
Investigated this problem more, and turns out that while both versions of Steam write the identical path Third time's the charm, hopefully. Could you try installing this fix:
and test the following command again:
|
When both Flatpak and non-Flatpak versions of Steam are installed for the same user, Steam installation detection might return two paths that correspond to two different installations of Steam. Ensure that the two paths returned by `find_steam_path` are the same when Flatpak sandbox is active and Flatpak installation directory is found. Refs flathub/com.github.Matoking.protontricks#10
Incomplete Proton installations where the `dist` directory does not exist yet cause Protontricks to crash. Check for this and instruct the user to launch a Steam app at least once to ensure the installation is complete. Refs flathub/com.github.Matoking.protontricks#10
"~/.local/share/Steam" corresponds to a different directory inside a Steam Flatpak. Ensure Protontricks doesn't mix them and try to look for Flatpak Steam apps in the non-Flatpak installation directory. Refs flathub/com.github.Matoking.protontricks#10
"~/.local/share/Steam" corresponds to a different directory inside a Steam Flatpak. Ensure Protontricks doesn't mix them and try to look for Flatpak Steam apps in the non-Flatpak installation directory. Refs flathub/com.github.Matoking.protontricks#10
Hello. When i launch protontricks with flag --gui its show not all games(only 2 of them) and when i select one of them its crashes.
The text was updated successfully, but these errors were encountered: