You are not logged in.

#1 2015-08-29 14:28:03

Kvailiukas
Member
Registered: 2015-08-29
Posts: 6

[SOLVED] CUPS and "Filter failed" Error

Hello!

There are already two old topics on this issue, but both of them are archived or closed (one, two), and the cups versions used there are ancient, so I'm reopening this issue here.

Basically, I am using cups 2.0..4-1 and hplip 3.15.7-1 to print with an HP LaserJet Pro MLP150nw. It took me two days to get it working on Windows, and I'm still having trouble running it on Arch 64. The printer installs fine and is recognized by the hp-setup, but it refuses to print anything, not even the test page from the hp toolbox will come through.

This is the ouput of /var/log/cups/error_log:

E [29/Aug/2015:16:10:58 +0200] [Job 271] Job stopped due to filter errors; please consult the error_log file for details.
D [29/Aug/2015:16:10:58 +0200] [Job 271] The following messages were recorded from 16:10:48 to 16:10:58
D [29/Aug/2015:16:10:58 +0200] [Job 271] Adding start banner page "none".
D [29/Aug/2015:16:10:58 +0200] [Job 271] Adding end banner page "none".
D [29/Aug/2015:16:10:58 +0200] [Job 271] File of type application/pdf queued by "robin".
D [29/Aug/2015:16:10:58 +0200] [Job 271] hold_until=0
D [29/Aug/2015:16:10:58 +0200] [Job 271] Queued on "HP_LaserJet_Pro_MFP_M125nw" by "robin".
D [29/Aug/2015:16:10:58 +0200] [Job 271] time-at-processing=1440857448
D [29/Aug/2015:16:10:58 +0200] [Job 271] 3 filters for job:
D [29/Aug/2015:16:10:58 +0200] [Job 271] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [29/Aug/2015:16:10:58 +0200] [Job 271] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [29/Aug/2015:16:10:58 +0200] [Job 271] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_Pro_MFP_M125nw, cost 0)
D [29/Aug/2015:16:10:58 +0200] [Job 271] job-sheets=none,none
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[0]="HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[1]="271"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[2]="robin"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[3]="Administration - CUPS 2.0.4"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[4]="1"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[5]="PageSize=A4 Collate PrintoutMode=Normal ColorModel=Gray Duplex=None job-uuid=urn:uuid:d4520a89-b3d0-37e8-4400-f54025ba1287 job-originating-host-name=localhost time-at-creation=1440857448 time-at-processing=1440857448"
D [29/Aug/2015:16:10:58 +0200] [Job 271] argv[6]="/var/spool/cups/d00271-001"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[7]="CUPS_STATEDIR=/run/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[10]="SERVER_ADMIN=root@nomad"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[11]="SOFTWARE=CUPS/2.0.4"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[13]="USER=root"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[17]="IPP_PORT=631"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[18]="CHARSET=utf-8"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[19]="LANG=en_US.UTF-8"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[21]="RIP_MAX_CACHE=128m"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[22]="CONTENT_TYPE=application/pdf"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.45"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[24]="PRINTER_INFO="
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[25]="PRINTER_LOCATION="
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[26]="PRINTER=HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[28]="CUPS_FILETYPE=document"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[30]="AUTH_I****"
D [29/Aug/2015:16:10:58 +0200] [Job 271] Started filter /usr/lib/cups/filter/pdftopdf (PID 23700)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Started filter /usr/lib/cups/filter/gstoraster (PID 23701)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Started filter /usr/lib/cups/filter/hpcups (PID 23702)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Started backend /usr/lib/cups/backend/hp (PID 23703)
D [29/Aug/2015:16:10:58 +0200] [Job 271] PID 23700 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [29/Aug/2015:16:10:58 +0200] [Job 271] Color Manager: Calibration Mode/Off
D [29/Aug/2015:16:10:58 +0200] [Job 271] Calling FindDeviceById(cups-HP_LaserJet_Pro_MFP_M125nw)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:10:58 +0200] [Job 271] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Calling FindDeviceById(cups-HP_LaserJet_Pro_MFP_M125nw)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:10:58 +0200] [Job 271] Calling GetProfileForQualifiers(Gray.Plain....)
D [29/Aug/2015:16:10:58 +0200] [Job 271] Failed to send: org.freedesktop.ColorManager.Device.NothingMatched:nothing matched expression 'Gray.Plain.,Gray.Plain.*,Gray.*.,Gray.*.*,*'
D [29/Aug/2015:16:10:58 +0200] [Job 271] Failed to get profile filename for cups-HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:10:58 +0200] [Job 271] Color Manager: no profiles specified in PPD
D [29/Aug/2015:16:10:58 +0200] [Job 271] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
D [29/Aug/2015:16:10:58 +0200] [Job 271] Color Manager: ICC Profile: None
D [29/Aug/2015:16:10:58 +0200] [Job 271] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Stationery -sOutputType=normal -r600x600 -dMediaPosition=19 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsRowCount=3 -dcupsRowStep=2 -scupsString0=iso_a4_210x297mm -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[14.000000 14.000000 14.000000 14.000000] /Margins[0 0]>>setpagedevice' -f -_
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[7]="CUPS_STATEDIR=/run/cups"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[10]="SERVER_ADMIN=root@nomad"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[11]="SOFTWARE=CUPS/2.0.4"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[13]="USER=root"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[17]="IPP_PORT=631"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[18]="CHARSET=utf-8"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[19]="LANG=en_US.UTF-8"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[21]="RIP_MAX_CACHE=128m"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[22]="CONTENT_TYPE=application/pdf"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.45"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[24]="PRINTER_INFO="
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[25]="PRINTER_LOCATION="
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[26]="PRINTER=HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[28]="CUPS_FILETYPE=document"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [29/Aug/2015:16:10:58 +0200] [Job 271] envp[30]="AUTH_INFO_REQUIRED=none"
D [29/Aug/2015:16:10:58 +0200] [Job 271] Start rendering...
D [29/Aug/2015:16:10:58 +0200] [Job 271] Set job-printer-state-message to "Start rendering...", current level=INFO
D [29/Aug/2015:16:10:58 +0200] [Job 271] Processing page 1...
D [29/Aug/2015:16:10:58 +0200] [Job 271] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [29/Aug/2015:16:10:58 +0200] [Job 271] prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1STATE: +connecting-to-device
D [29/Aug/2015:16:10:58 +0200] [Job 271] PAGE: 1 1
D [29/Aug/2015:16:10:58 +0200] [Job 271] STATE: -connecting-to-device
D [29/Aug/2015:16:10:58 +0200] [Job 271] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
D [29/Aug/2015:16:10:58 +0200] [Job 271] HP_LaserJet_Pro_MFP_M125nw: genPCLm.cpp:194: ubyte* shiftStripByLeftMargin(ubyte*, sint32, sint32, sint32, sint32, sint32, colorSpaceDisposition): Assertion `currSourceWidth+(2*leftMargin)<=currMediaWidth' failed.
D [29/Aug/2015:16:10:58 +0200] [Job 271] PID 23702 (/usr/lib/cups/filter/hpcups) crashed on signal 6.
D [29/Aug/2015:16:10:58 +0200] [Job 271] Hint: Try setting the LogLevel to "debug" to find out more.
D [29/Aug/2015:16:10:58 +0200] [Job 271] Processing page 2...
D [29/Aug/2015:16:10:58 +0200] [Job 271] Rendering completed
D [29/Aug/2015:16:10:58 +0200] [Job 271] PID 23701 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [29/Aug/2015:16:10:58 +0200] [Job 271] ready to print
D [29/Aug/2015:16:10:58 +0200] [Job 271] PID 23703 (/usr/lib/cups/backend/hp) exited with no errors.
D [29/Aug/2015:16:10:58 +0200] [Job 271] End of messages
D [29/Aug/2015:16:10:58 +0200] [Job 271] printer-state=3(idle)
D [29/Aug/2015:16:10:58 +0200] [Job 271] printer-state-message="ready to print"
D [29/Aug/2015:16:10:58 +0200] [Job 271] printer-state-reasons=none
E [29/Aug/2015:16:13:53 +0200] [Job 272] Job stopped due to filter errors; please consult the error_log file for details.
D [29/Aug/2015:16:13:53 +0200] [Job 272] The following messages were recorded from 16:13:38 to 16:13:53
D [29/Aug/2015:16:13:53 +0200] [Job 272] Adding start banner page "none".
D [29/Aug/2015:16:13:53 +0200] [Job 272] Adding end banner page "none".
D [29/Aug/2015:16:13:53 +0200] [Job 272] File of type application/pdf queued by "robin".
D [29/Aug/2015:16:13:53 +0200] [Job 272] hold_until=0
D [29/Aug/2015:16:13:53 +0200] [Job 272] Queued on "HP_LaserJet_Pro_MFP_M125nw" by "robin".
D [29/Aug/2015:16:13:53 +0200] [Job 272] time-at-processing=1440857618
D [29/Aug/2015:16:13:53 +0200] [Job 272] 3 filters for job:
D [29/Aug/2015:16:13:53 +0200] [Job 272] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [29/Aug/2015:16:13:53 +0200] [Job 272] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [29/Aug/2015:16:13:53 +0200] [Job 272] hpcups (application/vnd.cups-raster to printer/HP_LaserJet_Pro_MFP_M125nw, cost 0)
D [29/Aug/2015:16:13:53 +0200] [Job 272] job-sheets=none,none
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[0]="HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[1]="272"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[2]="robin"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[3]="[SOLVED] Printer stopped...are / Arch Linux Forums"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[4]="1"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[5]="PageSize=A4 Collate PrintoutMode=Normal ColorModel=Gray Duplex=None job-uuid=urn:uuid:70d7ce2e-5709-39a8-65e0-e8f680bad8bf job-originating-host-name=localhost time-at-creation=1440857618 time-at-processing=1440857618"
D [29/Aug/2015:16:13:53 +0200] [Job 272] argv[6]="/var/spool/cups/d00272-001"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[7]="CUPS_STATEDIR=/run/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[10]="SERVER_ADMIN=root@nomad"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[11]="SOFTWARE=CUPS/2.0.4"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[13]="USER=root"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[17]="IPP_PORT=631"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[18]="CHARSET=utf-8"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[19]="LANG=en_US.UTF-8"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[21]="RIP_MAX_CACHE=128m"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[22]="CONTENT_TYPE=application/pdf"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.45"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[24]="PRINTER_INFO="
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[25]="PRINTER_LOCATION="
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[26]="PRINTER=HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[28]="CUPS_FILETYPE=document"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[30]="AUTH_I****"
D [29/Aug/2015:16:13:53 +0200] [Job 272] Started filter /usr/lib/cups/filter/pdftopdf (PID 25665)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Started filter /usr/lib/cups/filter/gstoraster (PID 25674)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Started filter /usr/lib/cups/filter/hpcups (PID 25676)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Started backend /usr/lib/cups/backend/hp (PID 25677)
D [29/Aug/2015:16:13:53 +0200] [Job 272] PID 25665 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [29/Aug/2015:16:13:53 +0200] [Job 272] Color Manager: Calibration Mode/Off
D [29/Aug/2015:16:13:53 +0200] [Job 272] Calling FindDeviceById(cups-HP_LaserJet_Pro_MFP_M125nw)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:13:53 +0200] [Job 272] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Calling FindDeviceById(cups-HP_LaserJet_Pro_MFP_M125nw)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Found device /org/freedesktop/ColorManager/devices/cups_HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:13:53 +0200] [Job 272] Calling GetProfileForQualifiers(Gray.Plain....)
D [29/Aug/2015:16:13:53 +0200] [Job 272] Failed to send: org.freedesktop.ColorManager.Device.NothingMatched:nothing matched expression 'Gray.Plain.,Gray.Plain.*,Gray.*.,Gray.*.*,*'
D [29/Aug/2015:16:13:53 +0200] [Job 272] Failed to get profile filename for cups-HP_LaserJet_Pro_MFP_M125nw
D [29/Aug/2015:16:13:53 +0200] [Job 272] Color Manager: no profiles specified in PPD
D [29/Aug/2015:16:13:53 +0200] [Job 272] Set job-printer-state-message to "Color Manager: no profiles specified in PPD", current level=INFO
D [29/Aug/2015:16:13:53 +0200] [Job 272] Color Manager: ICC Profile: None
D [29/Aug/2015:16:13:53 +0200] [Job 272] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -sMediaType=Stationery -sOutputType=normal -r600x600 -dMediaPosition=19 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=841 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=1 -dcupsRowCount=3 -dcupsRowStep=2 -scupsString0=iso_a4_210x297mm -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[14.000000 14.000000 14.000000 14.000000] /Margins[0 0]>>setpagedevice' -f -_
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[7]="CUPS_STATEDIR=/run/cups"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[8]="HOME=/var/spool/cups/tmp"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[10]="SERVER_ADMIN=root@nomad"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[11]="SOFTWARE=CUPS/2.0.4"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[13]="USER=root"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[17]="IPP_PORT=631"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[18]="CHARSET=utf-8"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[19]="LANG=en_US.UTF-8"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[20]="PPD=/etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[21]="RIP_MAX_CACHE=128m"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[22]="CONTENT_TYPE=application/pdf"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[23]="DEVICE_URI=hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.178.45"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[24]="PRINTER_INFO="
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[25]="PRINTER_LOCATION="
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[26]="PRINTER=HP_LaserJet_Pro_MFP_M125nw"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[27]="PRINTER_STATE_REASONS=none"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[28]="CUPS_FILETYPE=document"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [29/Aug/2015:16:13:53 +0200] [Job 272] envp[30]="AUTH_INFO_REQUIRED=none"
D [29/Aug/2015:16:13:53 +0200] [Job 272] Start rendering...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Set job-printer-state-message to "Start rendering...", current level=INFO
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 1...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Set job-printer-state-message to "Processing page 1...", current level=INFO
D [29/Aug/2015:16:13:53 +0200] [Job 272] prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor : m_szLanguage = HBPL1STATE: +connecting-to-device
D [29/Aug/2015:16:13:53 +0200] [Job 272] PAGE: 1 1
D [29/Aug/2015:16:13:53 +0200] [Job 272] HP_LaserJet_Pro_MFP_M125nw: genPCLm.cpp:194: ubyte* shiftStripByLeftMargin(ubyte*, sint32, sint32, sint32, sint32, sint32, colorSpaceDisposition): Assertion `currSourceWidth+(2*leftMargin)<=currMediaWidth' failed.
D [29/Aug/2015:16:13:53 +0200] [Job 272] PID 25676 (/usr/lib/cups/filter/hpcups) crashed on signal 6.
D [29/Aug/2015:16:13:53 +0200] [Job 272] Hint: Try setting the LogLevel to "debug" to find out more.
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 2...
D [29/Aug/2015:16:13:53 +0200] [Job 272] STATE: -connecting-to-device
D [29/Aug/2015:16:13:53 +0200] [Job 272] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 3...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 4...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 5...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 6...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 7...
D [29/Aug/2015:16:13:53 +0200] [Job 272] ready to print
D [29/Aug/2015:16:13:53 +0200] [Job 272] PID 25677 (/usr/lib/cups/backend/hp) exited with no errors.
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 8...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 9...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Processing page 10...
D [29/Aug/2015:16:13:53 +0200] [Job 272] Rendering completed
D [29/Aug/2015:16:13:53 +0200] [Job 272] PID 25674 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [29/Aug/2015:16:13:53 +0200] [Job 272] End of messages
D [29/Aug/2015:16:13:53 +0200] [Job 272] printer-state=3(idle)
D [29/Aug/2015:16:13:53 +0200] [Job 272] printer-state-message="Rendering completed"
D [29/Aug/2015:16:13:53 +0200] [Job 272] printer-state-reasons=none

I installed the foomatic-filters and foomatic-db-engine as suggested in one of the older threads.

I'm running 64bit an have lib32-glibc, lib32-gcc-libs lib32-libstdc++5 installed.

I also tried accessing the printer as a smb resource on my windows machine, to the same result.

Unfortunatley, gutenprint is not an option as this particular HP model requires the hpjip plugin, and isn't supported by gutenprint.

What could be the next steps to debug this?

And this is what the HP and CUPS interfaces are showing:

7dTpwtw.png
kXOJljM.png

mod edit [ewaller] Changes quote tags to code tags.

Last edited by Kvailiukas (2015-09-04 06:16:53)

Offline

#2 2015-08-29 16:47:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,768

Re: [SOLVED] CUPS and "Filter failed" Error

Welcome to Arch Linux.  Thank you for using BBCode tags smile I hope you don't mind, but I changed your quote tags to code tags.  Also, your pictures are a bit over sized put I'll leave them as images for now.

Have you tried the Foomatic or Gutenprint packages?  I have had a lot more success with the Foomatic drivers than with the HP drivers for my HP printers.

Edit:  Ack -- I did not read below those pictures.  What happened with the Foomatic drivers?

Last edited by ewaller (2015-08-29 16:50:02)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-08-29 16:54:37

Kvailiukas
Member
Registered: 2015-08-29
Posts: 6

Re: [SOLVED] CUPS and "Filter failed" Error

ewaller wrote:

What happened with the Foomatic drivers?

Sometimes (i.e. I cannot reliably reproduce this), after installing the foo- packages, the jobs get stuck at "Rendering finished" instead, but the job still does not get sent to the printer.

Offline

#4 2015-09-01 20:56:20

creatid
Member
From: Netherlands
Registered: 2009-12-19
Posts: 75
Website

Re: [SOLVED] CUPS and "Filter failed" Error

I am having the same problem with my LasereJet Pro M125a, although I am using the vanilla hplip and hplip-plugin driver. But according to this topic, this is a known issue that should be solved in the next hplip update. Downgrading to 3.15.6 should resolve the issue but I did not have time to test this yet.

Offline

#5 2015-09-02 08:21:17

Kvailiukas
Member
Registered: 2015-08-29
Posts: 6

Re: [SOLVED] CUPS and "Filter failed" Error

creatid wrote:

I am having the same problem with my LasereJet Pro M125a, although I am using the vanilla hplip and hplip-plugin driver. But according to this topic, this is a known issue that should be solved in the next hplip update. Downgrading to 3.15.6 should resolve the issue but I did not have time to test this yet.

I dowgraded hplip to 3.14.10 using the "downgrade" AUR-package, but that results in all hp- utils crashing with "AttributeError 'module' object has no attribute 'EOF'. Downgrade only gives me the options 3.15.7 (local) and 3.14.10 and downwards (remote), not 3.15.6. How would I go about getting that particular release of the hplip-package?

EDIT: I managed to downgrade to 3.15.6 by makepkg'ing an older snapshot, now I'm presented with the following problem:

t28HRKm.png

Last edited by Kvailiukas (2015-09-02 08:35:32)

Offline

#6 2015-09-02 22:35:46

creatid
Member
From: Netherlands
Registered: 2009-12-19
Posts: 75
Website

Re: [SOLVED] CUPS and "Filter failed" Error

Kvailiukas wrote:

I managed to downgrade to 3.15.6 by makepkg'ing an older snapshot, now I'm presented with the following problem:
http://i.imgur.com/t28HRKm.png

Unfortunately, I did not have the opportunity (not at my desktop machine where the printer is) to downgrade myself, but perhaps you can delete the print queue, manually remove the hplip-plugin and use

hp-setup -i

from the command line to have the setup utility download the correct plugin? Just a wild guess, could not try it myself.

Offline

#7 2015-09-03 06:34:25

Kvailiukas
Member
Registered: 2015-08-29
Posts: 6

Re: [SOLVED] CUPS and "Filter failed" Error

creatid wrote:

Unfortunately, I did not have the opportunity (not at my desktop machine where the printer is) to downgrade myself, but perhaps you can delete the print queue, manually remove the hplip-plugin and use

hp-setup -i

from the command line to have the setup utility download the correct plugin? Just a wild guess, could not try it myself.

I did live to see it - this finally fixed it!

Solution in a nutshell:

  1. Downgrade hplip to this version (extract, run makepkg -i in the /trunk subdir)

  2. Delete the printer and the print queue

  3. Manually run sudo hp-plugin to force-update the plugin

  4. Manually run sudo hp-setup -i to reinstall the printer

Last edited by Kvailiukas (2015-09-03 06:34:40)

Offline

#8 2015-09-03 20:17:06

creatid
Member
From: Netherlands
Registered: 2009-12-19
Posts: 75
Website

Re: [SOLVED] CUPS and "Filter failed" Error

Kvailiukas wrote:

....
I did live to see it - this finally fixed it!
....

Nice!
Don't forget to mark the thread [SOLVED] wink

Offline

Board footer

Powered by FluxBB