cmu-rss-lab / rosdiscover-evaluation

Image Creation and Evaluation Infrastructure for ROS Discover
MIT License
2 stars 0 forks source link

[mavros-01] rosdiscover run-time exception #8

Open tobiasduerschmid opened 3 years ago

tobiasduerschmid commented 3 years ago
string text
2021-08-03 10:02:53.444 | DEBUG    | roswire.common.msg:md5sum:375 - generated md5sum [actionlib_msgs/GoalStatus]: d388f9b87b3c471f784434d671988d4a
2021-08-03 10:02:53.444 | DEBUG    | roswire.common.msg:md5sum:371 - generating md5sum: nav_msgs/GetMapFeedback
2021-08-03 10:02:53.444 | DEBUG    | roswire.common.msg:md5sum:373 - generated md5 text [nav_msgs/GetMapFeedback]:

2021-08-03 10:02:53.444 | DEBUG    | roswire.common.msg:md5sum:375 - generated md5sum [nav_msgs/GetMapFeedback]: d41d8cd98f00b204e9800998ecf8427e
2021-08-03 10:02:53.445 | DEBUG    | roswire.common.msg:md5sum:373 - generated md5 text [nav_msgs/GetMapActionFeedback]:
2176decaecbce78abc3b96ef049fabed header
d388f9b87b3c471f784434d671988d4a status
d41d8cd98f00b204e9800998ecf8427e feedback
2021-08-03 10:02:53.445 | DEBUG    | roswire.common.msg:md5sum:375 - generated md5sum [nav_msgs/GetMapActionFeedback]: aae20e09065c3809e8a8e87c4c8953fd
2021-08-03 10:02:53.445 | DEBUG    | roswire.common.msg:md5sum:373 - generated md5 text [nav_msgs/GetMapAction]:
4b30be6cd12b9e72826df56b481f40e0 action_goal
ac66e5b9a79bb4bbd33dab245236c892 action_result
aae20e09065c3809e8a8e87c4c8953fd action_feedback
2021-08-03 10:02:53.445 | DEBUG    | roswire.common.msg:md5sum:375 - generated md5sum [nav_msgs/GetMapAction]: e611ad23fbf237c031b7536416dc7cd7
2021-08-03 10:02:56.204 | INFO     | rosdiscover.cli:_launch:35 - Detected 1 version: KINETIC
2021-08-03 10:02:56.205 | INFO     | rosdiscover.cli:_launch:37 - simulating launch [{'filename': '/bug_fix/src/repo/mavros/mavros_extras/launch/teleop.launch'}]
2021-08-03 10:02:56.506 | DEBUG    | roswire.app.instance:close:157 - destroying app instance directory: /home/tdurschm/.roswire/containers/tmp557fejm5
2021-08-03 10:02:56.507 | DEBUG    | roswire.app.instance:close:159 - destroyed app instance directory: /home/tdurschm/.roswire/containers/tmp557fejm5
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 58, in launch
    config = reader.read(filename)
  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/lib/python3.9/site-packages/roswire/ros1/launch/reader.py", line 545, in read
    launch = self._parse_file(fn)
  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/lib/python3.9/site-packages/roswire/ros1/launch/reader.py", line 149, in _parse_file
    contents = self._files.read(fn)
  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/lib/python3.9/site-packages/dockerblade/files.py", line 257, in read
    if self.isdir(filename):
  File "/home/tdurschm/.local/share/virtualenvs/rosdiscover-hw20rvqf/lib/python3.9/site-packages/dockerblade/files.py", line 445, in isdir
    cmd = f'test -d {quote_container(path)}'
  File "/home/tdurschm/.pyenv/versions/3.9.5/lib/python3.9/shlex.py", line 329, in quote
    if _find_unsafe(s) is None:
TypeError: expected string or bytes-like object
tobiasduerschmid commented 3 years ago

Another config-file producing the same bug is this one:

image: mavros-01

sources:
- /opt/ros/kinetic/setup.bash
- /pre_bug/devel/setup.bash
launches:
- filename: /pre_bug/src/repo/mavros/mavros_extras/launch/teleop.launch
- filename: /pre_bug/src/repo/mavros/mavros_extras/launch/px4flow.launch