#3070 closed bug (Fixed)
[Plugin] [Blocklist] Exception: list index out of range
Reported by: | techron | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | Plugin | Version: | 1.3.15 |
Keywords: | Cc: |
Description
The URL was 113 characters in length and the archive (.gz) was 4.1MB compressed that is 18.1MB uncompressed (.txt) file.
C:\Program Files (x86)\Deluge>deluge-debug.exe Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range Unhandled Error Traceback (most recent call last): File "twisted/python/log.py", line 101, in callWithLogger File "twisted/python/log.py", line 84, in callWithContext File "twisted/python/context.py", line 118, in callWithContext File "twisted/python/context.py", line 81, in callWithContext --- <exception caught here> --- File "twisted/internet/selectreactor.py", line 149, in _doReadOrWrite File "twisted/internet/tcp.py", line 208, in doRead File "twisted/internet/tcp.py", line 214, in _dataReceived File "twisted/protocols/basic.py", line 571, in dataReceived File "twisted/web/http.py", line 468, in lineReceived File "twisted/web/client.py", line 145, in handleEndHeaders File "deluge\httpdownloader.py", line 89, in gotHeaders exceptions.IndexError: list index out of range
Change History (6)
comment:1 Changed 6 years ago by techron
- Summary changed from [Plugin] Blocklist Exception: list index out of range to [Plugin] [Blocklist] Exception: list index out of range
comment:2 Changed 6 years ago by techron
- Component changed from Unknown to Plugin
- Version changed from other (please specify) to 1.3.15
comment:3 Changed 6 years ago by Cas
- Milestone changed from needs verified to 1.3.16
comment:4 Changed 6 years ago by Cas
comment:5 Changed 5 years ago by Cas
- Resolution set to Fixed
- Status changed from new to closed
Fixed: [ffb8d9f8c]
comment:6 Changed 13 months ago by Cas
- Milestone changed from 1.3.16 to Future
Ticket retargeted after milestone deleted
Note: See
TracTickets for help on using
tickets.
Hmm httpdownloader is not able to handle a content-disposition without ; or =. In fact it doesn't look like it is correctly parsing for filename parameter!
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition