FS#51743 - [cups-filters] Every try to print canceled with "filter error" after 2016.11.01
Attached to Project:
Arch Linux
Opened by Nicholas (Chawoosh) - Tuesday, 08 November 2016, 09:53 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 February 2017, 19:27 GMT
Opened by Nicholas (Chawoosh) - Tuesday, 08 November 2016, 09:53 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 February 2017, 19:27 GMT
|
Details
Description:
System can not print at all. Problem appear after 2016.10.30, as I think, the last success printing was 2016.11.27. Arch linux, updated every morning, GMT +7 timezone. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 18 February 2017, 19:27 GMT
Reason for closing: Won't fix
Additional comments about closing: IJS is dead by upstream decision.
Saturday, 18 February 2017, 19:27 GMT
Reason for closing: Won't fix
Additional comments about closing: IJS is dead by upstream decision.
$lsupdate 2016-10-28
btrfs-progs (4.8.1-1 -> 4.8.2-1)
file (5.28-1 -> 5.29-1)
gtk-update-icon-cache (3.22.1+69+ga1115c0-1 -> 3.22.2+4+gc54f348-1)
harfbuzz (1.3.2-1 -> 1.3.3-1)
gtk3 (3.22.1+69+ga1115c0-1 -> 3.22.2+4+gc54f348-1)
harfbuzz-icu (1.3.2-1 -> 1.3.3-1)
libwbclient (4.5.0-2 -> 4.5.1-1)
tevent (1:0.9.29-2 -> 1:0.9.31-1)
smbclient (4.5.0-2 -> 4.5.1-1)
kdenetwork-kget (16.08.2-1 -> 16.08.2-2)
less (481-2 -> 487-1)
samba (4.5.0-2 -> 4.5.1-1)
valgrind (3.11.0-4 -> 3.12.0-1)
iperf3 (3.1.3-1)
$ lsupdate 2016-10-29
$ lsupdate 2016-10-30
$ lsupdate 2016-10-31
boost-libs (1.61.0-2 -> 1.62.0-2)
libxi (1.7.7-2 -> 1.7.8-1)
llvm-libs (3.8.1-1 -> 3.9.0-1)
mesa (12.0.3-3 -> 13.0.0rc2-2)
mesa-libgl (12.0.3-3 -> 13.0.0rc2-2)
shadow (4.2.1-3 -> 4.4-2)
avogadro (1.2.0-3 -> 1.2.0-4)
bluez (5.42-1 -> 5.43-1)
bluez-libs (5.42-1 -> 5.43-1)
ceph (10.2.2-2 -> 10.2.3-1)
cups-filters (1.11.4-1 -> 1.11.5-1)
python-packaging (16.7-1 -> 16.8-1)
python-setuptools (1:28.6.1-1 -> 1:28.7.1-1)
cython (0.25-1 -> 0.25.1-1)
sdl2 (2.0.5-1 -> 2.0.5-2)
x265 (2.1-1 -> 2.1-2)
ffmpeg (1:3.1.5-1 -> 1:3.2-2)
git (2.10.1-1 -> 2.10.2-1)
kdebindings-python-common (4.14.3-6 -> 4.14.3-7)
kdebindings-python2 (4.14.3-6 -> 4.14.3-7)
kig (16.08.2-1 -> 16.08.2-2)
lib32-llvm-libs (3.8.1-1 -> 3.9.0-1)
lib32-mesa (12.0.3-4 -> 13.0.0rc2-1)
lib32-mesa-libgl (12.0.3-4 -> 13.0.0rc2-1)
libakonadi-qt4 (1.13.0-10 -> 1.13.0-11)
libcmis (0.5.1-3 -> 0.5.1-4)
libindi (1.2.0-5 -> 1.3-1)
libixion (0.11.1-2 -> 0.11.1-3)
libkolabxml (1.1.6-1 -> 1.1.6-2)
liborcus (0.11.2-2 -> 0.11.2-3)
libwps (0.4.3-1 -> 0.4.4-1)
neon (0.30.1-2 -> 0.30.2-1)
libreoffice-still (5.1.5-3 -> 5.1.6-1)
mpg123 (1.23.6-1 -> 1.23.8-1)
python2-packaging (16.7-1 -> 16.8-1)
python2-setuptools (1:28.6.1-1 -> 1:28.7.1-1)
python2-urllib3 (1.18-1 -> 1.18.1-1)
source-highlight (3.1.8-9 -> 3.1.8-10)
vim-runtime (8.0.0046-2 -> 8.0.0046-4)
vim (8.0.0046-2 -> 8.0.0046-4)
wine (1.9.21-1 -> 1.9.22-1)
wireshark-cli (2.2.0-2 -> 2.2.1-1)
wireshark-common (2.2.0-2 -> 2.2.1-1)
wireshark-qt (2.2.0-2 -> 2.2.1-1)
skype (4.3.0.37-7 -> 4.3.0.37-8)
FS#51743has one error date: last success printing was 2016.10.27.Later: In a log file still are errors:
D [09/Nov/2016:11:48:32 +0700] [Job 109] sh: ijsgutenprint.5.2: command not found
D [09/Nov/2016:11:48:32 +0700] [Job 109] GPL Ghostscript 9.20: Can\'t start ijs server \"ijsgutenprint.5.2\"
D [09/Nov/2016:11:48:32 +0700] [Job 109] renderer exited with status 1
and printer stay in a printing state ("ready" is blinking) after page print.
Not a packaging bug.
And...
$ yaourt -Qi gutenprint
Name : gutenprint
Version : 5.2.11-4
Description : Top quality printer drivers for POSIX systems
Architecture : x86_64
URL : http://gimp-print.sourceforge.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : cups cups-filters ijs
Optional Deps : gimp: adds gutenprint plugin to gimp [installed]
libusb: required for drivers that depend on gutenprint52usb backend [installed]
foomatic-db-gutenprint-ppds: prebuilt ppd files [installed]
Required By : None
Optional For : gimp
Conflicts With : None
Replaces : gimp-print
Installed Size : 27.90 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Thu 28 Jul 2016 02:06:32 AM +07
Install Date : Thu 10 Nov 2016 10:41:56 AM +07
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Can you confirm its presence and permissions? Try to remove+readd the driver to see some more verbose debug msg. Also turning log level to debug could help.
I can't understand why all was OK before 2016.10.30 and all is need ijsgutenprint.5.2 after.
E [14/Nov/2016:08:50:31 +0700] Missing value on line 1380 of /var/cache/cups/job.cache.
cups.log says:
D [13/Jan/2017:10:41:14 +0100] [Job 1133] Traceback (most recent call last):
D [13/Jan/2017:10:41:14 +0100] [Job 1133] File \"/usr/lib/cups/filter/hpps\", line 203, in <module>
D [13/Jan/2017:10:41:14 +0100] [Job 1133] os.write(output_fd, to_bytes_utf8(\'@PJL SET JOBNAME=\"%s\"\\x0a
D [13/Jan/2017:10:41:14 +0100] [Job 1133] File \"/usr/share/hplip/base/sixext.py\", line 109, in to_bytes_
D [13/Jan/2017:10:41:14 +0100] [Job 1133] return s.encode(\"utf-8\")
D [13/Jan/2017:10:41:14 +0100] [Job 1133] UnicodeEncodeError: \'utf-8\' codec can\'t encode characters in
changing line 109 and line 113 in /usr/share/hplip/base/sixext.py to the following fixes the problem:
return s.encode("utf-8", errors="surrogateescape")
I guess the other error is Kiocera driver related. Be aware the ijs gutenprint driver will be dropped with the new gutenprint release currently in testing.
After update to gutenprint 2.740 error is returned:
D [26/Jan/2017:14:10:30 +0700] [Job 130] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [26/Jan/2017:14:10:30 +0700] [Job 130] File contains 1 pages
D [26/Jan/2017:14:10:30 +0700] [Job 130] Starting renderer with command: gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=ijs -sIjsServer=ijsgutenpr
D [26/Jan/2017:14:10:30 +0700] [Job 130] Starting process \"kid3\" (generation 1)
D [26/Jan/2017:14:10:30 +0700] [Job 130] Starting process \"kid4\" (generation 2)
D [26/Jan/2017:14:10:30 +0700] [Job 130] Starting process \"renderer\" (generation 2)
D [26/Jan/2017:14:10:30 +0700] [Job 130] JCL: \033%-12345X@PJL
D [26/Jan/2017:14:10:30 +0700] [Job 130] <job data>
D [26/Jan/2017:14:10:30 +0700] [Job 130] sh: ijsgutenprint.5.2: command not found
D [26/Jan/2017:14:10:30 +0700] [Job 130] GPL Ghostscript 9.20: Can\'t start ijs server \"ijsgutenprint.5.2\"
D [26/Jan/2017:14:10:30 +0700] [Job 130] renderer exited with status 1
D [26/Jan/2017:14:10:30 +0700] [Job 130] Possible error on renderer command line or PostScript error. Check options.DEBUG: Read 50 bytes of print data...
D [26/Jan/2017:14:10:30 +0700] [Job 130] Kid3 exit status: 3
D [26/Jan/2017:14:10:30 +0700] [Job 130] Wrote 50 bytes of print data...
D [26/Jan/2017:14:10:30 +0700] [Job 130] Sent 50 bytes...
D [26/Jan/2017:14:10:30 +0700] [Job 130] Waiting for read thread to exit...
D [26/Jan/2017:14:10:30 +0700] [Job 130] PID 8828 (/usr/lib/cups/filter/foomatic-rip) stopped with status 9.
D [26/Jan/2017:14:10:30 +0700] [Job 130] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Jan/2017:14:10:30 +0700] [Job 130] PID 8829 (/usr/lib/cups/backend/usb) exited with no errors.
D [26/Jan/2017:14:10:30 +0700] [Job 130] End of messages
* Changes from 5.2.11
1) The Ghostscript IJS driver and Foomatic data generator have been
removed. CUPS is ubiquitous on Linux/UNIX systems, and the
Ghostscript IJS driver and Foomatic data are not needed with
CUPS.