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

Ingo Saitz Ingo Saitz <ingo@debian.org>, 300834@bugs.debian.org
Tue, 22 Mar 2005 07:14:08 +0100

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)