Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2096

gremlinpython: AttributeError when connection is closed before result is received

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.0, 3.3.5
    • Component/s: python
    • Labels:
      None

      Description

      When a connection to the server is closed after a write has happened, the call to `tornado.websocket.read_message' returns `None` resulting in a `AttributeError: 'NoneType' object has no attribute 'decode'` when calling `message.decode('utf-8')` in `Protocol.data_recieved`.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              ljos Bjarte Johansen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: