OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
102 stars 29 forks source link

Script fails with error #1397

Closed Lakshmi5785-dev closed 1 month ago

Lakshmi5785-dev commented 1 month ago

While running my procedures all of sudden I am receiving the below error. any clue on this?

image

jmthomas commented 1 month ago

Do a docker ps and then check the logs from the cmd-tlm-api container: docker logs cosmos-openc3-cosmos-cmd-tlm-api-1. You can also check the operator container: docker logs cosmos-openc3-operator-1. Post if you see any stack traces.

Lakshmi5785-dev commented 1 month ago
image

cmd_tlm_api_logs.txt [Uploading operator_logs.txt…]()

jmthomas commented 1 month ago

I need the logs output, not the ps output

Lakshmi5785-dev commented 1 month ago

Attached the text files cmd_tlm_api_logs.txt operator_logs.txt

jmthomas commented 1 month ago

I don't see anything that would indicate a failure in the cmd-tlm-api container or operator container.

jmthomas commented 1 month ago

I see you're using Python but I can not reproduce in the DEMO with a simple test: cmd_no_hazardous_check(f"INST CLEAR")

Lakshmi5785-dev commented 1 month ago

Well this error occurs when we provide wrong command parameters. Figured out the issues. Closing the ticket.

jmthomas commented 1 month ago

@Lakshmi5785-dev that was a really weird error message. Was there something specific about the command parameters that could reproduce it? I'd like to at least provide a better error message.

Lakshmi5785-dev commented 1 month ago

Let me try on INST demo target, but I am sure its because of incorrect command parameters. It happend for me couple of times. Let me reproduce and share the details here.