desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #141127
[Bug 1500636] Re: commands passed to cups fail. File missing
This bug was fixed in the package system-config-printer -
1.5.7+20150819-0ubuntu3
---------------
system-config-printer (1.5.7+20150819-0ubuntu3) wily; urgency=medium
* debian/patches/37_command-file-buffering.patch: Fixed buffering
problem which prevented command jobs (head cleaning, nozzle check
page, ...) from being sent correctly to CUPS (LP: #1500636).
-- Till Kamppeter <till.kamppeter@xxxxxxxxx> Sat, 3 Oct 2015 09:17:25
-0300
** Branch linked: lp:ubuntu/wily-proposed/system-config-printer
** Changed in: system-config-printer (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/1500636
Title:
commands passed to cups fail. File missing
Status in system-config-printer package in Ubuntu:
Fix Released
Bug description:
xubuntu 15.04 64 bit
system-config-printer 1.5.6
when I click the button "Print self test page", I expect the printer to produce a self test page
instead I get error "client-error-bad-request" and no self test page.
the cups error log has the entry
Print-Job client-error-bad-request: No file in print request.
Note that I can get the printer to generate the self test page by
printing a command file from terminal.
Added 3rdOct2015
The problem seems to be due to default buffering of the temporary command file. I can fix the problem by changing the buffering to buffer 1 line.
in file printerproperties.py
I changed the line 1232
with tempfile.NamedTemporaryFile(mode='wt') as tmpfile:
to
with tempfile.NamedTemporaryFile(mode='wt',buffering=1) as tmpfile:
and now the command file sending works for me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1500636/+subscriptions
References