[Bug 846608] New: gst-install-plugins-helper doesn't support i18n or we mispresent strings to translators
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c0 Summary: gst-install-plugins-helper doesn't support i18n or we mispresent strings to translators Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: All OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: i@marguerite.su QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=564057) --> (http://bugzilla.novell.com/attachment.cgi?id=564057) app screenshot User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.10 Safari/537.36 Hi, guys, Sometimes PackageKit-gstreamer-plugin told me I have to install some codecs. That feature is good. But it's not so good in this way: "/usr/lib/gst-install-plugins-helper" requires an additional plugin to decode this file ID3 ljsljflajfljalfdjalj(unrecognizable characters) The following plugin is required. Do you want to search for this now? Continue Cancel" Basically, in this way: 1. You have no idea of what is missing. Because it's now foreign to everyone. 2. _seems_ (I'm not sure) gst-install-plugins-helper will just search for the "ID3 ljljl" line in PackageKit database. That is, system may doesn't know what is missing either. Because I choose to continue everytime and everytime I get nothing, even sometimes I myself knows what is missing... So my idea is, we should check this: 1. Check if the helper just search the displayed thing in database, or give it an advanced match then search the matched package name in database. Because if the helper just search the displayed thing. Then we shouldn't expose them to our translators. After translation, system will certainly not know what it's going for now. But if it'll do an advanced match in the background, we should check: 2. if the match can be done in i18n, if it can't, again we shouldn't expose those strings. But if it can, we should check: 3. What's wrong with our GUI, because it can't display translated text well. seems there's an encoding problem out there. Now it's really annoying because a widget can't actually do anything for now just keep jumping out claiming it can. Dominique, do you have time taking a look at this? Marguerite Reproducible: Always -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome@forge.provo. |dimstar@opensuse.org |novell.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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c1
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c2 --- Comment #2 from Marguerite Su 2013-10-18 15:06:09 UTC --- Created an attachment (id=564075) --> (http://bugzilla.novell.com/attachment.cgi?id=564075) correctly displayed in totem Hi, Dominique, Thanks for taking care of this. I'm using KDE, I installed Totem and "bang"! This time it can recognize the translated text! See screenshot. But as Totem also used a KDE dialog to display information, I wonder what's the differences that make bad things happen? I mean...in KDE native or qt applications, eg: vlc or kaffeine, they never make this right. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c3 --- Comment #3 from Marguerite Su 2013-10-18 15:13:13 UTC --- Created an attachment (id=564076) --> (http://bugzilla.novell.com/attachment.cgi?id=564076) But it can't even install h264 codec Additionally, as I said, it can't install any single codec. see, it can't even install h264...both of us know which package that is in. Before when I use KDE applications, I didn't get anything. This time in command line of Totem, I get this output: [code] ** Message: Missing plugin: gstreamer|1.0|totem|MPEG-4 AAC 解码器|decoder-audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)lc, profile=(string)lc (MPEG-4 AAC 解码器) ** Message: Missing plugin: gstreamer|1.0|totem|H.264 解码器|decoder-video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)constrained-baseline, parsed=(boolean)true (H.264 解码器) ** Message: PackageKit: xid = 85983243 ** Message: PackageKit: Codec nice name: MPEG-4 AAC ??? ** Message: PackageKit: ignoring field named framed ** Message: PackageKit: ignoring field named stream-format ** Message: PackageKit: ignoring field named level ** Message: PackageKit: ignoring field named base-profile ** Message: PackageKit: ignoring field named profile ** Message: PackageKit: field is: mpegversion, type: gint ** Message: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=4)()(64bit) ** Message: PackageKit: Codec nice name: H.264 ??? ** Message: PackageKit: ignoring field named stream-format ** Message: PackageKit: ignoring field named alignment ** Message: PackageKit: ignoring field named level ** Message: PackageKit: ignoring field named profile ** Message: PackageKit: ignoring field named parsed ** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)()(64bit) ** Message: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.PackageKit.Failed: ???????????? ** Message: No installation candidate for missing plugins found. (totem:20541): Gtk-WARNING **: GtkMenuBar 0x1ef9690 is mapped but visible=1 child_visible=1 parent GtkApplicationWindow 0x1aa02e0 mapped=0 [code] See? seems I made my statements right, PackageKit searched for: "MPEG-4 AAC ???" and "H.264 ???" (here ??? seems to stand for "解码器") So seems the backend isn't i18n ready yet... Either we need to patch that to add a mechanism to take every translated text as "codec", Or we need to find that "codec" string and drop it from translation po files... Marguerite -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|i@marguerite.su | -- 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c4
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c5 --- Comment #5 from Marguerite Su 2013-10-19 08:23:13 UTC --- (In reply to comment #4)
What app did you use first that told you codecs were missing? VLC does not use gstreamer, so should never have resulted in this question.
The first app told me codecs were missing was "telepathy-kde", the IM. Suddenly this week when a pop-up message was coming, it started to complain ID3 codec was missing (see my first screenshot). Even there's no Audio content in that message. That's another bug maybe. But I reported this to get the unrecognizable characters away first. Then you asked me to install Totem to see what happened. And in the second screenshot, I uninstalled gstreamer-plugins-libav/ugly installed from packman to make sure it will reproduce the problem. So in this case, the first app is Totem now. Well interestingly, I tried to open the same video in Kaffiene, it opened without the codec complaint. I guess maybe it's still using gstreamer 0.10, can you recommend a KDE application that uses gstreamer 1.0 for me to verify if the unrecognizable characters thing was a pitfall of gstreamer 0.10? (I can guarantee that you're the first person who makes me see correctly displayed translations in a KDE dialog)
gstreamer1(decoder-video/x-h264)()(64bit) is what it is looking for in provides
The rest is visual stuff..
check if PackageKit can resolve it: pkcon what-provides "gstreamer1(decoder-video/x-h264)()(64bit)"
No, I think it may be not visual stuff...or at least not so visual [code] pkcon what-provides "gstreamer1(decoder-video/x-h264)()(64bit)" 获取提供描述 [=========================] 正在队列中等待 [=========================] 正在启动 [=========================] 正在查询 [=========================] 已安装 gstreamer-plugins-bad-1.0.5-2.1.1.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-plugins-bad-1.0.5-2.1.1.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-plugins-bad-1.0.10-4.9.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-plugins-bad-1.0.5-2.1.1.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-plugins-libav-1.0.10-1.4.x86_64 GStreamer Streaming-Media libav Plug-In [/code] see, pkcon can find the needed codecs 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c6
--- Comment #6 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c7 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|i@marguerite.su | --- Comment #7 from Marguerite Su 2013-10-20 04:44:08 UTC --- Exactly. I think we should focus on the first issue in this report... Does PackageKit or the app use DBus to transfer such messages? Because I have to identify which app trigger the pop-up and what's the content of the message...We can't just guess it telepathy-kde. Well you don't use KDE, I'll do the job. Marguerite -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c8 --- Comment #8 from Marguerite Su 2013-10-20 05:38:40 UTC --- Hi, Dominique, I ran `dbus-monitor | grep -10 "ID3"` and get this output: [code] method call sender=:1.7375 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.PackageKit'" method call sender=:1.7375 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName string "org.freedesktop.PackageKit" uint32 0 method call sender=:1.7375 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.freedesktop.PackageKit" method call sender=:1.7375 -> dest=:1.7351 serial=5 path=/org/freedesktop/PackageKit; interface=org.freedesktop.PackageKit.Modify; member=InstallGStreamerResources uint32 0 array [ string "ID3 æ è¯ å¤è·¯åéå¨|gstreamer0.10(decoder-application/x-id3)()(64bit)" ] string "hide-finished" method call sender=:1.7351 -> dest=org.freedesktop.DBus serial=15 path=/org/freedesktop/DBus/Bus; interface=org.freedesktop.DBus; member=GetConnectionUnixProcessID string ":1.7375" signal sender=:1.6551 -> dest=(null destination) serial=11352 path=/StatusNotifierItem; interface=org.kde.StatusNotifierItem; member=NewIcon signal sender=:1.6551 -> dest=(null destination) serial=11353 path=/StatusNotifierItem; interface=org.kde.StatusNotifierItem; member=NewToolTip method call sender=:1.27 -> dest=org.freedesktop.DBus serial=22690 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner string "org.kde.ActivityManager" [/code] The pop-up kept jumping because telepathy-kde used an .ogg file as its notification sound, which is enabled by default. By I wonder why I have to install a gstreamer plugin to play ogg? So I do: pkcon what-provides "gstreamer0.10(decoder-application/x-id3)()(64bit)" 获取提供描述 [=========================] 正在队列中等待 [=========================] 正在启动 [=========================] 正在查询 [=========================] 已安装 gstreamer-0_10-plugins-good-0.10.31-6.1.5.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-0_10-plugins-good-0.10.31-6.1.5.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-0_10-plugins-good-0.10.31-15.7.x86_64 GStreamer Streaming-Media Framework Plug-Ins 可用 gstreamer-0_10-plugins-good-0.10.31-6.1.5.x86_64 GStreamer Streaming-Media Framework Plug-Ins You see, I have already had gstreamer-0_10-plugins-good installed. But at least some app doesn't know this. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c9 --- Comment #9 from Marguerite Su 2013-10-20 05:58:25 UTC --- Then I use d-feet to filter the sender. The sender is: Name: 1.7375 Process ID: 27873 Command Line: /usr/lib64/kde4/libexec/apper-pk-session And I can ps | grep: ps -A | grep 27873 27873 ? 00:00:00 apper-pk-session So Dim do you think we need a KDE master to tell us about Apper? As I can see here, PackageKit can't display correct because Apper sends it unrecognizable string "ID3 æ è¯å¤è·¯åéå¨". Maybe there's still some other application who sends it to Apper, but I don't know yet. -- 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c10
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c11 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |hrvoje.senjan@gmail.com --- Comment #11 from Marguerite Su 2013-10-31 00:42:52 UTC --- @sumski, Hi, man, can you take a look at this bug? Dominique said: totem can recognize the translations in gst-install-plugins-helper but kde can't, because kde call it in a wrong way... Can you help me find out what the "wrong way" is? 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c12
Hrvoje Senjan
https://bugzilla.novell.com/show_bug.cgi?id=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c13
--- Comment #13 from Hrvoje Senjan
Dominique said: totem can recognize the translations in gst-install-plugins-helper but kde can't, because kde call it in a wrong way...
I don't know how Totem works, but somehow i doubt that Totem display's the translations ;-) (actually, i'm pretty sure in that). The dialog seems to shows/utilizes 'codec nice name'. That it worked with totem can be pure luck, as the codec from first screenshot is a different one than the one Totem was missing. First test would be to try with gnome-packagekit to see whether there would be a difference. Next would be to test with the equivalent 0.10 codec that was used to test Totem, but with e.g. Dragon. I have tried to see what happens here, but since Croatian translations are rather poor(low coverage), i've had only original, English one. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c14 --- Comment #14 from Marguerite Su 2013-11-07 09:57:35 UTC --- Created an attachment (id=566447) --> (http://bugzilla.novell.com/attachment.cgi?id=566447) same video with 564075 in dragonplayer Hi, sumski, I installed dragonplayer and played the same video by dragonplayer/totem totem displayed correct as attachment 564075 shows. but dragonplayer still displays unrecognizable texts. I didn't switch the pk frontend yet so I think it's still Apper. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c15 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #566447|0 |1 is obsolete| | --- Comment #15 from Marguerite Su 2013-11-07 10:14:47 UTC --- Created an attachment (id=566453) --> (http://bugzilla.novell.com/attachment.cgi?id=566453) dragonplayer 411 sorry I installed a 4.10.5 version on 411 system. now screenshot shows the same codecs with totem shows, but in recognizable look. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c16 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #564075|0 |1 is obsolete| | --- Comment #16 from Marguerite Su 2013-11-07 10:16:47 UTC --- Created an attachment (id=566454) --> (http://bugzilla.novell.com/attachment.cgi?id=566454) totem's update totem's screenshot -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c17 --- Comment #17 from Marguerite Su 2013-11-07 14:15:10 UTC --- Created an attachment (id=566484) --> (http://bugzilla.novell.com/attachment.cgi?id=566484) gnome-packagekit totem updating PackageKit/PackageKit-Qt to 0.8.8 and Apper to 0.8.1 doesn't help. And I "replace" Apper with gnome-packagekit like coolo taught me on IRC: install gnome-packagekit and uninstall Apper. In totem, gnome-packagekit works. in dragonplayer, it can't even be triggered. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c18 --- Comment #18 from Marguerite Su 2013-11-07 14:23:58 UTC --- And I don't where this "解码器" get translated. I grep-ed in opensuse translations, it's not from us. and the only one I can find is /usr/share/locale-bundle/zh_CN/LC_MESSAGES/gnome-packagekit.mo there're this string in other files but those files are for specific application like /usr/share/locale/zh_CN/LC_MESSAGES/k3b.mo -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|i@marguerite.su |hrvoje.senjan@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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c19
Hrvoje Senjan
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c20 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|i@marguerite.su | --- Comment #20 from Marguerite Su 2013-11-08 12:48:33 UTC --- Hi, sumski...I tested the packages...but still no help...phonon-gstreamer_0.10 is replaced by phonon-gstreamer_1.0. still the same look. -- 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=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c21 --- Comment #21 from Marguerite Su 2013-11-20 07:12:07 UTC --- Hi, sumski, Weng Xuetian from KDE upstream fixed this bug for us. see SR#207718: https://build.opensuse.org/request/show/207718 We need an update stack for older openSUSE versions. (would you like to review if older phonon-gstreamer missed this too?) And you need to update your phonon-backend-gstreamer-1_0 in KDE:SC:Unstable repo. PS: it is being upstreamed at: https://git.reviewboard.kde.org/r/113961/ right now. -- 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c22
Hrvoje Senjan
https://bugzilla.novell.com/show_bug.cgi?id=846608 https://bugzilla.novell.com/show_bug.cgi?id=846608#c23 Marguerite Su changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|i@marguerite.su | --- Comment #23 from Marguerite Su 2013-11-20 12:12:24 UTC --- Hi, shumski, You must know even if this patch is upstreamed, upstream will _not_ refresh an update version...so there'll be no difference. But yes, I'm totally okay about when you release the update stack, because Dim still has a underlying bug at hand...so even if we fixed the UI right now, we still can't install any plugin using this helper mechanism :-( Reference: https://bugzilla.novell.com/show_bug.cgi?id=800858 Margurite -- 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=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c24
--- Comment #24 from Hrvoje Senjan
https://bugzilla.novell.com/show_bug.cgi?id=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c25
--- Comment #25 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=846608
https://bugzilla.novell.com/show_bug.cgi?id=846608#c26
Dominique Leuenberger
From what I see, the patch had been released....
Should the problem still persist, please reopen. -- 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