You are not logged in.
I am new to Arch, after using Ubuntu for a few months.. this is the first problem that i have run into that i can't' figure out how to fix.
I am trying to use the mpd client "Sonata" but it doesn't open for me. When i do it in the terminal, i get this output:
(sonata:16223): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
No protocol specified
/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.5/site-packages/sonata.py:7532: Warning: invalid (NULL) pointer instance
gtk.Window.__init__(self, gtk.WINDOW_POPUP)
/usr/lib/python2.5/site-packages/sonata.py:7532: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
gtk.Window.__init__(self, gtk.WINDOW_POPUP)
Taglib and/or tagpy not found, tag editing support disabled.
ZSI not found, fetching lyrics support disabled.
Python 2.5 or python-elementtree not found, audioscrobbler support disabled.
Sonata failed to connect to the D-BUS session bus: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
Traceback (most recent call last):
File "/usr/bin/sonata", line 47, in <module>
app = sonata.Base()
File "/usr/lib/python2.5/site-packages/sonata.py", line 331, in __init__
self.enc = locale.getpreferredencoding()
File "/usr/lib/python2.5/locale.py", line 512, in getpreferredencoding
setlocale(LC_CTYPE, "")
File "/usr/lib/python2.5/locale.py", line 476, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
i tried to search for the answer, but honestly, i don't even know what to search for in this case. I am using KDEmod as DE and can give any other information about my system if needed.
can someone please try to help me out with this?
mrcold
Last edited by mrcold (2008-01-24 18:51:30)
Offline
The problem seems to be related to dbus somewhow. Do you have dbus daemon enabled in your rc.conf?
Offline
You need to configure your locale:
I am a gated community.
Offline
ok thanks.
the locales and adding dbus worked.
thanks alot
Offline
I am having the same issue but fixing my locale doesn't seem to work (I also have dbus in my daemons in /etc/rc.conf)
Offline
I am having the same issue but fixing my locale doesn't seem to work (I also have dbus in my daemons in /etc/rc.conf)
Did you start dbus? adding it to the daemons field in rc.conf only make it start up at boot.
Use the Source, Luke!
Offline
snozle wrote:I am having the same issue but fixing my locale doesn't seem to work (I also have dbus in my daemons in /etc/rc.conf)
Did you start dbus? adding it to the daemons field in rc.conf only make it start up at boot.
I've since restarted.
[EDIT FIXED] I changed my ~/.config/openbox/autostart.sh to exclude foreign language support
Last edited by snozle (2008-02-07 08:14:41)
Offline