Bug#439989: decibel-audio-player: uses try/except/finally, which Python 2.4 doesn't support

2007-08-29 Thread François Ingelrest
Tags: patch

Here is a patch that removes this structure, it will be included in
the upcoming 0.06 version.

After checking the code, I think this is the only thing that prevents
Decibel Audio Player from being Python-2.4 compatible.

Thanks for the report!


patch
Description: Binary data


Bug#439989: decibel-audio-player: uses try/except/finally, which Python 2.4 doesn't support

2007-08-28 Thread Aaron M. Ucko
Package: decibel-audio-player
Version: 0.05.2-1
Severity: grave
Justification: renders package unusable

| Setting up decibel-audio-player (0.05.2-1) ...
| Compiling /usr/share/decibel-audio-player/src/modules/__init__.py ...
|   File /usr/share/decibel-audio-player/src/modules/__init__.py, line 213
| finally:
|   ^
| SyntaxError: invalid syntax
| 
| pycentral: pycentral pkginstall: error byte-compiling files (29)
| pycentral pkginstall: error byte-compiling files (29)

This appears to be a 2.5-ism, whereas Debian's default is still 2.4.
Please either fix the code to work with 2.4 or explicitly use 2.5 (and
adjust dependencies accordingly; AFAICT, they're all ready to go).

Thanks!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.1 (SMP w/2 CPU cores)
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 decibel-audio-player depends on:
ii  python   2.4.4-6 An interactive high-level object-o
ii  python-central   0.5.15  register and build utility for Pyt
ii  python-glade22.10.6-1GTK+ bindings: Glade support
ii  python-gnome22.18.2-1+b1 Python bindings for the GNOME desk
ii  python-gnome2-desktop2.18.0-2+b1 Python bindings for the GNOME desk
ii  python-gst0.10   0.10.8-1generic media-playing framework (P
ii  python-gtk2  2.10.6-1Python bindings for the GTK+ widge
ii  python-mutagen   1.11-1  audio metadata editing library
ii  python-notify0.1.1-1 Python bindings for libnotify
ii  python-xml   0.8.4-8 XML tools for Python

decibel-audio-player recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]