Generating New Component

• Hardware Platform (Jetson / GPU): Nvidia RTX A5500
• DeepStream Image: 8.0-gc-triton-devel
• NVIDIA GPU Driver Version (valid for GPU only): 580.95.05
• Issue Type( questions, new requirements, bugs): bugs

I have been trying to use generate extension tool in Graph Composer. Hovewer, I have faced lots of problem and not able to create an extension successfully. So, I decided to test this tool by trying to create a simple element from Gstreamer which is not included in Graph Composer GUI. intervideosrc element is selected from inter plugin and provided from GStreamer Bad Plug-ins .

1. Step

Two parameters are entered intervideosrc for GStreamer Element List and /home/inter_plugins/ for Target Output Directory.

Note: inter_plugins directory is created under the home directory manually.


Also I am able to view intervideosrc element via gst-inspect-1.0 command (since it is provided with GStreamer Bad Plug-ins).

2. Step

When Install Dependencies button is activated the following error have showed up.

2025-11-14 07:34:00 [8,562,756ms] [Error] [asyncio] Task exception was never retrieved
future: <Task finished name='Task-6271' coro=<GenerateExtnWindow.async_on_install_dependencies_clicked() done, defined at /tmp/.tmpNvXgRaphComposer/run/composer/omni.exp.graph.composer/omni/exp/graph/composer/generate_extension_window.py:161> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/tmp/.tmpNvXgRaphComposer/run/composer/omni.exp.graph.composer/omni/exp/graph/composer/generate_extension_window.py", line 164, in async_on_install_dependencies_clicked
    self._install_dependencies_process = await asyncio.create_subprocess_exec(*cmd,
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/asyncio/subprocess.py", line 218, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/asyncio/base_events.py", line 1681, in subprocess_exec
    transport = await self._make_subprocess_transport(
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/asyncio/unix_events.py", line 207, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/asyncio/unix_events.py", line 799, in _start
    self._proc = subprocess.Popen(
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/tmp/.tmpNvXgRaphComposer/run/kit/python/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'x-terminal-emulator'

The crucial errors have been eliminated by installing a terminal emulator; gnome-terminal is preferred. Since the libcanberra-gtk-module and the at-spi bus are used for graphical/accessibility purposes, they should not affect the extension generator.

It ended up showing following errors

Installing extension generation dependencies
2025-11-14 07:59:12 [10,074,359ms] [Error] [omni.kit.app._impl] [py stderr]: # Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: No such file or directory
# Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_1: No such file or directory2025-11-14 07:59:12 [10,074,359ms] [Error] [omni.kit.app._impl] [py stderr]: 

2025-11-14 07:59:12 [10,074,376ms] [Error] [omni.kit.app._impl] [py stderr]: # Failed to load module "canberra-gtk-module"
# Failed to load module "canberra-gtk-module"2025-11-14 07:59:12 [10,074,376ms] [Error] [omni.kit.app._impl] [py stderr]: 

2025-11-14 07:59:12 [10,074,376ms] [Error] [omni.kit.app._impl] [py stderr]: # Failed to load module "canberra-gtk-module"
# Failed to load module "canberra-gtk-module"2025-11-14 07:59:12 [10,074,376ms] [Error] [omni.kit.app._impl] [py stderr]:

3.Step

When Generate button is activated extension seems to be generated properly. Also file structure of inter_plugins directory can be seen below.

.
|-- WORKSPACE
|-- build
|   |-- BUILD
|   `-- third_party
|       |-- glib.BUILD
|       `-- gstreamer.BUILD
|-- element_list.txt
`-- extensions
    `-- inter
        |-- BUILD
        |-- inter_ext.cpp
        |-- inter_extdef.yaml
        |-- intervideosrc.hpp
        `-- intervideosrc_def.yaml

4.Step

When build button is pressed build has not been completed successfully and errors have appeared and the cruical issue is related to bazel_skylib library.

2025-11-14 08:00:54 [10,176,708ms] [Error] [omni.kit.app._impl] [py stderr]: ERROR: Analysis of target '//extensions/inter:register_inter_ext' failed; build aborted: error loading package '@com_extension_dev//build': at /root/.cache/bazel/_bazel_root/b13e5a4bf155a2c7850580e03d7d3a66/external/rules_python/python/defs.bzl:21:6: at /root/.cache/bazel/_bazel_root/b13e5a4bf155a2c7850580e03d7d3a66/external/rules_python/python/py_runtime_info.bzl:18:6: at /root/.cache/bazel/_bazel_root/b13e5a4bf155a2c7850580e03d7d3a66/external/rules_python/python/private/util.bzl:17:6: Unable to find package for @bazel_skylib//lib:types.bzl: The repository '@bazel_skylib' could not be resolved: Repository '@bazel_skylib' is not defined.

So my question is “What I have done wrong” because after syncing repo ı cannot view the component.
If do you have any example on component generation please provide same materials.

It is a bug. We will discuss internally first.