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
Pysolfc ~ flatpak version
Re: Pysolfc ~ flatpak version
You could try something like:
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.
Code: Select all
LANG=C flatpak run io.sourceforge.pysolfc.PySolFC
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.
Re: Pysolfc ~ flatpak version
LANG=C flatpak run io.sourceforge.pysolfc.PySolFC worked. Thanks!
Re: Pysolfc ~ flatpak version
That means there is something wrong with the flatpak. It should have worked no matter the locale. The package in the Salix repos does.
Re: Pysolfc ~ flatpak version
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
Al
Re: Pysolfc ~ flatpak version
Yeah, that is an issue with distrowatch. Nothing we can do here. It is exactly as you described it.
Re: Pysolfc ~ flatpak version
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).