You are not logged in.
Since the upgrade to 1.6 Sonata won't take --profile for an option. It will spit python errors at me (I don't like python errors).
[stijn@hermes ~]$ sonata
Error grabbing key 173, 0x882f008
Error grabbing key 171, 0x882f008
Error grabbing key 172, 0x882f008
Error grabbing key 174, 0x882f008
[stijn@hermes ~]$ sonata --profile=1
Traceback (most recent call last):
File "/usr/bin/sonata", line 162, in <module>
app = main.Base(args)
File "/usr/lib/python2.6/site-packages/sonata/main.py", line 187, in __init__
args.apply_profile_arg(self)
File "/usr/lib/python2.6/site-packages/sonata/cli.py", line 132, in apply_profile_arg
if a > 0 and a <= len(config.profile_names):
AttributeError: 'Base' object has no attribute 'profile_names'I had two profiles - one for the laptop (on which Sonata runs) and one for the server (which hosts my music). Both would error out. Sonata starts counting at 1 it seems, so I tried specifying profile 1 and 2, both give this error. I removed the ~/.config/sonata dir to make sure it wasn't some weird configuration error and reconfigured, but the problem remains. Sonata starts up fine without any arguments and I can connect to the profiles just fine.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Bump ![]()
Stonecrest where you at?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Edit: Replacing the number by a number enclosed within square brackets does not work either:
[stijn@hermes ~]$ sonata --profile=[1]
Python is unable to interpret [1] as a number.
Traceback (most recent call last):
File "/usr/bin/sonata", line 162, in <module>
app = main.Base(args)
File "/usr/lib/python2.6/site-packages/sonata/main.py", line 187, in __init__
args.apply_profile_arg(self)
File "/usr/lib/python2.6/site-packages/sonata/cli.py", line 141, in apply_profile_arg
print _("Profile numbers must be between 1 and %d.") % len(config.profile_names)
AttributeError: 'Base' object has no attribute 'profile_names'Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
* Bump *
* B starts looking for Sonata bugtracker
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Seems this was a a bug that was fixed in 1.6.1 :
http://www.gnomefiles.org/app.php/Sonata
(see changelog)
Last edited by don_crissti (2009-04-12 04:08:11)
Offline
Yep, since I filed a bug report
.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I have the current version (sonata-1.6.2.1-7) and get a similar error:
sonata
** (process:18489): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:18489): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:18489): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
/usr/lib/python2.7/site-packages/sonata/dbus_plugin.py:26: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
import dbus.glib
/home/alp/.gtkrc-2.0:18: error: unexpected identifier `XfcePanelWindow', expected character `:'
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:92: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:163: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:198: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:205: Murrine configuration option "profile" is no longer supported and will be ignored.
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:558: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/Sonar-Dust/gtk-2.0/gtkrc:606: error: invalid string constant "spinbutton", expected valid string constant
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Error grabbing key 173, 0x13f2120
Error grabbing key 171, 0x13f2120
Error grabbing key 172, 0x13f2120
2012-09-19 18:18:24 Connection lost while reading line
Traceback (most recent call last):
File "/usr/bin/sonata", line 167, in <module>
app = main.Base(args)
File "/usr/lib/python2.7/site-packages/sonata/main.py", line 759, in __init__
self.iterate_now()
File "/usr/lib/python2.7/site-packages/sonata/main.py", line 1065, in iterate_now
self.iterate()
File "/usr/lib/python2.7/site-packages/sonata/main.py", line 1019, in iterate
self.handle_change_status()
File "/usr/lib/python2.7/site-packages/sonata/main.py", line 1547, in handle_change_status
self.current.current_update(prevstatus_playlist, self.status['playlistlength'])
File "/usr/lib/python2.7/site-packages/sonata/current.py", line 209, in current_update
for track in changed_songs:
TypeError: 'NoneType' object is not iterableLast edited by Alp (2012-09-19 16:21:42)
Offline
This thread was as dead as development of sonata is....
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Didn't know that. Sad ![]()
Offline