PySolFC package-rot

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
billyswong
Level 7
Level 7
Posts: 1965
Joined: Wed Aug 14, 2019 1:02 am

PySolFC package-rot

Post by billyswong »

Story:
1) Python 3.10 released on 4th Oct 2021
2) A game called PySolFC was going to be broken and no longer startup under Python 3.10
2) PySolFC released v2.14.0 on 19th Sept 2021, which fixed the regression on time
3) Debian haven't updated the PySolFC package after Debian 11 was released
4) Debian stayed running "2.6.4-3" a version released on 26th Apr 2019 upstream
5) Debian 11 run Python 3.9, so the bug only occurs (and still occur) in Debian testing/sid
6) Ubuntu (& also Linux Mint) copied the PySolFC package from Debian
7) But Ubuntu 22.04 (& also Linux Mint 21) started running Python 3.10 by default
8) Bang! No PySolFC for us to play
Last edited by LockBot on Thu Feb 16, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
billyswong
Level 7
Level 7
Posts: 1965
Joined: Wed Aug 14, 2019 1:02 am

Re: PySolFC package-rot

Post by billyswong »

And in case there are people who play the classic solitaire or freecell from PySolFC like me, here is the hack fix.
1) Go to https://www.python.org/downloads/ and download the source tarball of Python 3.9 (I downloaded the 3.9.11 version)
2) Extract /Python-3.9.11/Lib/formatter.py (The path changes if you are downloaded a different 3.9.x)
3) Copy the file into /usr/lib/python3.10
4) Enjoy!
User avatar
mhbell
Level 2
Level 2
Posts: 50
Joined: Wed Dec 07, 2011 6:29 pm
Location: Ogden Utah USA
Contact:

Re: PySolFC package-rot

Post by mhbell »

Your fix worked great for me in Mint 21. Thanks again
Mel
:D
egraeler
Level 1
Level 1
Posts: 3
Joined: Sun Sep 04, 2022 9:14 pm

Re: PySolFC package-rot

Post by egraeler »

Hi billyswong!
Thanks for the info on getting this working! I'm addicted to this game and would be missing it terribly if not for this hack! :D
billyswong
Level 7
Level 7
Posts: 1965
Joined: Wed Aug 14, 2019 1:02 am

Re: PySolFC package-rot

Post by billyswong »

New Alternatives: There is now a new "PySolFC (Flathub)" entry in Software Manager, which provides the latest version 2.18. I don't know if game stats can be transferred across .deb installation and .flatpak installation, but presumably this one needs no hack in Python installation and will be a good recommendation for a new computer installation.
Locked

Return to “Gaming”