Your message dated Sat, 10 Sep 2005 16:32:14 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326987: fixed in pyxmms 2.05-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Sep 2005 00:33:37 +0000
>From [EMAIL PROTECTED] Tue Sep 06 17:33:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail.kamp-dsl.de (mailout.kamp-dsl.de) [195.62.99.42] 
        by spohr.debian.org with smtp (Exim 3.36 1 (Debian))
        id 1ECnsf-00061o-00; Tue, 06 Sep 2005 17:33:37 -0700
Received: (qmail 24987 invoked from network); 7 Sep 2005 00:34:35 -0000
Received: from sponts.kamp.net (195.62.100.50)
  by mailout.kamp-dsl.de with SMTP; 7 Sep 2005 00:34:35 -0000
Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42])
        by sponts.kamp.net (SPONTS v2.2.1) with SMTP
        id 1062E007D23-0
        for <[EMAIL PROTECTED]>; Wed, 7 Sep 2005 02:33:35 +0200
Received: (qmail 24983 invoked by uid 513); 7 Sep 2005 00:34:34 -0000
Received: from 213.146.117.234 by dsl-mail (envelope-from <[EMAIL PROTECTED]>, 
uid 89) with qmail-scanner-1.24 
 (clamdscan: 0.86.2/1023. spamassassin: 3.0.1.  
 Clear:RC:1(213.146.117.234):SA:0(-1.6/5.0):. 
 Processed in 1.259411 secs); 07 Sep 2005 00:34:34 -0000
Received: from hilluzination.de (HELO paranoia) ([EMAIL PROTECTED])
  by dsl-mail.kamp.net with SMTP; 7 Sep 2005 00:34:33 -0000
Received: from [192.168.1.242] (helo=localhost.localdomain)
        by paranoia with esmtp (Exim 4.50)
        id 1ECnsa-00041R-6v
        for [EMAIL PROTECTED]; Wed, 07 Sep 2005 02:33:32 +0200
Received: from bengen by localhost.localdomain with local (Exim 4.52)
        id 1ECnsZ-0000yR-S2
        for [EMAIL PROTECTED]; Wed, 07 Sep 2005 02:33:31 +0200
From: Hilko Bengen <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: python2.3-xmms: Throws UnicodeEncodeError exception on non-ASCII 
filenames
X-Debbugs-CC: Hilko Bengen <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 07 Sep 2005 02:33:31 +0200
X-SPONTS-Version: 2.2.1
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: python2.3-xmms
Version: 2.04-2
Severity: important
Tags: patch

I just received a bugreport against iPodder (see #326890), and I
believe, that python-xmms behaves wrongly here. I was able to add
non-ASCII filenames to the XMMS playlist without an exception after
making the changes below which make sure that each filename is
UTF8-encoded. 

To my knowledge, this does not break any ASCII pathnames, but it might
be better to check for the current locale or something here.

Traceback (most recent call last):
  File "./iPodderGui.py", line 2563, in OnEpisodesListLeftDown
    self.PlayEpisode(path)
  File "./iPodderGui.py", line 2625, in PlayEpisode
    self.ipodder.config.player.play_file(path,rude=True)
  File "/home/bengen/src/deb/ipodder/ipodder/ipodder/players.py", line 151, in 
play_file
    xmms.enqueue_and_play_launch_if_session_not_started( [ filename ] )
  File "/usr/lib/python2.3/site-packages/xmms/control.py", line 368, in 
enqueue_and_play_launch_if_session_not_started
    enqueue_and_play(seq, session)
  File "/usr/lib/python2.3/site-packages/xmms/control.py", line 294, in 
enqueue_and_play
    playlist_add_allow_relative(seq, session)
  File "/usr/lib/python2.3/site-packages/xmms/control.py", line 279, in 
playlist_add_allow_relative
    playlist_add(abs_seq, session)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 
68: ordinal not in range(128)

--- pyxmms-2.04.orig/src/_xmmscontrolmodule.c
+++ pyxmms-2.04/src/_xmmscontrolmodule.c
@@ -313,7 +313,7 @@
         {
             /* Retreive a string from the sequence */
             item = PySequence_Fast_GET_ITEM(fast_seq, i);
-            if ((py_internal_str = PyString_AsString(item)) == NULL)
+           if ((py_internal_str = 
PyString_AsString(PyUnicode_AsUTF8String(item))) == NULL)
                 goto error;
 
             /* In case xmms would write to py_internal_str ... */
@@ -391,7 +391,7 @@
     for (i=0; i < seq_len; i++)
         {
             item = PySequence_Fast_GET_ITEM(fast_seq, i);
-            if ((str = PyString_AsString(item)) == NULL)
+           if ((str = PyString_AsString(PyUnicode_AsUTF8String(item))) == NULL)
                 goto error;
 
             /* In case xmms would write to the string... */


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages python2.3-xmms depends on:
ii  libc6               2.3.5-6              GNU C Library: Shared libraries an
ii  libglib1.2          1.2.10-10            The GLib library of C routines
ii  python2.3           2.3.5-8              An interactive high-level object-o
ii  xmms                1.2.10+cvs20050209-2 Versatile X audio player that look

python2.3-xmms recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 326987-close) by bugs.debian.org; 10 Sep 2005 23:38:01 +0000
>From [EMAIL PROTECTED] Sat Sep 10 16:38:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EEEpS-0002bI-00; Sat, 10 Sep 2005 16:32:14 -0700
From: Florent Rougon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326987: fixed in pyxmms 2.05-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 10 Sep 2005 16:32:14 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: pyxmms
Source-Version: 2.05-1

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

python-xmms-doc_2.05-1_all.deb
  to pool/main/p/pyxmms/python-xmms-doc_2.05-1_all.deb
python-xmms_2.05-1_all.deb
  to pool/main/p/pyxmms/python-xmms_2.05-1_all.deb
python2.2-xmms_2.05-1_i386.deb
  to pool/main/p/pyxmms/python2.2-xmms_2.05-1_i386.deb
python2.3-xmms_2.05-1_i386.deb
  to pool/main/p/pyxmms/python2.3-xmms_2.05-1_i386.deb
python2.4-xmms_2.05-1_i386.deb
  to pool/main/p/pyxmms/python2.4-xmms_2.05-1_i386.deb
pyxmms_2.05-1.diff.gz
  to pool/main/p/pyxmms/pyxmms_2.05-1.diff.gz
pyxmms_2.05-1.dsc
  to pool/main/p/pyxmms/pyxmms_2.05-1.dsc
pyxmms_2.05.orig.tar.gz
  to pool/main/p/pyxmms/pyxmms_2.05.orig.tar.gz



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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florent Rougon <[EMAIL PROTECTED]> (supplier of updated pyxmms 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 11 Sep 2005 00:36:39 +0200
Source: pyxmms
Binary: python2.3-xmms python-xmms python2.4-xmms python-xmms-doc python2.2-xmms
Architecture: source i386 all
Version: 2.05-1
Distribution: unstable
Urgency: low
Maintainer: Florent Rougon <[EMAIL PROTECTED]>
Changed-By: Florent Rougon <[EMAIL PROTECTED]>
Description: 
 python-xmms - Python interface to XMMS
 python-xmms-doc - Python interface to XMMS (documentation)
 python2.2-xmms - Python interface to XMMS (Python 2.2 version)
 python2.3-xmms - Python interface to XMMS (Python 2.3 version)
 python2.4-xmms - Python interface to XMMS (Python 2.4 version)
Closes: 326987
Changes: 
 pyxmms (2.05-1) unstable; urgency=low
 .
   * New upstream release.
 .
     Now, xmms.control.playlist_add() and friends accept file names
     given as Unicode objects that contain non-ASCII characters
     (closes: #326987).
 .
   * Remove the python2.1-xmms binary package, since Python 2.1 is not
     supported anymore by upstream.
 .
   * Bump Standards-Version to 3.6.2.
 .
   * Update the copyright file with the new address of the Free Software
     Foundation.
Files: 
 8310ac4a01d1410ae87c0e4b5e456985 803 python optional pyxmms_2.05-1.dsc
 6de7834674859b76ebd909aa1d7790bf 43993 python optional pyxmms_2.05.orig.tar.gz
 7d554b9b56ddfde0ce0a4fce3b92502a 7064 python optional pyxmms_2.05-1.diff.gz
 c4db6deb10d1175d05a394e200a40b1d 6532 python optional 
python-xmms_2.05-1_all.deb
 eb7bf582890b91f30848bdec54df9fb6 33336 doc optional 
python-xmms-doc_2.05-1_all.deb
 29693a52779ebf004890c944bf69085a 38550 python optional 
python2.2-xmms_2.05-1_i386.deb
 19bd9d0972bddec585f1d37bec65b9c9 38596 python optional 
python2.3-xmms_2.05-1_i386.deb
 a584ed417f75ce915cd99249e6a89f12 38592 python optional 
python2.4-xmms_2.05-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDI2Z0dkCUdmd1b10RAv6HAKCc7UIrZLVXzu/AdPXVCcS8Jtd4SACfdUPi
euAOKMI3xqsr4IfcXfg7CXk=
=CDVc
-----END PGP SIGNATURE-----


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

Reply via email to