Package: gpodder
Version: 0.11.2-1
Severity: normal
Hi
When I select an episode and click "Download", the selected episode appears
in the "Download" tab, however it is marked as "Queued" indefinitely and
the download never starts.
If I run gpodder in the console, I get the following backtrace:
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/var/lib/python-support/python2.5/gpodder/download.py", line 169, in run
services.download_status_manager.update_status( self.download_id, episode =
self.episode.title, url = self.episode.url, speed = self.speed, progress =
self.progress)
File "/var/lib/python-support/python2.5/gpodder/services.py", line 209, in
update_status
self.notify_progress()
File "/var/lib/python-support/python2.5/gpodder/services.py", line 98, in
notify_progress
now = ( self.count(), self.average_progress() )
File "/var/lib/python-support/python2.5/gpodder/services.py", line 191, in
average_progress
return float(done + self.downloads_done_bytes) / float(total +
self.downloads_done_bytes) * 100
ZeroDivisionError: float division
Adding a try-except block around line 191 in services.py seems to fix
the problem:
try:
return float(done + self.downloads_done_bytes) / float(total +
self.downloads_done_bytes) * 100
except:
return 0.0
Best regards
Tomaz Solc
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gpodder depends on:
ii python 2.5.2-1 An interactive high-level object-o
ii python-feedparser 4.1-10 Universal Feed Parser for Python
ii python-glade2 2.12.1-1 GTK+ bindings: Glade support
ii python-gtk2 2.12.1-1 Python bindings for the GTK+ widge
ii python-support 0.7.7 automated rebuilding support for P
Versions of packages gpodder recommends:
ii python-gpod 0.6.0-5 a library to read and write songs
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]