Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Traceback] builtins.ValueError: ('Stumped', b'\x01') #36

Open
1wilkens opened this issue Aug 13, 2019 · 2 comments
Open

[Traceback] builtins.ValueError: ('Stumped', b'\x01') #36

1wilkens opened this issue Aug 13, 2019 · 2 comments
Labels

Comments

@1wilkens
Copy link
Member

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/twisted/python/log.py", line 103, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python3.6/site-packages/twisted/python/log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python3.6/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/lib/python3.6/site-packages/twisted/internet/tcp.py", line 243, in doRead
    return self._dataReceived(data)
  File "/usr/lib/python3.6/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/usr/lib/python3.6/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "/usr/lib/python3.6/site-packages/twisted/conch/telnet.py", line 585, in dataReceived
    raise ValueError("Stumped", b)
builtins.ValueError: ('Stumped', b'\x01')
@1wilkens 1wilkens added the bug label Nov 6, 2019
@ekaxis
Copy link

ekaxis commented Sep 10, 2020

poderia dar mais detalhes de em que cenário o erro ocorre para que seja possível reproduzi-lo ?

@ekaxis
Copy link

ekaxis commented Sep 14, 2020

na linha 97 no arquivo HTTPService.py adicionar o parâmetro errors="ignore", ficaria:

data = data.decode('utf-8', errors="ignore")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants