rosgpt icon indicating copy to clipboard operation
rosgpt copied to clipboard

ros2 run rosgpt rosgpt_client_node

Open tufailahmad3993 opened this issue 1 year ago • 3 comments

Please somebody tell me what could be the reason? I am getting the following error.

tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500

tufailahmad3993 avatar Jan 05 '24 07:01 tufailahmad3993

I have the same error too .

#error 1 [ROSGPT] Command received. move 1 meter forward speed 0.2 . Asking ChatGPT ... Unexpected error: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. 127.0.0.1 - - [09/Jan/2024 17:23:59] "POST /rosgpt HTTP/1.1" 500 -

#error 2 TypeError: the JSON object must be str, bytes or bytearray, not NoneType

my API bill is still $0 ( enough ) openai == 0.28.1, Try it too or Upgrade newest openai with openai migrate but it still doesn't working

HanSeungJun avatar Jan 09 '24 08:01 HanSeungJun

Please somebody tell me what could be the reason? I am getting the following error.

tufail39@tufail39-VirtualBox:~$ ros2 run rosgpt rosgpt_client_node [INFO] [1704385697.602028953] [rosgpt_client]: ROSGPT client node started Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later Enter a text command: I want that you move 1 meter forward speed 0.2 [ERROR] [1704385738.657950074] [rosgpt_client]: Error: 500

I solved the problem ( [rosgpt_client]: Error: 500 ) You must register your card information to use the GPT API.

https://platform.openai.com/account/billing/overview

HanSeungJun avatar Jan 09 '24 10:01 HanSeungJun

[ERROR] [1715579908.467284950] [rosgpt_client]: Error: 404 Enter a move command or a rotate command. The current ROSGPTParser of rosgpt_turtlesim does not multiple command. Will be extended later. this error comes, tried modifying the code but the error persists. anyone know the cause?

rbc77 avatar May 13 '24 06:05 rbc77