[Ctk-developers] unsupported protocol error

Dean Inglis dean.inglis at camris.ca
Fri Nov 5 11:45:59 EDT 2010


Hi,
Ive been trying to submit a daily experimental and ran into the following
unsupported protocol error:

D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV
* Extra verbosity turned on
Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake
site name: hyoid.Teneos
build name: Win32.Vista-g++4.4.0-QT4.6.3-Release
script mode: experimental
CMake Error at ctk.cmake:127 (MESSAGE):
  error: Failed to download
  http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake

  - "unsupported protocol"
Call Stack (most recent call first):
  ctk.cmake:136 (downloadFile)

Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake

Any ideas what might be causing this/how to fix?  Has the url changed?
My script has:

#
# Convenient macro allowing to download a file
#
MACRO(downloadFile url dest)
  FILE(DOWNLOAD ${url} ${dest} STATUS status)
  LIST(GET status 0 error_code)
  LIST(GET status 1 error_msg)
  IF(error_code)
    MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}")
  ENDIF()
ENDMACRO()

#
# Download and include dashboard driver script
#
set(url 
http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake)
set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver)
downloadFile(${url} ${dest})
INCLUDE(${dest})

thanks in advance,
Dean 




More information about the Ctk-developers mailing list