Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#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 by techron, 7 years ago

Summary: [Plugin] Blocklist Exception: list index out of range[Plugin] [Blocklist] Exception: list index out of range

comment:2 by techron, 7 years ago

Component: UnknownPlugin
Version: other (please specify)1.3.15

comment:3 by Calum, 7 years ago

Milestone: needs verified1.3.16

comment:4 by Calum, 7 years ago

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

comment:5 by Calum, 7 years ago

Resolution: Fixed
Status: newclosed

Fixed: [ffb8d9f8c]

comment:6 by Calum, 3 years ago

Milestone: 1.3.16Future

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.