[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#492772: marked as done (python-pyao: Error with python2.5 on amd64)

Your message dated Tue, 27 Apr 2010 22:12:32 +0000
with message-id <E1O6t16-0000XR-OK@ries.debian.org>
and subject line Bug#492772: fixed in pyao 0.82-3
has caused the Debian Bug report #492772,
regarding python-pyao: Error with python2.5 on amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

492772: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492772
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-pyao
Version: 0.82-2
Severity: normal

Instantiating ao.AudioDevice with options gives an error

  Python 2.5.2 (r252:60911, May 28 2008, 19:19:25) 
  [GCC 4.2.4 (Debian 4.2.4-1)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import ao
  >>> dev = ao.AudioDevice( 'alsa', options = { 'dev' : 'default' } )
  Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  SystemError: NULL result without error in PyObject_Call

Compiling from source gives a hint:
  src/aomodule.c: In function ‘dict_to_options’:
  src/aomodule.c:18: warning: passing argument 2 of ‘PyDict_Next’ from
incompatible pointer type

Applying the following patch cures warning and bug:

--- pyao-0.82.orig/src/aomodule.c       2003-07-24 08:52:59.000000000
+++ pyao-0.82/src/aomodule.c    2008-07-28 20:34:42.000000000 +0200
@@ -5,5 +5,5 @@
 dict_to_options(PyObject *dict)
  -  int pos = 0;
  +  Py_ssize_t pos = 0;
     PyObject *key, *val;
        ao_option *head = NULL;

Regards, Philipp

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

Kernel: Linux 2.6.24-jp2 (SMP w/2 CPU cores; PREEMPT)
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 python-pyao depends on:
ii  libao2                        0.8.8-4    Cross Platform Audio Output Librar
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

python-pyao recommends no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pyao
Source-Version: 0.82-3

We believe that the bug you reported is fixed in the latest version of
pyao, which is due to be installed in the Debian FTP archive:

  to main/p/pyao/pyao_0.82-3.diff.gz
  to main/p/pyao/pyao_0.82-3.dsc
  to main/p/pyao/python-pyao_0.82-3_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 492772@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Adam D. Barratt <adam@adam-barratt.org.uk> (supplier of updated pyao package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA256

Format: 1.8
Date: Mon, 26 Apr 2010 23:59:46 +0100
Source: pyao
Binary: python-pyao
Architecture: source amd64
Version: 0.82-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam D. Barratt <adam@adam-barratt.org.uk>
 python-pyao - A Python interface to the Audio Output library
Closes: 492772 492917 577345
 pyao (0.82-3) unstable; urgency=low
   * QA upload.
   * src/aomodule.{c,h}:
     + Add a driver_id property to ao_Object, allowing building with libao4
       which has made the ao_device structure opaque.  Thanks, Julien Cristau.
       (Closes: #577345)
     + Use "i" in format strings when referring to arguments of type "int".
       Thanks, Philipp Jocham.  (Closes: #492917)
     + Fix FTBFS with Python 2.5.  Thanks to Philipp Jocham for the patch.
       (Closes: #492772)
   * debian/copyright: Use correct path to the common-licenses copy of
     version 2 of the GPL.
   * debian/control:
     + Add ${misc:Depends}.
     + Bump Standards-Version to 3.8.4; no changes necessary.
 9bac1dd8252b2d1933684342c7bb82f1b806265f 1666 pyao_0.82-3.dsc
 c31793126b3d46b66bf73114bcee06a6343246d9 3055 pyao_0.82-3.diff.gz
 401ccec2fa84954eeedec8409455fdad1cd8dacf 13560 python-pyao_0.82-3_amd64.deb
 a075465bc6603e79115e6e77069b737aa07b2afb624cd228b6f0882b2f94cc61 1666 pyao_0.82-3.dsc
 4cfd3cf6097e4722bcfb18aa5d33fdd9f83e7a8590973aac6331c7bdb7f15492 3055 pyao_0.82-3.diff.gz
 d425a1397f115cbdefb83e41fec5b2ae1edd7538f4e48b92ead41ef3d0130000 13560 python-pyao_0.82-3_amd64.deb
 d207678efc0f9c2610f7a5b1f4bfd640 1666 python extra pyao_0.82-3.dsc
 b3332c376ee1172566c9ebcffa4d41f3 3055 python extra pyao_0.82-3.diff.gz
 578bb16637d8516013753f17a68505d9 13560 python extra python-pyao_0.82-3_amd64.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: