Pysolfc ~ flatpak version

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
coaxguy99
Donor
Posts: 28
Joined: 6. Apr 2025, 15:41

Pysolfc ~ flatpak version

Post by coaxguy99 »

Hoping someone can help me with this. I installed the flatpak version of Pysolfc. When I try to run it, I receive the following error:

alben[~]$ flatpak run io.sourceforge.pysolfc.PySolFC
Traceback (most recent call last):
File "/app/bin/pysol.py", line 28, in <module>
init()
File "/app/lib/python3.12/site-packages/pysollib/init.py", line 51, in init
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.12/locale.py", line 615, in setlocale
return _setlocale(category, locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting


And idea how to get a supported locale setting? The Pysolfc in the Salix repository wouldn't start. I've had the same issue with other distros but this is the first time I've had an issue with the flatpak version. Again, is there a simple solution to provide a supported locale setting to allow this to run?

Many thanks!
Al
User avatar
gapan
Salix Wizard
Posts: 6348
Joined: 6. Jun 2009, 17:40

Re: Pysolfc ~ flatpak version

Post by gapan »

You could try something like:

Code: Select all

LANG=C flatpak run io.sourceforge.pysolfc.PySolFC
I haven't tried it though.

I'm more concerned about why the salix package doesn't work for you. Do you get any error messages? It runs OK here. Make sure you have the python-pysol_cards and python-random2 packages installed.
Image
Image
coaxguy99
Donor
Posts: 28
Joined: 6. Apr 2025, 15:41

Re: Pysolfc ~ flatpak version

Post by coaxguy99 »

LANG=C flatpak run io.sourceforge.pysolfc.PySolFC worked. Thanks!
User avatar
gapan
Salix Wizard
Posts: 6348
Joined: 6. Jun 2009, 17:40

Re: Pysolfc ~ flatpak version

Post by gapan »

That means there is something wrong with the flatpak. It should have worked no matter the locale. The package in the Salix repos does.
Image
Image
coaxguy99
Donor
Posts: 28
Joined: 6. Apr 2025, 15:41

Re: Pysolfc ~ flatpak version

Post by coaxguy99 »

Thanks. FYI, I'm loving your distro AND I just checked DistroWatch today because I was trying to figure out which version I first tried many years ago (the desktop was MATE) and noticed Salix OS has been removed from the top 100 distros and it must have just happened! They have the status listed as Dormant, yet, they don't have Slackware listed that way. I hope you can get that rectified because it seems like (as Hawkeye of Mash would say) horse hockey.

Al
User avatar
gapan
Salix Wizard
Posts: 6348
Joined: 6. Jun 2009, 17:40

Re: Pysolfc ~ flatpak version

Post by gapan »

Yeah, that is an issue with distrowatch. Nothing we can do here. It is exactly as you described it.
Image
Image
coaxguy99
Donor
Posts: 28
Joined: 6. Apr 2025, 15:41

Re: Pysolfc ~ flatpak version

Post by coaxguy99 »

That's too bad. Salix OS is far better than most of those in the top 20. Thanks for the great distro! I've been gradually converting all of my laptops over from other distros to Salix and Mageia. I keep PCLinuxOS around, too, just because it is so odd I find it entertaining... such a mix of old (apt and Synaptic on an RPM based distro) and new (but no systemd as is Salix which I appreciate). The thing I despise about ALL of the deb distros is how long updates take and how painful it is to do a major distro upgrade while most of the rpm distros upgrade seamlessly. The problem I have with the arch based distros is that updates regularly break things and it is a real PITA to sort them out. I find the stability of Salix along with some flatpak implementation for those few apps where I want the latest version to be the perfect combo that simply gets stuff done. As for Mageia Cauldron, I keep that one because it is bleeding edge but updates are fast and it doesn't break things the way Fedora Rawhide and OpenSUSE Tumbleweed do (frequently). If it were up to me, I would have both distros in the top 10 on Distrowatch (Salix OS and Mageia).
Post Reply