Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#44532 - [cups-filters] gstoraster failure: Directory not empty
Attached to Project:
Arch Linux
Opened by Raphael Michel (rami) - Friday, 10 April 2015, 12:38 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 12 April 2015, 15:38 GMT
Opened by Raphael Michel (rami) - Friday, 10 April 2015, 12:38 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 12 April 2015, 15:38 GMT
|
DetailsI am unable to print a black/white PDF file on my Samsung printer on Arch Linux. The jobs always fail with the 'Filter failed' message and the following log:
D [10/Apr/2015:13:01:12 +0200] [Job 674] Sending stdin for job... D [10/Apr/2015:13:01:12 +0200] [Job 674] update_reasons(attr=0(), s="+connecting-to-device") D [10/Apr/2015:13:01:12 +0200] [Job 674] STATE: +connecting-to-device D [10/Apr/2015:13:01:12 +0200] cupsdMarkDirty(---J-) D [10/Apr/2015:13:01:12 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files" D [10/Apr/2015:13:01:12 +0200] [Job 674] Looking up "192.168.0.6"... D [10/Apr/2015:13:01:12 +0200] Discarding unused printer-state-changed event... D [10/Apr/2015:13:01:12 +0200] [Job 674] PID 8162 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [10/Apr/2015:13:01:12 +0200] [Job 674] Color Manager: Calibration Mode/Off D [10/Apr/2015:13:01:12 +0200] [Job 674] Calling FindDeviceById(cups-Samsung_C410_Series) D [10/Apr/2015:13:01:12 +0200] [Job 674] Found device /org/freedesktop/ColorManager/devices/cups_Samsung_C410_Series D [10/Apr/2015:13:01:12 +0200] [Job 674] Calling org.freedesktop.ColorManager.Device.Get(ProfilingInhibitors) D [10/Apr/2015:13:01:12 +0200] [Job 674] Calling FindDeviceById(cups-Samsung_C410_Series) D [10/Apr/2015:13:01:12 +0200] [Job 674] Found device /org/freedesktop/ColorManager/devices/cups_Samsung_C410_Series D [10/Apr/2015:13:01:12 +0200] [Job 674] Calling GetProfileForQualifiers(RGB.None.600dpi...) D [10/Apr/2015:13:01:12 +0200] [Job 674] Found profile /org/freedesktop/ColorManager/profiles/Samsung_C410_Series_RGB__ D [10/Apr/2015:13:01:12 +0200] [Job 674] Calling org.freedesktop.ColorManager.Profile.Get(Filename) D [10/Apr/2015:13:01:12 +0200] [Job 674] Use profile filename: '' D [10/Apr/2015:13:01:12 +0200] [Job 674] Color Manager: ICC Profile: D [10/Apr/2015:13:01:12 +0200] [Job 674] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -r600x600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=0 -scupsPageSizeName=A4 -I/usr/share/cups/fonts -c '<</.HWMargins[12.500000 12.500000 12.500000 12.500000] /Margins[0 0]>>setpagedevice' -f -_ D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[1]="CUPS_DATADIR=/usr/share/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[6]="CUPS_SERVERROOT=/etc/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[7]="CUPS_STATEDIR=/run/cups" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[8]="HOME=/var/spool/cups/tmp" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[10]="SERVER_ADMIN=root at kvothe" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[11]="SOFTWARE=CUPS/2.0.2" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[12]="TMPDIR=/var/spool/cups/tmp" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[13]="USER=root" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[14]="CUPS_MAX_MESSAGE=2047" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[15]="CUPS_SERVER=/run/cups/cups.sock" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[16]="CUPS_ENCRYPTION=IfRequested" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[17]="IPP_PORT=631" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[18]="CHARSET=utf-8" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[19]="LANG=de_DE.UTF-8" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[20]="PPD=/etc/cups/ppd/Samsung_C410_Series.ppd" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[21]="RIP_MAX_CACHE=128m" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[22]="CONTENT_TYPE=application/pdf" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[23]="DEVICE_URI=ipp://192.168.0.6" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[24]="PRINTER_INFO=Samsung C410 Series" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[25]="PRINTER_LOCATION=" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[26]="PRINTER=Samsung_C410_Series" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[27]="PRINTER_STATE_REASONS=cups-ipp-conformance-failure-report,cups-ipp-missing-send-document" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[28]="CUPS_FILETYPE=document" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster" D [10/Apr/2015:13:01:12 +0200] [Job 674] envp[30]="AUTH_INFO_REQUIRED=none" I [10/Apr/2015:13:01:12 +0200] [Job 674] Start rendering... D [10/Apr/2015:13:01:12 +0200] cupsdMarkDirty(---J-) D [10/Apr/2015:13:01:12 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [10/Apr/2015:13:01:12 +0200] [Job 674] Set job-printer-state-message to "Start rendering...", current level=INFO I [10/Apr/2015:13:01:12 +0200] [Job 674] Processing page 1... D [10/Apr/2015:13:01:12 +0200] cupsdMarkDirty(---J-) D [10/Apr/2015:13:01:12 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files" D [10/Apr/2015:13:01:12 +0200] [Job 674] Set job-printer-state-message to "Processing page 1...", current level=INFO D [10/Apr/2015:13:01:12 +0200] Discarding unused job-progress event... D [10/Apr/2015:13:01:12 +0200] Discarding unused printer-state-changed event... D [10/Apr/2015:13:01:12 +0200] [Job 674] PID 8163 (/usr/lib/cups/filter/gstoraster) stopped with status 139 (Directory not empty) W [10/Apr/2015:13:01:12 +0200] [Job 674] Nothing to print D [10/Apr/2015:13:01:12 +0200] Discarding unused job-progress event... D [10/Apr/2015:13:01:12 +0200] Discarding unused printer-state-changed event... D [10/Apr/2015:13:01:12 +0200] [Job 674] PID 8164 (/usr/lib/cups/filter/rastertospl) exited with no errors. Any ideas what to do? raphael /tmp $ pacman -Qs cups local/cups 2.0.2-3 The CUPS Printing System - daemon package local/cups-filters 1.0.67-1 OpenPrinting CUPS Filters local/lib32-libcups 2.0.2-1 The CUPS Printing System - client libraries (32-bit) local/libcups 2.0.2-3 The CUPS Printing System - client libraries and headers local/libgnomecups 0.2.3-12 |
This task depends upon
What's your problem? Where's the failure message?
D [10/Apr/2015:13:01:12 +0200] [Job 674] PID 8163 (/usr/lib/cups/filter/gstoraster) stopped with status 139 (Directory not empty)
However, after weeks of being unable to print PDFs (PS worked), I followed your hint and downgraded ghostscript and it worked. When I upgraded ghostscript back to 9.15-2, it still worked. I suspect something went wrong during the 9.15-2 upgrade (pacman interrupted or something like this).
I will report if I can reproduce it again, but for now, it works.