[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-03 Thread Paul Newall
Yes it seems to be a buffering problem in file printerproperties.py I changed the line 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. -- You received

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-03 Thread Till Kamppeter
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

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-03 Thread Paul Newall
** Description changed: 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

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-03 Thread Till Kamppeter
Paul, thank you very much for finding the fix. I will apply it soon so that it will be available in Wily. ** Changed in: system-config-printer (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-03 Thread Launchpad Bug Tracker
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,

Re: [Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-02 Thread Paul Newall
Till, system-config-printer version 1.3.8 works version 1.5.6 does not work. My impression is that the command file generated in printerproperties.py using with tempfile.NamedTemporaryFile(mode='wt') as tmpfile: tmpfile.write ("#CUPS-COMMAND\n%s\n" % command) has a size of

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-10-01 Thread Paul Newall
More investigation: Using ubuntu live DVDs : commands in system-config-printer of ubuntu 13.10 work OK. In ubuntu 14.10 they do not work. I uninstalled system-config-printer 1.5.6 from my xubuntu 15.04, then installed version 1.3.8 The commands work OK. So some change between system-config

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-09-29 Thread Paul Newall
Till, The printer is a kodak aio hero 9.1 and the driver is my c2espC driver, with command filter command2esp. This all used to work, for both print self test and clean heads. But recently I noticed that it no longer worked. However, if I make a text command file called "selftest" containing

[Bug 1500636] Re: commands passed to cups fail. File missing

2015-09-28 Thread Till Kamppeter
Paul, which printer are you using? Does it actually support the functionality you are requesting? The "Print Self Test Page" is intended for printers which have a built in self test page (usually to discover clogged nozzles) and the driver is supposed to send a special code sequence to the printer