You have been subscribed to a public bug:

Binary package hint: cupsys

At some point of last weeks gutsy updates, printing got broken;

printing at the commandline via lp or with xpp works; when trying to
print from gnome/gtk apps which use GtkPrint I get the the error dialog
window "Error Printing: Too many failed attempts";

/var/log/cups/access_log just gives
 localhost - - [26/Sep/2007:18:18:44 +0200] "GET /ppd/fs1010direct.ppd 
HTTP/1.1" 200 10982 - -
 localhost - - [26/Sep/2007:18:18:48 +0200] "POST /printers/fs1010direct 
HTTP/1.1" 400 0 unknown-0000 -
 localhost - - [26/Sep/2007:18:19:03 +0200] "POST /printers/FS-1010 HTTP/1.1" 
400 0 unknown-0000 -

/var/log/cups/error_log says:
E [26/Sep/2007:18:18:48 +0200] cupsdReadClient: 7 IPP Read Error!
E [26/Sep/2007:18:19:03 +0200] cupsdReadClient: 7 IPP Read Error!

I tried strace(2)ing gtk-demo's Printing example, and saw amongst
others, that cupsys returned a "Bad Request"-line...:

socket(PF_FILE, SOCK_STREAM, 0)         = 7
setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(7, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not 
supported)
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
connect(7, {sa_family=AF_FILE, path="/var/run/cups/cups.sock"}, 26) = 0

...

send(7, "POST /printers/FS-1010 HTTP/1.1\r\nContent-Length: 0\r
\nContent-Type: application/ipp\r\nHost: localhost\r\nUser-Agent:
CUPS/1.3.2\r\n\r\n", 126, 0) = 126

...

send(7, 
"\1\1\0\2\0\0\0\1\1G\0\22attributes-charset\0\5utf-8H\0\33attributes-natural-language\0\5en-gbB\0\24requesting-user-name\0\3hvrE\0\vprinter-uri\0\'ipp://cervus.intra:631/printers/FS-1010B\0\10job-name\0\17gtk-demo
 job 
#1\2B\0\10PageSize\0\2A4!\0\fjob-priority\0\4\0\0\0002B\0\nResolution\0\006800dpiB\0\njob-sheets\0\4noneB\0\0\0\4noneB\0\fJCLEconomode\0\3OffB\0\tMediaType\0\6PrnDefB\0\tSmoothing\0\6MediumB\0\tInputSlot\0\10Internal!\0\tnumber-up\0\4\0\0\0\1\3",
 372, 0) = 372
poll([{fd=7, events=POLLIN, revents=POLLIN|POLLERR|POLLHUP}], 1, 0) = 1
poll([{fd=7, events=POLLIN, revents=POLLIN|POLLERR|POLLHUP}], 1, 10000) = 1
recv(7, "HTTP/1.1 400 Bad Request\r\nDate: Wed, 26 Sep 2007 16:00:55 
GMT\r\nServer: CUPS/1.2\r\nContent-Language: en_US\r\nUpgrade: 
TLS/1.0,HTTP/1.1\r\nConnection: close\r\nContent-Type: text/html; 
charset=utf-8\r\nContent-Length: 344\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD 
HTML 4.0 Transitional//EN\" 
\"http://www.w3.org/TR/REC-html40/loose.dtd\";>\n<HTML>\n<HEAD>\n\t<META 
HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n\t<TITLE>400 
Bad Request</TITLE>\n\t<LINK REL=\"STYLESHEET\" TYPE=\"text/css\" 
HREF=\"/cups.css\">\n</HEAD>\n<BODY>\n<H1>400 Bad 
Request</H1>\n<P></P>\n</BODY>\n</HTML>\n", 2048, 0) = 559

** Affects: evince (Ubuntu)
     Importance: Medium
         Status: New

-- 
[gutsy] getting "Error Printing: Too many failed attempts" error when printing 
through GtkPrintOperation
https://bugs.edge.launchpad.net/bugs/145278
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is a bug contact for evince in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to