Package Details: pdfbooklet 3.1.2-3

Git Clone URL: https://aur.archlinux.org/pdfbooklet.git (read-only, click to copy)
Package Base: pdfbooklet
Description: Utility to convert a PDF into a booklet, reordering pages.
Upstream URL: https://pdfbooklet.sourceforge.io
Licenses: GPL3
Submitter: tmladek
Maintainer: kauron
Last Packager: kauron
Votes: 1
Popularity: 0.000000
First Submitted: 2021-07-15 14:10 (UTC)
Last Updated: 2023-09-11 12:33 (UTC)

Latest Comments

amphiprion commented on 2023-06-11 17:32 (UTC) (edited on 2023-06-11 17:35 (UTC) by amphiprion)

I had exactly the same problem as "m040601" reported on 2023-06-09.

It seems like

gettext.bind_textdomain_codeset(domain, codeset=None)

is deprecated since python 3.8 and has been removed in python 3.10.

As a workaround I tried commenting out line 444 of the file

"/usr/lib/python3.11/site-packages/linkgrammar/pdfbooklet/elib_intl3.py"

and it works - pdfbooklet starts and runs properly for me.

m040601 commented on 2023-06-09 05:57 (UTC)

Can the maintainer of this PKGBUILD please confirm that the tool is working on his system ?

I have an up to date normal arch installation, and tried tried everything (clean build etc) but cant get it to work.

The installation seem to go without errors, but then trying to run it,

   $ pdfbooklet --help
Traceback (most recent call last):
  File "/usr/bin/pdfbooklet", line 29, in <module>
    from pdfbooklet.pdfbooklet import main
  File "/usr/lib/python3.11/site-packages/linkgrammar/pdfbooklet/pdfbooklet.py", line 247, in <module>
    elib_intl3.install("pdfbooklet", "share/locale")
  File "/usr/lib/python3.11/site-packages/linkgrammar/pdfbooklet/elib_intl3.py", line 492, in install
    _install(domain, localedir, True)
  File "/usr/lib/python3.11/site-packages/linkgrammar/pdfbooklet/elib_intl3.py", line 444, in _install
    gettext.bind_textdomain_codeset(domain, 'UTF-8')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gettext' has no attribute 'bind_textdomain_codeset'

clodio commented on 2022-02-07 15:50 (UTC)

There is a space in the url after "/projects/pdfbooklet/files/pdfbooklet" and before $pkgver/$pkgname-$pkgver-all_64.tar.gz %20 resolve that problem

yochaigal commented on 2021-11-29 18:31 (UTC)

Direct link to sourceforge doesn't work (building with manual download works).

ianmethyst commented on 2021-10-25 23:20 (UTC)

There is a space in the url after "/projects/pdfbooklet/files/pdfbooklet" and before "3.1.2" that should be replaced with "%20" or else wget will fail to download the tar