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

[Bug Report] ValueError: The passed ArgParser object already has the field 'device'. #793

Closed
1 of 4 tasks
LebinLiang opened this issue Aug 7, 2024 · 1 comment
Closed
1 of 4 tasks

Comments

@LebinLiang
Copy link

LebinLiang commented Aug 7, 2024

when I run the following demo in https://docs.robotsfan.com/isaaclab/source/setup/sample.html
there is something wrong, I can't find the solution

Describe the bug

./isaaclab.sh -p source/standalone/workflows/robomimic/collect_demonstrations.py --task Isaac-Lift-Cube-Franka-IK-Rel-v0 --num_envs 1 --num_demos 10
[INFO] Using python from: /home/dji/IsaacLab/_isaac_sim/python.sh
Traceback (most recent call last):
File "/home/dji/IsaacLab/source/standalone/workflows/robomimic/collect_demonstrations.py", line 22, in
AppLauncher.add_app_launcher_args(parser)
File "/home/dji/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 220, in add_app_launcher_args
AppLauncher._check_argparser_config_params(config)
File "/home/dji/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 354, in _check_argparser_config_params
raise ValueError(
ValueError: The passed ArgParser object already has the field 'device'. This field will be added by AppLauncher.add_app_launcher_args(), and should not be added directly. Please remove the argument or rename it to a non-conflicting name.
There was an error running python

Steps to reproduce

[INFO] Using python from: /home/dji/IsaacLab/_isaac_sim/python.sh                                                              
Traceback (most recent call last):
  File "/home/dji/IsaacLab/source/standalone/workflows/robomimic/collect_demonstrations.py", line 22, in <module>
    AppLauncher.add_app_launcher_args(parser)
  File "/home/dji/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 220, in add_app_launcher_args
    AppLauncher._check_argparser_config_params(config)
  File "/home/dji/IsaacLab/source/extensions/omni.isaac.lab/omni/isaac/lab/app/app_launcher.py", line 354, in _check_argparser_config_params
    raise ValueError(
ValueError: The passed ArgParser object already has the field 'device'. This field will be added by `AppLauncher.add_app_launcher_args

For more information on this, check: https://www.markdownguide.org/extended-syntax/#fenced-code-blocks

-->

System Info

Describe the characteristic of your environment:

  • Commit: [e.g. 8f3b9ca]
  • Isaac Sim Version: 4.1.0
  • OS: [ Ubuntu 22.04]
  • GPU: [ RTX 2080TI]
  • CUDA: 12.1
  • GPU Driver: 535.183.01

Additional context

Add any other context about the problem here.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • Criteria 1
  • Criteria 2
@Dhoeller19
Copy link
Contributor

Hi @LebinLiang,
This issue has been solved in #791.
The input device is now called --teleop_device.

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