gpodder crashed with ValueError in format_date()

Bug #341474 reported by Tim
6
Affects Status Importance Assigned to Milestone
gpodder (Ubuntu)
Fix Released
Undecided
Thomas Perl

Bug Description

Binary package hint: gpodder

Description: Ubuntu jaunty (development branch)
Release: 9.04

gpodder:
  Installed: 0.14.0-1
  Candidate: 0.14.0-1
  Version table:
 *** 0.14.0-1 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Unable to remove or copy podcasts to ipod due to crash. The gpodder UI stays up but the instead of a dialog for working with the ipod I get the crash report.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gpodder
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: gpodder 0.14.0-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gpodder
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gpodder']
SourcePackage: gpodder
Title: gpodder crashed with ValueError in format_date()
Uname: Linux 2.6.28-9-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Tim (tim-barlotta) wrote :
Revision history for this message
Thomas Perl (thp) wrote :

Please test with the latest version from http://gpodder.org/downloads.html

Revision history for this message
Tim (tim-barlotta) wrote :

Downloaded and installed 0.15.1 and the bug reported here is fixed. With 0.15.1 I can copy files to device and remove files from device as expected.

Any chance we gpodder will be upgraded to 0.15.1 in Jaunty?

Revision history for this message
Thomas Perl (thp) wrote :

Depends on the MOTUs, although I think it might be a bit late to get this fix into Jaunty - any MOTUs here to help?

Revision history for this message
Thomas Perl (thp) wrote :

Fix committed; basically also released already, but not released in Ubuntu's repositories. For now, please grab the .debs from http://gpodder.org or Debian testing/unstable. Thanks!

Changed in gpodder (Ubuntu):
assignee: nobody → thp
status: New → Fix Committed
Revision history for this message
Tim (tim-barlotta) wrote :

I recently started having problems with the 0.15.1. When running gpodder from the command line this is what I am getting. (Again this happens when trying to remove or copy episodes to my ipod).

~$ gpodder
/var/lib/python-support/python2.6/gpodder/libconverter.py:29: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import popen2
/var/lib/python-support/python2.6/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters
  super(Connection, self).__init__(*args, **kwargs)
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/gpodder/gui.py", line 2358, in on_cleanup_ipod_activate
    if not device.open():
  File "/var/lib/python-support/python2.6/gpodder/sync.py", line 295, in open
    self.tracks_list = self.get_all_tracks()
  File "/var/lib/python-support/python2.6/gpodder/sync.py", line 347, in get_all_tracks
    released = util.format_date(released)
  File "/var/lib/python-support/python2.6/gpodder/util.py", line 311, in format_date
    log('Warning: Cannot convert timestamp', sender=self, traceback=True)
NameError: global name 'self' is not defined

Revision history for this message
Thomas Perl (thp) wrote :

Tim: thanks for your additional report and traceback. I have fixed this bug in the development version.

Revision history for this message
Tim (tim-barlotta) wrote :

Thomas: no problem on the additional info (I'm a big fan of gpodder). Where could I get the development version with the fixes in it?

Revision history for this message
Thomas Perl (thp) wrote :

Yes, you can help out with testing the development version and reporting bugs, instructions are here:

http://wiki.gpodder.org/wiki/Running_gPodder_from_Git

Please note that bugs found in the development version should be reported at http://bugs.gpodder.org and not here. Thanks :)

Revision history for this message
Tim (tim-barlotta) wrote :

Just an FYI: got the latest from the git repo and I can remove/sync with my ipod once again.

Revision history for this message
Tim (tim-barlotta) wrote :

Just wanted to update this bug to state that 0.15.2 is able to communicate (sync/remove) with my iPod.

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

Karmic has 0.16.1-1

Changed in gpodder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.