slpkg problems out of the blue
by bgslacks from LinuxQuestions.org on (#6KFZM)
Hello humans.
I've recently ran into problems while trying to use slpkg. It has worked for me previously which I think is weird, I've never had this problem before. I've tried reinstalling multiple python3 dependencies but nothing seem to work.
These are the errors I get:
root@slackware:/etc/slpkg# slpkg
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 5, in <module>
from slpkg.main import main
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 15, in <module>
from slpkg.cleanings import Cleanings
File "/usr/lib64/python3.9/site-packages/slpkg/cleanings.py", line 9, in <module>
from slpkg.views.views import View
File "/usr/lib64/python3.9/site-packages/slpkg/views/views.py", line 10, in <module>
from slpkg.dialog_box import DialogBox
File "/usr/lib64/python3.9/site-packages/slpkg/dialog_box.py", line 12, in <module>
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib64/python3.9/locale.py", line 610, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Has anyone experienced this before?
I've recently ran into problems while trying to use slpkg. It has worked for me previously which I think is weird, I've never had this problem before. I've tried reinstalling multiple python3 dependencies but nothing seem to work.
These are the errors I get:
root@slackware:/etc/slpkg# slpkg
Traceback (most recent call last):
File "/usr/sbin/slpkg", line 5, in <module>
from slpkg.main import main
File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 15, in <module>
from slpkg.cleanings import Cleanings
File "/usr/lib64/python3.9/site-packages/slpkg/cleanings.py", line 9, in <module>
from slpkg.views.views import View
File "/usr/lib64/python3.9/site-packages/slpkg/views/views.py", line 10, in <module>
from slpkg.dialog_box import DialogBox
File "/usr/lib64/python3.9/site-packages/slpkg/dialog_box.py", line 12, in <module>
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib64/python3.9/locale.py", line 610, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Has anyone experienced this before?