I am trying to open the source code for the RoboParty Isaac Example using Nvidia Omniverse on a g5.2xlarge EC2 instance using Amazon Web Services. When I click on the button to open the source code, I get an error in the terminal that says:
2022-11-18 00:01:40 [288,174ms] [Warning] [omni.isaac.ui.callbacks] Could not open in VSCode. See Troubleshooting help here:
The Visual Studio Code command-line interface
How do I go about viewing the source code for these examples?
The VS Code button does not work on remote deployment. In this case, you will need to connect via SSH and modify the code from there, as indicated in this post
Hi, I am not sure if the “Open Source Code” button will work in a headless environment like Azure VM.
I would recommend connecting to the remote container via SSH tunneling and using a local VSCode. This will enable changing of code via hot-loading. This method is still limited and may not work for all cases in the Tutorials. We recommend following the Tutorials on a native run of Isaac Sim.
Connect to Docker engine running on a remote machine
Thank you for your reply!
Do you mean that I will have to modify the code by navigating directories through the terminal and opening specific files?
The recommended way to work with VS Code in remote containers is by using the remote ssh extension
By using it, you will have access to all files from VS Code and to a pre-configured workspace with Python auto-complete capabilities and others (if you open the
/isaac-sim folder in VS Code):
4. Python Environment Installation — Omniverse Robotics documentation