ValueError: Parameter obj_model has path /Isaac/Props/Forklift/forklift.usd not found on omniverse://localhost or locally

I created a nucleos collaboration server in Omniverse GUI such as below

Now, rerun the code and got this error

(isaac-sim) mona@ard-gpu-01:~/.local/share/ov/pkg/isaac_sim-2022.2.0$ ./python.sh tools/composer/src/main.py --input *.parameters/tutorial.yaml --output */dataset/tutorial_1 --mount ~/composer-workspace/ --num-scenes 10


2023-01-20 17:10:25 [6,388ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] ********************* MenuItemDescription Action Graph *********************
2023-01-20 17:10:25 [6,388ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] Action Graph uses onclick_fn and/or unclick_fn which are deprecated. Use onclick_action and unclick_action instead which use omni.kit.actions.core
[6.395s] [ext: omni.kit.window.stats-0.1.2] startup
[6.397s] [ext: omni.isaac.sim.python-2022.2.0] startup
[6.397s] Simulation App Starting
2023-01-20 17:10:25 [6,564ms] [Warning] [omni.client.plugin]  HTTP Client: provider_http: CC-493: Request through cache failed. Retrying without cache for https://omniverse-content-production.s3.us-west-2.amazonaws.com/.cloudfront.toml
2023-01-20 17:10:25 [6,564ms] [Warning] [omni.client.plugin]  HTTP Client: omniclient: CC-873: Bypassing cache until the application is restarted
[8.550s] app ready
[8.637s] RTX ready
[8.637s] RTX ready
[8.716s] Simulation App Startup Complete
Parsing and checking input parameterization.
Traceback (most recent call last):
  File "tools/composer/src/main.py", line 93, in <module>
    mount=args.mount,
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/composer.py", line 86, in __init__
    mount=mount,
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 97, in __init__
    self.params = self.parse_input(input_file)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 557, in parse_input
    params = self.parse_params(params)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 495, in parse_params
    self.parse_paths(params)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 339, in parse_paths
    self.parse_paths(path)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 339, in parse_paths
    self.parse_paths(path)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 364, in parse_paths
    paths = _verify_paths(key, [path], correct_file_types)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 318, in _verify_paths
    raise ValueError(f"Parameter {key} has path {path} not found on {self.nucleus_server} or locally.")
ValueError: Parameter obj_model has path /Isaac/Props/Forklift/forklift.usd not found on omniverse://localhost or locally.
2023-01-20 17:10:28 [9,657ms] [Warning] [carb.audio.context] 1 contexts were leaked
./python.sh: line 41: 28637 Segmentation fault      (core dumped) $python_exe "$@" $args
There was an error running python

Here’s what I have in my workspace:

(base) mona@ard-gpu-01:~/composer-workspace$ tree .
.
β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ colors
β”‚   β”‚   └── macbeth_chart.txt
β”‚   β”œβ”€β”€ materials
β”‚   β”‚   └── materials.txt
β”‚   β”œβ”€β”€ models
β”‚   β”‚   β”œβ”€β”€ hospital.txt
β”‚   β”‚   β”œβ”€β”€ office.txt
β”‚   β”‚   β”œβ”€β”€ robots.txt
β”‚   β”‚   β”œβ”€β”€ shapes.txt
β”‚   β”‚   └── warehouse.txt
β”‚   └── textures
β”‚       β”œβ”€β”€ backgrounds.txt
β”‚       β”œβ”€β”€ indoor.txt
β”‚       β”œβ”€β”€ patterns.txt
β”‚       β”œβ”€β”€ skies.txt
β”‚       └── synthetic.txt
└── parameters
    β”œβ”€β”€ flying_things_3d.yaml
    β”œβ”€β”€ flying_things_4d.yaml
    β”œβ”€β”€ profiles
    β”‚   β”œβ”€β”€ base_groups.yaml
    β”‚   └── default.yaml
    β”œβ”€β”€ tutorial.yaml
    └── warehouse.yaml

7 directories, 18 files

and here’s the parameter yaml file from the YouTube tutorial: Isaac Sim: Generating Synthetic Data using Replicator Composer

(base) mona@ard-gpu-01:~/composer-workspace$ cat parameters/tutorial.yaml 
# object parameters

flying_objects:
  obj_model: /Isaac/Props/Forklift/forklift.usd

  obj_count: 1
  obj_size: 100

  obj_horiz_fov_loc: 0
  obj_vert_fov_loc: 0

  obj_distance: 400


# room parameters
scenario_room_enabled: True
floor_size: 2000
wall_height: 2000


# camera parameters
camera_coord: (0, 0, 50)
camera_rot: (0, 0, 0)

Here’s how my nucleos looks like. It opened a browser and I entered the username and password for collaboration server however, it still causes failure for python code.

Hi. Are you able to see files in the /NVIDIA/Assets folder on your local Nucleus?

Try adding this flag when running your composer scripts.
--nucleus-server localhost/NVIDIA/Assets/Isaac/2022.2.0

Thanks a lot for your response. Did you mean to run it like this?

(isaac-sim) mona@ard-gpu-01:~/.local/share/ov/pkg/isaac_sim-2022.2.0$ ./python.sh tools/composer/src/main.py --input *.parameters/tutorial.yaml --output */dataset/tutorial_1 --mount ~/composer-workspace/ --num-scenes 10 --nucleus-server localhost/NVIDIA/Assets/Isaac/2022.2.0

For the above command, I got this error:

2023-01-20 20:55:13 [5,526ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] IMU uses onclick_fn and/or unclick_fn which are deprecated. Use onclick_action and unclick_action instead which use omni.kit.actions.core
[5.536s] [ext: omni.isaac.franka-0.4.0] startup
[5.537s] [ext: omni.resourcemonitor-1.0.0] startup
[5.544s] [ext: omni.rtx.settings.core-0.5.8] startup
[5.548s] [ext: semantics.schema.editor-0.3.2] startup
[5.552s] [ext: omni.kit.menu.file-1.1.3] startup
[5.554s] [ext: omni.isaac.quadruped-1.2.2] startup
[5.701s] [ext: omni.isaac.cortex-0.2.10] startup
[5.701s] [ext: omni.graph.window.action-1.4.0] startup
2023-01-20 20:55:14 [5,695ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] ********************* MenuItemDescription Action Graph *********************
2023-01-20 20:55:14 [5,695ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] Action Graph uses onclick_fn and/or unclick_fn which are deprecated. Use onclick_action and unclick_action instead which use omni.kit.actions.core
[5.702s] [ext: omni.kit.window.stats-0.1.2] startup
[5.703s] [ext: omni.isaac.sim.python-2022.2.0] startup
[5.704s] Simulation App Starting
2023-01-20 20:55:14 [5,860ms] [Warning] [omni.client.plugin]  HTTP Client: provider_http: CC-493: Request through cache failed. Retrying without cache for https://omniverse-content-production.s3.us-west-2.amazonaws.com/.cloudfront.toml
2023-01-20 20:55:14 [5,860ms] [Warning] [omni.client.plugin]  HTTP Client: omniclient: CC-873: Bypassing cache until the application is restarted
[7.841s] app ready
[7.932s] RTX ready
[7.932s] RTX ready
[8.011s] Simulation App Startup Complete
Parsing and checking input parameterization.
2023-01-20 20:55:17 [8,967ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Assets/Isaac/2022.1/Isaac/Environments/Simple_Warehouse/warehouse.usd): INVALID_URI
2023-01-20 20:55:17 [9,303ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Assets/Isaac/2022.1/Isaac/Environments/Simple_Warehouse/warehouse.usd): INVALID_URI
Traceback (most recent call last):
  File "tools/composer/src/main.py", line 93, in <module>
    mount=args.mount,
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/composer.py", line 86, in __init__
    mount=mount,
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 97, in __init__
    self.params = self.parse_input(input_file)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 557, in parse_input
    params = self.parse_params(params)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 495, in parse_params
    self.parse_paths(params)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 364, in parse_paths
    paths = _verify_paths(key, [path], correct_file_types)
  File "/home/mona/.local/share/ov/pkg/isaac_sim-2022.2.0/extscache/omni.replicator.composer-1.2.2+lx64/omni/replicator/composer/src/parser.py", line 318, in _verify_paths
    raise ValueError(f"Parameter {key} has path {path} not found on {self.nucleus_server} or locally.")
ValueError: Parameter scenario_model has path /NVIDIA/Assets/Isaac/2022.1/Isaac/Environments/Simple_Warehouse/warehouse.usd not found on omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0 or locally.
2023-01-20 20:55:18 [9,877ms] [Warning] [carb.audio.context] 1 contexts were leaked
./python.sh: line 41: 48773 Segmentation fault      (core dumped) $python_exe "$@" $args
There was an error running python

This is how Nucleous looks like in Omniverse Launcher.

Yes.

That looks odd. The path to the assets has the version 2022.1 on it. Are you running an older version or modified parameter file?

Please edit the files to match the path in your local Nucleus, if it was modified before.

here’s the tutorial I was following step by step. At minutes ~4, it runs the python code. It doesn’t state anything about nucleos.

I created this composer workspace:

(base) mona@ard-gpu-01:~/composer-workspace$ tree .
.
β”œβ”€β”€ assets
β”‚   β”œβ”€β”€ colors
β”‚   β”‚   └── macbeth_chart.txt
β”‚   β”œβ”€β”€ materials
β”‚   β”‚   └── materials.txt
β”‚   β”œβ”€β”€ models
β”‚   β”‚   β”œβ”€β”€ hospital.txt
β”‚   β”‚   β”œβ”€β”€ office.txt
β”‚   β”‚   β”œβ”€β”€ robots.txt
β”‚   β”‚   β”œβ”€β”€ shapes.txt
β”‚   β”‚   └── warehouse.txt
β”‚   └── textures
β”‚       β”œβ”€β”€ backgrounds.txt
β”‚       β”œβ”€β”€ indoor.txt
β”‚       β”œβ”€β”€ patterns.txt
β”‚       β”œβ”€β”€ skies.txt
β”‚       └── synthetic.txt
└── parameters
    β”œβ”€β”€ flying_things_3d.yaml
    β”œβ”€β”€ flying_things_4d.yaml
    β”œβ”€β”€ profiles
    β”‚   β”œβ”€β”€ base_groups.yaml
    β”‚   └── default.yaml
    β”œβ”€β”€ tutorial.yaml
    └── warehouse.yaml

7 directories, 18 files

and here is the parameters file:

(base) mona@ard-gpu-01:~/composer-workspace$ cat parameters/tutorial.yaml 
# object parameters

flying_objects:
  obj_model: /Isaac/Props/Forklift/forklift.usd

  obj_count: 1
  obj_size: 100

  obj_horiz_fov_loc: 0
  obj_vert_fov_loc: 0

  obj_distance: 400


# room parameters
scenario_room_enabled: True
floor_size: 2000
wall_height: 2000


# camera parameters
camera_coord: (0, 0, 50)
camera_rot: (0, 0, 0)


I am new to omniverse and it’s a bit overwhelming across all the available tutorials. Do you have step-by-step tutorials that are consistent via video?

1 Like

I can confirm that I am seeing the same issue and am running Omniverse Launcher 1.8.2. It is also reported [here] and [here].

./python.sh tools/composer/src/main.py --input parameters/warehouse.yaml --output */datasets/warehouse -num-scenes 10 --mount ~/composer-workspace/ --nucleus-server localhost/NVIDIA/Assets/Isaac/2022.2.0

This results in the following error:

2023-01-25 23:17:33 [5,725ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] ********************* MenuItemDescription Action Graph *********************
2023-01-25 23:17:33 [5,725ms] [Warning] [omni.kit.menu.utils.scripts.builder_utils] Action Graph uses onclick_fn and/or unclick_fn which are deprecated. Use onclick_action and unclick_action instead which use omni.kit.actions.core
[5.733s] [ext: omni.kit.window.stats-0.1.2] startup
[5.735s] [ext: omni.isaac.sim.python-2022.2.0] startup
[5.736s] Simulation App Starting
[8.053s] app ready
[8.175s] RTX ready
[8.175s] RTX ready
[8.290s] Simulation App Startup Complete
Parsing and checking input parameterization.
2023-01-25 23:17:46 [18,742ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0): INVALID_URI
2023-01-25 23:17:46 [18,742ms] [Warning] [omni.client.plugin]  Tick: omniclient: CC-873: Bypassing cache until the application is restarted
2023-01-25 23:17:47 [19,294ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0): INVALID_URI
2023-01-25 23:17:55 [27,633ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Assets/Isaac/2022.1/Isaac/Props/Forklift/forklift.usd): INVALID_URI
2023-01-25 23:17:56 [28,017ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Assets/Isaac/2022.1/Isaac/Props/Forklift/forklift.usd): INVALID_URI
Traceback (most recent call last):
  File "tools/composer/src/main.py", line 93, in <module>
    mount=args.mount,
1 Like

Just change the object model path in your yaml file to
/NVIDIA/Assets/Isaac/2022.2.0/Isaac/Props/Forklift/forklift.usd
Make sure the Isaac Sim version is matching with the version in the path.

Thanks. I’ve had some success copying the composer assets folder and updating the paths as mentioned:

pushd ~/composer-workspace
cp -r ~/.local/share/ov/pkg/isaac_sim-2022.2.0/tools/composer/assets assets
find assets -name "*.txt" | while read f;
do
    sed -i.tmp  -E -e 's|^/(Isaac\|NVIDIA)/|/NVIDIA/Assets/Isaac/2022.2.0/\1/|g' $f
done

That seems to work for objects but not for materials.

# object parameters
flying_objects:
  obj_model: Choice(["*/assets/models/warehouse.txt", "*/assets/models/office.txt", "*/assets/models/hospital.txt"]) # this works

  obj_material: Choice("*/assets/materials/materials.txt") # this fails

I have tried using original and updated paths in the assets/materials/materials.txt file.

Original paths:

/NVIDIA/Materials/Base/Architecture
/NVIDIA/Materials/Base/Carpet
/NVIDIA/Materials/Base/Emissives
/NVIDIA/Materials/Base/Masonry
/NVIDIA/Materials/Base/Metals
/NVIDIA/Materials/Base/Natural
/NVIDIA/Materials/Base/Plastics
/NVIDIA/Materials/Base/Stone
/NVIDIA/Materials/Base/Textiles
/NVIDIA/Materials/Base/Wood

Errors:

023-01-27 19:16:56 [10,264ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Architecture): INVALID_URI
2023-01-27 19:16:56 [10,264ms] [Warning] [omni.client.plugin]  Tick: omniclient: CC-873: Bypassing cache until the application is restarted
2023-01-27 19:16:57 [10,972ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Architecture): INVALID_URI
2023-01-27 19:16:58 [11,640ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Carpet): INVALID_URI
2023-01-27 19:16:58 [11,974ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Carpet): INVALID_URI
2023-01-27 19:16:59 [12,828ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Emissives): INVALID_URI
2023-01-27 19:16:59 [13,134ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Emissives): INVALID_URI
2023-01-27 19:17:00 [13,937ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Masonry): INVALID_URI
2023-01-27 19:17:00 [14,263ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Masonry): INVALID_URI

Updated paths:

/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Architecture
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Carpet
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Emissives
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Masonry
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Metals
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Natural
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Plastics
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Stone
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Textiles
/NVIDIA/Assets/Isaac/2022.2.0/NVIDIA/Materials/Base/Wood

Errors:

2023-01-27 19:28:38 [10,700ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Architecture): INVALID_URI
2023-01-27 19:28:38 [10,700ms] [Warning] [omni.client.plugin]  Tick: omniclient: CC-873: Bypassing cache until the application is restarted
2023-01-27 19:28:39 [11,339ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Architecture): INVALID_URI
2023-01-27 19:28:40 [12,232ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Carpet): INVALID_URI
2023-01-27 19:28:40 [12,592ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Carpet): INVALID_URI
2023-01-27 19:28:41 [13,376ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Emissives): INVALID_URI
2023-01-27 19:28:41 [13,686ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Emissives): INVALID_URI
2023-01-27 19:28:42 [14,315ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: CC-493: Request through cache failed. Retrying without cache for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Masonry): INVALID_URI
2023-01-27 19:28:42 [14,616ms] [Warning] [omni.client.plugin]  Tick: provider_nucleus: Failed result for omni1ReadAssetVersion(omniverse://localhost/NVIDIA/Materials/Base/Masonry): INVALID_URI

The biggest difference I see is that the paths in materials.txt specify folders, whereas the paths in the object files (e.g., assets/models/warehouse.txt) point to *.usd files. Is anyone else seeing this issue?