# Generating New Component

**URL:** <https://forums.developer.nvidia.com/t/generating-new-component/351393>\
**Category:** DeepStream SDK\
**Tags:** graph-composer, nvbugs, gstreamer, deepstream\
**Created:** [November 14, 2025, 8:29am UTC](https://forums.developer.nvidia.com/t/generating-new-component/351393 "2025-11-14T08:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sannetyes](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@sannetyes](https://forums.developer.nvidia.com/u/sannetyes)\
**Post date:** [November 14, 2025, 8:29am UTC](https://forums.developer.nvidia.com/t/generating-new-component/351393/1 "2025-11-14T08:29:50Z")

</div>

**• 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.

 ![Extension Genrator Window](https://global.discourse-cdn.com/nvidia/original/4X/0/2/5/0254df172661e8d47a1e1dd56d786ba930f106f0.png)  
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.

```auto
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

```auto
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.

```auto
.
|-- 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.

```auto
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.

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [November 14, 2025, 9:56am UTC](https://forums.developer.nvidia.com/t/generating-new-component/351393/3 "2025-11-14T09:56:59Z")

</div>

> [@sannetyes](#):
>
> So my question is “What I have done wrong” because after syncing repo ı cannot view the component.

It is a bug. We will discuss internally first.
