[Pkg-kde-extras] Bug#585417: can't play tracks with non-ASCII characters [was: Bug#585417:]

Jarek Kamiński jarek at vilo.eu.org
Sun Sep 9 10:56:53 UTC 2012


On Sun, Sep 09, 2012 at 02:41:05PM +0800, David Smith wrote:
> Hello,

Hi.

> I've confirmed this bug in older versions of Amarok, but it was
> fixed upstream a long time ago.

No, it wasn't.

> Can you please try the Amarok
> (2.6~beta1+75.g47e75df-1) in Debian Testing and update the status of this
> bug? Thanks.

Sure,

ii  amarok         2.6.0-1      i386         easy to use media player based on
(is it enough, or should I downgrade to testing?)

#v+
[jarek at rocket /tmp]% pgrep amarok
13314
[jarek at rocket /tmp]% locale
LANG=pl_PL
LANGUAGE=pl_PL:pl:en_GB:en
LC_CTYPE="pl_PL"
LC_NUMERIC="pl_PL"
LC_TIME="pl_PL"
LC_COLLATE="pl_PL"
LC_MONETARY="pl_PL"
LC_MESSAGES="pl_PL"
LC_PAPER="pl_PL"
LC_NAME="pl_PL"
LC_ADDRESS="pl_PL"
LC_TELEPHONE="pl_PL"
LC_MEASUREMENT="pl_PL"
LC_IDENTIFICATION="pl_PL"
LC_ALL=pl_PL
[jarek at rocket /tmp]% amarok ./a.mp3 # works
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Amarok is already running!
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[jarek at rocket /tmp]% ln a.mp3 ą.mp3
[jarek at rocket /tmp]% amarok ./ą.mp3 # skips to the next track
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Amarok is already running!
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
#v-

tail from .xsession-errors:
#v+
[0xa0cc9f8] filesystem access error: cannot open file /tmp/Ä
.mp3 (No such file or directory)
[0xa0cc9f8] main access error: Odczyt pliku nie powiĂłdĹ siÄ
[0xa0cc9f8] main access error: VLC nie moĹźe otworzyÄ pliku "/tmp/Ä
.mp3". (No such file or directory)
[0xa0cc9f8] filesystem access error: cannot open file /tmp/Ä
.mp3 (No such file or directory)
[0xa0cc9f8] main access error: Odczyt pliku nie powiĂłdĹ siÄ
[0xa0cc9f8] main access error: VLC nie moĹźe otworzyÄ pliku "/tmp/Ä
.mp3". (No such file or directory)
[0xa1a1868] main input error: open of `file:///tmp/%C4%85.mp3' failed
[0xa1a1868] main input error: Twoje dane wejĹiowe nie moĹźe byÄ otwarte
[0xa1a1868] main input error: Program VLC nie moĹźe otworzyÄ MRL 'file:///tmp/%C4%85.mp3'. SzczegĂłĹy bĹÄdu moĹźna znaleĹşÄ w dzienniku.
^[[?1;2cWARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioDataOutput ( no objectName ).
Object::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int) in ../../phonon/mediacontroller.cpp:64
Object::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int) in ../../phonon/mediacontroller.cpp:65
#v-

"Ä" dosen't look like "ą', but tail .xsession-errors|enca returns
"Universal transformation format 8 bits; UTF-8".
"file:///tmp/%C4%85.mp3" suggests some 2-byte encoding like UTF-8, "ą"
is encoded on single byte in ISO-8859-2.

So, definitely not fixed. File names shouldn't be interpreted as encoded
strings, but rather opaque byte arrays, as this is the way the
filesystems treat them (without encoding information attached).

-- 
pozdr(); // Jarek



More information about the pkg-kde-extras mailing list