Bug#373839: kdelibs4c2a: Unable to print to CUPS server

2006-07-20 Thread Wolfgang Walter
Hello,

this bug is not fixed.

I think it is bug STR #1717 (upstream):

http://www.cups.org/str.php?L1717

and was solved upstream 18.7.2006 (SVN: v5748)

The fix posted there was:

Index: http.c
===
--- http.c  (revision 5743)
+++ http.c  (working copy)
@@ -1809,6 +1809,16 @@
 return (1);
 
  /*
+  * Flush pending data, if any...
+  */
+
+  if (http-wused)
+  {
+if (httpFlushWrite(http)  0)
+  return (0);
+  }
+
+ /*
   * If not, check the SSL/TLS buffers and do a select() on the connection...
   */
=== 

-- 
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
Leiter EDV
Leopoldstraße 15
80802 München
http://www.studentenwerk.mhn.de/



Bug#373839: kdelibs4c2a: Unable to print to CUPS server

2006-06-16 Thread Pierre Habouzit
reassign 373839 cups 
severity 373839 grave
thanks

Le jeu 15 juin 2006 22:28, Jan Kellmer a écrit :
 Package: kdelibs4c2a
 Version: 4:3.5.3-1
 Severity: normal

 Hello!

 I'm unable to print from inside KDE to a CUPS server. cupsdoprint
 fails with the following message reported via KNotify:
 -- snip -- snap -- snip -- snap --
 A print error occurred. Error message received from system:

 cupsdoprint -P 'CanonDriver' -J '' -H 'X:631' -U 'X' -o '
 copies=1 orientation-requested=3' '/tmp/kde-X/konqueroroBZjMa.ps'
 : execution failed with message:
 client-error-bad-request
 -- snap -- snip -- snap -- snip --
 (-H and -U fields hidden)

 The CUPS server runs Debian/Linux (stable); from there, i gathered
 the following information:

the problem is cups client from unstable does not speaks correctly to an 
old cups server *sigh*
-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpLCkV1RUjQy.pgp
Description: PGP signature


Bug#373839: kdelibs4c2a: Unable to print to CUPS server

2006-06-16 Thread Pierre Habouzit
reassign 373839 cupsys
thanks

Le jeu 15 juin 2006 22:28, Jan Kellmer a écrit :
  Package: kdelibs4c2a
  Version: 4:3.5.3-1
  Severity: normal
 
  Hello!
 
  I'm unable to print from inside KDE to a CUPS server. cupsdoprint
  fails with the following message reported via KNotify:
  -- snip -- snap -- snip -- snap --
  A print error occurred. Error message received from system:
 
  cupsdoprint -P 'CanonDriver' -J '' -H 'X:631' -U 'X' -o '
  copies=1 orientation-requested=3'
  '/tmp/kde-X/konqueroroBZjMa.ps'
 
  : execution failed with message:
 
  client-error-bad-request
  -- snap -- snip -- snap -- snip --
  (-H and -U fields hidden)
 
  The CUPS server runs Debian/Linux (stable); from there, i gathered
  the following information:

 the problem is cups client from unstable does not speaks correctly to
 an old cups server *sigh*

-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpIq2ZfrCkk6.pgp
Description: PGP signature


Bug#373839: kdelibs4c2a: Unable to print to CUPS server

2006-06-15 Thread Jan Kellmer
Package: kdelibs4c2a
Version: 4:3.5.3-1
Severity: normal

Hello!

I'm unable to print from inside KDE to a CUPS server. cupsdoprint fails
with the following message reported via KNotify:
-- snip -- snap -- snip -- snap --
A print error occurred. Error message received from system:

cupsdoprint -P 'CanonDriver' -J '' -H 'X:631' -U 'X' -o '
copies=1 orientation-requested=3' '/tmp/kde-X/konqueroroBZjMa.ps' :
execution failed with message:
client-error-bad-request 
-- snap -- snip -- snap -- snip --
(-H and -U fields hidden)

The CUPS server runs Debian/Linux (stable); from there, i gathered the
following information:

Contents of access_log:
-- snip -- snap -- snip -- snap --
192.168.0.3 - - [15/Jun/2006:21:44:58 +0200] GET /ppd/CanonDriver.ppd
HTTP/1.1 200 29179
192.168.0.3 - - [15/Jun/2006:21:44:58 +0200] POST /printers/CanonDriver
HTTP/1.1 400 0
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] POST /printers/ HTTP/1.1
200 250
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] POST /classes/ HTTP/1.1
200 221
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] POST /printers/ HTTP/1.1
200 109
192.168.0.3 - - [15/Jun/2006:21:44:59 +0200] POST / HTTP/1.1 200 374
-- snap -- snip -- snap -- snip --

Contents of error_log:
-- snip -- snap -- snip -- snap --
E [15/Jun/2006:21:44:59 +0200] ReadClient: 6 IPP Read Error!
-- snap -- snip -- snap -- snip --

CUPS on print server:
-- snip -- snap -- snip -- snap --
$ dpkg -l | grep -i cups
ii  cups-pdf   1.7.0a-1   PDF printer for CUPS
ii  cupsys 1.1.23-10sarge Common UNIX Printing System(tm) -
server
ii  cupsys-client  1.1.23-10sarge Common UNIX Printing System(tm) -
client pro
ii  cupsys-pt  1.2.4-3Tool for viewing/managing print jobs
under C
ii  libcupsimage2  1.1.23-10sarge Common UNIX Printing System(tm) -
image libs
ii  libcupsys2-gnu 1.1.23-10sarge Common UNIX Printing System(tm) - libs
-- snap -- snip -- snap -- snip --


Searching the web showed a similar error in Ubuntu (bug ID: 42513)
https://launchpad.net/distros/ubuntu/+source/cupsys/+bug/42513


Kind regards,
Jan


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kdelibs4c2a depends on:
ii  kdelibs-data   4:3.5.3-1 core shared data for all KDE appli
ii  libacl12.2.37-1  Access control list shared library
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libarts1c2a1.5.3-1   aRts sound system core components
ii  libasound2 1.0.11-3  ALSA library
ii  libaspell150.60.4-4  GNU Aspell spell-checker runtime l
ii  libattr1   2.4.32-1  Extended attribute shared library
ii  libaudio2  1.7-9 The Network Audio System (NAS). (s
ii  libavahi-client3   0.6.10-1  Avahi client library
ii  libavahi-common3   0.6.10-1  Avahi common library
ii  libavahi-qt3-1 0.6.10-1  Avahi QT3 integration library
ii  libbz2-1.0 1.0.3-2   high-quality block-sorting file co
ii  libc6  2.3.6-13  GNU C Library: Shared libraries
ii  libcomerr2 1.39-1common error description library
ii  libcupsys2 1.2.1-2   Common UNIX Printing System(tm) - 
ii  libfam02.7.0-10  Client library to control the FAM 
ii  libfontconfig1 2.3.2-5.1 generic font configuration library
ii  libfreetype6   2.2.1-2   FreeType 2 font engine, shared lib
ii  libgcc11:4.1.0-4 GCC support library
ii  libice61:1.0.0-3 X11 Inter-Client Exchange library
ii  libidn11   0.5.18-2  GNU libidn library, implementation
ii  libjasper-1.701-1  1.701.0-2 The JasPer JPEG-2000 runtime libra
ii  libjpeg62  6b-13 The Independent JPEG Group's JPEG 
ii  libkrb53   1.4.3-7   MIT Kerberos runtime libraries
ii  liblua50   5.0.2-6   Main interpreter library for the L
ii  liblualib505.0.2-6   Extension library for the Lua 5.0 
ii  libopenexr2c2a 1.2.2-4.2 runtime files for the OpenEXR imag
ii  libpcre3   6.4-2 Perl 5 Compatible Regular Expressi
ii  libpng12-0 1.2.8rel-5.1  PNG library - runtime
ii  libqt3-mt  3:3.3.6-2 Qt GUI Library (Threaded runtime v
ii  libsm6 1:1.0.0-4 X11 Session Management library
ii  libstdc++6 4.1.0-4   The GNU Standard C++ Library v3
ii  libtiff4   3.8.2-4   Tag Image File Format (TIFF) libra
ii  libx11-6   2:1.0.0-6 X11