Venus: parse errors on many feeds

Sam Ruby rubys at intertwingly.net
Thu Jun 25 23:00:39 EST 2009


On Thu, Jun 25, 2009 at 8:06 AM, Mary Gardiner<mary at puzzling.org> wrote:
> On Thu, Jun 25, 2009, Sam Ruby wrote:
>> Is there anything unusual about your installation?  Are others seeing
>> this problem?
>
> It's a little hard to answer such a question (there are 'usual' installs
> of Linux distros?)... however...

:-)

> Having done some further investigation (ie, uninstalling every Python
> package that has to do with HTML parsing), it appears to happen only
> when the python-beautifulsoup package is installed. Interesting that
> this upsets Venus, but not Feed Parser when invoked directly (from the
> Venus source).
>
> Systems: Ubuntu 9.04, python 2.6, both systems upgrades rather than
> fresh installs. The "install python-beautifulsoup, break Venus" pattern
> seems pretty reliable though.

Confirmed.  Temporary workaround:

try:
    raise Exception # import BeautifulSoup
except:
    BeautifulSoup = None

> -Mary
> --
> devel mailing list
> devel at lists.planetplanet.org
> http://lists.planetplanet.org/mailman/listinfo/devel

- Sam Ruby


More information about the devel mailing list