CDash build error: JSON not found

acsenrafilho
Mon, 18 Nov 2024 12:43:39 +0000
Development

Hi Slicers,

I have uploaded some projects to the Slicer Extension Index. Some of them presented the following build error:

error: EXTENSION_FILE CMake variable points to a inexistent file or
  directory: /.../SlicerDTIALPS-build/./Slicer-DTI-ALPS.json
Call Stack (most recent call first):
  /work/Preview/Slicer-0/Extensions/CMake/SlicerExtensionPackageAndUploadTarget.cmake:206 (slicerFunctionExtractExtensionDescriptionFromJson)

This example was for the extension: Slicer-DTI-ALPS
Link for the .json file in the SlicerExtensionIndex: ExtensionsIndex/SlicerDTIALPS.json at main · Slicer/ExtensionsIndex · GitHub

However, a problem occurred to me before uploading this .json file. In fact, the building process (I followed the steps in the Slicer documentation) did not create a .json file but the old .s4ext text file.

I manually created the .json file to upload to the Slicer Extension Index.

How can I update the build folder to automatically generate the .json file? I believe that is the problem to CDash build error…

Note: A strange thing happens to another Slicer Extension (Brain Volume Refinement) that does all the building process normally, but it has the same building instructions (as far as I know). Hence, the .json file was not the problem here…

Thank you in advance for the assistance!

7 posts - 3 participants