Git Product home page Git Product logo

Comments (4)

methane avatar methane commented on July 29, 2024

I won't pay my time and energy to investigate your issue.
If you find a bug of this project, please report it with reproducible simple example.

from tornado-mysql.

52lemon avatar 52lemon commented on July 29, 2024

i got the same error
`
[2019-10-16 20:30:44 web.py:log_request:2106 ERROR] 500 GET /question/list?pre=0 (127.0.0.1) 21179.28ms
[2019-10-16 20:30:44 web.py:log_exception:1621 ERROR] Uncaught exception GET /answer/status/current (127.0.0.1)
HTTPServerRequest(protocol='http', host='127.0.0.1:9000', method='GET', uri='/answer/status/current', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado_mysql\connections.py", line 833, in _read_packet
packet_header = yield self._stream.read_bytes(4)
File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
value = future.result()
tornado.iostream.StreamClosedError: Stream is closed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\web.py", line 1543, in _execute
    result = yield result
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\handlers\answer_handlers.py", line 143, in get
    data = yield get_answer_status(self.current_user)
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\database\sql_utils\answer.py", line 28, in get_answer_status
    conn = yield async_connect()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado_mysql\__init__.py", line 88, in connect
    yield conn.connect()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado_mysql\connections.py", line 800, in connect
    yield self._request_authentication()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado_mysql\connections.py", line 960, in _request_authentication
    auth_packet = yield self._read_packet()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1099, in run
    value = future.result()
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado\gen.py", line 1107, in run
    yielded = self.gen.throw(*exc_info)
  File "F:\PycharmProjects\tequila\venv\lib\site-packages\tornado_mysql\connections.py", line 845, in _read_packet
    raise OperationalError(2006, "MySQL server has gone away (%s)" % (e,))
tornado_mysql.err.OperationalError: (2006, 'MySQL server has gone away (Stream is closed)')

[2019-10-16 20:30:44 web.py:log_request:2106 ERROR] 500 GET /answer/status/current (127.0.0.1) 21180.26ms
`
i was wonderring why not fix this bug

from tornado-mysql.

methane avatar methane commented on July 29, 2024

I am wondering why you do not read README:

image

So you need to fix your problem by yourself.

from tornado-mysql.

52lemon avatar 52lemon commented on July 29, 2024

oh, it's my fault ! just ignore

from tornado-mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.