XPost: alt.os.linux.mint
On 10/15/21 7:20 AM, this is what pinnerite wrote:
I have never had a problem before trying to use it in mint 20.2.
I installed it from the command line ( apt install pdfarranger)
Later from synaptic and later still from the ubuntu repositary.
The results are much the same.
This is a typical result:
$ /usr/bin/pdfarranger
Traceback (most recent call last):
File "/usr/bin/pdfarranger", line 11, in <module>
load_entry_point('pdfarranger==1.4.2', 'console_scripts', 'pdfarranger')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/pdfarranger/pdfarranger.py", line 49, in <module>
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.8/locale.py", line 608, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Sorry to be a drag.
Sorry too, but I didn't get any such error. Thanks though. It's kind of a cute little utility. Not sure I would use it much, but nice
to have it at hand just in case huh?!
PS, the only thing I have done to my system that you may not have done is to rebuild the Locales. I do it for all my installs. My
documentation on this reads as:
Add en_US.utf8 to the archives with this command.
sudo locale-gen --purge --no-archive
Now 'sudo update-initramfs -u' updates will not bulk at no en_US.utf8 language support
--
Linux Mint Cinnamon 20.2 64bit, Dell Inspiron 5570 laptop
Quad Core i7-8550U, 16G Memory, 512G SSD, 750G & 1TB HDDs
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)