Your message dated Tue, 04 Feb 2025 03:41:18 +0000
with message-id <[email protected]>
and subject line Bug#1091821: Removed package(s) from unstable
has caused the Debian Bug report #995808,
regarding --help does not mention required --enable-local-file-access
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
995808: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995808
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wkhtmltopdf
Version: 0.12.6-1
Severity: important

Hello,

Thank you for packaging wkhtmltopdf!

wkhtmltopdf version 0.12.6 blocks by default access to local files (note
the "Warning: Blocked access to file"):

   $ wkhtmltopdf test.html test.pdf
   Loading page (1/2)
   Warning: Blocked access to file                                   
   Error: Failed to load about:blank, with network status code 301 and http 
status code 0 - Protocol "about" is unknown
   Printing pages (2/2)                                               
   Done                                                           
   Exit with code 1 due to network error: ProtocolUnknownError

Using --enable-local-file-access makes it work:

   $ wkhtmltopdf --enable-local-file-access test.html test.pdf
   Loading page (1/2)
   Printing pages (2/2)                                               
   Done

However, earlier version of wkhtmltopdf did not support
--enable-local-file-access, and using it would cause it to error out
complaining about usage of a non-existing option.

A program calling wkhtmltopdf for rendering needs to figure out when
--enable-local-file-access is needed and when it's harmful, here's an
example use case:

   https://github.com/Truelite/python-a38/issues/6

To avoid needing to parse and compare --version output, I had opted to
parse the output of --help: if the option was documented, then it was
needed; if it was not documented, then it wasn't supported.

The version of wkhtmltopdf currently in stable requires
--enable-local-file-access but does not document it (!!)
causing both a conundrum for users who get an error message and no
documentation on the option that would fix it, and for software trying
to figure out the effective CLI interface for manipulating wkhtmltopdf
as a backend tool.


Enrico


-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wkhtmltopdf depends on:
ii  libc6                2.31-13
ii  libgcc-s1            10.2.1-6
ii  libqt5core5a         5.15.2+dfsg-9
ii  libqt5gui5           5.15.2+dfsg-9
ii  libqt5network5       5.15.2+dfsg-9
ii  libqt5printsupport5  5.15.2+dfsg-9
ii  libqt5svg5           5.15.2-3
ii  libqt5webkit5        5.212.0~alpha4-11
ii  libqt5widgets5       5.15.2+dfsg-9
ii  libstdc++6           10.2.1-6

Versions of packages wkhtmltopdf recommends:
ii  tigervnc-standalone-server [xserver]  1.11.0+dfsg-2
ii  xserver-xephyr [xserver]              2:1.20.11-1
ii  xserver-xorg [xserver]                1:7.7+22

wkhtmltopdf suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 0.12.6-2+rm

Dear submitter,

as the package wkhtmltopdf has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1091821

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to