Bug#653165: rhythmbox-plugins: IM-status plugin fails to update status
Peter Denison
bug-reports at marshadder.org
Sun Dec 18 15:39:59 UTC 2011
Package: rhythmbox-plugins
Version: 2.90.1~git20111117.f101562-1
Severity: normal
Tags: patch
The IM-status plugin fails to update status, failing with the following
traceback:
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/im-status/im-status.py", line 112, in playing_entry_changed
self.set_entry (entry)
File "/usr/lib/rhythmbox/plugins/im-status/im-status.py", line 141, in set_entry
self.set_status_from_entry ()
File "/usr/lib/rhythmbox/plugins/im-status/im-status.py", line 158, in set_status_from_entry
self.set_status ()
File "/usr/lib/rhythmbox/plugins/im-status/im-status.py", line 171, in set_status
new_status = _(u"♫ %(artist)s - %(title)s ♫") % subs
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 23: ordinal not in range(128)
It can be fixed with this patch:
--- /usr/lib/rhythmbox/plugins/im-status/im-status.py~ 2011-11-22 16:09:53.000000000 +0000
+++ /usr/lib/rhythmbox/plugins/im-status/im-status.py 2011-12-17 23:42:55.000000000 +0000
@@ -40,7 +40,7 @@
use_purple = False
import gettext
-gettext.install('rhythmbox', RB.locale_dir())
+gettext.install('rhythmbox', RB.locale_dir(), unicode=True)
NORMAL_SONG_ARTIST = 'artist'
NORMAL_SONG_TITLE = 'title'
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rhythmbox-plugins depends on:
ii gir1.2-gconf-2.0 2.32.4-1
ii gir1.2-glib-2.0 1.31.0-2
ii gir1.2-gtk-3.0 3.2.2-3
ii gir1.2-rb-3.0 2.90.1~git20111117.f101562-1
ii gir1.2-webkit-3.0 1.6.1-5+b1
ii libatk1.0-0 2.2.0-2
ii libc6 2.13-21
ii libcairo-gobject2 1.10.2-6.1
ii libcairo2 1.10.2-6.1
ii libclutter-1.0-0 1.8.2-2
ii libclutter-gst-1.0-0 1.4.2-1
ii libclutter-gtk-1.0-0 1.0.4-1
ii libcogl-pango0 1.8.2-1
ii libcogl5 1.8.2-1
ii libdmapsharing-3.0-2 2.9.12-1
ii libdrm2 2.4.27-1
ii libffi5 3.0.10-3
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.8-1
ii libgconf2-4 2.32.4-1
ii libgdk-pixbuf2.0-0 2.24.0-1
ii libgirepository-1.0-1 1.31.0-2
ii libgl1-mesa-glx [libgl1] 7.11.1-1
ii libglib2.0-0 2.30.2-4
ii libgnome-keyring0 3.2.2-1
ii libgpod4 0.8.2-4
ii libgrilo-0.1-0 0.1.17-1
ii libgstreamer-plugins-base0.10-0 0.10.35-1
ii libgstreamer0.10-0 0.10.35-1
ii libgtk-3-0 3.2.2-3
ii libgudev-1.0-0 175-3
ii libimobiledevice2 1.1.1-3
ii libjson-glib-1.0-0 0.14.2-1
ii liblircclient0 0.9.0~pre1-1
ii libmtp9 1.1.1-1
ii libmusicbrainz3-6 3.0.2-2
ii libmx-1.0-2 1.4.1-1
ii libnotify4 0.7.4-1
ii libpango1.0-0 1.29.4-2
ii libpeas-1.0-0 1.2.0-1
ii librhythmbox-core4 2.90.1~git20111117.f101562-1
ii libsoup-gnome2.4-1 2.34.3-1
ii libsoup2.4-1 2.34.3-1
ii libtotem-plparser17 2.32.6-1
ii libusb-0.1-4 2:0.1.12-19
ii libx11-6 2:1.4.4-4
ii libxcomposite1 1:0.4.3-2
ii libxdamage1 1:1.1.3-2
ii libxext6 2:1.3.0-3
ii libxfixes3 1:5.0-4
ii libxi6 2:1.4.3-3
ii libxml2 2.7.8.dfsg-5
ii python 2.7.2-9
ii python-gnomekeyring 2.32.0-4+b1
ii python-mako 0.5.0-1
ii python2.7 2.7.2-8
ii rhythmbox 2.90.1~git20111117.f101562-1
ii zeitgeist-core 0.8.2-1
ii zlib1g 1:1.2.3.4.dfsg-3
Versions of packages rhythmbox-plugins recommends:
ii nautilus-sendto 3.0.1-2
rhythmbox-plugins suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list