Your message dated Tue, 10 May 2005 19:17:23 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#308549: fixed in foomatic-gui 0.7.4.13
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; 10 May 2005 22:39:54 +0000
>From [EMAIL PROTECTED] Tue May 10 15:39:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gepetto.dc.ltu.se [130.240.42.40]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DVdOM-00056e-00; Tue, 10 May 2005 15:39:54 -0700
Received: from monolith ([EMAIL PROTECTED] [130.240.200.77])
by gepetto.dc.ltu.se (8.12.5/8.12.5) with ESMTP id j4AMdpii005326;
Wed, 11 May 2005 00:39:51 +0200 (MEST)
Received: from tomyl by monolith with local (Exim 3.36 #1 (Debian))
id 1DVdPV-0003bU-00; Wed, 11 May 2005 00:41:05 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Tommy Lindgren <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: running printconf gives NameErrors
X-Mailer: reportbug 3.11
Date: Wed, 11 May 2005 00:41:05 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: <[EMAIL PROTECTED]>
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: printconf
Version: 0.7.4.12
Severity: important
printconf died when I tried to install my HP LaserJet 4L:
[EMAIL PROTECTED]:~$ printconf
Traceback (most recent call last):
File "/usr/bin/printconf", line 121, in ?
if not pdbinfo:
NameError: name 'pdbinfo' is not defined
[EMAIL PROTECTED]:~$
Applying this small patch seemed to solve the problem:
--- /usr/bin/printconf~ 2005-05-02 03:27:08.000000000 +0200
+++ /usr/bin/printconf 2005-05-11 00:07:40.000000000 +0200
@@ -117,6 +117,8 @@
desc = detectdata.get('description')
if desc:
pdbinfo = printdb.autodetect_ids.get(desc)
+ else:
+ pdbinfo = None
if not pdbinfo:
mfg = detectdata.get('manufacturer', '')
[EMAIL PROTECTED]:~$ printconf
Configuring HP LaserJet 4L on parallel:/dev/lp0 with ljet4 driver as queue
"laserjet_4l".
Use of uninitialized value in substitution (s///) at
/usr/share/perl5/Foomatic/DB.pm line 3432.
Restarting Common Unix Printing System: cupsd.
If printconf was unable to install all of your printers, please visit
http://www.linuxprinting.org/ for printer information and support from fellow
users.
[EMAIL PROTECTED]:~$
Also, running printconf as non-root gives another NameError:
tomyl:~$ printconf
Traceback (most recent call last):
File "/usr/bin/printconf", line 51, in ?
print >> sys.stderr, "Please run printconf as root or specify the
--dry-run option."
NameError: name 'sys' is not defined
tomyl:~$
The sys module is obviously not imported.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7mono0
Locale: LANG=C, LC_CTYPE=sv_SE (charmap=ISO-8859-1)
Versions of packages printconf depends on:
ii cupsys 1.1.23-10 Common UNIX Printing System(tm) -
ii cupsys-client 1.1.23-10 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.4.49 Debian configuration management sy
ii foomatic-db 20050420-1 linuxprinting.org printer support
ii foomatic-db-gimp-print 4.2.7-10 linuxprinting.org printer support
ii foomatic-db-hpijs 1.5-20050420-1 linuxprinting.org printer support
ii gs 8.01-5 Transitional package
ii gs-esp [gs] 7.07.1-9 The Ghostscript PostScript interpr
ii gs-gpl [gs] 8.01-5 The GPL Ghostscript PostScript int
ii python 2.3.5-2 An interactive high-level object-o
ii python-foomatic 0.7.4.12 Python interface to the Foomatic p
-- debconf information:
* printconf/setup_printers: false
printconf/printconf_run: false
---------------------------------------
Received: (at 308549-close) by bugs.debian.org; 10 May 2005 23:24:41 +0000
>From [EMAIL PROTECTED] Tue May 10 16:24:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DVe5h-00015b-00; Tue, 10 May 2005 16:24:41 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DVdyd-0006cg-00; Tue, 10 May 2005 19:17:23 -0400
From: Chris Lawrence <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#308549: fixed in foomatic-gui 0.7.4.13
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 10 May 2005 19:17:23 -0400
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:
Source: foomatic-gui
Source-Version: 0.7.4.13
We believe that the bug you reported is fixed in the latest version of
foomatic-gui, which is due to be installed in the Debian FTP archive:
foomatic-gui_0.7.4.13.dsc
to pool/main/f/foomatic-gui/foomatic-gui_0.7.4.13.dsc
foomatic-gui_0.7.4.13.tar.gz
to pool/main/f/foomatic-gui/foomatic-gui_0.7.4.13.tar.gz
foomatic-gui_0.7.4.13_all.deb
to pool/main/f/foomatic-gui/foomatic-gui_0.7.4.13_all.deb
printconf_0.7.4.13_all.deb
to pool/main/f/foomatic-gui/printconf_0.7.4.13_all.deb
python-foomatic_0.7.4.13_all.deb
to pool/main/f/foomatic-gui/python-foomatic_0.7.4.13_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lawrence <[EMAIL PROTECTED]> (supplier of updated foomatic-gui package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 10 May 2005 18:00:57 -0500
Source: foomatic-gui
Binary: python-foomatic foomatic-gui printconf
Architecture: source all
Version: 0.7.4.13
Distribution: unstable
Urgency: high
Maintainer: Chris Lawrence <[EMAIL PROTECTED]>
Changed-By: Chris Lawrence <[EMAIL PROTECTED]>
Description:
foomatic-gui - GNOME interface for configuring the Foomatic printer filter
syste
printconf - automatically configures USB and parallel printers with CUPS
python-foomatic - Python interface to the Foomatic printer database
Closes: 308549
Changes:
foomatic-gui (0.7.4.13) unstable; urgency=high
.
* Force use of ipv4 address from XML output of nmap. This makes
network printer detection work again.
* Ensure pdbinfo is initialized, even if a printer lacks an IEEE1284
Description field; import sys. (Closes: #308549, severity important)
Files:
42ce6c2d34cad17c9376f584b79f282b 588 gnome optional foomatic-gui_0.7.4.13.dsc
6e0eb9a65ec29d73f5006d6730708273 117451 gnome optional
foomatic-gui_0.7.4.13.tar.gz
29094de06681c5c1b487645e3bd4ff3e 55914 gnome optional
foomatic-gui_0.7.4.13_all.deb
9088101e0b5dec67bd698e89fdd2265f 13126 utils optional
printconf_0.7.4.13_all.deb
accb7d16f0bda2c9e34409e8fa3f16a0 28542 python optional
python-foomatic_0.7.4.13_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCgT3H2wQKE6PXubwRAua5AJ0de6rxDKHdC2dUJo348ynE1EErFgCeLgJp
KWn02Vr6mRBmYN74qVKsZgg=
=0gFD
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]