[Insight-developers] New process for adding data
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Fri Jun 24 17:03:45 EDT 2011
Would it be possible to make the -all target depend on ITKData?
I was trying to verify Bill's change by simply running
make -j8 ITK-ItkVtkGlue-all
but it was failing with the message at the end of this mail.
make ITKData
fixed that, but it would be better to make it fully idiot proof.
Gaëtan
[glehmann at marvin build]$ make -j8 ITK-ItkVtkGlue-all
[ 0%] Built target itkv3p_lsqr
[ 2%] [ 2%] [ 2%] Built target H5make_libsettings
Built target itkzlib
Built target H5detect
[ 4%] Built target itksys
[ 6%] Built target itkvcl
[ 8%] Built target gdcmCommon
[ 8%] Built target gdcmuuid
[ 10%] Built target itkopenjpeg
[ 10%] Built target ITKEXPAT
[ 10%] Built target ITKznz
[ 12%] [ 12%] Built target itkjpeg
[ 19%] [ 19%] Built target ITKMetaIO
[ 23%] Built target gdcmjpeg12
Built target gdcmjpeg8
Built target gdcmjpeg16
[ 27%] Built target ITKNrrdIO
[ 27%] Built target itkpng
[ 27%] [ 27%] Built target itkmkg3states
[ 27%] Generating /home/glehmann/src/ITK/build/ExternalData/Modules/
Bridge/ItkVtkGlue/test/Baseline/QuickViewTest0.png
Generating /home/glehmann/src/ITK/build/ExternalData/Modules/Bridge/
ItkVtkGlue/test/Baseline/QuickViewTest.png
[ 27%] Built target ITKniftiio
-- Fetching "file:////home/glehmann/src/ITK/.ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
"
-- Fetching "file:////home/glehmann/src/ITK/.ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
"
-- Fetching "http://midas.kitware.com/api/rest/midas.bitstream.by.hash?hash=c7787b3f83e90bc342bdf6b1649788b5&algorithm=MD5
"
-- Fetching "http://midas.kitware.com/api/rest/midas.bitstream.by.hash?hash=c7787b3f83e90bc342bdf6b1649788b5&algorithm=MD5
"
[ 29%] Built target itktiff
[ 31%] Built target gdcmDSED
[ 31%] Built target gdcmIOD
[ 31%] Built target gdcmDICT
-- [download 100% complete]
-- [download 100% complete]
[ 36%] Built target gdcmMSFF
[ 51%] Built target itkhdf5
[ 53%] Built target itkhdf5_cpp
[ 68%] Built target itkvnl
-- Fetching "http://www.itk.org/files/ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
"
-- Fetching "http://www.itk.org/files/ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
"
-- [download 100% complete]
-- [download 100% complete]
-- [download 2% complete]
-- [download 9% complete]
-- [download 2% complete]
-- [download 6% complete]
-- [download 9% complete]
-- [download 12% complete]
-- [download 15% complete]
-- [download 18% complete]
-- [download 21% complete]
-- [download 24% complete]
-- [download 27% complete]
-- [download 27% complete]
-- [download 53% complete]
-- [download 56% complete]
-- [download 59% complete]
-- [download 62% complete]
-- [download 65% complete]
-- [download 31% complete]
-- [download 34% complete]
-- [download 37% complete]
-- [download 40% complete]
-- [download 43% complete]
-- [download 46% complete]
-- [download 49% complete]
-- [download 53% complete]
-- [download 56% complete]
-- [download 68% complete]
-- [download 71% complete]
-- [download 78% complete]
-- [download 81% complete]
-- [download 84% complete]
-- [download 87% complete]
-- [download 90% complete]
-- [download 93% complete]
-- [download 96% complete]
-- [download 100% complete]
-- [download 59% complete]
-- [download 62% complete]
-- [download 65% complete]
-- [download 68% complete]
-- [download 71% complete]
-- [download 74% complete]
-- [download 78% complete]
CMake Error at /home/glehmann/src/ITK/CMake/ExternalData.cmake:594
(message):
Object MD5=c7787b3f83e90bc342bdf6b1649788b5 not found at:
file:////home/glehmann/src/ITK/.ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
("Couldn't read a file:// file")
http://midas.kitware.com/api/rest/midas.bitstream.by.hash?hash=c7787b3f83e90bc342bdf6b1649788b5&algorithm=MD5
(wrong hash MD5=a76764452db69661970b32dda5463c5d)
http://www.itk.org/files/ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
(wrong hash MD5=764fb2379f313f3ca45eae3aca31d072)
Call Stack (most recent call first):
/home/glehmann/src/ITK/CMake/ExternalData.cmake:616
(_ExternalData_download_object)
-- [download 100% complete]
make[3]: *** [ExternalData/Modules/Bridge/ItkVtkGlue/test/Baseline/
QuickViewTest0.png.md5] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/glehmann/src/ITK/build/ExternalData/Objects/MD5/
c7787b3f83e90bc342bdf6b1649788b5.tmpQgz5DC: No such file or directory
CMake Error at /home/glehmann/src/ITK/CMake/ExternalData.cmake:247
(string):
string end index: 32 is out of range 0 - 0
Call Stack (most recent call first):
/home/glehmann/src/ITK/CMake/ExternalData.cmake:573
(_ExternalData_compute_hash)
/home/glehmann/src/ITK/CMake/ExternalData.cmake:616
(_ExternalData_download_object)
make[3]: *** [ExternalData/Modules/Bridge/ItkVtkGlue/test/Baseline/
QuickViewTest.png.md5] Error 1
make[2]: *** [CMakeFiles/ITKData.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 85%] Built target itkv3p_netlib
make[1]: *** [Modules/Bridge/ItkVtkGlue/CMakeFiles/ITK-ItkVtkGlue-
all.dir/rule] Error 2
make: *** [ITK-ItkVtkGlue-all] Error 2
Le 24 juin 11 à 22:41, Bill Lorensen a écrit :
> Brad,
>
> Maybe you should add a bold note on the wiki page to tell the old
> timers to rerun the setup scripts.
>
> BTW, the kudos still hold,
>
> Bill
>
> On Fri, Jun 24, 2011 at 4:30 PM, Brad King <brad.king at kitware.com>
> wrote:
>> On 06/24/2011 04:26 PM, Bill Lorensen wrote:
>>> I changed the name of the baseline file, ran cmake, make. During the
>>> commit I saw the proper messages:
>>> Modules/Bridge/ItkVtkGlue/test/Baseline/QuickViewTest.png.md5: Added
>>> content to Git at refs/data/MD5/c7787b3f83e90bc342bdf6b1649788b5
>>> Modules/Bridge/ItkVtkGlue/test/Baseline/QuickViewTest.png.md5: Added
>>> content to local store at
>>> .ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
>>> Content link Modules/Bridge/ItkVtkGlue/test/Baseline/
>>> QuickViewTest.png.md5
>>> -> .ExternalData/MD5/c7787b3f83e90bc342bdf6b1649788b5
>>>
>>> which I had not seen before.
>>>
>>> Now I'll push to gerrit and try pull to another system.
>>
>> Great! Nevermind my previous response. The data object was uploaded
>> correctly this time :)
>>
>> -Brad
>>
> _______________________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-developers
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://mima2.jouy.inra.fr http://www.itk.org
http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110624/fa5ca538/attachment-0001.pgp>
More information about the Insight-developers
mailing list