[gpodder] Re: Error in 3.1 gpo error handling

  • From: Thomas Perl <m@xxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Mon, 9 Apr 2012 15:23:42 +0200

Hi Felix,

Thanks - this has been fixed now:

    http://gpodder.org/commit/b35e1c19

Greetings,
Thomas

On Wed, Apr 04, 2012 at 09:05:58AM -0700, Felix Rabinovich wrote:
> <html>
>   <head>
> 
>     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
>   </head>
>   <body bgcolor="#FFFFFF" text="#000000">
>     Hi,<br>
>     <br>
>     I installed gpodder 3.1 and I am getting the following error on one
>     of the episodes on one of the channels:<br>
>     <br>
>     <small><font face="Courier New, Courier, monospace">$ gpo download<br>
>         Downloading &lt;episode name&gt; 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>         1333554983.643934 [gpodder.download] ERROR: Download failed:
>         'gPodderDownloadHTTPError' object has no attribute 'errcode'<br>
>         Traceback (most recent call last):<br>
>         &nbsp; File "/usr/lib/python2.6/site-packages/gpodder/download.py",
>         line 768, in run<br>
>         &nbsp;&nbsp;&nbsp; if retry &lt; max_retries and http.errcode in 
> retry_codes:<br>
>         AttributeError: 'gPodderDownloadHTTPError' object has no
>         attribute 'errcode'<br>
>         Downloading </font></small><small><font face="Courier New,
>         Courier, monospace">&lt;episode name&gt;</font></small><small><font
>         face="Courier New, Courier, 
> monospace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>         [DONE]<br>
>         1 episodes downloaded.<br>
>       </font></small><br>
>     It is a very old episode; so it is quite possible that it
>     "advertised" in RSS, however the file itself is missing. So, the
>     error is probably in error handling... The episode is <i>not</i>
>     marked as downloaded (<small><font face="Courier New, Courier,
>         monospace">1 episodes downloaded</font></small> is not correct);
>     so this error comes up every time I try to download until I manually
>     go into the database<br>
>     <br>
>     Thanks<br>
>     Felix<br>
>   </body>
> </html>
> 

Other related posts: