OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
111 stars 31 forks source link

Errors when opening files in script runner #1421

Closed mdpalme closed 2 months ago

mdpalme commented 3 months ago

First check out our main documentation site at https://openc3.com.

Describe the bug Unable to open a previously edited file in script runner.

To Reproduce

  1. Modifying an existing script (e.g. cfdp_test.rb) in script runner
  2. Run the script
  3. Some time later, after trying to access the file again, access will be prevented and the screenshot and errors below will be shown.
  4. After some combination of saving the file, deleting the file out of targets_modified, and closing script runner it becomes possible to open the file again.

Expected behavior I expect to be able to open, view, and edit the file again.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-07-19 082900

Environment (please complete the following information):

jmthomas commented 3 months ago

This is not going to be easy to reproduce. If you see this again can you please go to the terminal and type docker logs cosmos-openc3-cosmos-script-runner-api-1 and docker logs cosmos-openc3-cosmos-cmd-tlm-api-1 and post any stack traces that you see? Thanks.

If you can create steps to reproduce this behavior in the DEMO that would be ideal.

jmthomas commented 2 months ago

Closing due to lack of information. I can not reproduce.