Package: sonata
Version: 1.5-3
Severity: minor

Here's the error I get when installing (but see comments below):

Setting up python-mpd (0.2.0-1) ...
INFO: using old version '/usr/bin/python2.3'
Setting up sonata (1.5-3) ...
INFO: using old version '/usr/bin/python2.3'
/usr/lib/python2.3/site-packages/sonata/img.py:37: FutureWarning: hex/oct 
constants > sys.maxint will return positive values in Python 2.4 and up
  newpix.fill(0x858585ff)
Compiling /usr/lib/python2.3/site-packages/sonata/main.py ...
  File "/usr/lib/python2.3/site-packages/sonata/main.py", line 7517
    @dbus.service.method('org.MPD.SonataInterface')
    ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (9)
pycentral pkginstall: error byte-compiling files (9)
dpkg: error processing sonata (--configure):
 subprocess post-installation script returned error exit status 1

There is obviously the use of descriptors, which python2.3 doesn't
support. Further investigation show that python2.3 isn't in Debian
unstable anymore, but was still installed on my system because packages
aren't automatically removed just because they're not in the archive
any more. Since I didn't actually need it, I removed it (along with
python2.1 :-)), and yes, sonata now installs just fine. So the real
question is: why is install system (python-central?) using the obsolete
version of python by default?

This really isn't a sonata problem, but since I know zip about the
python packaging stuff, I'll let you reassign it appropriately.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages sonata depends on:
ii  python                        2.5.2-0.1  An interactive high-level object-o
ii  python-central                0.6.2      register and build utility for Pyt
ii  python-dbus                   0.82.4-2   simple interprocess messaging syst
ii  python-gtk2                   2.12.1-1   Python bindings for the GTK+ widge
ii  python-mpd                    0.2.0-1    Python MPD client library

Versions of packages sonata recommends:
ii  python-elementtree            1.2.6-11   Light-weight toolkit for XML proce
pn  python-gnome2-extras          <none>     (no description available)
ii  python-mmkeys                 1.5-3      Multimedia key support as a PyGTK 
ii  python-tagpy                  0.93-3     Python module for manipulating tag
ii  python-zsi                    2.0-2      Zolera Soap Infrastructure

-- no debconf information



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

Reply via email to