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

Error when using action on ubuntu-24.04 runner tree: command not found #123

Closed
afuetterer opened this issue May 17, 2024 · 8 comments · Fixed by #126
Closed

Error when using action on ubuntu-24.04 runner tree: command not found #123

afuetterer opened this issue May 17, 2024 · 8 comments · Fixed by #126

Comments

@afuetterer
Copy link

Hi,

I just updated a few of my CI workflows to test the new ubuntu-24.04 runner image. Everything seems to be working fine so far, except baipp.

I get:

/home/runner/work/_temp/e9988dda-50b6-4f3e-8c69-acb0fb4eae2c.sh: line 6: tree: command not found
Error: Process completed with exit code 127.

See: https://github.com/afuetterer/oaipmh-scythe/actions/runs/9125209745/job/25090924390#step:3:270

Can you reproduce this or is this is somehow my fault? Of course I can just use ubuntu-22.04 or ubuntu-latest.

@hynek
Copy link
Owner

hynek commented May 17, 2024

looks like in noble it’s a separate package https://packages.ubuntu.com/search?keywords=tree&searchon=names&suite=noble&section=all

You can install it yourself as a quick fix for now – I’ll try to fix it, but I’m at PyCon rn.

@afuetterer
Copy link
Author

Thanks for the feedback, it is not urgent. I can wait for a fix or follow your recommendation.

Enjoy PyCon!

@rmartin16
Copy link
Contributor

FWIW, the same issue occurs on macOS...although, I'm thinking this action is intended to only support runners using ubuntu or similar.

@hynek
Copy link
Owner

hynek commented May 26, 2024

it is indeed!
CleanShot 2024-05-26 at 18 47 40@2x

@hynek hynek linked a pull request May 26, 2024 that will close this issue
@afuetterer
Copy link
Author

Awesome, thanks.

@hynek
Copy link
Owner

hynek commented May 26, 2024

2.6 is tagged and released

@rmartin16
Copy link
Contributor

FYI:

@afuetterer
Copy link
Author

I guess you can revert the changes then?

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

Successfully merging a pull request may close this issue.

3 participants