Bug#629496: AttributeError: object has no attribute 'url'

2012-05-25 Thread Yves-Alexis Perez
On ven., 2012-05-25 at 18:36 +0200, Etienne Millon wrote:
 reassign 629496 python-feedparser
 thanks
 
 * Yves-Alexis Perez cor...@debian.org [120525 16:33]:
  On mar., 2011-06-07 at 10:44 -0700, Lindsey Smith wrote:
   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. 
  
  Feel free to reassign if needed :)
 
 rss2email doesn't embed feedparser any more so... done :)

The bug is still valid on Squeeze, not sure how the BTS handles that
though.


-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#629496: AttributeError: object has no attribute 'url'

2012-05-25 Thread Etienne Millon
clone 629496 -1
tag 629496 + wheezy sid
reassign -1 rss2email
tag -1 + squeeze
thanks

* Yves-Alexis Perez cor...@debian.org [120525 23:14]:
 The bug is still valid on Squeeze, not sure how the BTS handles that
 though.

Hum, you're right. The best is probably to track it as
two separate bugs.

-- 
Etienne Millon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629496: AttributeError: object has no attribute 'url'

2012-05-25 Thread Etienne Millon
reassign 629496 python-feedparser
thanks

* Yves-Alexis Perez cor...@debian.org [120525 16:33]:
 On mar., 2011-06-07 at 10:44 -0700, Lindsey Smith wrote:
  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. 
 
 Feel free to reassign if needed :)

rss2email doesn't embed feedparser any more so... done :)

Have a nice day

-- 
Etienne Millon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629496: AttributeError: object has no attribute 'url'

2011-06-16 Thread Yves-Alexis Perez
On ven., 2011-06-10 at 12:09 +0200, Yves-Alexis Perez wrote:
 On mar., 2011-06-07 at 10:44 -0700, Lindsey Smith wrote:
  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. 
 
 Feel free to reassign if needed :)

Ping?
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629496: AttributeError: object has no attribute 'url'

2011-06-10 Thread Yves-Alexis Perez
On mar., 2011-06-07 at 10:44 -0700, Lindsey Smith wrote:
 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. 

Feel free to reassign if needed :)

Regards,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629496: AttributeError: object has no attribute 'url'

2011-06-07 Thread Yves-Alexis Perez
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 rss2em...@aaronsw.com ===
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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629496: AttributeError: object has no attribute 'url'

2011-06-07 Thread Lindsey Smith
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 cor...@debian.orgwrote:

 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 rss2em...@aaronsw.com ===
 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