Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'GetPath' #1

Open
Gagouking opened this issue Jul 25, 2024 · 1 comment
Open

AttributeError: 'NoneType' object has no attribute 'GetPath' #1

Gagouking opened this issue Jul 25, 2024 · 1 comment

Comments

@Gagouking
Copy link

在安装完成所有部分后,
我在运行 python3 scripts/rsl_rl/train.py --task Template-Isaac-Reach-Kinova-v0 --num_envs 4096 这行命令的时候,弹出Isaacsim软件并卡住,
截图 2024-07-25 16-24-34
过一会产生如下报错:
截图 2024-07-25 16-15-38

[INFO]: Time taken for scene creation : 513.928256 seconds
Traceback (most recent call last):
File "/home/user/RL/isaacLab.manipulation/scripts/rsl_rl/train.py", line 119, in
main()
File "/home/user/RL/isaacLab.manipulation/scripts/rsl_rl/train.py", line 74, in main
env = gym.make(args_cli.task, cfg=env_cfg, render_mode="rgb_array" if args_cli.video else None)
File "/home/user/下载/yes/envs/isaaclab/lib/python3.10/site-packages/gymnasium/envs/registration.py", line 802, in make
env = env_creator(**env_spec_kwargs)
File "/home/user/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/manager_based_rl_env.py", line 75, in init
super().init(cfg=cfg)
File "/home/user/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/envs/manager_based_env.py", line 108, in init
self.scene = InteractiveScene(self.cfg.scene)
File "/home/user/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/scene/interactive_scene.py", line 105, in init
self._add_entities_from_cfg()
File "/home/user/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/scene/interactive_scene.py", line 404, in _add_entities_from_cfg
asset_cfg.spawn.func(
File "/home/user/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/sim/spawners/from_files/from_files.py", line 145, in spawn_ground_plane
collision_prim_path = prim_utils.get_prim_path(
File "/home/user/.local/share/ov/pkg/isaac-sim-4.0.0/exts/omni.isaac.core/omni/isaac/core/utils/prims.py", line 631, in get_prim_path
return prim.GetPath()
AttributeError: 'NoneType' object has no attribute 'GetPath'
2024-07-25 08:22:33 [521,184ms] [Warning] [carb] [Plugin: omni.sensors.tiled.plugin] Module /home/user/.local/share/ov/pkg/isaac-sim-4.0.0/extscache/omni.sensors.tiled-0.0.3+106.0.0.lx64.r/bin/libomni.sensors.tiled.plugin.so remained loaded after unload request
2024-07-25 08:22:33 [521,188ms] [Warning] [carb] [Plugin: omni.spectree.delegate.plugin] Module /home/user/.local/share/ov/pkg/isaac-sim-4.0.0/kit/exts/omni.usd_resolver/bin/libomni.spectree.delegate.plugin.so remained loaded after unload request
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,189ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Annotators' for removal
2024-07-25 08:22:33 [521,190ms] [Warning] [omni.graph.core.plugin] Could not find category 'Replicator:Core' for removal
2024-07-25 08:22:33 [521,465ms] [Warning] [carb] Recursive unloadAllPlugins() detected!

@NathanWu7
Copy link
Owner

Please check if your network proxy is functioning properly. Additionally, please ensure that your hardware system meets the requirements for Isaac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants