Your message dated Fri, 14 Aug 2009 23:46:55 +0100
with message-id <[email protected]>
and subject line Can't reproduce: python-elementtidy disfunctional since 
libtidy upgrade
has caused the Debian Bug report #466890,
regarding libtidy: recent upgrade breaks elementtree's TidyHTMLTreeBuilder
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
466890: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466890
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtidy-0.99-0
Version: 20080116cvs-2
Severity: normal
File: libtidy

With a recent (Feb. 8) upgrade, elementtree's TidyHTMLTreeBuilder bails
on every document it tries to parse:  

    >>> tree = TidyHTMLTreeBuilder.parse(html)
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      File
    "/var/lib/python-support/python2.4/elementtidy/TidyHTMLTreeBuilder.py",
    line 109, in parse
        return ElementTree.parse(source, TreeBuilder())
      File "/var/lib/python-support/python2.4/elementtree/ElementTree.py",
    line 859, in parse
        tree.parse(source, parser)
      File "/var/lib/python-support/python2.4/elementtree/ElementTree.py",
    line 584, in parse
        self._root = parser.close()
      File
    "/var/lib/python-support/python2.4/elementtidy/TidyHTMLTreeBuilder.py",
    line 95, in close
        return ElementTree.XML(stdout)
      File "/var/lib/python-support/python2.4/elementtree/ElementTree.py",
    line 960, in XML
        parser.feed(text)
      File "/var/lib/python-support/python2.4/elementtree/ElementTree.py",
    line 1242, in feed
        self._parser.Parse(data, 0)
    xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1,
    column 1
    >>> 

I believe the upgrade of libtidy caused the problem.  See also bug #461629.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.8-domU-linode5 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtidy-0.99-0 depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries

libtidy-0.99-0 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
tag 466890 +unreproducible
thanks

I can't reproduce this bug with the reported tests in a pure-Lenny
installation or in sid, so I believe it was fixed at some point between
February 2008 and February 2009, but was never recorded as such. If this
isn't the case, please reopen the bug for further investigation.

-- 
Jonathan Wiltshire

1024D: 0xDB800B52 / 4216 F01F DCA9 21AC F3D3  A903 CA6B EA3E DB80 0B52
4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51


--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to