Your message dated Sat, 5 Feb 2005 16:45:04 +0500
with message-id <[EMAIL PROTECTED]>
and subject line [non-bug] Re: Bug#293580: cupsys: Hangs in the middle of 
printing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Feb 2005 14:05:04 +0000
>From [EMAIL PROTECTED] Fri Feb 04 06:05:04 2005
Return-path: <[EMAIL PROTECTED]>
Received: from relay3.usu.ru [194.226.235.17] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cx451-0000Ps-00; Fri, 04 Feb 2005 06:05:04 -0800
Received: from usu2.usu.ru (usu2.usu.ru [194.226.237.16])
        by relay3.usu.ru (Switch-2.2.0/Switch-2.2.0) with ESMTP id j14EB7a16288
        for <[EMAIL PROTECTED]>; Fri, 4 Feb 2005 19:11:07 +0500
Received: from localhost.usu2.usu.ru (localhost.usu2.usu.ru [127.0.0.1])
        by usu2.usu.ru (Postfix) with ESMTP id 3FB97A7F0E
        for <[EMAIL PROTECTED]>; Fri,  4 Feb 2005 19:05:00 +0500 (YEKT)
Received: from ums.usu.ru (ums.usu.ru [194.226.236.116])
        by usu2.usu.ru (Postfix) with ESMTP id DC803A7EEC
        for <[EMAIL PROTECTED]>; Fri,  4 Feb 2005 19:04:59 +0500 (YEKT)
Received: from [172.30.17.142] (inet.ycc.ru [::ffff:217.148.52.177])
  (AUTH: PLAIN patrakov, SSL: TLSv1/SSLv3,128bits,RC4-MD5)
  by ums.usu.ru with esmtp; Fri, 04 Feb 2005 19:04:52 +0500
  id 00008113.42038108.00006428
From: "Alexander E. Patrakov" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: cupsys: Hangs in the middle of printing
Date: Fri, 4 Feb 2005 19:07:18 +0500
User-Agent: KMail/1.7.2
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.29.0.8; 
VDF: 6.29.0.101; host: usu2.usu.ru)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: cupsys
Version: 1.1.23-3
Severity: normal

Steps to reproduce with Epson Stylus C84 connected to /dev/usb/lp0:

1) Install gimp
2) Open a big (e.g. A4-sized) color photo in GIMP
3) Right-click, File, Print..., configure the printer so that GIMP knows
that it's Epson Stylus C84 and submits a raw job, not PostScript.
4) Select resolution, tell GIMP that the photo should occupy the whole
page (or maybe with 1cm magrins).
5) Press the "Print" button.

The result is that the top of the photo actually prints, then printing
stops, but the green light on the printer continues flashing until I
manually turn the printer off. The "usb" process doesn't exist at that point
(i.e., it ends prematurely).

I think it's a bug in cupsys and not in gimp or gimp-print because the
steps below do result in the photo being printed on paper in full:

1) Configure GIMP to save the raw print job for Epson Stylus C84 to a
file instead of sending it to lpr
2) Actually print the photo to a file
3) cat file.prn >/dev/usb/lp0

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages cupsys depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf                     1.4.42       Debian configuration management 
sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries 
an
ii  libcupsimage2               1.1.23-3     Common UNIX Printing System(tm) - 
ii  libcupsys2-gnutls10         1.1.23-3     Common UNIX Printing System(tm) - 
ii  libgnutls11                 1.0.16-13    GNU TLS library - runtime library
ii  libpam0g                    0.76-22      Pluggable Authentication Modules 
l
ii  libpaper1                   1.1.14-3     Library for handling paper 
charact
ii  libslp1                     1.0.11-7     OpenSLP libraries
ii  patch                       2.5.9-2      Apply a diff file to an original
ii  perl-modules                5.8.4-5      Core Perl modules
ii  xpdf-utils                  3.00-12      Portable Document Format (PDF) 
sui
ii  zlib1g                      1:1.2.2-4    compression library - runtime

I would also like to add the following information:

ii  gimp    2.2.2-1 The GNU Image Manipulation Program
ii  gimp-data    2.2.2-1 Data files for The GIMP
ii  cupsys-driver-gimpprint  4.2.7-4 Gimp-Print printer drivers for CUPS
ii  cupsys-driver-gimpprint-data 4.2.7-4 Gimp-Print printer drivers for CUPS


-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb

-- 
Alexander E. Patrakov

---------------------------------------
Received: (at 293580-close) by bugs.debian.org; 5 Feb 2005 11:42:39 +0000
>From [EMAIL PROTECTED] Sat Feb 05 03:42:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from relay3.usu.ru [194.226.235.17] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CxOKk-00047e-00; Sat, 05 Feb 2005 03:42:38 -0800
Received: from usu2.usu.ru (usu2.usu.ru [194.226.237.16])
        by relay3.usu.ru (Switch-2.2.0/Switch-2.2.0) with ESMTP id j15Bmha07530
        for <[EMAIL PROTECTED]>; Sat, 5 Feb 2005 16:48:43 +0500
Received: from localhost.usu2.usu.ru (localhost.usu2.usu.ru [127.0.0.1])
        by usu2.usu.ru (Postfix) with ESMTP id B7C03A7F7A
        for <[EMAIL PROTECTED]>; Sat,  5 Feb 2005 16:42:34 +0500 (YEKT)
Received: from ums.usu.ru (ums.usu.ru [194.226.236.116])
        by usu2.usu.ru (Postfix) with ESMTP id 5E5CAA7F32
        for <[EMAIL PROTECTED]>; Sat,  5 Feb 2005 16:42:34 +0500 (YEKT)
Received: from [172.30.16.21] (inet.ycc.ru [::ffff:217.148.52.177])
  (AUTH: PLAIN patrakov, SSL: TLSv1/SSLv3,128bits,RC4-MD5)
  by ums.usu.ru with esmtp; Sat, 05 Feb 2005 16:42:27 +0500
  id 00008113.4204B124.0000686E
From: "Alexander E. Patrakov" <[EMAIL PROTECTED]>
To: Kenshi Muto <[EMAIL PROTECTED]>
Subject: [non-bug] Re: Bug#293580: cupsys: Hangs in the middle of printing
Date: Sat, 5 Feb 2005 16:45:04 +0500
User-Agent: KMail/1.7.2
Cc: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.29.0.11; 
VDF: 6.29.0.103; host: usu2.usu.ru)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Hello,

On Saturday 05 February 2005 09:09, Kenshi Muto wrote:

> Hmm, unfortunately I don't have your printer, but I'll try to find a
> solution.
>
> 1. Which backend do you use? You can find it at /etc/cups/printers.conf.
>    Maybe usb:/dev/usb/lp0 or epson:/dev/usb/lp0.

The backend is "usb".

> 2. Can you find something at /var/log/cups/error_log when you set level
>    to 'debug' at /etc/cups/cupsd.conf?

I am going to close this as a "not-a-bug" since the cause of the problem seems 
to be just insufficient disk space in /var. I remember doing an apt-get clean 
in the morning and this type of hang (where the "usb" process just disappears 
out of pstree) didn't occur today, although I printed 4 full-sized photos 
with GIMP through CUPS.

But a different type of hang (when the "usb" process doesn't disappear) did 
occur today. I tried attaching gdb to the hung "usb" process and got nothing 
useful: gdb also hangs until I turn the printer off. At this point, the "usb" 
program is in write() function, and the following line appears 
in /var/log/messages:

Feb  5 13:49:01 localhost kernel: printer.c: usblp0: nonzero read/write bulk 
status received: -110

So the second type of the hang is not a problem with cupsys, but with the 
kernel, and there's no reason for this report against cupsys to stay open. 
Sorry for the noise.

> I dunno following bug reports are related your problem, but FYI
> - http://www.cups.org/str.php?L87+P0+S0+C0+I0+E0+Qepson
> - http://www.cups.org/str.php?L874+P0+S0+C0+I0+E0+Qepson

They are different.

-- 
Alexander E. Patrakov


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to