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

startRequestId used in csend should be optional #7

Closed
gadicc opened this issue Nov 3, 2022 · 1 comment
Closed

startRequestId used in csend should be optional #7

gadicc opened this issue Nov 3, 2022 · 1 comment
Labels
invalid This doesn't seem right wontfix This will not be worked on

Comments

@gadicc
Copy link
Collaborator

gadicc commented Nov 3, 2022

As reported in https://discord.com/channels/771185033779609630/775513653461516299/1037716160168329287

 Exception occurred while handling uri: 'http://0.0.0.0:8000/' Traceback (most recent call last):
 File "handle_request", line 81, in handle_request FutureStatic,
 File "server.py", line 36, in inference output = user_src.inference(model_inputs)
 File "/api/app.py", line 140, in inference startRequestId = call_inputs.get("startRequestId", None) AttributeError: 'NoneType' object has no attribute 'get'
 [2022-11-03 13:11:11 +0000] - (sanic.access)[INFO][127.0.0.1:55872]: POST http://0.0.0.0:8000/ 500 139

Will fix this! In the meantime:

{
  // CallInputs section (MODEL_ID, etc)
  startRequestId: "ANYTHING"
}

It used to be (optional) but due to a different feature that obviously broke this.

@gadicc gadicc added invalid This doesn't seem right wontfix This will not be worked on labels Nov 3, 2022
@gadicc
Copy link
Collaborator Author

gadicc commented Nov 3, 2022

Oh actually, this wasn't broken, the particular user above was calling with the wrong inputs (no callInputs key).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant