Opened 3 years ago

Closed 3 years ago

#1099 closed defect (invalid)

crash with rlslog

Reported by: paranoidi Owned by:
Priority: major Milestone: 1.0
Component: Plugins Keywords:
Cc: Version (eg. 1.0r2700):

Description

BUG: Unhandled error in plugin rlslog:
Traceback (most recent call last):
  File "/home/xxx/apps/flexget-dev/flexget/feed.py", line 401, in __run_phase
    response = method(self)
  File "/home/xxx/apps/flexget-dev/flexget/event.py", line 18, in __call__
    return self.func(*args, **kwargs)
  File "/home/xxx/apps/flexget-dev/flexget/utils/cached_input.py", line 76, in wrapped_func
    response = func(*args, **kwargs)
  File "/home/xxx/apps/flexget-dev/flexget/plugin.py", line 117, in wrapped_func
    return func(*args, **kwargs)
  File "/home/xxx/apps/flexget-dev/flexget/plugins/input/rlslog.py", line 129, in on_feed_input
    releases = self.parse_rlslog(url, feed)
  File "/home/xxx/apps/flexget-dev/flexget/plugins/input/rlslog.py", line 47, in parse_rlslog
    soup = get_soup(page)
  File "/home/xxx/apps/flexget-dev/flexget/utils/soup.py", line 17, in get_soup
    return parser.parse(obj)
  File "build/bdist.linux-x86_64/egg/html5lib/html5parser.py", line 211, in parse
    parseMeta=parseMeta, useChardet=useChardet)
  File "build/bdist.linux-x86_64/egg/html5lib/html5parser.py", line 106, in _parse
    useChardet=useChardet, **kwargs)
  File "build/bdist.linux-x86_64/egg/html5lib/tokenizer.py", line 44, in __init__
    self.stream = HTMLInputStream(stream, encoding, parseMeta, useChardet)
  File "build/bdist.linux-x86_64/egg/html5lib/inputstream.py", line 159, in __init__
    self.charEncoding = self.detectEncoding(parseMeta, chardet)
  File "build/bdist.linux-x86_64/egg/html5lib/inputstream.py", line 207, in detectEncoding
    encoding = self.detectBOM()
  File "build/bdist.linux-x86_64/egg/html5lib/inputstream.py", line 285, in detectBOM
    self.rawStream.seek(encoding and seek or 0)
  File "build/bdist.linux-x86_64/egg/html5lib/inputstream.py", line 50, in seek
    assert pos < self._bufferedBytes()
AssertionError

Change History (1)

comment:1 Changed 3 years ago by paranoidi

  • Resolution set to invalid
  • Status changed from new to closed

Nothing flexget can do to fix this, html5lib problem. Forwarded to them.

Note: See TracTickets for help on using tickets.