rembo10/headphones — Issue #495: IncompleteRead Error
Author: hopey
Created: 2012-02-25 15:52:28+00:00
State: open

Hi, have seen this error daily when the wanted album list is checked against nzbmatrix.

Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 552, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "D:\Newsgroups\Scripts\headphones\headphones\searcher.py", line 77, in searchforalbum
foundNZB = searchNZB(result['AlbumID'], new)
File "D:\Newsgroups\Scripts\headphones\headphones\searcher.py", line 162, in searchNZB
data = urllib2.urlopen(searchURL, timeout=20).read()
File "C:\Python27\lib\socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "C:\Python27\lib\httplib.py", line 541, in read
return self._read_chunked(amt)
File "C:\Python27\lib\httplib.py", line 586, in _read_chunked
raise IncompleteRead(''.join(value))
IncompleteRead: IncompleteRead(409 bytes read)

It fails at random, not always when looking up the same album.