Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7624 - Error in new sonata 1.2-1

Attached to Project: Arch Linux
Opened by Emilio Pavia (emix) - Monday, 16 July 2007, 12:40 GMT
Last edited by Dan McGee (toofishes) - Monday, 16 July 2007, 18:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To James Rayner (iphitus)
Scott H (stonecrest)
Dan McGee (toofishes)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Sonata doesn't start anymore with the new version installed today.

Additional info:
This is the output of the command 'sonata':

[emix@desktop apps]$ sonata
Taglib and/or tagpy not found, tag editing support disabled.
SOAPpy not found, fetching lyrics support disabled.
Traceback (most recent call last):
File "/usr/bin/sonata", line 50, in <module>
app = sonata.Base()
File "/usr/lib/python2.5/site-packages/sonata.py", line 539, in __init__
self.connect(blocking=True)
File "/usr/lib/python2.5/site-packages/sonata.py", line 1256, in connect
self.connect2(blocking, force_connection)
File "/usr/lib/python2.5/site-packages/sonata.py", line 1268, in connect2
self.conn = Connection(self)
File "/usr/lib/python2.5/site-packages/sonata.py", line 161, in __init__
mpdclient3.connect(host=host, port=port, password=password)
File "/usr/lib/python2.5/site-packages/mpdclient3.py", line 338, in connect
conn.password(password)
AttributeError: 'mpd_connection' object has no attribute 'password'

Steps to reproduce:
Run 'sonata'.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 16 July 2007, 18:51 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Not an arch bug, but will be fixed upstream. See comments for resolution and fix.
Comment by Emilio Pavia (emix) - Monday, 16 July 2007, 16:59 GMT
It seems to be a bug of this release when using a password. The CHANGELOG reports

* Bug: MPD_HOST variable doesn't work when it includes password
Comment by Dan McGee (toofishes) - Monday, 16 July 2007, 17:02 GMT
I built this package last night and it is working fine for me, so I don't think this is completely a packaging issue.

Do you have a corrupt ~/.sonatarc or ~/.config/sonata/sonatarc perhaps? You may want to back these up, remove them, and try starting sonata.
Comment by Dan McGee (toofishes) - Monday, 16 July 2007, 17:04 GMT
That may explain it then. Thanks for looking into the changelog. Can this be worked around?
Comment by Emilio Pavia (emix) - Monday, 16 July 2007, 17:48 GMT
It can be worked around not using a password in MPD.
Comment by Scott H (stonecrest) - Monday, 16 July 2007, 18:20 GMT
Are you setting a password through Sonata's preferences or are you using a password with $MPD_HOST? I'll have to fix this when I get home from work.
Comment by Scott H (stonecrest) - Monday, 16 July 2007, 18:28 GMT
Actually, if you want to test something.. try changing line 338 in mpdclient3.py from:

conn.password(password)

to

conn.do.password(password)

and see if that fixes it. I'm flying blind though, so that still might not be correct ;-)
Comment by Emilio Pavia (emix) - Monday, 16 July 2007, 18:34 GMT
I set the password through Sonata's preferences.

Anyway, I changed "conn.password(password)" to "conn.do.password(password)" and now it works.
Comment by Scott H (stonecrest) - Monday, 16 July 2007, 18:35 GMT
Cool, it'll be fixed upstream tonight then. Thanks for the bug report and testing.

Loading...