--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lp: Unsupported document-format "application/x-idx-doc" when printing txt files
- From: Thomas Arendsen Hein <thomas@intevation.de>
- Date: Wed, 22 Dec 2021 13:51:36 +0100
- Message-id: <164017749683.15592.9662892412566069429.reportbug@peanuts>
Package: printer-driver-indexbraille
Version: 1.2.3-2
Severity: normal
X-Debbugs-Cc: thomas@intevation.de
Dear Maintainer,
during "apt-get dist-upgrade" from Debian buster to bullseye, the package
printer-driver-indexbraille 1.2.3-2 has been installed.
Due to this, the following problem started when trying to print simple text
files named *.txt. To reproduce:
$ echo > foo.txt
$ lp foo.txt
lp: Unsupported document-format "application/x-idx-doc".
Workaround:
$ cat foo.txt | lp
Context in /var/log/cups/error_log (after "cupsctl --debug-logging"):
D [22/Dec/2021:13:26:20 +0100] [Client 1] POST /printers/lmc HTTP/1.1
D [22/Dec/2021:13:26:20 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [22/Dec/2021:13:26:20 +0100] [Client 1] Read: status=200, state=6
D [22/Dec/2021:13:26:20 +0100] [Client 1] No authentication data provided.
D [22/Dec/2021:13:26:20 +0100] [Client 1] 2.0 Send-Document 5
D [22/Dec/2021:13:26:20 +0100] Send-Document ipp://localhost:631/printers/lmc
D [22/Dec/2021:13:26:20 +0100] cupsdIsAuthorized: requesting-user-name="thomas"
D [22/Dec/2021:13:26:20 +0100] [Job 1281] Auto-typing file...
D [22/Dec/2021:13:26:20 +0100] [Job 1281] Request file type is application/x-idx-doc.
D [22/Dec/2021:13:26:20 +0100] Send-Document client-error-document-format-not-supported: Unsupported document-format \"application/x-idx-doc\".
E [22/Dec/2021:13:26:20 +0100] [Client 1] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/lmc) from localhost.
The detection happened due to an entry for "txt" in
/usr/share/cups/mime/indexbraille.types
Removing the package solved the problem for me, but for people who need this
package installed or who don't know that this causes the problem, this should
be solved. My suggestion would be to remove the entry for "txt" from the file.
Best Regards,
Thomas Arendsen Hein
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-10-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages printer-driver-indexbraille depends on:
ii libc6 2.31-13+deb11u2
Versions of packages printer-driver-indexbraille recommends:
ii cups 2.3.3op2-3+deb11u1
printer-driver-indexbraille suggests no packages.
--- End Message ---
--- Begin Message ---
Source: printer-driver-indexbraille
Source-Version: 1.2.3-5
Done: Samuel Thibault <sthibault@debian.org>
We believe that the bug you reported is fixed in the latest version of
printer-driver-indexbraille, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 995792@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated printer-driver-indexbraille package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 30 Oct 2022 15:30:39 +0100
Source: printer-driver-indexbraille
Architecture: source
Version: 1.2.3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Closes: 995792
Changes:
printer-driver-indexbraille (1.2.3-5) unstable; urgency=medium
.
* control: Bump Standards-Version to 4.6.0 (no change)
* control: Make Multi-Arch: foreign.
* patches/mime: Fix detecting indexbraille files (Closes: Bug#995792).
Checksums-Sha1:
f951cae746356bdef5d632ab0976751751819128 2145 printer-driver-indexbraille_1.2.3-5.dsc
ce4723f02b9b0fdee2c3db56aa5f8d327552cfa9 4188 printer-driver-indexbraille_1.2.3-5.debian.tar.xz
b6cfbab0f75fd02122abd1900137813d75c89145 6702 printer-driver-indexbraille_1.2.3-5_amd64.buildinfo
Checksums-Sha256:
b52bc92f85bc1f7d066f1afbd42e32abfe7f2278f8c6a1b80a6398a12ca3c594 2145 printer-driver-indexbraille_1.2.3-5.dsc
8ff2960275f34586eb6c6715fd6967bbc8bf4e949d87a69198e1df31b9e98112 4188 printer-driver-indexbraille_1.2.3-5.debian.tar.xz
5a8c8ad5aa048fdc62da70a6102b3ffbf054d65b7d396594f28c81168ad1099b 6702 printer-driver-indexbraille_1.2.3-5_amd64.buildinfo
Files:
436bab86d56007efa7ea273d3ea23c5e 2145 text optional printer-driver-indexbraille_1.2.3-5.dsc
5a73b7e81720b49bdb743186799a77b4 4188 text optional printer-driver-indexbraille_1.2.3-5.debian.tar.xz
1d5953c9313741aac55a58ef652014d9 6702 text optional printer-driver-indexbraille_1.2.3-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi6MnFvk67auaclLJ5pG0tXV4H2IFAmNeizIACgkQ5pG0tXV4
H2JCfg/9GHi4YNoTVHv12CzZ0Vu3ZD1RzKz5StF6H88g2+GyDE9FwDu8mPriBvZz
PY7EDkOBzrQGZ3ZKNdI6tD8QYMHUnIDwFU6iJZhV0ylc4C+az4LKIpATAU3PazNX
k+Waz0nDpG00eHlqURkl4qiB+uc/skMVMVRkfunLszzKUFIhEYDrHb4hB/5rC8eK
Py6BGzPH/zduvYkfuuyKpA9iaUZQC3tXGG2os2rVcwP4AsqyrcEiSOVXgXCqmyQP
X62pXgKBNU+QBdxoF8xWFfVZgqPHuIbr1veX2ZS/Rxk8+U5lVNIHj91JE3DY0N8x
aZmTXfOCjr7A6gyLQSk+o12sRh7HeOpwYWZjxxo78CGLHSNgNxRgVg0CWcDFIxd1
P0mY2r6+RdEsH+gar/NDbruKydFPtlk0+cvQvUWOAgBD6wFzkapojVN92QJOe4Kt
c1F1FWvt/NWD05aWcLeG0Y7VkqRpr5LPNTzXsTF4im1DujGRS+EQun6PQKRgTyzA
T2qt0v9pmICTkqTSWntPsKZ7lm/wUQpucK6bjJ5vEWhbEJgAMv1aAUwPOExRhZa4
7BdGm3fCR3QghecwwmE3fvPSA6amtndUFP3s23RdydPAXlBRdcs8kcE2E1yhD7BN
QT2gLiUJogFAGAr90Q4nYxiKsr5UX/c9x1a3s1AYqydYWt8bfIk=
=ovwA
-----END PGP SIGNATURE-----
--- End Message ---