Your message dated Tue, 15 Feb 2011 18:12:27 +0200
with message-id <[email protected]>
and subject line Re: Bug#434094: TypeError: cannot concatenate 'str' and
'NoneType' objects
has caused the Debian Bug report #434094,
regarding TypeError: cannot concatenate 'str' and 'NoneType' objects
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.)
--
434094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434094
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-beautifulsoup
Version: 3.0.4-1
Severity: normal
I'm using BeautifulSoup for a simple web spider experiment, but it's not
as robust as it's supposed to be:
---
soup = BeautifulSoup(data, convertEntities=BeautifulSoup.HTML_ENTITIES)
File "/var/lib/python-support/python2.4/BeautifulSoup.py", line 1282, in
__init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/var/lib/python-support/python2.4/BeautifulSoup.py", line 946, in
__init__
self._feed()
File "/var/lib/python-support/python2.4/BeautifulSoup.py", line 971, in _feed
SGMLParser.feed(self, markup)
File "sgmllib.py", line 94, in feed
self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects
---
The data processed should be http://www.cguelich.de/
transferred via pycURL into a cStringIO. (Not sure if that returns a str or a
unicode object). That page supposedly is clean HTML4 transitional... and
doesn't look like it's doing some browser detection magic.
Granted, the problem might actually be in sgmllib from Python?
But my guess would be a missing "if markup:" or so?
I've also received "UnicodeDecodeError", but I don't have a stack trace ready.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-beautifulsoup depends on:
ii python 2.4.4-6 An interactive high-level object-o
ii python-support 0.6.4 automated rebuilding support for p
python-beautifulsoup recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Erich (2011.02.14_04:15:51_+0200)
> Since the corresponding web pages no longer seem to trigger the bug, I
> propose closing the bug report and I'll just reopen one when I find
> another test case
Closing. Please reopen if this is still an issue.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team