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

Add support for macOS and arm arch #21

Merged
merged 5 commits into from
Dec 3, 2024
Merged

Conversation

TheoBrigitte
Copy link
Owner

Attempt at debugging error when fetching data on Debian 12, see #12

@arkpoah
Copy link

arkpoah commented Nov 28, 2024

Error seems due to jq architecture download, I'm on raspberry so the needed binary is arm and not linux

$ ./bin/list.sh --debug
> fetching servers in FR
> fetching data from https://eu.api.ovh.com/v1/order/catalog/public/eco?ovhSubsidiary=FR
> saved    data to   kimsufi-notifier.uckZ5W
./bin/list.sh: line 117: /home/ark/scripts/kimsufi-notifier/bin/jq: cannot execute binary file: Exec format error
> invalid json

@TheoBrigitte
Copy link
Owner Author

I added support for arm architecture in the install script, please remove your jq and try again.

@arkpoah
Copy link

arkpoah commented Dec 2, 2024

works fine now, thx 👍

@TheoBrigitte TheoBrigitte changed the base branch from main to bash December 2, 2024 09:23
@TheoBrigitte TheoBrigitte marked this pull request as ready for review December 2, 2024 09:24
@TheoBrigitte TheoBrigitte changed the title Debug debian fetch data error Add support for macOS and arm arch Dec 3, 2024
@TheoBrigitte TheoBrigitte merged commit 7809dfe into bash Dec 3, 2024
4 checks passed
@TheoBrigitte TheoBrigitte deleted the debug-debian-fetch-data branch December 3, 2024 18:03
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 this pull request may close these issues.

2 participants