Yves-Alexis,

Hmm. It does the same for the latest versions of rss2email and feedparser. I
don't ever recall any other instances of this. I think that this case should
be dealt with by feedparser though. Its job is to normalize issues like this
across all the many feed formats and variations. Also, the feedparser
contributors would probably know if link instead of url was valid enough to
support.

Lindsey


On Mon, Jun 6, 2011 at 11:55 PM, Yves-Alexis Perez <[email protected]>wrote:

> Package: rss2email
> Version: 1:2.65-1
> Severity: normal
>
> Hey,
>
> rss2email on Debian Squeeze fails to handle
> http://www.eurosport.fr/tennis/rss.xml :
>
> === SEND THE FOLLOWING TO [email protected] ===
> E: could not parse http://www.eurosport.fr/tennis/rss.xml
> Traceback (most recent call last):
>  File "/usr/share/rss2email/rss2email.py", line 669, in run
>    if enclosure.url != "":
>  File "/usr/lib/pymodules/python2.6/feedparser.py", line 236, in
> __getattr__
>    raise AttributeError, "object has no attribute '%s'" % key
> AttributeError: object has no attribute 'url'
> rss2email 2.65
> feedparser 4.1
> html2text 2.35
> Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
> [GCC 4.4.5]
> === END HERE ===
>
> it seems that 'url' is replaced by 'link' on this atom feed. Not sure if
> it's perfectly valid I tried quickly in chromium and it seems to handle that
> just fine.
>
> Regards,
> --
> Yves-Alexis Perez
>
> -- System Information:
> Debian Release: 6.0.1
>  APT prefers stable-updates
>  APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-5-grsec-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages rss2email depends on:
> ii  python                  2.6.6-3+squeeze6 interactive high-level
> object-orie
> ii  python-feedparser       4.1-14           Universal Feed Parser for
> Python
> ii  python-support          1.0.10           automated rebuilding support
> for P
>
> rss2email recommends no packages.
>
> rss2email suggests no packages.
>
> -- no debconf information
>
>
>

Reply via email to