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

ros2 run rosgpt rosgpt_client_node #10

Open
tufailahmad3993 opened this issue Jan 5, 2024 · 3 comments
Open

ros2 run rosgpt rosgpt_client_node #10

tufailahmad3993 opened this issue Jan 5, 2024 · 3 comments

Comments

@tufailahmad3993
Copy link

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

@HanSeungJun
Copy link

HanSeungJun commented Jan 9, 2024

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
Copy link

HanSeungJun commented Jan 9, 2024

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

@rbc77
Copy link

rbc77 commented May 13, 2024

[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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants