You are not logged in.

#1 2008-01-24 17:57:11

mrcold
Member
Registered: 2008-01-24
Posts: 150

[solved]sonata won't open (terminal output inside)

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

#2 2008-01-24 18:22:46

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [solved]sonata won't open (terminal output inside)

The problem seems to be related to dbus somewhow.  Do you have dbus daemon enabled in your rc.conf?

Offline

#3 2008-01-24 18:34:05

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: [solved]sonata won't open (terminal output inside)

You need to configure your locale:

http://wiki.archlinux.org/index.php/Locale


I am a gated community.

Offline

#4 2008-01-24 18:40:53

mrcold
Member
Registered: 2008-01-24
Posts: 150

Re: [solved]sonata won't open (terminal output inside)

ok thanks.
the locales and adding dbus worked.

thanks alot

Offline

#5 2008-02-07 06:42:43

snozle
Member
Registered: 2008-02-04
Posts: 7

Re: [solved]sonata won't open (terminal output inside)

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

#6 2008-02-07 07:16:59

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [solved]sonata won't open (terminal output inside)

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.


Use the Source, Luke!

Offline

#7 2008-02-07 07:43:33

snozle
Member
Registered: 2008-02-04
Posts: 7

Re: [solved]sonata won't open (terminal output inside)

Roberth wrote:
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

Board footer

Powered by FluxBB