desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #141095
[Bug 1500636] Re: commands passed to cups fail. File missing
Uploaded system-config-printer 1.5.7+20150819-0ubuntu3 with the fix.
Paul, thank you very much for the bug report and the patch.
** Changed in: system-config-printer (Ubuntu)
Status: Triaged => Fix Committed
** Changed in: system-config-printer (Ubuntu)
Importance: Undecided => High
--
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 Committed
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