jesseward/discogstagger — Issue #1: TypeError: get() takes exactly 1 argument (3 given)
Author: cmaussan
Created: 2012-02-12 17:28:47+00:00
State: open

Hi,

First of all, I'm not a power user of python. I try to run your script with python 2.7.2, mutagen 1.20 and requests 0.10.1 and I have this error :

Traceback (most recent call last):
File "./discogs_tagger.py", line 488, in
logging.info("Tagging album '%s - %s'" % (release.artist, release.title))
File "./discogs_tagger.py", line 140, in artist
artist = self.release.artists[0]
File "/home/cmaussan/code/ext/discogstagger/discogs_client.py", line 141, in artists
self._artists = [Artist(a['name']) for a in self.data.get('artists', [])]
File "/home/cmaussan/code/ext/discogstagger/discogs_client.py", line 52, in data
if self._response.content and self._response.status_code == 200:
File "/home/cmaussan/code/ext/discogstagger/discogs_client.py", line 38, in _response
self._cached_response = requests.get(self._uri, self._params, self._headers)
TypeError: get() takes exactly 1 argument (3 given)

Do you know how to solve this ?

Thanx,

Camille.