Skip to content

OverflowError: Python int too large to convert to C ssize_t #181

@themixray

Description

@themixray
ERROR:tornado.application:Uncaught exception GET /?app=index&session=NEW (164.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:53945', method='GET', uri='/?app=index&session=NEW', version='HTTP/1.1', remote_ip='164.0.0.1')
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\web.py", line 1704, in _execute
    result = await result
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pywebio\platform\tornado.py", line 108, in get
    await super().get()
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 278, in get
    await self.ws_connection.accept_connection(self)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 879, in accept_connection
    await self._accept_connection(handler)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 962, in _accept_connection
    await self._receive_frame_loop()
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 1116, in _receive_frame_loop
    await self._receive_frame()
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 1205, in _receive_frame
    handled_future = self._handle_message(opcode, data)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 1217, in _handle_message
    data = self._decompressor.decompress(data)
  File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\tornado\websocket.py", line 799, in decompress
    data + b"\x00\x00\xff\xff", self._max_message_size
OverflowError: Python int too large to convert to C ssize_t

Environment Information

  • OS: Windows 10
  • Browser: Firefox
  • Python Version: Python 3.7.9
  • PyWebIO Version: 1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions