Closed GoogleCodeExporter closed 9 years ago
Please try it with the 0.5.6 version. If the problem still persists, attach
a python script that produces this error.
-- Amr
Original comment by amr.hassan
on 15 Jan 2011 at 11:12
Seriously, the diff between 0.5.5 and 0.5.6 is one unrelated line of code...
Original comment by stein.ma...@jodal.no
on 15 Jan 2011 at 11:25
Please attach a Python script with parameters to _Network.scrobble that
reproduces this problem.
Original comment by amr.hassan
on 15 Jan 2011 at 11:42
It's hard to reproduce since it may be dependent on both finding the right
track and the response from Last.fm. Though, looking at the byte found and the
position I think this may be due to gzip compression of the response:
-
http://stackoverflow.com/questions/3804572/encoding-problem-downloading-html-usi
ng-mechanize-and-python-2-6
-
http://www.velocityreviews.com/forums/t724029-unicodedecodeerror-having-fetch-we
b-page.html
If the web service is well behaved, it may be enough to add a header to the
request specifying that you're not interested in gzipped responses.
Original comment by stein.ma...@jodal.no
on 15 Jan 2011 at 12:44
It doesn't make sense to assume this is a compression problem since it works
fine without decompressing any responses. It wouldn't be sending compressed
responses randomly. Your problem may have been caused by a network error. You
should start logging your scrobbles and see if any reproduces the issue and
report back when that happens.
Original comment by amr.hassan
on 15 Jan 2011 at 1:01
This bug should also be fixed by r242.
Original comment by stein.ma...@jodal.no
on 21 Jan 2011 at 10:04
Original comment by amr.hassan
on 21 Jan 2011 at 10:08
Original issue reported on code.google.com by
stein.ma...@jodal.no
on 15 Jan 2011 at 11:07