[gutsy] getting "Error Printing: Too many failed attempts" error when printing through GtkPrintOperation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTK+ |
Fix Released
|
Medium
|
|||
gtk+2.0 (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs | ||
Bug Description
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/
localhost - - [26/Sep/
localhost - - [26/Sep/
localhost - - [26/Sep/
/var/log/
E [26/Sep/
E [26/Sep/
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="/
...
send(7, "POST /printers/FS-1010 HTTP/1.
...
send(7, "\1\1\0\
poll([{fd=7, events=POLLIN, revents=
poll([{fd=7, events=POLLIN, revents=
recv(7, "HTTP/1.1 400 Bad Request\r\nDate: Wed, 26 Sep 2007 16:00:55 GMT\r\nServer: CUPS/1.
Changed in gtk: | |
status: | Unknown → New |
Changed in gtk: | |
status: | New → Fix Released |
Changed in gtk: | |
importance: | Unknown → Medium |
some additional logs, after setting LogLevel debug2:
d [01/Oct/ 2007:21: 46:12 +0200] cupsdDoSelect: epoll() returned 1... 2007:21: 46:12 +0200] cupsdDoSelect: Read on fd 9... 2007:21: 46:12 +0200] cupsdReadClient: 9, used=0, file=-1 state=0 2007:21: 46:12 +0200] cupsdReadClient: 9 POST /printers/FS-1010 HTTP/1.1 2007:21: 46:12 +0200] cupsdFindBest: uri = "/printers/ FS-1010" ... 2007:21: 46:12 +0200] cupsdFindBest: Location CUPS_INTERNAL_ BROWSE_ ACL Limit 0 2007:21: 46:12 +0200] cupsdFindBest: Location /admin/conf Limit 7f 2007:21: 46:12 +0200] cupsdFindBest: Location /admin Limit 7f 2007:21: 46:12 +0200] cupsdFindBest: Location / Limit 7f 2007:21: 46:12 +0200] cupsdFindBest: best = / 2007:21: 46:12 +0200] cupsdAuthorize: con->uri= "/printers/ FS-1010" , con->best= 0x10084388( /) 2007:21: 46:12 +0200] cupsdAuthorize: Authorization="" 2007:21: 46:12 +0200] cupsdAuthorize: No authentication data provided. 2007:21: 46:12 +0200] cupsdIsAuthorized: con->uri= "/printers/ FS-1010" , con->best= 0x10084388( /) 2007:21: 46:12 +0200] cupsdIsAuthorized: level=AUTH_ANON, type=AUTH_NONE, satisfy= AUTH_SATISFY_ ALL, num_names=0 2007:21: 46:12 +0200] cupsdIsAuthorized: auth=AUTH_ALLOW... 2007:21: 46:12 +0200] POST /printers/FS-1010 2007:21: 46:12 +0200] CONTENT_TYPE = application/ipp 2007:21: 46:12 +0200] cupsdReadClient: 9 con->data_ encoding= HTTP_ENCODE_ LENGTH, con->data_ remaining= 0, con->file=-1 2007:21: 46:12 +0200] cupsdReadClient: 9 IPP Read Error! 2007:21: 46:12 +0200] cupsdSendError: 9 code=400 (Bad Request) 2007:21: 46:12 +0200] cupsdCloseClient: 9 2007:21: 46:12 +0200] cupsdRemoveSelect: fd=9 2007:21: 46:12 +0200] cupsdCheckJobs: 0 active jobs, sleeping=0, reload=0 2007:21: 46:12 +0200] cupsdDoSelect: polling 4 fds for 1 seconds...
d [01/Oct/
d [01/Oct/
D [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
D [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/
E [01/Oct/
D [01/Oct/
D [01/Oct/
d [01/Oct/
d [01/Oct/
d [01/Oct/