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

SHA256 broken for px4.py #14744

Closed
rblilja opened this issue Apr 23, 2020 · 9 comments
Closed

SHA256 broken for px4.py #14744

rblilja opened this issue Apr 23, 2020 · 9 comments
Assignees
Labels
bug Tools Sub-tools used within PX4 ecosystem (scripts, etc)

Comments

@rblilja
Copy link
Contributor

rblilja commented Apr 23, 2020

SHA256 broken for px4.py when installing tool chain using brew on Mac OS 10.14.6.

brew install px4-dev

==> Installing px4-dev from px4/px4
==> Downloading https://raw.githubusercontent.com/PX4/Firmware/master/Tools/px4.
######################################################################## 100.0%
Error: An exception occurred within a child process:
ChecksumMismatchError: SHA256 mismatch
Expected: 48199ee9ff392eff8a1efcd177e2c10f4a4dfd9877e52e13b1f3540d5dfedac9
Actual: dafe6a32d270c48cbd42960adb2155bd5f60d1aec8cb644b10f8cafc0c8d2e8f
Archive: /Users/sven/Library/Caches/Homebrew/downloads/7be7daca52fab83c40ed326bdcf732c0060cdc0b9d97e0d94f1e71856982d00b--px4.py
To retry an incomplete download, remove the file above.

I have tried to remove, untap, cleanup and upgrade homebrew without success. Help needed. Thanks!

@dagar
Copy link
Member

dagar commented Apr 23, 2020

@TSC21 do you know anything about this?

@TSC21
Copy link
Member

TSC21 commented Apr 23, 2020

No. The only thing I did was updating the file output. One fix I saw regarding this is manually delete the file on the local machine and run the brew update and brew install cmds again.

@TSC21
Copy link
Member

TSC21 commented Apr 23, 2020

@rblilja did you have the toolchain installed before?

@rblilja
Copy link
Contributor Author

rblilja commented Apr 23, 2020

@TSC21 No this is a clean install. Removing the file does not help. Tried update commands, doctor says everything is OK.

@TSC21
Copy link
Member

TSC21 commented Apr 23, 2020

@TSC21 No this is a clean install. Removing the file does not help. Tried update commands, doctor says everything is OK.

Ok I think I know the solution. Standbye

@TSC21
Copy link
Member

TSC21 commented Apr 23, 2020

@rblilja @dagar fix in PX4/homebrew-px4#54.

@TSC21 TSC21 added bug Tools Sub-tools used within PX4 ecosystem (scripts, etc) labels Apr 23, 2020
@TSC21 TSC21 self-assigned this Apr 23, 2020
@TSC21
Copy link
Member

TSC21 commented Apr 23, 2020

@rblilja PX4/homebrew-px4#54 was merged. Would you mind try again?

@rblilja
Copy link
Contributor Author

rblilja commented Apr 23, 2020

Success! Thank you!

@robinasu
Copy link

robinasu commented Jun 3, 2020

Hello, re-installing the dev toolchain on MacOS 10.15.5 on 6/2/2020 resulted in some errors, similar to the above. Are there any quick work-arounds?

Command brew install px4-dev led to the following issue :

==> Downloading https://raw.githubusercontent.com/PX4/Firmware/master/Tools/px4. Already downloaded: /Users/robinsimpson 1/Library/Caches/Homebrew/downloads/7be7daca52fab83c40ed326bdcf732c0060cdc0b9d97e0d94f1e71856982d00b--px4.py Error: SHA256 mismatch Expected: dafe6a32d270c48cbd42960adb2155bd5f60d1aec8cb644b10f8cafc0c8d2e8f Actual: 48199ee9ff392eff8a1efcd177e2c10f4a4dfd9877e52e13b1f3540d5dfedac9 Archive: /Users/robinsimpson 1/Library/Caches/Homebrew/downloads/7be7daca52fab83c40ed326bdcf732c0060cdc0b9d97e0d94f1e71856982d00b--px4.py To retry an incomplete download, remove the file above.

Command brew install px4-sim results in:

==> Downloading https://raw.githubusercontent.com/PX4/Firmware/master/Tools/px4. Already downloaded: /Users/robinsimpson 1/Library/Caches/Homebrew/downloads/7be7daca52fab83c40ed326bdcf732c0060cdc0b9d97e0d94f1e71856982d00b--px4.py Error: SHA256 mismatch Expected: dafe6a32d270c48cbd42960adb2155bd5f60d1aec8cb644b10f8cafc0c8d2e8f Actual: 48199ee9ff392eff8a1efcd177e2c10f4a4dfd9877e52e13b1f3540d5dfedac9 Archive: /Users/robinsimpson 1/Library/Caches/Homebrew/downloads/7be7daca52fab83c40ed326bdcf732c0060cdc0b9d97e0d94f1e71856982d00b--px4.py To retry an incomplete download, remove the file above.

Command sudo -H pip install pyserial empy toml numpy pandas jinja2 pyyaml resulted in:

Error: invalid option: -H

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Tools Sub-tools used within PX4 ecosystem (scripts, etc)
Projects
None yet
Development

No branches or pull requests

4 participants