[SOLVED] configparser.InterpolationSyntaxError when launching flatpak steam
from Sentau@feddit.de to linux@lemmy.ml on 01 Dec 2023 04:48
https://feddit.de/post/6235659

So i was trying to launch steam but it did not work so I ran flatpak run com.valvesoftware.Steam and found the error messages below. I tried looking through the python scripts but i am not a programmer and could not zero in on the issue. Could some body help me as to how to fix it.

Traceback (most recent call last): File “/app/bin/steam”, line 8, in sys.exit(main()) ^^^^^^

File “/app/lib/python3.11/site-packages/steam_wrapper.py”, line 466, in main current_info = read_flatpak_info(FLATPAK_INFO) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/app/lib/python3.11/site-packages/steam_wrapper.py”, line 116, in read_flatpak_info “filesystems”: flatpak_info.get(“Context”, “filesystems”, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3.11/configparser.py”, line 815, in get return self._interpolation.before_get(self, section, option, value, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File “/usr/lib/python3.11/configparser.py”, line 396, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1)

File “/usr/lib/python3.11/configparser.py”, line 443, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: ‘%’ must be followed by ‘%’ or ‘(’, found: ‘%0A;’

#linux

threaded - newest

Sentau@feddit.de on 01 Dec 2023 05:35 collapse

Nevemind I figured it out. Was trying to give a new drive read write access for backups and the error stemmed from the fact the name had a ℅ in it.

Edit - It was the path to the folder not the drive with had %

AProfessional@lemmy.world on 01 Dec 2023 14:42 collapse

This is still a bug in the package, please report it.

Sentau@feddit.de on 01 Dec 2023 15:57 collapse

Is it supposed to replace the % with %%? Because that is what it seemed like it should do from the code.

If this is the bug you are alluding to then i will report the bug or else please tell me what the bug you referring to so i can report the correct thing

AProfessional@lemmy.world on 01 Dec 2023 16:09 collapse

The bug is that they parse a glib keyfile with configparser which is a different format. So what is valid in one isn’t in the other.

Sentau@feddit.de on 01 Dec 2023 16:18 collapse

Thanks for the correction. I will report the bug

[deleted] on 01 Dec 2023 18:18 collapse

.

Sentau@feddit.de on 02 Dec 2023 01:13 collapse

Thank you. Cool people like you are the reason why morons like me are able daily drive linux