Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rosinstall_generator: not found #529

Closed
hongbo-miao opened this issue Jan 3, 2023 · 1 comment · Fixed by #528
Closed

rosinstall_generator: not found #529

hongbo-miao opened this issue Jan 3, 2023 · 1 comment · Fixed by #528

Comments

@hongbo-miao
Copy link

I have GitHub Actions which is

  robot-operating-system-test:
    name: Robot Operating System | Test
    runs-on: ubuntu-22.04
    container: ubuntu:jammy
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup ROS
        uses: ros-tooling/setup-ros@v0.4
        with:
          required-ros-distributions: humble
      - name: Genearte deps.repos
        run: |
          rosinstall_generator turtle_robot \
            --rosdistro=humble \
            --deps-only \
            --deps \
            --upstream-development > /tmp/deps.repos
      - name: Build and test
        uses: ros-tooling/action-ros-ci@v0.2
        with:
          package-name: turtle_robot
          target-ros2-distro: humble
          vcs-repo-file-url: /tmp/deps.repos

However, it failed with log:

Run rosinstall_generator turtle_robot \
  rosinstall_generator turtle_robot \
    --rosdistro=humble \
    --deps-only \
    --deps \
    --upstream-development > /tmp/deps.repos
  shell: sh -e {0}
  env:
    LANG: en_US.UTF-8
/__w/_temp/[2](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:2)08018da-1b5c-4d74-ac6f-58[3](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:3)3f3[4](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:4)fb8da.sh: 1: rosinstall_generator: not found
Error: Process completed with exit code 12[7](https://github.com/Hongbo-Miao/hongbomiao.com/actions/runs/3826265979/jobs/6509918472#step:5:7).

Any idea? Thanks!

@ijnek
Copy link
Contributor

ijnek commented Jan 3, 2023

This issue is actually more targeted towards ros-tooling/setup-ros, as that is where rosinstall_generator should get installed.

Dependency on rosinstall_generator was added in #68 and then removed in #77, for an unknown reason.

I've raised a PR to re-add the dependency: #528

@christophebedard christophebedard transferred this issue from ros-tooling/action-ros-ci Jan 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants