Package: python-beautifulsoup
Version: 3.0.1-2
Severity: normal

If you load this webpage into a BeautifulSoup object:

 http://www.fallencomic.com/fal-page.htm

And then try to print the BeautifulSoup object, it goes into an infinite
recursion loop.

Here is the relevant section of the traceback:

 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 537,
in __str__
   contents = self.renderContents(encoding, prettyPrint,
indentContents)
 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 574,
in renderContents
   s.append(c.__str__(encoding, prettyPrint, indentLevel))
 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 537,
in __str__
   contents = self.renderContents(encoding, prettyPrint,
indentContents)
 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 574,
in renderContents
   s.append(c.__str__(encoding, prettyPrint, indentLevel))

... etc...

 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 537,
in __str__
   contents = self.renderContents(encoding, prettyPrint,
indentContents)
 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 574,
in renderContents
   s.append(c.__str__(encoding, prettyPrint, indentLevel))
 File "/var/lib/python-support/python2.3/BeautifulSoup.py", line 508,
in __str__
   encodedName = self.toEncoding(self.name, encoding)
RuntimeError: maximum recursion depth exceeded

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_ZA, LC_CTYPE=en_ZA (charmap=ISO-8859-1)

Versions of packages python-beautifulsoup depends on:
ii  python-support                0.4.1      automated rebuilding support for p

python-beautifulsoup recommends no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to