Package: gpodder
Version: 0.9.3-1
Severity: important
Tags: patch

In my case there is a problem while new podcast was added. If there are any
problem with fetching podcast data, gpodder infinitely tries to download it
using `wget --tires=inf` and becomes unusable.


-- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (99, 'unstable'), (9, 'experimental'), (1, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc6-mn (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gpodder depends on:
ii  python               2.4.4-6             An interactive high-level object-o
ii  python-glade2        2.10.4-3            GTK+ bindings: Glade support
ii  python-gtk2          2.10.4-3            Python bindings for the GTK+ widge
ii  python-support       0.7.1               automated rebuilding support for p
ii  python-xml           0.8.4-7             XML tools for Python
ii  wget                 1.10.2+1.11.beta1-1 retrieves files from the web

Versions of packages gpodder recommends:
ii  mplayer         1:1.0-rc1svn20070618-0.0 The Ultimate Movie Player For Linu
ii  python-gpod     0.4.2-3                  a library to read and write songs 
ii  python-id3      1.2-6.2                  Python module for id3-tags manipul

-- no debconf information
--- /usr/share/python-support/gpodder/gpodder/libwget.py.orig   2007-07-02 
19:42:19.000000000 +0300
+++ /usr/share/python-support/gpodder/gpodder/libwget.py        2007-07-02 
19:51:27.000000000 +0300
@@ -84,7 +84,8 @@
         if libgpodder.gPodderLib().limit_rate:
             limit_str = '--limit-rate=%.1fk' % ( 
libgpodder.gPodderLib().limit_rate_value, )
             libgpodder.gPodderLib().deleteFilename( self.tempname)
-        command = 'wget --timeout=120 --continue --tries=inf %s 
--output-document="%s" "%s"' % ( limit_str, self.tempname, self.url )
+        # TODO use config file for number of retries (wget --tries)?
+        command = 'wget --timeout=120 --continue %s --output-document="%s" 
"%s"' % ( limit_str, self.tempname, self.url )
         log( 'Command: %s', command)
         if self.statusmgr:
             self.statusmgr.updateInfo( self.statusmgr_id, { 
'episode':self.cutename, 'speed':_('Queued'), 'progress':0, 'url':self.url})

Reply via email to