Hi Folks, <br><br>In response to the problem reported, would be great if you could update your CTK dashboard script changing the following url:<br><br><pre>http://<span class="x"><a href="http://github.com/commontk/CTK/raw/master/CMake">github.com/commontk/CTK/raw/master/CMake</a></span>/ctkDashboardDriverScript.cmake<br>
<br></pre>with <br><br><pre>http://<span class="x"><a href="http://commontk.org">commontk.org</a></span>/ctkDashboardDriverScript.cmake</pre><br>See <a href="https://github.com/commontk/CTK/commit/3bc831283fe56cfa58eede31557ce9c7fa773289">https://github.com/commontk/CTK/commit/3bc831283fe56cfa58eede31557ce9c7fa773289</a> for details<br>
<br>Thks<br>Jc<br><br><br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 2:07 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Dean, <br><br>Indeed, just notice that problem. <br><br>As mentioned <a href="http://twitter.com/github/status/29534618326" target="_blank">here</a> and <a href="https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere" target="_blank">here</a>, Github moves to SSL, the intent is too prevent "sidejack" attack. More details: <a href="https://github.com/blog/737-sidejack-prevention" target="_blank">https://github.com/blog/737-sidejack-prevention</a><br>
<br>Regarding CTK dashboard script, this later one attempt to download its associated dashboardDriverScript using the FILE(DOWNLOAD ..) function of CMake.<br><br>The problem we face seems related to the fact CURL library shipped with CMake isn't build with SSL support by default. (line 183 - CMake/Utilities/cmcurl/CMakeLists.txt<br>
<br>The solutions could be:<br> (1) Host the driverScripts on our wiki .. then no SSL related problem<br> (2) Use a version of cmake supporting SSL<br> (3) Do not use a driver scripts .. <br><br>I will setup solution (1) as a short term solution .. <br>
<br>Thks<br>Jc<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 11:45 AM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca" target="_blank">dean.inglis@camris.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
Ive been trying to submit a daily experimental and ran into the following<br>
unsupported protocol error:<br>
<br>
D:\Developer\Dashboards\Scripts>ctest -S ctk.cmake -VV<br>
* Extra verbosity turned on<br>
Reading Script: D:/Developer/Dashboards/Scripts/ctk.cmake<br>
site name: hyoid.Teneos<br>
build name: Win32.Vista-g++4.4.0-QT4.6.3-Release<br>
script mode: experimental<br>
CMake Error at ctk.cmake:127 (MESSAGE):<br>
error: Failed to download<br>
<a href="http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake" target="_blank">http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake</a><br>
<br>
- "unsupported protocol"<br>
Call Stack (most recent call first):<br>
ctk.cmake:136 (downloadFile)<br>
<br>
Error in read script: D:/Developer/Dashboards/Scripts/ctk.cmake<br>
<br>
Any ideas what might be causing this/how to fix? Has the url changed?<br>
My script has:<br>
<br>
#<br>
# Convenient macro allowing to download a file<br>
#<br>
MACRO(downloadFile url dest)<br>
FILE(DOWNLOAD ${url} ${dest} STATUS status)<br>
LIST(GET status 0 error_code)<br>
LIST(GET status 1 error_msg)<br>
IF(error_code)<br>
MESSAGE(FATAL_ERROR "error: Failed to download ${url} - ${error_msg}")<br>
ENDIF()<br>
ENDMACRO()<br>
<br>
#<br>
# Download and include dashboard driver script<br>
#<br>
set(url <a href="http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake" target="_blank">http://github.com/commontk/CTK/raw/master/CMake/ctkDashboardDriverScript.cmake</a>)<br>
set(dest ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}.driver)<br>
downloadFile(${url} ${dest})<br>
INCLUDE(${dest})<br>
<br>
thanks in advance,<br>
Dean <br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>