Got this warning trying to update blocklist
[DEBUG ] 21:17:16 core:259 Attempting to download blocklist http://cdn2.iblocklist.com/files/eqkgwz ... aybcssw.gz
[DEBUG ] 21:17:16 core:260 Sending headers: {'If-Modified-Since': 'Mon, 06 Aug 2018 22:11:48 GMT'}
[WARNING ] 21:17:16 core:305 Blocklist download failed: 200 OK
[DEBUG ] 21:17:16 core:307 Let's try again
[DEBUG ] 21:17:16 core:259 Attempting to download blocklist http://list.iblocklist.com/?list=ydxerp ... eformat=gz
[DEBUG ] 21:17:16 core:260 Sending headers: {'If-Modified-Since': 'Mon, 06 Aug 2018 22:11:48 GMT'}
[DEBUG ] 21:17:16 core:259 Attempting to download blocklist http://cdn1.iblocklist.com/files/eqkgwz ... aybcssw.gz
[DEBUG ] 21:17:16 core:260 Sending headers: {'If-Modified-Since': 'Mon, 06 Aug 2018 22:11:48 GMT'}
[WARNING ] 21:17:16 core:305 Blocklist download failed: 200 OK
[DEBUG ] 21:17:16 core:307 Let's try again
Did a little digging to find the cause because de logs were no use then I got this by printing the stacktrace :
[WARNING ] 21:59:55 core:306 Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 209, in doRead
return self._dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 215, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 571, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 459, in lineReceived
self.handleEndHeaders()
File "/usr/lib/python2.7/dist-packages/twisted/web/client.py", line 144, in handleEndHeaders
self.factory.gotHeaders(self.headers)
File "/usr/lib/python2.7/dist-packages/deluge/httpdownloader.py", line 89, in gotHeaders
new_file_name = str(headers["content-disposition"][0]).split(";")[1].split("=")[1]
IndexError: list index out of range
iblocklist site http headers return
Code: Select all
Content-Disposition: attachment
Code: Select all
Content-Disposition: attachment; filename="filename.ext"
Thanks.