Hi,
I have a debugging problem with my conda environment at Isaac Sim 2023.1.0-hotfix.1. (There is no problem when executing on the terminal.)
I replaced "python.defaultInterpreterPath": "/home/bak/anaconda3/envs/isaac-sim_22.2.1/bin/python",
on settings.json and "python": "/home/bak/anaconda3/envs/isaac-sim_22.2.1/bin/python",
on launch.json.
The environment worked well on the previous version 2022.2.1. What is the problem? Below is the result when I try to debug/run with vscode and log.
(isaac-sim_22.2.1) bak@bak-ubuntu:~/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1$ cd /home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1 ; /usr/bin/env /home/bak/anaconda3/envs/isaac-sim_22.2.1/bin/python /home/bak/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 36421 -- /home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/standalone_examples/api/omni.isaac.franka/follow_target_with_ik.py
Starting kit application with the following args: ['/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py', '/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/apps/omni.isaac.sim.python.kit', '--/app/tokens/exe-path=/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/kit', '--/persistent/app/viewport/displayOptions=3094', '--/rtx/materialDb/syncLoads=True', '--/rtx/hydra/materialSyncLoads=True', '--/omni.kit.plugin/syncUsdLoads=True', '--/app/renderer/resolution/width=1280', '--/app/renderer/resolution/height=720', '--/app/window/width=1440', '--/app/window/height=900', '--/renderer/multiGpu/enabled=True', '--/app/fastShutdown=True', '--ext-folder', '/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/exts', '--ext-folder', '/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/apps', '--/physics/cudaDevice=0', '--portable']
Passing the following args to the base kit application: []
[Info] [carb] Logging to file: /home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/kit/logs/Kit/Isaac-Sim/2023.1/kit_20231109_010105.log
2023-11-08 16:01:05 [0ms] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available.
Fatal Python error: Segmentation fault
Current thread 0x00007f8b6ac7c740 (most recent call first):
File "/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 303 in _start_app
File "/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 192 in __init__
File "/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/standalone_examples/api/omni.isaac.franka/follow_target_with_ik.py", line 11 in <module>
kit_20231109_010105.log (151.1 KB)
[2023. 11. 09. added.]
I found that the python 3.10 is used. (line 50 at the log file)
"exe-path": "/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/kit",
"python_version": "3.10",
"python": "/home/bak/.local/share/ov/pkg/isaac_sim-2023.1.0-hotfix.1/kit/python/bin/python3",
However, my conda environment has python 3.7.