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

FileNotFoundError after trying to install GE-Proton in Steam Snap #368

Closed
Deewens opened this issue Apr 2, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Deewens
Copy link

Deewens commented Apr 2, 2024

Please fill out following when reporting a new bug:

Describe the bug
I tried to install GE-Proton, the last version 9.2 I think. After the download finished, the program crashed with an error message. I tried to reopen the application, but now it won't open and give me an error message.

Traceback (most recent call last):
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/site-packages/pupgui2/__main__.py", line 2, in <module>
    main()
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 571, in main
    MainWindow()
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 109, in __init__
    self.update_ui()
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 230, in update_ui
    global_ctool_name: str = get_steam_global_ctool_name(install_loc.get('vdf_dir'))
  File "/tmp/.mount_ProtonR87rBj/usr/lib/python3.8/site-packages/pupgui2/steamutil.py", line 206, in get_steam_global_ctool_name
    d = get_steam_vdf_compat_tool_mapping(vdf.load(open(config_vdf_file)))
FileNotFoundError: [Errno 2] No such file or directory: '/home/deewens/snap/steam/common/.steam/root/config/config.vdf'

To Reproduce
Steps to reproduce the behavior:

  1. Open GE-Proton AppImage
  2. Install GE-Proton last version for the Steam Snap
  3. You'll get an error message and the app will crash
  4. If you try to reopen the AppImage, it won't and crash immediately with the error message describe above

Expected behavior
No error message and GE-Proton to install in Steam.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Platform: Desktop PC
  • System: Ubutun 23.10
  • Version: 2.9.1
  • How did you install ProtonUp-Qt?: AppImage

Additional context
I'm running the Snap version of Steam, and tried to use the AppImage version of ProtonUp-Qt, because Ubuntu does not install Flatpak out-of-the box, and I don't want to install GNOME Software in addition to the Ubuntu Software.

Terminal output

Open the Terminal app and type one of the following commands and press Enter (The app is called "Konsole" on Steam Deck):

If you installed ProtonUp-Qt via Flatpak (Discover on Steam Deck), type:
flatpak run net.davidotek.pupgui2

If you have downloaded the AppImage, navigate to the folder containing the AppImage file and type:
./ProtonUp-Qt*.AppImage

Try to replicate the bug and paste the text output of the command here afterwards.

pImage
ProtonUp-Qt 2.9.1 by DavidoTek. Build Info: Official AppImage by DavidoTek.
Python 3.8.2 (default, Mar 13 2020, 10:14:16) [GCC 9.3.0], PySide 6.2.4
Platform: Ubuntu 23.10 Linux-6.5.0-26-generic-x86_64-with-glibc2.29
Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Loading locale en / en_US
Loaded ctmod GE-Proton
Loaded ctmod Wine-GE
Loaded ctmod Boxtron
Loaded ctmod D8VK (nightly)
Loaded ctmod Kron4ek Wine-Builds Vanilla
Loaded ctmod Lutris-Wine
Loaded ctmod Luxtorpeda
Loaded ctmod Northstar Proton (Titanfall 2)
Loaded ctmod Proton Tkg
Loaded ctmod Proton Tkg (Wine Master)
Loaded ctmod Roberta
Loaded ctmod Steam-Play-None
Loaded ctmod SteamTinkerLaunch
Loaded ctmod SteamTinkerLaunch-git
Loaded ctmod vkd3d-lutris
Loaded ctmod vkd3d-proton
Loaded ctmod Wine Tkg (Valve Wine)
Loaded ctmod Wine Tkg (Vanilla Wine)
Loaded ctmod DXVK
Loaded ctmod DXVK Async
Loaded ctmod DXVK (nightly)
qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out.
qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found.
Error: Could not get a list of all Steam apps: [Errno 2] No such file or directory: '/home/deewens/snap/steam/common/.steam/root/config/libraryfolders.vdf'
Traceback (most recent call last):
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/site-packages/pupgui2/main.py", line 2, in
main()
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 571, in main
MainWindow()
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 109, in init
self.update_ui()
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/site-packages/pupgui2/pupgui2.py", line 230, in update_ui
global_ctool_name: str = get_steam_global_ctool_name(install_loc.get('vdf_dir'))
File "/tmp/.mount_ProtonnXJhKR/usr/lib/python3.8/site-packages/pupgui2/steamutil.py", line 206, in get_steam_global_ctool_name
d = get_steam_vdf_compat_tool_mapping(vdf.load(open(config_vdf_file)))
FileNotFoundError: [Errno 2] No such file or directory: '/home/deewens/snap/steam/common/.steam/root/config/config.vdf'

Gamepad error: No gamepad found.

@Deewens Deewens added the bug Something isn't working label Apr 2, 2024
@DavidoTek
Copy link
Owner

Thanks for reporting.

Closed as duplicate of #353
Should be fixed with PR #356 and be available with the next release version of ProtonUp-Qt.

The issue also suggests that the Steam installation is invalid or not initialized. Have you started Steam at least once before using ProtonUp-Qt?


I noticed that the problem occurs with a native Steam installation in Issue #353, but with a Snap installation in this issue. Should be fixed in a future version nevertheless. Feel free to report if the issue is fixed in a future version.

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