[Solved] Sonata won't launch with --profile option

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.

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 iterable
Last edited by Alp (2012-09-19 16:21:42)

Similar Messages

  • Issue with profile Options in Inventory

    I am trying to work with profile options in Inventory and I have 4 Operating units and 2 Legal Entity and 1 Business Group.
    At this point I am not sure as how to attach OU to MO:OU ( as there are 4). Similar concern is for GL Ledger..
    Please help....

    Hi Hanu,
    In the select query, u can replace s_lifnr with s_lifnr-low, since when we enter values in selection screen, they get stored in a table structure. hence directly equating it to s_lifnr, will not fetch any records.
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs AND lifnr = s_lifnr-low AND gjahr IN s_gjahr AND budat IN s_budat AND saknr IN s_saknr.
    Hope this helps!!!
    Prerna

  • Quark 7.5 won't launch with OSX Mavericks 10.9.1

    QuarkXPress 7.5 won't launch with OSX Mavericks 10.9.1 I keep getting the window saying "QarkXPress quit unexpectedly" (see image below) and when I click on reopen, it does the same everytime. HELP!

    Hi DCG,
    hope oyu had a great christmas.
    I posted the post you reference on June 11, 2013.
    Since then a lot of things have happened. We released 9.5.4 several weeks ago, which seems to work fine for everybody under Mavericks.
    We also posted an update for version 10 that makes it Mavericks compatible and afterwards released an update that fixes most issues reported.
    So please try 10.0.2 or 9.5.4 on Mavericks, they should both work fine: http://www.quark.com/de/Support/Downloads/Search_Results.aspx?pid=1&oid=2&ftid=2
    Thanks
    Matthias

  • Please help lightroom 5 won't launch with my mac 10.6.8 what

    ANY  Suggestions  It won't launch it say's I need 10.7 however, my other programs are working fine with 10.6.8

    Thank you.  It would have been lovely if they let us know (Important Notice that the New LR5 is compatible only with  MAC LION 10.7 and newer  Mac versions of operating systems and older, not previous Mac operating systems versions) on the main page before purchasing LR5. I've never had a LR product that didn't work with the old operating system, and I've owned all of them.  I think I just trusted Adobe would continue on with the same process .  So basically, we'd have to upgrade our operating system and risk the change of now having a situation with all of our current programs that work perfectly with LR5.
    Is it possible that Adobe could make sure that they inform trusting customers like us,  similar to when trying to market their new products campaigns, they tell us how fabulous the upcoming product are in a variety of ways.... luring us in...   You know most of us are Artists.
    Just make sure you make it known other than looking at the tech spec page... say like on the page where the shopping cart option is?   Epson's printer wouldn't calibrate with the Adobe PS4 a few years ago.  It took us months to figure out that, it had nothing to do with our calibration process. Finally....after speaking to Epson, they walked us through varies steps etc... hundreds of dollars later, we were able to get a good print, it turns out the Adobe 4 software was not compatible at that time with the new Epson software.   So here we go again...   
    Be good to us Adobe...this was a bit out of your norm.  Thanks

  • Itunes upgraded but won't launch with Windows 7

    Hi
    I upgraded to the most recent version of iTunes 2 days ago (5 April 2010) and now iTunes simply won't launch at all. I have tried some of the remedies in the posts and have even tried a complete reinstall but iTunes still will ot launch.
    Does anyone have any suggestions? Thanks in advance

    I had the same problem: after updating to iTunes 9.1 (no errors) I just couldn't launch it. In Task Manager I saw that the iTunes process was running but it never really opened.
    After nights of frustration of scanning the net for solutions I finally managed to get iTunes to run again.
    1) Firstly I deleted the new iTunes 9.1 and all programmes associated with it according to the directions given here: http://support.apple.com/kb/ht1923
    It also mentions you should remove the Bonjour service but I could never make that work (no privileges or something like that).
    2) After that I reinstalled a previous version of iTunes. In this case 9.0.3.15. I got the download here: http://www.oldapps.com/itunes.php
    3) Then I disabled the Bonjour service with the MSCONFIG method mentioned at http://support.apple.com/kb/HT2292?viewlocale=en_US
    There they state that you should check which service clashes with Windows by trying to disable one service at a time. I found out pretty quickly that it was just the Bonjour service that caused the problems. All other services could run normally.
    After the reboot iTunes finally started up again and I was able to restore my library.
    Only thing is that I can not use the Remote App on my iPod Touch. That apparently required the use of Bonjour.
    I hope this method helps for some of you!
    Cheers,
    Bart

  • Reader 10 X won't launch with changed thumbnail icon

    Hey guys,
    I'm have an issue with getting Acrobat Reader to launch from a 3rd party program.  Basically, in this program, you click 'view' and the pdf opens in Reader.  However, on one of my computers, this isn't working.  It looks like my computer's PDF default was set to launch in Windows Media Center, so I changed the default to launch with Adobe Reader.  Now, in Windows Explorer, double clicking on any PDF file will launch Reader, but the icon is weird (see below) and the 3rd party program does nothing, as if it's confused as to what program to use.
      ------->      
    See how the Adobe logo doesn't take up the whole icon place?  Why is the logo on a white sheet of paper here?  I suspect this is causing issues with the 3rd party program.
    I have uninstalled Reader 10 and even reinstalled with 9... same issue.
    Running Win7 32-bit.
    ANY IDEAS?
    Thank you!
    ============ UPDATE =============
    I just downloaded Adobe Acrobat X Pro.  I changed the PDF default program to X Pro and that's normal now.  Normal icon and 3rd party program launches Acrobat.  But when I switch the default back to the regular Reader, the icon changes to the image above and my program won't launch Reader.  Any ideas other than purchasing Pro?  What gives? 

    The only other idea I have to make sure Reader is uninstalled completely; use the Acrobat Cleaner Tool from http://labs.adobe.com/downloads/acrobatcleaner.html
    Note: this tool will also uninstall Acrobat if it's installed on that computer.

  • ITunes won't launch with Leopard

    Hi!
    I recently purchashed and installed Leopard on my MacBook, and ever since the OS upgrade I cannot launch iTunes. At first I kept getting an annoying error message (8791) with an older version of iTunes (v7.4.2). I asked for help here in the discussions forum, and was advised according to this thread: http://discussions.apple.com/thread.jspa?threadID=1207611&tstart=0 - which unfortunately left me at a dead end. Then I figured an updated version might do the trick, but after installing v7.5 iTunes still will not launch - with the updated version I don't even get an error message - it just ignores the launch command all together...
    Anyone - please help!

    I am having the same problem and have followed the same advice with the same results. In addition my finder is missing the searchlight field and reboots every time I try to open finder preferences. I also can't open photoshop. I get the message "Could not initialize Photoshop because there is not enough memory (RAM). I'm running a macbook pro. I don't know if this additional info helps but I am desperate.

  • LE 9 won't launch with 10.7.2 after installing on 2nd iMac

    I installed the LE 9 Upgrade onto a 2nd iMac running 10.7.2 but it won't launch.
    I get an error message saying something along the lines of "This version of Logic Express (9) will not run on this version of OX S"
    OS X 10.7.2 is installed.
    I tried launching it unconnected from network but still no luck.
    The EULA allows for installtion on up to 2 computers owned by me - which both are.

    After updating to 9.1.5 it now works.
    Did so before seeing the above suggestion but forgot to post that the problem was fixed.
    Thx!

  • Itunes 7.6 won't launch with 10.4.11

    I've been trying to launch itunes for months now with the new update. I'm running 10.4.11. Does anyone have a solution? I'm really thinking of switching over to PC because this issue is really getting to me. I have all these songs purchased and I can't burn them to disk. Help please

    hmm.. I think 10.4.11 is a potential iTunes killer. You'll need to Archive and Install from the original system discs and this should solve the problem without losing any tracks or playlists.
    Additionally, my iPhone would then not sync with iTunes once I had done this so I had to download the latest iTunes and install over my existing copy (no need to de-install iTunes). Now all problems solved.
    Worth also mentioning that if you are running QuarkXpress 7 you will need to re-install after an Archive and Install as it won't open.

  • [Solved] Audition won't start with [...\Preferences.cpp-253] error on windows 7/vista x64.

    Hi! You have really nice support for Audition - 3 pages of problems here and no solution. Just kidding
    So i've decided to help those poor users, that encounter the following problem (it may (or may not) arise after installing Adobe CS* with Audition already installed on the system)):
    Adobe Audition crashes at start with the following error:
    [\premiere2.0\Backend\Src\Core\Preferences.cpp-253]
    After applying the Windows XP compatibility mode error chages to:
    Adobe Audition could not find a supported audio device. Please check your device settings.
    Then it crashes like before.
    Uninstalling Adobe Premiere won't help, by the way.
    This problem is somehow related to the audition_settings.xml file in the Data folder and deleting this file solves the problem. You can aslo delete the whole folder - it will be created again on a next Adobe Audition start. Here is the path:
    C:\Users\[Your Username]\AppData\Roaming\Adobe\Audition\3.0\audition_settings.xml
    Some technical data on my system:
    OS: Windows Server 2008 R2 (don't be confused - it is in every way identical to Windows 7 x64, at least for Adobe products). I have a strong feeling that Vista x64 users may encounter that too.
    Installed Adobe products:
    1. Adobe Audition
    2. Adobe Master Suite CS5 (without premier)
    3. Adobe Acrobat X
    I hope that my post will help you solve the error in the next release!

    the primary hard disk self test fail at 01%

  • Openoffice 2.3.1 won't launch with X11 2.1.1 under Leopard 10.5.2

    Hi,
    I have noticed that with every version of X11 > 2.1.1, Openoffice won't start.
    It does launch, but nothing happens.
    Removing the X11 versions 2.1.2, 2.1.3 or 2.1.4 in a "clean manner" via Appdelete and then re-installing X11 2.1.1 makes Openoffice starting and working again.
    GIMP and Inkscape are not affected since they fully work with all X11 versions mentionned.
    Don't know the reason for this problem.
    However, since it is related to the version of X11, this must be a X11 bug.
    P.S. see also this thread : http://discussions.apple.com/thread.jspa?threadID=1389757&tstart=0

    I've just tested the following thing :
    Clean deinstall X11 2.1.1 and Openoffice 2.3.1 with Appdelete.
    Install X11 2.1.4 (latest)
    Reboot
    Install Openoffice 2.4.0RC4
    Same problem.
    X11 works fine with GIMP or Inkscape.
    OOo launches, but does not start at all.
    So this is truly a X11 problem.
    Worse : the supposely fixed "Command timed out" window error that shows up at OOo launch is still here...

  • Fennec won't launch with Weave installed without toggling "safe-mode"

    I'm having a strange problem with fennec and weave on my Nokia n810. Once i have run fennec with weave installed (and waited for the sync to finish), I can no longer launch fennec. Launching fennec from xterm just returns me to the command prompt.
    If I then launch fennec in safe-mode, close, then start in "normal" mode, everything works. But I have to launch fennec in safe-mode once before it will run again with weave installed. This is definitely repeatable.
    I've done clean installs of fennec, I've completely deleted my profile, but the problem persists.
    Hoping somebody here might have some ideas...
    == Extensions installed: ==
    weave

    more details on this:
    Nokia-N810-43-7:/root$ fennec
    fennec[1527]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x40e03040, ce037a14-b509-45c7-bbf7-7b67579da12e, WLAN_INFRA, 0)
    Safe Mode:
    Nokia-N810-43-7:/root$ fennec -safe-mode
    fennec[1543]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x40d5bb80, ce037a14-b509-45c7-bbf7-7b67579da12e, WLAN_INFRA, 0)
    After a launch in safe mode:
    Nokia-N810-43-7:/root$ fennec
    fennec[1567]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x40d5bb80, ce037a14-b509-45c7-bbf7-7b67579da12e, WLAN_INFRA, 0)
    fennec[1567]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x40d63b80, ce037a14-b509-45c7-bbf7-7b67579da12e, WLAN_INFRA, 0)

  • [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)

    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)

  • IMovie HD won't launch with mytv.pvr pluged in to the USB bus

    I recently purchased te Eskape mytv.pvr. After installing it the iMovie HD would crash when launched. If I unplug the mytv.pvr, iMovie launched and works fine. When the mytv.pvr plugin, iMovie quit the the "The application iMove HD quit unexpectedly." error Has anyone else had this problem, or know a solution?
    Machine Name: Power Mac G5
    Machine Model: PowerMac7,2
    CPU Type: PowerPC 970 (2.2)
    Number Of CPUs: 2
    CPU Speed: 2 GHz
    L2 Cache (per CPU): 512 KB
    Memory: 6 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.5f0
    g5 PowerMac7,2   Mac OS X (10.4.9)  

    Mike;
    I do not have any personal experience with Eskape mytv.pvr, but I have not been able to find any positive feedback regarding it in conjunction with imovie, iDVD, QuickTime or even iSight. i just do not think it will work.
    Looks like your best bet it is take it back and get EyeTV or you could send the file into Toast Titanium, control-click and save the file to your HD.
    Toast will convert the movie into a DV file for imovie. to use.
    Sue

  • Aperture Won't Launch With 2 Video Cards

    I use 3 monitors with my G5 Dual 2.5GHz for running a number of programs simultaneously and also for Final Cut Pro editing. In the center is an Apple 23" HD Cinema Display. On the left is an Apple 15" DVI flat screen and on the right is an Apple 15" VGA flat screen.
    Aperture will not launch at all. It gives me an error stating that the video card is not supported. The main card is a GeForce 6800 GT DDR that has the 23" and the 15" DVI connected. The problem is the Radeon 7000 that has the 15" VGA hooked up. I took the Radeon out and Aperture ran fine so I know where the problem lies.
    Obviously I cannot keep taking the Radeon in an out of the G5 whenever I want to use different programs. Does anyone have any suggestions? I hope Apple will have an update where you can tell Aperture what monitors to use or video card to ignore. That should alleviate the problem. Is there a way of using Terminal to turn off the Radeon which would allow Aperture to run? I just bought this program and was all excited to start using it. Now I'm bummed. Any help is greatly appreciated.
    Thanks,
    Power Mac G5 Dual 2.5GHz   Mac OS X (10.4.7)  

    Maybe there is a way to turn the Radeon 7000 on and off through Terminal? Some process I can quit to run Aperture on the 2 monitors connected to the nVidia GeForce 6800GT and then restart that process when I'm done so I can go back to using 3 monitors?
    Thanks.
    Power Mac G5 Dual 2.5GHz   Mac OS X (10.4.7)  

Maybe you are looking for

  • ISO problem for 808 pureview

    For the last 22 months, I have been using 808 pureview & the thing I love the most is it's 41 mega pixel camera. Everything was fine until my phone's WIfi module failed to work. I gave the phone for repair & now what I got back is a sodding piece of

  • Creating an email inside DPS without the prompt "Are you sure you want to leave..."?

    In my search to insert a button that creates an email, I found this spectacularly helpful article by jlockman Sending email and email attachments from DPS publications Using his code as a template, I was able to do exactly what I wanted. Now my artic

  • WebDynpro ABAP with ECC5.0

    Some of our developers would like to use WebDynPro ABAP. is this available with ECC5.0? If not what is the process of getting this installed/configured? Do we need to upgrade to ECC 600/700? Thanks

  • Partner Relationship for Product

    Hi, I have added partner relationship for product with specific start/end dates values (In my case, I added driver relationship for vehicle through CIC0 transaction). Through transaction only date (without time) is displayed, while in database the fi

  • Non printing characters

    Hi, I was cutting and pasting code from a post http://forum.java.sun.com/thread.jspa?forumID=54&threadID=766671 To have some fun and see if I could get it to work. Had some trouble at first, got some advice and eventually got it to work. When I paste