Skip to content

BUG Method always returns None and awaits a miracle? ;) #33

Description

@XeNONE1100

Hi,

Just heaving trying to have some fun with an ev3 and I realized that something is never gonna happen until it's changed...

jsonres = self.handle_request(jsonreq['method'], jsonreq['params'])

I cannot connect to EV3 as jsonres is always None due to handle_request always returning None.

def handle_request(self, method, params):

Log:
2023-01-20 11:04:04,499 start recv_request 2023-01-20 11:04:04,499 request: {"jsonrpc":"2.0","method":"discover","params":{"majorDeviceClass":8,"minorDeviceClass":1},"id":0} 2023-01-20 11:04:04,499 default handle_request: discover, {'majorDeviceClass': 8, 'minorDeviceClass': 1} 2023-01-20 11:04:04,499 Failure in session for web socket path: /scratch/bt

What should jsonres contain?
Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions