[Bug 936629] Re: Printing fails after printing first document

2012-11-24 Thread Rodrigo Alvarez
I'm sorry to report that I'm experiencing this on Ubuntu 12.04 with CUPS 1.5.3 printing to a Canon MP160. This setup used to work perfectly before upgrading from 10.04. If I run `sudo aa-complain cupsd`, then I can print multiple documents. As soon as I revert by running `sudo aa-enforce

[Bug 936629] Re: Printing fails after printing first document

2012-03-13 Thread Martin Pitt
** Changed in: cups (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936629 Title: Printing fails after printing first document To manage

[Bug 936629] Re: Printing fails after printing first document

2012-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cups - 1.5.2-7 --- cups (1.5.2-7) unstable; urgency=low * Add fix-empty-translations.patch: Do not translate msgids to empty strings. Backported from upstream SVN. (LP: #953321) * Add test-i18n-nonlinux.patch: Do not run the CUPS_EUC_JP test

[Bug 936629] Re: Printing fails after printing first document

2012-02-29 Thread Till Kamppeter
** Changed in: cups (Ubuntu) Importance: Undecided = High ** Changed in: cups (Ubuntu) Milestone: None = ubuntu-12.04-beta-2 ** Changed in: cups (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 936629] Re: Printing fails after printing first document

2012-02-29 Thread Till Kamppeter
Jean-Louis Dupond suffers the same problem and provided me his error_log entries via IRC: -- Feb 29 19:06:20 laptop-jl foo2qpdl-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=5 Feb 29 19:06:20 laptop-jl foo2qpdl-wrapper: foo2qpdl

[Bug 936629] Re: Printing fails after printing first document

2012-02-29 Thread Till Kamppeter
The problems with the foo2qpdl driver in bug 898986 can be this bug, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936629 Title: Printing fails after printing first document To manage

[Bug 936629] Re: Printing fails after printing first document

2012-02-29 Thread Martin Pitt
** Changed in: cups (Ubuntu) Status: Incomplete = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936629 Title: Printing fails after printing first document To manage

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Martin Pitt
What is process 9151 in your case? I. e. which other process does ghostscript try to look into? auxv contains memory addresses which could aid with circumventing ASLR, so I don't want to open it up for entire cups or ghostscript. -- You received this bug notification because you are a member of

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Till Kamppeter
To reproduce without having an HP DeskJet 710C, run the commands: cupsctl LogLevel=debug cupsctl FileDevice=yes lpadmin -p dj710c -E -v file:/tmp/printout -m foomatic-db-compressed-ppds:0/ppd/foomatic-ppd/HP-DeskJet_710C-pnm2ppa.ppd lpadmin -p dj710c -o PageSize=A4 lp -d dj710c

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Pavel Kukacka
...and the one that did not: ** Attachment added: printout_failed https://bugs.launchpad.net/ubuntu/+source/cups/+bug/936629/+attachment/2767349/+files/printout_failed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Pavel Kukacka
Wow, good advice, Till, thank you! After running sudo apt-get install apparmor-utils and sudo aa-complain cupsd I'm printing without issues. I'm attaching the logs also: ** Attachment added: audit.log

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Pavel Kukacka
and the printouts: the one that was printed: ** Attachment added: printout_printed https://bugs.launchpad.net/ubuntu/+source/cups/+bug/936629/+attachment/2767348/+files/printout_printed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Pavel Kukacka
cannot find howto add them together, so...: log from the first three runs (surprisingly the error came not with the second doc, but with the third) ** Attachment added: error_log_three_jobs

[Bug 936629] Re: Printing fails after printing first document

2012-02-21 Thread Pavel Kukacka
And new error_log of three successfull printouts. ** Attachment added: error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/936629/+attachment/2767431/+files/error_log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 936629] Re: Printing fails after printing first document

2012-02-20 Thread Till Kamppeter
Can you run the following commands in a terminal window: sudo apt-get install apparmor-utils sudo aa-complain cupsd and then try to print again? Can you now print any arbitrary number of jobs? Can you post all lines containing audit from your /var/log/syslog file? For that you can run grep

[Bug 936629] Re: Printing fails after printing first document

2012-02-20 Thread Till Kamppeter
pitti, this seems to be an AppArmor problem, can you have a look into this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936629 Title: Printing fails after printing first document To manage

[Bug 936629] Re: Printing fails after printing first document

2012-02-20 Thread Till Kamppeter
Can you, in addition to the steps of comment #3, reboot your system and then follow the instructions of CUPS error_log and Capturing print job data in https://wiki.ubuntu.com/DebuggingPrintingProblems for the first two jobs after boot, one which prints and one which does not print. If after

[Bug 936629] Re: Printing fails after printing first document

2012-02-20 Thread Till Kamppeter
If I create a print queue with the same PPD as the original poster (printing into a file) and print the test page /usr/share/cups/data/testprint, I get the following in my /var/log/syslog (in aa-complain mode): Feb 20 22:29:23 till-precise kernel: [ 9064.784640] type=1400

[Bug 936629] Re: Printing fails after printing first document

2012-02-19 Thread Pavel Kukacka
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936629 Title: Printing fails after printing first document To manage notifications about this bug go to:

[Bug 936629] Re: Printing fails after printing first document

2012-02-19 Thread Pavel Kukacka
One log from the troubleshooting wizard - trying to prĂ­nt a document after clearing print queue (some time after printing the first document that gets printed without problems). After restarting the system, I can print again one document without problem, but then the same situation occurs. **