• Re: pdfarranger in Mint 20.2

    From Big Al@21:1/5 to this is what pinnerite on Fri Oct 15 07:51:52 2021
    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)
  • From pinnerite@21:1/5 to All on Fri Oct 15 12:20:24 2021
    XPost: alt.os.linux.mint

    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.

    --
    Mint 20.2, kernel 5.4.0-88-generic, Cinnamon 5.0.5
    running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrei Z.@21:1/5 to pinnerite on Fri Oct 15 15:42:19 2021
    XPost: alt.os.linux.mint

    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.

    PDF Arranger
    https://github.com/pdfarranger/pdfarranger
    Version 1.7.1
    Binary packages
    https://github.com/pdfarranger/pdfarranger/wiki/Binary-packages

    Mint 20 / Ubuntu 20.04
    Package: pdfarranger
    Version: 1.4.2-1

    ppa:linuxuprising/apps https://launchpad.net/~linuxuprising/+archive/ubuntu/apps
    Version 1.5.3 for Ubuntu 20.04 Focal

    Flathub
    https://flathub.org/apps/details/com.github.jeromerobert.pdfarranger
    Version 1.7.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From pinnerite@21:1/5 to Big Al on Fri Oct 15 18:06:48 2021
    XPost: alt.os.linux.mint

    On Fri, 15 Oct 2021 07:51:52 -0400
    Big Al <Bears@invalid.com> wrote:

    //
    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


    OK I now have it working.

    1) First I uninstalled the version installed.
    2) Next I reinstalled every installed python related file.
    3) I re-set the locales from the Syste settings - conrol centre
    4) Installed pdfarranger from the software manager.

    Thank you.

    Alan (the small one).

    --
    Mint 20.2, kernel 5.4.0-88-generic, Cinnamon 5.0.5
    running on an AMD Phenom II X4 Black edition processor with 16GB of DRAM.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)