[SOLVED] configparser.InterpolationSyntaxError when launching flatpak steam

Sentau@feddit.de to Linux@lemmy.ml – 9 points –

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;'

6

You are viewing a single comment

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 %

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

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

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.

2 more...
2 more...
2 more...
2 more...