[Bug 724638] New: Clementine can't play files with pathnames which use non-ascii character encodings (eg. ISO-Latin or UTF-8)
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c0 Summary: Clementine can't play files with pathnames which use non-ascii character encodings (eg. ISO-Latin or UTF-8) Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: rps@mat.uc.pt QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0 If a sound file has a pathname (directory + file) which includes non-ascii characters (I tried with UTF-8 and ISO-Latin), clementine correctly loads the file to the playlist (including reading tags and displaying that information) but when it tries to play the file it fails showing errors like this: "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-2195/GstFileSrc:source: No such file ".../test/12_TomâÂÂs_Diner.mp3"" No such file ".../test/02_Lá_em_baixo.mp3"" The first file had a UTF-8 character in the name (3 bytes): T o m â 200 231 s, but in the error message there are 4 characters between the 2 adjacent ascii characters. The second file had a ISO-Latin character (one byte- L á _ e m), but in the error message there are 2 characters between the 2 adjacent ascii characters. I suspect that when the file is placed in the playlist, clementine stores, not the original pathname, but a converted pathname. Later when it tries to open that pathname it fails. After this error the files are grayed out in the playlist. Reproducible: Always Steps to Reproduce: 1.Create a sound file with a name including non-ascii characters. 2.Load that file to the playlist. This works and clementine shows the file's tags. 3.Try to play the file. Alternatively: 1.Create a directory with a name including non-ascii characters. 2.Place in that directory a sound file, even with an all-ascii name. 3.Try to play the file. Actual Results: There is an error message "No such file", the file is grayed out in the playlist and it doesn't play. Expected Results: It should have played the file. For non-English users a significant part of their music collection will have files with non-ascii names. This bug seriously reduces the usefulness of clementine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tiwai@suse.com |kde-maintainers@suse.de --- Comment #1 from Takashi Iwai <tiwai@suse.com> 2011-10-17 15:37:54 UTC --- Reassigned to KDE guys who have more clue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c2 --- Comment #2 from Rui Salgueiro <rps@mat.uc.pt> 2011-10-17 15:39:32 UTC --- I selected "major" for the severity of this bug. This is because, in my opinion, it is a major bug of clementine, But of course, clementine is a small bit of the operating system, and so, on the context of the whole system, this is not "major". I am not sure which context (the application or the whole system) should be considered when classifying severity of bugs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c3 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno@ioda-net.ch Severity|Major |Normal --- Comment #3 from Bruno Friedmann <bruno@ioda-net.ch> 2011-10-17 19:03:58 UTC --- Work perfect here with KDF 4.7.2 and the vlc phonon. This line of error suggest more a trouble inside the GStreamer engine. /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-2195/GstFileSrc:source: To confirm go to systemsetting and try another engine (like vlc) and retest reading this file. Clementine is an addons coming from supplemental repository packman or kde-extra Could you confirm from which repository it come Copy/Paste zypper se -si clementine and zypper se -si gst* Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c4 --- Comment #4 from Rui Salgueiro <rps@mat.uc.pt> 2011-10-18 16:29:45 UTC --- When you write "go to systemsetting" is that somewhere in clementine preferences ? When I look at the clementine preferences, I see a place with a couple of options for the "GSTreamer audio system", but not an option to select between gstreamer and something else. Or do you mean global settings in the operating system ? BTW, both VLC and amarok can deal with files with non-ascii characters in the pathname. # zypper se -si clementine Retrieving repository 'Packman Repository' metadata [done] Building repository 'Packman Repository' cache [done] Retrieving repository 'openSUSE-11.4-Update' metadata [done] Building repository 'openSUSE-11.4-Update' cache [done] Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+------------+---------+------------+------+------------------ i | clementine | package | 0.7.1-4.14 | i586 | (System Packages) # zypper se -si gst* Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+----------------------------------+---------+---------------+--------+---------------------- i | gstreamer-0_10 | package | 0.10.32-4.1 | i586 | openSUSE-11.4-Oss i | gstreamer-0_10-fluendo-mp3 | package | 12-2.1 | i586 | openSUSE-11.4-Non-Oss i | gstreamer-0_10-libnice | package | 0.0.13-2.3 | i586 | openSUSE-11.4-Oss i | gstreamer-0_10-plugin-gnomevfs | package | 0.10.32-4.1 | i586 | openSUSE-11.4-Oss i | gstreamer-0_10-plugin-hal | package | 0.10.28-1.2.1 | i586 | openSUSE-11.4-Update i | gstreamer-0_10-plugin-hal | patch | 4496 | noarch | openSUSE-11.4-Update i | gstreamer-0_10-plugin-hal | patch | 4214 | noarch | openSUSE-11.4-Update i | gstreamer-0_10-plugins-bad | package | 0.10.21-8.6 | i586 | openSUSE-11.4-Oss i | gstreamer-0_10-plugins-base | package | 0.10.32-4.1 | i586 | openSUSE-11.4-Oss i | gstreamer-0_10-plugins-good | package | 0.10.28-1.2.1 | i586 | openSUSE-11.4-Update i | gstreamer-0_10-plugins-good-lang | package | 0.10.28-1.2.1 | noarch | openSUSE-11.4-Update i | gstreamer-0_10-plugins-ugly | package | 0.10.7-19.1 | i586 | (System Packages) i | gstreamer-0_10-plugins-ugly-lang | package | 0.10.7-19.1 | i586 | (System Packages) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c5 --- Comment #5 from Rui Salgueiro <rps@mat.uc.pt> 2011-10-18 16:45:46 UTC --- I don't think the problem is with gstreamer "persi". Maybe with the way it is called by clementine. I remembered that totem uses gstreamer, so I tried it. It had no trouble accessing the same files which clementine fails:
jobs -l [2]+ 12731 Running totem . & *** totem running and playing one of the files ***
lsof -p 12731 | grep -i gstre lsof: WARNING: can't stat() rpc_pipefs file system /var/lib/nfs/rpc_pipefs Output information may be incomplete. totem 12731 rps mem REG 9,0 101692 3408202 /usr/lib/gstreamer-0.10/libgstvideoscale.so totem 12731 rps mem REG 9,0 322412 3411859 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so totem 12731 rps mem REG 9,0 67732 3408218 /usr/lib/gstreamer-0.10/libgstaudioresample.so totem 12731 rps mem REG 9,0 104488 3408103 /usr/lib/gstreamer-0.10/libgstaudioconvert.so totem 12731 rps mem REG 9,0 195636 3408324 /usr/lib/gstreamer-0.10/libgstflump3dec.so totem 12731 rps mem REG 9,0 146412 3408215 /usr/lib/gstreamer-0.10/libgstaudioparsersbad.so totem 12731 rps mem REG 9,0 38856 3408156 /usr/lib/gstreamer-0.10/libgstid3demux.so totem 12731 rps mem REG 9,0 81432 3408153 /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so totem 12731 rps mem REG 9,0 26384 3408095 /usr/lib/gstreamer-0.10/libgstcoreindexers.so totem 12731 rps mem REG 9,0 109316 3408131 /usr/lib/gstreamer-0.10/libgstdecodebin2.so totem 12731 rps mem REG 9,0 106504 3408142 /usr/lib/gstreamer-0.10/libgstgoom.so totem 12731 rps mem REG 9,0 104940 3408192 /usr/lib/gstreamer-0.10/libgstpulse.so totem 12731 rps mem REG 9,0 71980 3408144 /usr/lib/gstreamer-0.10/libgstxvimagesink.so totem 12731 rps mem REG 9,0 35052 3408074 /usr/lib/gstreamer-0.10/libgstautodetect.so totem 12731 rps mem REG 9,0 287568 3411856 /usr/lib/gstreamer-0.10/libgstcoreelements.so totem 12731 rps mem REG 9,0 257772 3408135 /usr/lib/gstreamer-0.10/libgstplaybin.so totem 12731 rps mem REG 9,0 34704 3408112 /usr/lib/gstreamer-0.10/libgstgconfelements.so totem 12731 rps mem REG 9,0 939000 1368599 /usr/lib/libgstreamer-0.10.so.0.28.0
*** totem is using gstreamer *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c6 --- Comment #6 from Bruno Friedmann <bruno@ioda-net.ch> 2011-10-18 18:55:38 UTC --- to Rui systemsettings is the KDE global configuration panel. then look at phonon. For the last lsof, it would be cool to get also the path of the file and not only the gstreamer related . Another question your clementine i | clementine | package | 0.7.1-4.14 | i586 | (System Packages) is actually not related to any active repository, and such this can be a source of trouble if some other part of the system has be recompiled and that orphan package didn't get the updated build The one I use for a 11.4 is from packman i | clementine | package | 0.7.1-4.19 | i586 | packman it has 5 build more than yours -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c7 --- Comment #7 from Rui Salgueiro <rps@mat.uc.pt> 2011-10-19 11:00:56 UTC --- 1 - I am not using KDE, I am using fvwm2. 2 - I didn't include the full output of lsof because it's 190 lines, but I should have included those: totem 12731 rps cwd DIR 9,1 4096 2269186 /home/xpto/rps/musica/mp3/test totem 12731 rps 19r REG 9,1 17045553 41254917 /home/xpto/rps/musica/mp3/test/02_Lá_em_baixo.mp3 As you can see totem opens the correct file (ISO-Latin name in this case). Testing with other names, it also works correctly. The name is this case is displayed wrongly, because the xterm is in ISO-Latin: lsof -p 19577 | grep test lsof: WARNING: can't stat() rpc_pipefs file system /var/lib/nfs/rpc_pipefs Output information may be incomplete. totem 19577 rps cwd DIR 9,1 4096 2269186 /home/xpto/rps/musica/mp3/test totem 19577 rps mem REG 9,0 26256 3187029 /usr/lib/liborc-test-0.4.so.0.11.0 totem 19577 rps 19r REG 9,1 10955020 44564510 /home/xpto/rps/musica/mp3/test/12_Tomâ\x80\x99s_Diner.mp3 But in another xterm (using UTF) it displays correctly: totem 19577 rps 19r REG 9,1 10955020 44564510 /home/xpto/rps/musica/mp3/test/12_Tom’s_Diner.mp3 3 - About the clementine version, I am going to check now with yast2 ... Hmm, it seems I have an non-current version installed from packman. No idea why the automatic updates didn't update it. Trying to update it manually now .. It updated. Now I have the same version as you ... testing ... Same behaviour: Loading local file "/home/xpto/rps/musica/mp3/test" Loading local file "/home/xpto/rps/musica/mp3/test/02_Lá_em_baixo.mp3" Loading local file "/home/xpto/rps/musica/mp3/test/Clã-UTF-8/09_O_homem_fantasma.mp3" Loading local file "/home/xpto/rps/musica/mp3/test/12_Tomâs_Diner.mp3" Loading local file "/home/xpto/rps/musica/mp3/test/Clã-ISO/07_O_elixir_da_eterna_juventude.mp3" *** The above messages show that it loads to the playlist correctly *** *** But then, playing fails: *** "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-0/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/02_Lá_em_baixo.mp3"" "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-0/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/02_Lá_em_baixo.mp3"" Gstreamer error: "Resource not found." QTimeLine::start: already running "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-8/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/Clã-ISO/07_O_elixir_da_eterna_juventude.mp3"" "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-8/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/Clã-ISO/07_O_elixir_da_eterna_juventude.mp3"" Gstreamer error: "Resource not found." QTimeLine::start: already running QTimeLine::start: already running "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-16/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/Clã-UTF-8/09_O_homem_fantasma.mp3"" "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-16/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/Clã-UTF-8/09_O_homem_fantasma.mp3"" Gstreamer error: "Resource not found." QTimeLine::start: already running "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-24/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/12_TomâÂÂs_Diner.mp3"" "gstfilesrc.c(1034): gst_file_src_start (): /GstPipeline:pipeline/GstURIDecodeBin:uridecodebin-24/GstFileSrc:source: No such file "/home/xpto/rps/musica/mp3/test/12_TomâÂÂs_Diner.mp3"" Gstreamer error: "Resource not found." *** Note the extra characters in the names used by Gstreamer compared to the names used when loading the files. *** Later I will try to check in another computer, under kde. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c8 --- Comment #8 from Bruno Friedmann <bruno@ioda-net.ch> 2011-10-19 11:55:17 UTC --- Sound like a trouble with the way qt decode path and send them to gstreamer or related to this old http://bugs.kde.org/show_bug.cgi?id=165044 What I didn't understand is why you try to keep diferents encoding for path and filename on the same filesystem For example All my directories and files are utf-8 (at least) encoded and playing french or greek songs doesn't failed here like /ioda/data/user-data/Musiques/Téléphone/Téléphone Illimité CD1/02 - Métro (C'est Trop).ogg or /ioda/data/user-data/Musiques/Tinos-2011/ΧΟΡΕΥΤΙΚΑ/πουλοπουλος γιαννης/πουλοπουλος γιαννης - 21 - φυγε-1.mp3 What's happen if you recode a copy of the problematic filename/directory to pure UTF-8 path like using conmv (iso-8859-1 is a example) convmv --notest -f iso-8859-1 -t utf-8 filetoconvert -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c9 --- Comment #9 from Rui Salgueiro <rps@mat.uc.pt> 2011-10-19 17:10:25 UTC --- Note that this is only a test directory. I tried with both ISO-Latin and UTF-8 just to verify that the problem was not related to a specific encoding. "/home/xpto/rps/musica/mp3/test/Clã-UTF-8/09_O_homem_fantasma.mp3" "/home/xpto/rps/musica/mp3/test/Clã-ISO/07_O_elixir_da_eterna_juventude.mp3" My music collection is in ISO-Latin (just because it was the default in Suse when I started ripping my CDs, years ago). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c10 --- Comment #10 from Rui Salgueiro <rps@mat.uc.pt> 2012-08-27 15:59:08 UTC --- Someone posted a patch in: http://code.google.com/p/clementine-player/issues/detail?id=2106#c13 cat Downloads/gstenginepipeline.patch *** gstenginepipeline.cpp.org 2012-08-27 11:24:09.758648478 +0200 --- gstenginepipeline.cpp 2012-08-27 11:25:21.960515051 +0200 *************** bool GstEnginePipeline::ReplaceDecodeBin *** 162,168 **** #endif } else { new_bin = engine_->CreateElement("uridecodebin"); ! g_object_set(G_OBJECT(new_bin), "uri", url.toEncoded().constData(), NULL); g_object_set(G_OBJECT(new_bin), "buffer-duration", buffer_duration_nanosec_, NULL); g_object_set(G_OBJECT(new_bin), "download", true, NULL); g_object_set(G_OBJECT(new_bin), "use-buffering", true, NULL); --- 162,168 ---- #endif } else { new_bin = engine_->CreateElement("uridecodebin"); ! g_object_set(G_OBJECT(new_bin), "uri", url.toString().toLocal8Bit().constData(), NULL); g_object_set(G_OBJECT(new_bin), "buffer-duration", buffer_duration_nanosec_, NULL); g_object_set(G_OBJECT(new_bin), "download", true, NULL); g_object_set(G_OBJECT(new_bin), "use-buffering", true, NULL); Can somebody try this patch ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrippe@opensuse.org AssignedTo|kde-maintainers@suse.de |davejplater@gmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c11 --- Comment #11 from Dave Plater <davejplater@gmail.com> 2012-11-16 06:03:11 UTC --- You are using FVWM2, I pushed clementine into openSUSE for users such as you. Unfortunately clementine must be used with library versions that it was built against. I'm certain that this is the cause of the problem. kid3-qt is another such program, a quick fix would be to run the song titles through kid3-qt to fix the file names. The latest clementine doesn't build for 11.4 so installling the source rpm and using rpmbuild most probably won't work. Packman have their own bugzilla so you may file a bug against the version of clementine you are using or upgrade to the latest version of openSUSE 12.2. Clementine works fine on openSUSE 12.1 and the latest can be installed by enabling multimedia:apps and multimedia:libs repositories. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c12 Dave Plater <davejplater@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |rps@mat.uc.pt --- Comment #12 from Dave Plater <davejplater@gmail.com> 2012-11-17 06:45:34 UTC --- Please let me know if this problem is resolved -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c13 --- Comment #13 from Dave Plater <davejplater@gmail.com> 2013-02-04 16:05:34 UTC --- Is this bug still present in clementine-1.1.1 from multimedia:apps repository? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=724638 https://bugzilla.novell.com/show_bug.cgi?id=724638#c14 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|rps@mat.uc.pt | Resolution| |FIXED --- Comment #14 from Bruno Friedmann <bruno@ioda-net.ch> 2013-10-02 08:01:54 UTC --- This is fixed from a long time ago. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com