I can't get it to open.
Closed this issue · 3 comments
I install the flatpak. I click open. I get error message "ldconfig failed, exit status 256". I have no idea what this means.
System Details: # System Details Report
Report details
- Date generated: 2025-02-02 19:23:54
Hardware Information:
- Hardware Model: ASRock A320M-HDV R4.0
- Memory: 16.0 GiB
- Processor: AMD Ryzen™ 5 2600 × 12
- Graphics: NVIDIA GeForce GTX 1660 SUPER
- Disk Capacity: 500.1 GB
Software Information:
- Firmware Version: P3.70
- OS Name: Ubuntu 24.04.1 LTS
- OS Build: (null)
- OS Type: 64-bit
- GNOME Version: 46
- Windowing System: X11
- Kernel Version: Linux 6.8.0-52-generic
Please help. I have no idea what I'm doing, and I just wanna play Marvel Rivals. :(
I would like to add that I've tried reinstalling it multiple times, and it seems like a different error each time. When I tried running it from the console (I used the flatpak), I get the following message:
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/app/lib/python3.12/site-packages/pupgui2/__main__.py", line 2, in <module>
main()
File "/app/lib/python3.12/site-packages/pupgui2/pupgui2.py", line 598, in main
MainWindow()
File "/app/lib/python3.12/site-packages/pupgui2/pupgui2.py", line 115, in __init__
self.update_ui()
File "/app/lib/python3.12/site-packages/pupgui2/pupgui2.py", line 249, in update_ui
global_ctool_name: str = get_steam_global_ctool_name(install_loc.get('vdf_dir'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/pupgui2/steamutil.py", line 221, in get_steam_global_ctool_name
d = get_steam_vdf_compat_tool_mapping(vdf_safe_load(config_vdf_file))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/pupgui2/steamutil.py", line 29, in get_steam_vdf_compat_tool_mapping
s = vdf_file.get('InstallConfigStore', {}).get('Software', {})
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
I can't reproduce, but it sounds like some kind of issue loading the config.vdf file (if I remember the file correctly).
Where is your Steam installation located? If I recall, much of the previous issues were on Ubuntu. On a related note, I wonder if this is an issue with how we parse Steam Snap locations (if Steam Snap is being used here at all).
I can't reproduce, but it sounds like some kind of issue loading the config.vdf file
That is likely.
When I tried running it from the console (I used the flatpak), I get the following message:
Was there any previous error like An error occured while calling vdf_safe_load? Otherwise, it seems like vdf.loads may return None.
(vdf_safe_load returns None in the following cases: 1. vdf.loads returned None, 2. an Exception occurred with vdf.loads)
I will create a PR that ensures streamutil.py#vdf_safe_load will always return a dict. The PR will not fix the broken config file but prevent ProtonUp-Qt from crashing.