[xml/sgml-pkgs] Bug#259526: marked as done (libxml2-python2.3: Python file drv_libxml2.py should specify encoding)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 01 Aug 2004 20:03:12 -0700

Your message dated Sun, 01 Aug 2004 22:47:04 -0400
with message-id <E1BrSqu-0005Qg-00@newraff.debian.org>
and subject line Bug#259526: fixed in libxml2 2.6.11-3
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; 15 Jul 2004 09:23:34 +0000
>From kai.weber@glorybox.de Thu Jul 15 02:23:34 2004
Return-path: <kai.weber@glorybox.de>
Received: from smtp.variomedia.de [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bl2Sk-0001yG-00; Thu, 15 Jul 2004 02:23:34 -0700
Received: from [] (helo=glorybox.kl2.local)
	by vm16.variomedia.de with asmtp (Exim 4.30)
	id 1Bl2Pl-0008Oa-7W; Thu, 15 Jul 2004 11:20:29 +0200
Received: from bond by glorybox.kl2.local with local (Exim 4.34)
	id 1Bl2Si-00023v-Dp; Thu, 15 Jul 2004 11:23:32 +0200
Content-Type: multipart/mixed; boundary="===============0355277552=="
MIME-Version: 1.0
From: Kai Weber <kai.weber@glorybox.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libxml2-python2.3: Python file drv_libxml2.py should specify encoding
X-Mailer: reportbug 2.63
Date: Thu, 15 Jul 2004 11:23:32 +0200
Message-Id: <E1Bl2Si-00023v-Dp@glorybox.kl2.local>
Sender: Kai Weber <kai.weber@glorybox.de>
X-Relay-User: webmaster@glorybox.de
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: libxml2-python2.3
Version: 2.6.11-1
Severity: normal
Tags: patch

The drv_libxml2.py should specify a file encoding. Else it sends every
time this deprecation warning:

/usr/lib/python2.3/xml/sax/__init__.py:105: DeprecationWarning: Non-ASCII
character '\xe9' in file /usr/lib/python2.3/site-packages/drv_libxml2.py on
line 36, but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details

Patch attached

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8

Versions of packages libxml2-python2.3 depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libxml2                     2.6.11-1     GNOME XML library
ii  python2.3                   2.3.4-5      An interactive high-level object-o

-- no debconf information

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pep263.patch"

diff -Nrud libxml2-2.6.11.orig/python/drv_libxml2.py libxml2-2.6.11/python/drv_libxml2.py
--- libxml2-2.6.11.orig/python/drv_libxml2.py	2004-07-15 11:16:04.000000000 +0200
+++ libxml2-2.6.11/python/drv_libxml2.py	2004-07-15 11:17:51.000000000 +0200
@@ -1,3 +1,4 @@
+# -*- coding: latin1 -*-
 """ A SAX2 driver for libxml2, on top of it's XmlReader API


Received: (at 259526-close) by bugs.debian.org; 2 Aug 2004 02:50:00 +0000
>From katie@ftp-master.debian.org Sun Aug 01 19:50:00 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BrStk-00048A-00; Sun, 01 Aug 2004 19:50:00 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BrSqu-0005Qg-00; Sun, 01 Aug 2004 22:47:04 -0400
From: Mike Hommey <mh@glandium.org>
To: 259526-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#259526: fixed in libxml2 2.6.11-3
Message-Id: <E1BrSqu-0005Qg-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 01 Aug 2004 22:47:04 -0400
Delivered-To: 259526-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25

Source: libxml2
Source-Version: 2.6.11-3

We believe that the bug you reported is fixed in the latest version of
libxml2, which is due to be installed in the Debian FTP archive:

  to pool/main/libx/libxml2/libxml2-dev_2.6.11-3_i386.deb
  to pool/main/libx/libxml2/libxml2-doc_2.6.11-3_all.deb
  to pool/main/libx/libxml2/libxml2-python2.3_2.6.11-3_i386.deb
  to pool/main/libx/libxml2/libxml2-utils_2.6.11-3_i386.deb
  to pool/main/libx/libxml2/libxml2_2.6.11-3.diff.gz
  to pool/main/libx/libxml2/libxml2_2.6.11-3.dsc
  to pool/main/libx/libxml2/libxml2_2.6.11-3_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 259526@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Mike Hommey <mh@glandium.org> (supplier of updated libxml2 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 ftpmaster@debian.org)


Format: 1.7
Date: Sun,  1 Aug 2004 05:02:14 +0900
Source: libxml2
Binary: libxml2-python2.3 libxml2-utils libxml2-doc libxml2-dev libxml2
Architecture: source all i386
Version: 2.6.11-3
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Changed-By: Mike Hommey <mh@glandium.org>
 libxml2    - GNOME XML library
 libxml2-dev - Development files for the GNOME XML library
 libxml2-doc - Documentation for the GNOME XML library
 libxml2-python2.3 - Python 2.3 bindings for the GNOME XML library
 libxml2-utils - XML utilities
Closes: 259526 262101
 libxml2 (2.6.11-3) unstable; urgency=low
   * debian/control: add a space between gcc-3.2 and [hppa]. Closes: #262101.
   * python/drv_libxml2.py: add encoding declaration. Closes: #259526.
   * debian/rules: Backup files that are removed or modified by upstream build
     system and restore them so that calling the clean target actually gives
     the same tree as before a build.
 7cc53d443646e1d3e4b8b75f40f49fcb 878 libs optional libxml2_2.6.11-3.dsc
 39c2f5dd96d4de9cf7f4b624cef786cd 80227 libs optional libxml2_2.6.11-3.diff.gz
 354e1d41fa9bc780bc4125ce8b993da2 982154 doc optional libxml2-doc_2.6.11-3_all.deb
 d618ffb446c2d7971618a1892223298a 645850 libs optional libxml2_2.6.11-3_i386.deb
 6a6a886f6b28694445f9adbcb632f1b3 254226 text optional libxml2-utils_2.6.11-3_i386.deb
 399c6de6c936fa1e006fd3cb10cabbb7 1277144 libdevel optional libxml2-dev_2.6.11-3_i386.deb
 4c6b3f6d6fa918c291501955f9cd96d1 458590 python optional libxml2-python2.3_2.6.11-3_i386.deb

Version: GnuPG v1.2.5 (GNU/Linux)