[xml/sgml-pkgs] Bug#300834: marked as done (python2.3-libxml2: not purgeing cleanly breaks other programs)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 22 Mar 2005 14:04:33 -0800

Your message dated Tue, 22 Mar 2005 16:32:19 -0500
with message-id <E1DDqz5-0007wn-00@newraff.debian.org>
and subject line Bug#300834: fixed in libxml2 2.6.16-4
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; 22 Mar 2005 06:14:20 +0000
>From ingo@debian.org Mon Mar 21 22:14:20 2005
Return-path: <ingo@debian.org>
Received: from mx.stud.uni-hannover.de (studserv.stud.uni-hannover.de) [] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDcei-0002tN-00; Mon, 21 Mar 2005 22:14:20 -0800
Received: from schwan (ingo@localhost [])
	by studserv.stud.uni-hannover.de (8.12.11/8.12.11) with ESMTP id j2M6EAJ5024818;
	Tue, 22 Mar 2005 07:14:10 +0100 (MET)
Received: by schwan (Postfix, from userid 1000)
	id A9004C184; Tue, 22 Mar 2005 07:14:08 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ingo Saitz <ingo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python2.3-libxml2: not purgeing cleanly breaks other programs
X-Mailer: reportbug 3.9
Date: Tue, 22 Mar 2005 07:14:08 +0100
Message-Id: <20050322061408.A9004C184@schwan>
Delivered-To: submit@bugs.debian.org
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

Package: python2.3-libxml2
Version: 2.6.16-3
Severity: critical
Justification: breaks unrelated software

Hash: SHA1

I installed python2.3-libxml2 as a dependency package and removed it
again sometime later. I also use straw as a rss reader an suddenly it
failed to fetch new data after a restart (see below). But straw was
still working in a clean sid chroot, so I dug...

It seems, python2.3-libxml2 does not bytecompile its files in
/usr/lib/python2.3/site-packages on its own, but somehow I got
bytecompiled files (*.pyc and *.pyo for every *.py file), probably due
to a python update which recompiled everything. These files were left
over on the package purge causing straw to hiccup.

Please read the Debian Python Policy, especially "2.5 Modules
Bytecompilation" how to correctly bytecompile and clean up:

Straw was displaying the errormessage "'module' object has no attribute
'create_parser'" in the gui and the following Traceback on the console
it was started at:

PollManager.py:195:http_results: exception in summaryparser
Traceback (most recent call last):
  File "/usr/lib/straw/straw/PollManager.py", line 193, in http_results
    parsed = straw.SummaryParser.parse(data, self._feed)
  File "/usr/lib/straw/straw/SummaryParser.py", line 47, in parse
    parsed_content = feedparser.parse(content)
  File "/usr/lib/straw/straw/feedparser.py", line 2152, in parse
    saxparser = xml.sax.make_parser(PREFERRED_XML_PARSERS)
  File "/usr/lib/python2.3/xml/sax/__init__.py", line 81, in make_parser
    return _create_parser(parser_name)
  File "/usr/lib/python2.3/xml/sax/__init__.py", line 106, in _create_parser
    return drv_module.create_parser()
AttributeError: 'module' object has no attribute 'create_parser'


- -- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-schwan20050302
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

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

Version: GnuPG v1.4.0 (GNU/Linux)


Received: (at 300834-close) by bugs.debian.org; 22 Mar 2005 21:47:40 +0000
>From katie@ftp-master.debian.org Tue Mar 22 13:47:40 2005
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 1DDrDv-0006Vl-00; Tue, 22 Mar 2005 13:47:40 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DDqz5-0007wn-00; Tue, 22 Mar 2005 16:32:19 -0500
From: Mike Hommey <glandium@debian.org>
To: 300834-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#300834: fixed in libxml2 2.6.16-4
Message-Id: <E1DDqz5-0007wn-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 22 Mar 2005 16:32:19 -0500
Delivered-To: 300834-close@bugs.debian.org
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

Source: libxml2
Source-Version: 2.6.16-4

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.16-4_i386.deb
  to pool/main/libx/libxml2/libxml2-doc_2.6.16-4_all.deb
  to pool/main/libx/libxml2/libxml2-python2.3_2.6.16-4_i386.deb
  to pool/main/libx/libxml2/libxml2-utils_2.6.16-4_i386.deb
  to pool/main/libx/libxml2/libxml2_2.6.16-4.diff.gz
  to pool/main/libx/libxml2/libxml2_2.6.16-4.dsc
  to pool/main/libx/libxml2/libxml2_2.6.16-4_i386.deb
  to pool/main/libx/libxml2/python2.3-libxml2_2.6.16-4_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 300834@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Mike Hommey <glandium@debian.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)

Hash: SHA1

Format: 1.7
Date: Tue, 22 Mar 2005 21:56:50 +0100
Source: libxml2
Binary: libxml2-python2.3 python2.3-libxml2 libxml2-utils libxml2-doc libxml2-dev libxml2
Architecture: source all i386
Version: 2.6.16-4
Distribution: unstable
Urgency: high
Maintainer: Mike Hommey <glandium@debian.org>
Changed-By: Mike Hommey <glandium@debian.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 - dummy package for
 libxml2-utils - XML utilities
 python2.3-libxml2 - Python 2.3 bindings for the GNOME XML library
Closes: 300834
 libxml2 (2.6.16-4) unstable; urgency=high
   * Urgency set to high because we avoid breaking packages depending on us
     when we don't properly bytecompile our python bindings.
   * debian/rules: Call dh_python. We now get proper maintainer scripts for
     bytecompiling files at install time and removing them at removal time.
     Closes: #300834.
   * debian/control: Adjust build dependencies accordingly.
 3ad590b9cc393f2294c2af887a07d43f 788 libs optional libxml2_2.6.16-4.dsc
 dcbc472074535983fbb080b01dff854f 125550 libs optional libxml2_2.6.16-4.diff.gz
 731dd705b47159208383430d5af9e75f 929824 doc optional libxml2-doc_2.6.16-4_all.deb
 bada6fd32be96932c17bdff694c4d6e1 601844 libs optional libxml2_2.6.16-4_i386.deb
 0aed249cdd0ef52859561f19cccefb9c 28034 text optional libxml2-utils_2.6.16-4_i386.deb
 c7823cdcf1d900b52f831b46c43606b4 590858 libdevel optional libxml2-dev_2.6.16-4_i386.deb
 0168bc141396e7007f5828768bcd5fa5 163268 python optional python2.3-libxml2_2.6.16-4_i386.deb
 1b9ef3857fa2cb499d948c190769eca8 10584 python optional libxml2-python2.3_2.6.16-4_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)