Package Details: python-xhtml2pdf 0.2.16-1

Git Clone URL: https://aur.archlinux.org/python-xhtml2pdf.git (read-only, click to copy)
Package Base: python-xhtml2pdf
Description: A library for converting HTML into PDFs using ReportLab
Upstream URL: https://github.com/xhtml2pdf/xhtml2pdf
Licenses: Apache-2.0
Submitter: awacha
Maintainer: carsme
Last Packager: carsme
Votes: 3
Popularity: 0.000314
First Submitted: 2019-07-22 09:54 (UTC)
Last Updated: 2024-06-09 21:38 (UTC)

Latest Comments

carsme commented on 2024-03-09 16:01 (UTC)

@micwoj92 thanks for the links, patched in 0.2.15-2.

micwoj92 commented on 2024-03-06 17:57 (UTC)

Broken with reportlab 4.1.0 https://github.com/xhtml2pdf/xhtml2pdf/issues/751 https://github.com/xhtml2pdf/xhtml2pdf/pull/754

carsme commented on 2023-05-09 06:56 (UTC)

I get the following build failure since the Python 3.11 upgrade:

==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/xhtml2pdf
copying xhtml2pdf/charts.py -> build/lib/xhtml2pdf
copying xhtml2pdf/wsgi.py -> build/lib/xhtml2pdf
copying xhtml2pdf/util.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pisa.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tables.py -> build/lib/xhtml2pdf
copying xhtml2pdf/context.py -> build/lib/xhtml2pdf
copying xhtml2pdf/parser.py -> build/lib/xhtml2pdf
copying xhtml2pdf/__init__.py -> build/lib/xhtml2pdf
copying xhtml2pdf/default.py -> build/lib/xhtml2pdf
copying xhtml2pdf/reportlab_paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/pdf.py -> build/lib/xhtml2pdf
copying xhtml2pdf/document.py -> build/lib/xhtml2pdf
copying xhtml2pdf/files.py -> build/lib/xhtml2pdf
copying xhtml2pdf/paragraph.py -> build/lib/xhtml2pdf
copying xhtml2pdf/xhtml2pdf_reportlab.py -> build/lib/xhtml2pdf
copying xhtml2pdf/tags.py -> build/lib/xhtml2pdf
creating build/lib/xhtml2pdf/builders
copying xhtml2pdf/builders/signs.py -> build/lib/xhtml2pdf/builders
copying xhtml2pdf/builders/__init__.py -> build/lib/xhtml2pdf/builders
copying xhtml2pdf/builders/watermarks.py -> build/lib/xhtml2pdf/builders
creating build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssDOMElementInterface.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/css.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssSpecial.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/cssParser.py -> build/lib/xhtml2pdf/w3c
copying xhtml2pdf/w3c/__init__.py -> build/lib/xhtml2pdf/w3c
creating build/lib/xhtml2pdf/config
copying xhtml2pdf/config/httpconfig.py -> build/lib/xhtml2pdf/config
copying xhtml2pdf/config/__init__.py -> build/lib/xhtml2pdf/config
running egg_info
creating xhtml2pdf.egg-info
writing xhtml2pdf.egg-info/PKG-INFO
writing dependency_links to xhtml2pdf.egg-info/dependency_links.txt
writing entry points to xhtml2pdf.egg-info/entry_points.txt
writing requirements to xhtml2pdf.egg-info/requires.txt
writing top-level names to xhtml2pdf.egg-info/top_level.txt
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS.rst'
writing manifest file 'xhtml2pdf.egg-info/SOURCES.txt'
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v7.0.0
WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
making output directory... done
WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'<name>': ('https://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 12 source files that are out of date
updating environment: [new config] 12 added, 0 changed, 0 removed
/home/carsme/.cache/paru/clone/python-xhtml2pdf/src/xhtml2pdf-0.2.10/docs/source/release-notes.rst:147: WARNING: Line block ends without a blank line.

Exception occurred:
  File "/usr/lib/python3.11/site-packages/sphinx/ext/extlinks.py", line 103, in role
    title = caption % part
            ~~~~~~~~^~~~~~
TypeError: not all arguments converted during string formatting
The full traceback has been saved in /tmp/sphinx-err-chpglotf.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:53: html] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-xhtml2pdf-0.2.10-1':
error: packages failed to build: python-xhtml2pdf-0.2.10-1

micwoj92 commented on 2023-03-12 12:37 (UTC)

Docs build fails (most probably due to sphinx 6)

Exception occurred:
  File "/usr/lib/python3.10/site-packages/sphinx/ext/extlinks.py", line 103, in role
    title = caption % part
TypeError: not all arguments converted during string formatting
The full traceback has been saved in /tmp/sphinx-err-4oigcyzh.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:53: html] Error 2
==> ERROR: A failure occurred in build().
    Aborting...