puddletag / puddletag

Powerful, simple, audio tag editor for GNU/Linux
http://docs.puddletag.net
Other
423 stars 54 forks source link

[1.0.0beta2] Mp3tag tag sources not working #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
According to the 1.0.0beta1/2 changelog, Puddletag should have full support for 
Mp3tag tag sources, however, it's not working for me.

I've tried various Mp3tag tag sources: Google Image Cover Search [1], a lyrics 
plugin [2], some last.fm sources [3] and one for the metal archives [4] and 
none work.

Here's the error for the first one (google image cover search - this doesn't 
even shows up in the menu, the other sources do show up):
Couldn't load Mp3tag Tag Source 
/home/andrei/.puddletag/mp3tag_sources/Google_Images_Cover_Search_1.5.src
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/puddlestuff/webdb.py", line 71, in load_mp3tag_sources
    classes.append(mp3tag.Mp3TagSource(idents, search, album))
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 297, in __init__
    self.album_url = idents['albumurl']
KeyError: 'albumurl'

And for the second one (lyricWiki):
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/puddlestuff/webdb.py", line 770, in search
    primary, group[primary]))
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 312, in search
    album = self.retrieve(artist)
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 326, in retrieve
    info = {'#url': self.album_url % info}
TypeError: not all arguments converted during string formatting

And third (last.fm artist picture):
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/puddlestuff/webdb.py", line 770, in search
    primary, group[primary]))
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 312, in search
    album = self.retrieve(artist)
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 332, in retrieve
    page = get_encoding(urlopen(url), True, 'utf8')[1]
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/discogs.py", line 294, in urlopen
    data = urllib2.urlopen(request).read()
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 394, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 412, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''

The Metal archives:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/puddlestuff/webdb.py", line 770, in search
    primary, group[primary]))
  File "/usr/lib/pymodules/python2.7/puddlestuff/tagsources/mp3tag/__init__.py", line 315, in search
    url = self._search_base % artist
TypeError: not enough arguments for format string

[1] http://forums.mp3tag.de/index.php?showtopic=12596
[2] http://forums.mp3tag.de/index.php?showtopic=2184
[3] http://forums.mp3tag.de/index.php?showtopic=6536
[3] http://forums.mp3tag.de/index.php?showtopic=6767

Original issue reported on code.google.com by nilarimo...@gmail.com on 23 Jan 2012 at 6:12

GoogleCodeExporter commented 9 years ago
All fixed in dev. If there're still problems, let me know.

Original comment by Concentr...@gmail.com on 24 Jan 2012 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by Concentr...@gmail.com on 3 Jun 2012 at 10:15