Package: python-eyed3 Version: 0.6.3-1 Severity: normal Tags: patch The setDate method on the eyeD3.Tag class fails when you try to use it to delete a date frame from a tag: you get an "AttributeError: 'function' object has no attribute 'id'" exception from Python. This bug also affects the eyed3 program itself; you can get the same error by running this on any MP3 file:
eyeD3 -Y '' file.mp3 Patch follows: *** eyed3.diff --- eyeD3/tag.py.orig 2005-03-20 11:38:24.000000000 +0000 +++ eyeD3/tag.py 2005-03-20 11:41:43.000000000 +0000 @@ -695,8 +695,9 @@ def setDate(self, year, month = None, dayOfMonth = None, hour = None, minute = None, second = None, fid = None): if not year and not fid: - dateFrame = self.getDate; - self.frames.removeFramesByID(dateFrame.id); + dateFrame = self.getDate(); + if dateFrame: + self.frames.removeFramesByID(dateFrame[0].header.id); return; elif not year: self.frames.removeFramesByID(fid); -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages python-eyed3 depends on: ii python 2.3.4-5 An interactive high-level object-o -- no debconf information -- Aaron Crane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]