You are not logged in.

#1 2008-01-18 15:29:05

nDray
Member
From: Portugal
Registered: 2007-01-21
Posts: 143
Website

new sonata is bugs all over the place

Since the latest update to sonata, I sometimes experience lots of bugs...

Right now, for example, I can't use pause/stop, etc... I closed it and tried to start again, it doesn't even start...
I get lots of these:

~$ sonata
Traceback (most recent call last):
  File "/usr/bin/sonata", line 49, in <module>
    app = sonata.Base()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 1149, in __init__
    self.updatedb(None)
  File "/usr/lib/python2.5/site-packages/sonata.py", line 4595, in updatedb
    self.iterate_now()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 1784, in iterate_now
    self.iterate()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 1741, in iterate
    self.handle_change_status()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 3357, in handle_change_status
    if self.scrob_playing_duration > 4 * 60 or self.scrob_playing_duration > int(self.prevsonginfo.time)/2:
  File "/usr/lib/python2.5/site-packages/mpdclient3.py", line 311, in __getattr__
    raise AttributeError
AttributeError
~$

Sometimes I can't replace playlists, too, on lower-level directory trees, I have to go the music files themselves...
I'm sure there were other problems I can't remember right now...

Is this an Archlinux problem or Sonata's own?

Offline

#2 2008-01-18 15:31:19

xsdnyd
Member
Registered: 2007-04-28
Posts: 110

Re: new sonata is bugs all over the place

i don't have these problems.
perhabs upgrading to mpd-svn fixes your problem.

mpd-svn is available on aur


We can't stop here! This is bat country!!

Offline

#3 2008-01-18 15:39:37

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: new sonata is bugs all over the place

Well this is some python error, but Sonata runs fine over here (1.4).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2008-01-18 17:33:27

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: new sonata is bugs all over the place

Your traceback makes it look like the audioscrobbler support is acting up. Try editing ~/.config/sonata/sonatarc and setting use_audioscrobbler to false and see if errors still come up. If this fixes it, I'd suggest contacting the author of sonata (he is an Arch user, stonecrest on IRC).

Offline

#5 2008-01-21 22:47:54

akrito
Member
Registered: 2006-09-29
Posts: 10

Re: new sonata is bugs all over the place

I also experienced a bad bug with the new Sonata.  In particular, Sonata wouldn't start, and died with the following:

Taglib and/or tagpy not found, tag editing support disabled.
ZSI not found, fetching lyrics support disabled.
Taglib and/or tagpy not found, tag editing support disabled.
ZSI not found, fetching lyrics support disabled.
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 1137, in __init__
    self.iterate_now()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 1784, in iterate_now
    self.iterate()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 1739, in iterate
    self.handle_change_conn()
  File "/usr/lib/python2.5/site-packages/sonata.py", line 2161, in handle_change_conn
    self.trayimage.set_from_pixbuf(self.get_pixbuf_of_size(gtk.gdk.pixbuf_new_from_file(self.eggtrayfile), self.eggtrayheight)[0])
  File "/usr/lib/python2.5/site-packages/sonata.py", line 4774, in get_pixbuf_of_size
    if image_width-size > image_height-size:
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

Removing ~/.config/sonata/ fixed it.

Offline

#6 2008-01-22 21:42:24

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

Re: new sonata is bugs all over the place

akrito wrote:

I also experienced a bad bug with the new Sonata.  In particular, Sonata wouldn't start, and died with the following:

Thanks, this is fixed in svn. (I doubt most users would stumble upon this bug.)


I am a gated community.

Offline

#7 2008-01-22 21:58:28

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

Re: new sonata is bugs all over the place

nDray wrote:

File "/usr/lib/python2.5/site-packages/sonata.py", line 3357, in handle_change_status
    if self.scrob_playing_duration > 4 * 60 or self.scrob_playing_duration > int(self.prevsonginfo.time)/2:

I'm not really sure how you got this error (it indicates that mpd didn't have a song length for your previously played song?), but I believe the traceback should be prevented in svn.

nDray wrote:

Sometimes I can't replace playlists, too, on lower-level directory trees, I have to go the music files themselves...

It works here. If you can tell me how to reproduce the issue, I'll fix it.


I am a gated community.

Offline

#8 2008-02-02 00:26:18

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: new sonata is bugs all over the place

I get the same error as akrito.

It only happens when I disable the system tray icon.  Once I do that I have to remove .config/sonata to get it to work again.

Last edited by semperfiguy (2008-02-03 01:02:26)

Offline

#9 2008-03-11 19:56:16

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: new sonata is bugs all over the place

akrito wrote:

Removing ~/.config/sonata/ fixed it.

thanks a lot for this line. can't make sonata work for some time smile


No cause is lost if there is but one fool left to fight for it.

Offline

Board footer

Powered by FluxBB