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

ValueError: too many values to unpack (expected 3) when using with turtlebot launch file #150

Open
tobiasduerschmid opened this issue Aug 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@tobiasduerschmid
Copy link
Collaborator

When I launch rosdiscover on this turtulebot launch file https://github.com/turtlebot/turtlebot/blob/3e32933c829e308600707a9f971334d13d1cbe19/turtlebot_bringup/launch/3dsensor.launch

I get this error:

ValueError: too many values to unpack (expected 3)
2021-08-04 11:26:51.947 | DEBUG    | roswire.app.instance:close:157 - destroying app instance directory: /home/tdurschm/.roswire/containers/tmpu1ivvjr7
2021-08-04 11:26:51.947 | DEBUG    | roswire.app.instance:close:159 - destroyed app instance directory: /home/tdurschm/.roswire/containers/tmpu1ivvjr7
Traceback (most recent call last):
  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/bin/rosdiscover", line 33, in <module>
    sys.exit(load_entry_point('rosdiscover', 'console_scripts', 'rosdiscover')())
  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 191, in main
    args.func(args)
  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 49, in launch
    summary = _launch_config(args)
  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 44, in _launch_config
    return _launch(config)
  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 38, in _launch
    interpreter.launch(fn_launch)
  File "/home/tdurschm/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 73, in launch
    self._load(pkg=node.package,
  File "/home/tdurschm/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 198, in _load
    load, pkg_and_nodetype, mgr = args.split(' ')
ValueError: too many values to unpack (expected 3)

Here is the traceback:


2021-08-04 11:26:51.510 | ERROR    | rosdiscover.interpreter.interpreter:launch:83 - failed to launch node: depth_registered_metric
Traceback (most recent call last):

  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/bin/rosdiscover", line 33, in <module>
    sys.exit(load_entry_point('rosdiscover', 'console_scripts', 'rosdiscover')())
    │   │    └ <function importlib_load_entry_point at 0x7f774adc50d0>
    │   └ <built-in function exit>
    └ <module 'sys' (built-in)>

  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 191, in main
    args.func(args)
    │    │    └ Namespace(output=None, config=<_io.TextIOWrapper name='/home/tdurschm/rosdiscover-evaluation/bugs/turtlebot-01/rd_turtlebot-0...
    │    └ <function launch at 0x7f774387d040>
    └ Namespace(output=None, config=<_io.TextIOWrapper name='/home/tdurschm/rosdiscover-evaluation/bugs/turtlebot-01/rd_turtlebot-0...

  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 49, in launch
    summary = _launch_config(args)
              │              └ Namespace(output=None, config=<_io.TextIOWrapper name='/home/tdurschm/rosdiscover-evaluation/bugs/turtlebot-01/rd_turtlebot-0...
              └ <function _launch_config at 0x7f7743881700>

  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 44, in _launch_config
    return _launch(config)
           │       └ Config(image='turtlebot-01', sources=('/opt/ros/indigo/setup.bash', '/bug_fix/devel/setup.bash'), launches=(Launch(filename='...
           └ <function _launch at 0x7f77438815e0>

  File "/home/tdurschm/rosdiscover/src/rosdiscover/cli.py", line 38, in _launch
    interpreter.launch(fn_launch)
    │           │      └ Launch(filename='/bug_fix/src/repo/turtlebot_bringup/launch/3dsensor.launch', arguments={})
    │           └ <function Interpreter.launch at 0x7f77438f4550>
    └ <rosdiscover.interpreter.interpreter.Interpreter object at 0x7f774390d310>

> File "/home/tdurschm/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 73, in launch
    self._load(pkg=node.package,
    │    │         │    └ <member 'package' of 'NodeConfig' objects>
    │    │         └ NodeConfig(namespace='/camera', name='depth_registered_metric', typ='nodelet', package='nodelet', executable_path='/opt/ros/i...
    │    └ <function Interpreter._load at 0x7f77438f4700>
    └ <rosdiscover.interpreter.interpreter.Interpreter object at 0x7f774390d310>

  File "/home/tdurschm/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 198, in _load
    load, pkg_and_nodetype, mgr = args.split(' ')
                                  │    └ <method 'split' of 'str' objects>
                                  └ 'load depth_image_proc/convert_metric camera_nodelet_manager --no-bond'


@tobiasduerschmid tobiasduerschmid added the bug Something isn't working label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant