Strange state: can't restart robot code and riolog pane in VSCode not working #54
Replies: 2 comments 1 reply
-
I've run into similar intermittent issues on the beta 1 image with the riolog freezing up and unable to restart robot code. I've only spent ~20 minutes on the beta 2 image but didn't see this issue come up yet, but it sounds like it's still around. Are there any useful debug steps we can do when this happens to gather more info? |
Beta Was this translation helpful? Give feedback.
-
After more time to think about this, one important thing to check is if the enable/disable buttons on the DS work when in this state. Being unable to disable a running robot would be a really bad thing. |
Beta Was this translation helpful? Give feedback.
-
I'm going to start this as a discussion since it isn't reproducible, but it may be helpful if someone else sees something similar occur.
I unplugged a camera (Microsoft HD-3000) from a RoboRio running the NI 2024 Beta 2 image while I had robot code running and streaming the camera, and then plugged the camera back in. The Restart Robot Code button on the DS (Also NI 2024 Beta 2) would then do nothing and the RioLog pane in VS Code appeared frozen. Usually, pushing the Restart Robot Code produces a message in the RioLog about running a kill script. The camera stream continued working after plugging in the camera. At some point the Disconnect button in the RioLog turned red.
I was able to deploy (from VS Code) and the usual startup messages appeared in the DS output view. The RioLog pane remained frozen. Closing the RioLog pane and deploying again did not result in any change. Closing and reopening VS Code and deploying again did not produce any change.
My notes don't say anything about having rebooted the RoboRio from the DS but I did reboot it with the Reset button on the RoboRio. That cleared the issue.
I have a vague recollection of having encountered something similar before but have no notes about it. If you see something similar please comment with as many details as you can. Similar failure of "Restart Robot Code" was mentioned in #39 without much detail in the context of memory (actually process) leaks arising from deployment.
Beta Was this translation helpful? Give feedback.
All reactions