audioscrobbler throws traceback on load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Low
|
Giorgos Keramidas |
Bug Description
The audioscrobbler plugin from the latest bzr version that I merged this afternoon into my local branch:
revno: 4357.1.8
fixes bug: https:/
committer: Mathias Brodala <email address hidden>
branch nick: trunk
timestamp: Thu 2013-03-07 23:18:16 +0100
message:
* AudioScrobbler: Use initial post URL for re-login after a bad session response
(Fixes: bug #501190)
fails to load, and throws a traceback like:
19:15:24,135:DEBUG : Loaded plugin audioscrobbler (xl.plugins)
19:15:24,136:DEBUG : Exception caught!
Traceback (most recent call last):
File "/usr/local/
scrobbler.
File "/usr/local/
INITIAL_URL = INITIAL_URL or post_url
UnboundLocalError: local variable 'INITIAL_URL' referenced before assignment
(xl.common)
** (exaile.py:7804): CRITICAL **: clearlooks_
The attached patch fixed this for me, by making INITIAL_URL visible as a 'global' name in the _scrobbler.py startup code:
Related branches
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Thanks, fixed with r4366 in trunk.