[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841843: marked as done (printer-driver-escpr: backend can't find PPD file)



Your message dated Thu, 3 Nov 2016 19:19:05 +0000
with message-id <03112016190750.facc12db9e3e@desktop.copernicus.org.uk>
and subject line Re: Bug#841843: printer-driver-escpr: backend can't find PPD file]
has caused the Debian Bug report #841843,
regarding printer-driver-escpr: backend can't find PPD file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
841843: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841843
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: printer-driver-escpr
Version: 1.6.8-1
Severity: important

Dear Maintainer,

I have cups installed on a headless system, but can't print anything.
I ran strace on what the backend does, and it's doing:

stat("/etc/cups/ppd//usr/lib/cups/filter/epson-escpr-wrapper.ppd",
0x7ffe5cf95530) = -1 ENOENT (No such file or directory)
PPD file not found, or PPD file is broken. Cannot get option of PIPS.
+++ exited with 1 +++

The path
"/etc/cups/ppd//usr/lib/cups/filter/eipson-escpr-wrapper.ppd"
is obviously wrong, the real path is /etc/cups/ppd/Epson_2530.ppd

The environment passed to the backend is:

AUTH_INFO_REQUIRED=none
CHARSET=utf-8
CONTENT_TYPE=application/pdf
CUPS_CACHEDIR=/var/cache/cups
CUPS_DATADIR=/usr/share/cups
CUPS_DOCROOT=/usr/share/cups/doc-root
CUPS_ENCRYPTION=IfRequested
CUPS_FILETYPE=document
CUPS_FONTPATH=/usr/share/cups/fonts
CUPS_MAX_MESSAGE=2047
CUPS_REQUESTROOT=/var/spool/cups
CUPS_SERVERBIN=/usr/lib/cups
CUPS_SERVERROOT=/etc/cups
CUPS_SERVER=/var/run/cups/cups.sock
CUPS_STATEDIR=/var/run/cups
DEVICE_URI=usb://EPSON/WF-2530%20Series?serial=514B34593134343081&interface=1
FINAL_CONTENT_TYPE=application/vnd.cups-raster
HOME=/var/spool/cups/tmp
IPP_PORT=631
LANG=it_IT.UTF-8
PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin
PPD=/etc/cups/ppd/Epson_2530.ppd
PRINTER=Epson_2530
PRINTER_INFO=EPSON WF-2530 Series
PRINTER_LOCATION=
PRINTER_STATE_REASONS=none
PWD=/
RIP_MAX_CACHE=128m
SERVER_ADMIN=root@apu
SOFTWARE=CUPS/2.2.1
TMPDIR=/var/spool/cups/tmp
USER=root

and it's spawned with such command line:

/usr/lib/cups/filter/epson-escpr-wrapper 89 matteo Epson_2530 - CUPS
2.2.1 1 PageSize=A4 Collate ColorModel=Grayscale Duplex=None
'job-uuid=urn:uuid:e3dad89b-99e3-3df3-5b1b-bc3d323dfbdc
job-originating-host-name=192.168.85.2 date-time-at-creation=
date-time-at-processing= time-at-creation=1477246475'
time-at-processing=1477247385

Hope it helps,
Regards,

-- System Information:
Debian Release: stretch/sid
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.1-apu (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages printer-driver-escpr depends on:
ii  libc6          2.24-3
ii  libcups2       2.2.1-1
ii  libcupsimage2  2.2.1-1
ii  python3        3.5.1-4
ii  xz-utils       5.2.2-1.2

Versions of packages printer-driver-escpr recommends:
ii  cups-ppdc  2.2.1-1

Versions of packages printer-driver-escpr suggests:
pn  psutils  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu 03 Nov 2016 at 18:59:05 +0100, Matteo Croce wrote:

> I've tried this:
> 
> root@apu:/tmp# lpadmin -p newq -v
> 'usb://EPSON/WF-2530%20Series?serial=514B34593134343081&interface=1'
> -E -m escpr:0/cups/model/epson-inkjet-printer-escpr/Epson-WF-100_Series-epson-escpr-en.ppd
> root@apu:/tmp# cupsfilter -p /etc/cups/ppd/newq.ppd -d newq -m
> printer/foo -e /etc/nsswitch.conf > file.out 2> newq.log
> root@apu:/tmp# grep 'exited with no errors' newq.log
> INFO: texttopdf (PID 2569) exited with no errors.
> INFO: pdftopdf (PID 2570) exited with no errors.
> INFO: gstoraster (PID 2571) exited with no errors.
> INFO: epson-escpr-wrapper (PID 2572) exited with no errors.
> 
> and I can actually print

Hello Matteo,

I chose the Epson-WF-100_Series PPD at random to test how it behaved. It
was not intended as a substitute for the PPD for you printer.

I am in two minds here. I cannot reproduce any buggy behaviour and you
can print. One the whole I am going to come down in favour of closing
the report. Please feel free to reopen it if you can reproduce buggy
behaviour using the techniques we have used.

Regards,

Brian.

--- End Message ---

Reply to: