Launcher error and Isaac Examples error

Hi there,

I have 2 trouble.

  1. When I launch Isaac Sim, I met the error below:
2023-06-30 05:23:16 [3,905ms] [Error] [carb.scripting-python.plugin] AttributeError: 'NoneType' object has no attribute 'GetPrimAtPath'

At:
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/extscore/omni.usd/omni/usd/commands/usd_commands.py(850): __init__
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/extscore/omni.kit.commands/omni/kit/commands/command.py(98): create
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/extscore/omni.kit.commands/omni/kit/commands/command.py(446): execute
  /home/lily/Documents/tm-robot-project/exts/tm.robot.project/tm/robot/project/extension.py(128): on_reset
  /home/lily/Documents/tm-robot-project/exts/tm.robot.project/tm/robot/project/extension.py(197): on_startup
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/kernel/py/omni/ext/_impl/_internal.py(147): _startup_ext
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/kernel/py/carb/profiler/__init__.py(81): wrapper
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/kernel/py/omni/ext/_impl/_internal.py(198): startup
  /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/kernel/py/omni/ext/_impl/_internal.py(285): startup_extension
  PythonExtension.cpp::startup()(2): <module>

2023-06-30 05:23:16 [3,905ms] [Error] [omni.ext.plugin] [ext: tm.robot.project-1.0.0] Failed to startup python extension.
  1. when I want to load Isaac Examples Hello world, here is the error:
2023-06-30 05:23:53 [40,519ms] [Info] [omni.kit.browser.folder.core.models.folder_browser_model] Traverse completed: http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2022.2.1/Isaac/Robots, True
2023-06-30 05:23:53 [40,520ms] [Info] [omni.kit.browser.folder.core.models.folder_browser_model] [36.26 s] End traverse http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2022.2.1/Isaac/Robots
2023-06-30 05:25:36 [143,551ms] [Error] [asyncio] Task exception was never retrieved
future: <Task finished coro=<BaseSampleExtension._on_load_world.<locals>._on_load_world_async() done, defined at /home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py:150> exception=AttributeError("'SimulationContext' object has no attribute 'get_current_tasks'")>
Traceback (most recent call last):
  File "/home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py", line 151, in _on_load_world_async
    await self._sample.load_world_async()
  File "/home/lily/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample.py", line 46, in load_world_async
    self._current_tasks = self._world.get_current_tasks()
AttributeError: 'SimulationContext' object has no attribute 'get_current_tasks'

Thanks !!!

Hi, what commands do you use to run Isaac Sim when you get those errors?
Can you try running with the --reset-user flag?
Please also share the full logs. There may be other clues in the logs.

1 Like

I had a similar problem as described in 2.
Using the --reset-user flag solved the problem.

What causes the error on my end seems to be the custom extension I wrote for IsaacSims Omnigraph which creates a specific node. Once I activate third party plugins and the extension I receive the following error again:

2023-08-17 03:55:09 [79,078ms] [Error] [asyncio] Task exception was never retrieved
future: <Task finished coro=<BaseSampleExtension._on_load_world.<locals>._on_load_world_async() done, defined at /home/user/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py:150> exception=AttributeError("'SimulationContext' object has no attribute 'get_current_tasks'")>
Traceback (most recent call last):
  File "/home/user/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample_extension.py", line 151, in _on_load_world_async
    await self._sample.load_world_async()
  File "/home/user/.local/share/ov/pkg/isaac_sim-2022.2.1/exts/omni.isaac.examples/omni/isaac/examples/base_sample/base_sample.py", line 46, in load_world_async
    self._current_tasks = self._world.get_current_tasks()
AttributeError: 'SimulationContext' object has no attribute 'get_current_tasks'

@Simplychenable

The logs as per request:
kit_20230817_212610.log (1.9 MB)

This issue is still prevalent, I was using the simple hello world extension and encountered this error. The --reset-user unfortunately did not work.