Your message dated Sun, 11 Sep 2005 03:47:05 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326987: fixed in pyxmms 2.06-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; 11 Sep 2005 10:48:36 +0000
>From [EMAIL PROTECTED] Sun Sep 11 03:48:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EEPMX-0005dK-00; Sun, 11 Sep 2005 03:47:05 -0700
From: Florent Rougon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326987: fixed in pyxmms 2.06-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 11 Sep 2005 03:47:05 -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.06-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.06-1_all.deb
to pool/main/p/pyxmms/python-xmms-doc_2.06-1_all.deb
python-xmms_2.06-1_all.deb
to pool/main/p/pyxmms/python-xmms_2.06-1_all.deb
python2.2-xmms_2.06-1_i386.deb
to pool/main/p/pyxmms/python2.2-xmms_2.06-1_i386.deb
python2.3-xmms_2.06-1_i386.deb
to pool/main/p/pyxmms/python2.3-xmms_2.06-1_i386.deb
python2.4-xmms_2.06-1_i386.deb
to pool/main/p/pyxmms/python2.4-xmms_2.06-1_i386.deb
pyxmms_2.06-1.diff.gz
to pool/main/p/pyxmms/pyxmms_2.06-1.diff.gz
pyxmms_2.06-1.dsc
to pool/main/p/pyxmms/pyxmms_2.06-1.dsc
pyxmms_2.06.orig.tar.gz
to pool/main/p/pyxmms/pyxmms_2.06.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 12:07:58 +0200
Source: pyxmms
Binary: python2.3-xmms python-xmms python2.4-xmms python-xmms-doc python2.2-xmms
Architecture: source i386 all
Version: 2.06-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.06-1) unstable; urgency=low
.
* New upstream release.
.
Now, xmms.control.playlist() accepts file names given as Unicode
objects that contain non-ASCII characters (closes: #326987).
.
Thanks to Hilko Bengen for reporting the problem and the similar one
that was fixed in PyXMMS 2.05.
Files:
9df2eaedbe3d0a978bac4d9cad018c15 803 python optional pyxmms_2.06-1.dsc
1ccb063de28d0aa3e42ec2892cdd98de 44019 python optional pyxmms_2.06.orig.tar.gz
bfc30762de84e0fd44bf0cd97b9722e7 7154 python optional pyxmms_2.06-1.diff.gz
7df6bdc37af64b21088a70820a011fec 6720 python optional
python-xmms_2.06-1_all.deb
0327d32f7cfa748aceac58d0a9034adf 33606 doc optional
python-xmms-doc_2.06-1_all.deb
dfc9995595be240d28a6fe04aa621d0e 38854 python optional
python2.2-xmms_2.06-1_i386.deb
ebb8eef303fc1cf7ebc0fc99c92213a1 38966 python optional
python2.3-xmms_2.06-1_i386.deb
1878cba6f64aa115a94e07a223c06355 38966 python optional
python2.4-xmms_2.06-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDJAjydkCUdmd1b10RAupNAJ9Og6p3SyFgx+pQUsMhVkRAH8lS0gCg1bRb
b+olYx28aJ7rSFP3KLOvQJw=
=Uvig
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]