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

File download hash mismatch #5469

Closed
AOndracek opened this issue Dec 17, 2019 · 6 comments
Closed

File download hash mismatch #5469

AOndracek opened this issue Dec 17, 2019 · 6 comments

Comments

@AOndracek
Copy link

Required Info
Operating System & Version {Win (10)
Platform PC
SDK Version { 2.0 }

Issue Description

When I clone the repository and run CMake (cmake .. -DBUILD_CSHARP_BINDINGS=ON -DBUILD_SHARED_LIBS=ON), I keep getting hash mismatch error(below).
I tried downloading/compiling multiple times with always the same result.
Earlier versions (e.g. since 2.22) compiled fine.
What could be the cause?
Thank you.

CMake Error at third-party/libtm/fw/CMakeLists.txt:22 (file):
file DOWNLOAD HASH mismatch

for file: [D:/SoftwareMix/RealSenseLib/librealsense/build/third-party/libtm/fw/target-0.2.0.879.mvcmd]
  expected hash: [b7b722b785fcf5f8c31877173c8ba02fed120e03]
    actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
         status: [22;"HTTP response code said error"]

Call Stack (most recent call first):
third-party/libtm/fw/CMakeLists.txt:47 (target_binary)

@ev-mp
Copy link
Collaborator

ev-mp commented Dec 17, 2019

@AOndracek , iirc the hash da39a3ee5e6b4b0d3255bfef95601890afd80709 corresponds to zero-sized file, which can mean that the download has failed, file being locked or access permissions not valid.
Try to verify the internet connection (proxies, firewall), then remove all the intermediate files, including the one mentioned above, and make a clean cmake build.

@AOndracek
Copy link
Author

Ok, the file size is 0, it doesn't seem to be locked or with restricted access permissions. I ran the cmake from cmd "as admin" as well, but to no avail. There is also no proxy. I'm not sure how to check the internet connection however - mainly the firewall, could you give me some advice on that please?

@ev-mp
Copy link
Collaborator

ev-mp commented Dec 18, 2019

@AOndracek
Copy link
Author

Thank you very much - while using the link, I discovered that there was a HTTP filter I didn't know about, which was blocking the download.
So now it is solved.

@becker666
Copy link

I get the same problem but the file is a non-empty png which i can load in preview fine

@MartyG-RealSense
Copy link
Collaborator

Hi @becker666 There is further advice about the file DOWNLOAD HASH mismatch error at #4833 (comment)

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

No branches or pull requests

4 participants