Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

chatter example ros2_test failure #13

Open
parthc-rob opened this issue Apr 16, 2024 · 0 comments
Open

chatter example ros2_test failure #13

parthc-rob opened this issue Apr 16, 2024 · 0 comments

Comments

@parthc-rob
Copy link

Hi! Thank you for putting up this immensely helpful repo - I found it to be a great working example of incorporating rules_ros2 in my own monorepo!

I'm facing this error while trying to execute bazel test //samples/ros2/chatter/.... Any ideas about debugging this would be appreciated!

I was trying to dig into https://github.com/mvukov/rules_ros2/tree/main/ros2/test but can't seem to track down where this dependency can be resolved..
Please let me know!

exec ${PAGER:-/usr/bin/less} "$0" || exit 1 
zl: The repository '@rules_cuda' could not be resolved: Repository 
Executing tests from //samples/ros2/chatter:tests
-----------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/parth/.cache/bazel/_bazel_parth/4abf7ab64fa63073749fdd8c1d17a5a8/sandbox/linux-sandbox/1/execroot/tareeq/bazel-out/k8-fastbuild/bin/samples/ros2/chatter/tests.runfiles/tareeq/samples/ros2/chatter/tests_launch.py", line 6, in <module>
    import launch_testing.launch_test
  File "/home/parth/.cache/bazel/_bazel_parth/4abf7ab64fa63073749fdd8c1d17a5a8/sandbox/linux-sandbox/1/execroot/tareeq/bazel-out/k8-fastbuild/bin/samples/ros2/chatter/tests.runfiles/ros2_launch/launch_testing/launch_testing/__init__.py", line 15, in <module>
    from . import tools
  File "/home/parth/.cache/bazel/_bazel_parth/4abf7ab64fa63073749fdd8c1d17a5a8/sandbox/linux-sandbox/1/execroot/tareeq/bazel-out/k8-fastbuild/bin/samples/ros2/chatter/tests.runfiles/ros2_launch/launch_testing/launch_testing/tools/__init__.py", line 15, in <module>
    from .output import basic_output_filter
  File "/home/parth/.cache/bazel/_bazel_parth/4abf7ab64fa63073749fdd8c1d17a5a8/sandbox/linux-sandbox/1/execroot/tareeq/bazel-out/k8-fastbuild/bin/samples/ros2/chatter/tests.runfiles/ros2_launch/launch_testing/launch_testing/tools/output.py", line 18, in <module>
    from osrf_pycommon.terminal_color import remove_ansi_escape_sequences
ModuleNotFoundError: No module named 'osrf_pycommon.terminal_color'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant