You are not logged in.
Pages: 1
Yes, "Filter failed."
I know this issue is notorious. I tried many fixes on the Internet, updated epson-inkjet-printer-escpr, restarted and reinstalled CUPS over and over again but no avail AT ALL.
I would like anyone here to post ALL possible fixes to this problem. I'd be EXTRA appreciated.
My setup:
Kernel (linux) 5.19.9
cups latest as of 2022.9.21
epson-inkjet-printer-escpr 1.7.21-1
Epson L3153
Last edited by nphuracm (2022-09-30 06:48:46)
Offline
Raise the loglevel, https://wiki.archlinux.org/title/CUPS/Troubleshooting
Then restart cups and check the log.
And fix your caps lock.
Offline
https://0x0.st/oW-B.bin
this is the error_log. restarted cups (through systemctl) and printed a test page.
Offline
Whatever you posted is from july 5th and 6th, doesn't cover any attempt to print anything and ends in some binary data junk.
Offline
Whatever you posted is from july 5th and 6th, doesn't cover any attempt to print anything and ends in some binary data junk.
It continues after the binary data until 23/Sep/2022:09:37:36 +0800.
curl "https://0x0.st/oW-B.bin" | less
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
D [17/Sep/2022:23:28:45 +0800] [Job 15] PID 385624 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [17/Sep/2022:23:36:39 +0800] [Job 16] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [17/Sep/2022:23:36:39 +0800] [Job 16] Started filter /usr/lib/cups/filter/gstoraster (PID 396968)
D [17/Sep/2022:23:36:39 +0800] [Job 16] PID 396968 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
epson-escpr-wrapper has always failed
D [23/Sep/2022:09:37:05 +0800] Queue EPSON_L3150_Series uses a printer driver, which is deprecated.
W [23/Sep/2022:09:37:05 +0800] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
There're error messages from gs (I assume) but in chinese, and broken utf8 encoding (?)
All I could make out is "There is a grammatical error nearby"
=> Set the system locale to english, reboot and see what happens and whether we maybe get a more informative log.
Offline
https://0x0.st/oWaM.txt
I set both the KDE system language's first priority to English and also /etc/locale.conf but it doesn't seem like I actually prevented Chinese from appearing. I also erased error_log before posting.
Offline
/usr/bin/gs:行1
would be
/usr/bin/gs: Line 1
So
/usr/bin/gs: Line 1 未预期的符号“$\'F\\313I\\326܌\\302\\326k\\251\\3444@\\026\\001\\177\\274\\375fPȃ5\'”附近有语法错误
means (?)
unexpected symbol '$\'F\\313I\\326\\302\\326k\\251\\3444@\\026\\001\\177\\274\\375fPȃ5\' There is a grammatical error nearby
what smells as if gs was a shell script, but it's not supposed to be.
What's the output of
file $(realpath /usr/bin/gs)
pacman -Qikk ghostscript
Offline
What's the output of
file $(realpath /usr/bin/gs)
pacman -Qikk ghostscript
BEFORE pacman -Syyu:
/usr/bin/gsc: data
Name : ghostscript
Version : 9.56.1-1
Description : An interpreter for the PostScript language
Architecture : x86_64
URL : https://www.ghostscript.com/
Licenses : AGPL3 custom
Groups : None
Provides : None
Depends On : libxt libcups fontconfig zlib libpng libjpeg jbig2dec libtiff lcms2
dbus libpaper ijs openjpeg2 libidn
Optional Deps : texlive-core: needed for dvipdf
gtk3: needed for gsx [installed]
Required By : epson-inkjet-printer-escpr epson-inkjet-printer-escpr2 ghostpcl ghostxps
graphviz libspectre
Optional For : cups-filters gimp imagemagick libmagick6
Conflicts With : None
Replaces : None
Installed Size : 47.37 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Tue 05 Apr 2022 03:44:29 AM CST
Install Date : Wed 06 Jul 2022 05:44:17 AM CST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
error: error while reading file /var/lib/pacman/local/ghostscript-9.56.1-1/mtree: Unrecognized archive format
ghostscript: no mtree file
AFTER pacman -Syyu:
/usr/bin/gsc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=0a8bbfcfba3e64ed2c4e23eb70462c9446e64e55, for GNU/Linux 4.4.0, stripped
Name : ghostscript
Version : 10.0.0-1
Description : An interpreter for the PostScript language
Architecture : x86_64
URL : https://www.ghostscript.com/
Licenses : AGPL3 custom
Groups : None
Provides : None
Depends On : libxt libcups fontconfig zlib libpng libjpeg jbig2dec libtiff lcms2
dbus libpaper ijs openjpeg2 libidn
Optional Deps : texlive-core: needed for dvipdf
gtk3: needed for gsx [installed]
Required By : epson-inkjet-printer-escpr epson-inkjet-printer-escpr2 ghostpcl ghostxps
graphviz libspectre
Optional For : cups-filters gimp imagemagick libmagick6
Conflicts With : None
Replaces : None
Installed Size : 45.10 MiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Build Date : Fri 23 Sep 2022 12:55:43 AM CST
Install Date : Sun 25 Sep 2022 10:54:23 AM CST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
ghostscript: 561 total files, 0 altered files
No avail though.
Restarted CUPS and when I printed a test page it froze at some sort of 'sending data to printer' thing.
Last edited by nphuracm (2022-09-25 03:04:09)
Offline
The database and file corruption suggests that there're probably more errors and "pacman -Syyu" will not necessarily resolve all of them.
LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
In general this hints at a corrupted filesystem, possibly an unreliable disk, https://wiki.archlinux.org/title/S.M.A. … st_results (smartctl -a)
Given the known corrupted package, I currently doubt that your problems have anything to do with printing…
Offline
pacman -Qkk | grep -v ', 0 altered files': https://0x0.st/oWJI.txt
(The massive amount of warnings wrote to STDERR were not included in this log)
(ignore the 'nullpomino' package; i modded it)
smartctl: https://0x0.st/oWJU.txt
I'm having a bad feeling about this.
Last edited by nphuracm (2022-09-25 13:46:39)
Offline
There were some disk errors, but they're ~88 days (runtime) ago.
Nevertheless you lost package integrity and many packages have "altered" files that shouldn't.
Try https://wiki.archlinux.org/title/Pacman … dependency? to sanitize that and pay attention to IO errors in dmesg (eg. if there're bus errors for a bad/loose cable, those would not show up in the SMART data)
Offline
SOLVED.
A failed pacman -Syyu broke my system and I moved to iPXE archiso and reinstalled all available packages with overwrite. After that the issue was resolved.
Last edited by nphuracm (2022-09-30 06:52:17)
Offline
Pages: 1