[ITK-dev] Refresh cmake ITKData

Pablo Hernández pablo.hernandez.cerdan at outlook.com
Wed Jun 24 21:12:26 EDT 2015


Yes, it works.

Date: Wed, 24 Jun 2015 21:08:57 -0400
Subject: Re: [ITK-dev] Refresh cmake ITKData
From: matt.mccormick at kitware.com
To: pablo.hernandez.cerdan at outlook.com
CC: insight-developers at itk.org

Does the following work?

  wget http://itkexternaldata.blob.core.windows.net/md5/8aa41348437f595b21e08eb46726002a

It is working from my location.
On Wed, Jun 24, 2015 at 8:59 PM, Pablo Hernández <pablo.hernandez.cerdan at outlook.com> wrote:



After "make" in build directory: There are quite a lot of similar errors.

[ 
 0%] Generating 
/home/phc/Software/ITK-dev/build/ExternalData/Testing/Data/Baseline/BasicFilters/GradientAnisotropicDiffusionImageFilterTest2.png
-- Fetching "http://itkexternaldata.blob.core.windows.net/md5/8aa41348437f595b21e08eb46726002a"
-- [download 100% complete]
-- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a"
-- [download 100% complete]
-- Fetching "http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5"
-- [download 100% complete]
CMake Error at /home/phc/Software/ITK-dev/CMake/ExternalData.cmake:1012 (message):
  Object MD5=8aa41348437f595b21e08eb46726002a not found at:

http://itkexternaldata.blob.core.windows.net/md5/8aa41348437f595b21e08eb46726002a (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5 (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://www.itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5 (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
Call Stack (most recent call first):
    /home/phc/Software/ITK-dev/CMake/ExternalData.cmake:1034 (_ExternalData_download_object)


    
 make[2]: *** 
[ExternalData/Testing/Data/Baseline/BasicFilters/GradientAnisotropicDiffusionImageFilterTest2.png.md5-stamp]
 Error 1
     make[1]: *** [CMakeFiles/ITKData.dir/all] Error 2
     make: *** [all] Error 2

From: pablo.hernandez.cerdan at outlook.com
To: matt.mccormick at kitware.com
Subject: RE: [ITK-dev] Refresh cmake ITKData
Date: Thu, 25 Jun 2015 02:58:57 +0200




After "make" in build directory: There are quite a lot of similar errors.

[  0%] Generating /home/phc/Software/ITK-dev/build/ExternalData/Testing/Data/Baseline/BasicFilters/GradientAnisotropicDiffusionImageFilterTest2.png
-- Fetching "http://itkexternaldata.blob.core.windows.net/md5/8aa41348437f595b21e08eb46726002a"
-- [download 100% complete]
-- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5"
-- [download 100% complete]
-- Fetching "http://www.itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a"
-- [download 100% complete]
-- Fetching "http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5"
-- [download 100% complete]
CMake Error at /home/phc/Software/ITK-dev/CMake/ExternalData.cmake:1012 (message):
  Object MD5=8aa41348437f595b21e08eb46726002a not found at:

http://itkexternaldata.blob.core.windows.net/md5/8aa41348437f595b21e08eb46726002a (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5 (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://www.itk.org/files/ExternalData/MD5/8aa41348437f595b21e08eb46726002a (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=8aa41348437f595b21e08eb46726002a&algorithm=MD5 (wrong hash MD5=663d525d9d94726bcea707a0a0b2cd73)
Call Stack (most recent call first):
    /home/phc/Software/ITK-dev/CMake/ExternalData.cmake:1034 (_ExternalData_download_object)


     make[2]: *** [ExternalData/Testing/Data/Baseline/BasicFilters/GradientAnisotropicDiffusionImageFilterTest2.png.md5-stamp] Error 1
     make[1]: *** [CMakeFiles/ITKData.dir/all] Error 2
     make: *** [all] Error 2

Date: Wed, 24 Jun 2015 20:43:50 -0400
Subject: Re: [ITK-dev] Refresh cmake ITKData
From: matt.mccormick at kitware.com
To: pablo.hernandez.cerdan at outlook.com
CC: insight-developers at itk.org

Hi Pablo,

Could you please share the full text of an error?

Thanks,
Matt

On Wed, Jun 24, 2015 at 8:20 PM, Pablo Hernández <pablo.hernandez.cerdan at outlook.com> wrote:



Hi, I am receiving a lot of wrong hash errors when building ITKData. I am guessing that is because I am updating an old build, but not sure.
Is there a way to force cmake to rerun the scripts related with ITKData to refresh all thoses hashes? I mean, the CMakesLists.txt from all the tests for example.

make clean ITKData, rebuilds everything but the hash stuff is handled by cmake, I am keeping seeing errors downloading ExternalData.

Thanks in advance.
Pablo
 		 	   		  

_______________________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at

http://www.kitware.com/opensource/opensource.html



Kitware offers ITK Training Courses, for more information visit:

http://kitware.com/products/protraining.php



Please keep messages on-topic and check the ITK FAQ at:

http://www.itk.org/Wiki/ITK_FAQ



Follow this link to subscribe/unsubscribe:

http://public.kitware.com/mailman/listinfo/insight-developers



 		 	   		   		 	   		  

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20150625/98adc469/attachment.html>


More information about the Insight-developers mailing list