Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failing downloads with dcmtk #33

Closed
finetjul opened this issue Aug 29, 2011 · 8 comments

Comments

@finetjul
Copy link
Member

commented Aug 29, 2011

With slicer dashboards, we have frequent (>2x a week?) dashboards that fail the step of downloading dcmtk.
I suspect that part of the reason is because the download uses the http protocol.
Would it be possible for the offis team to add the git protocol as a way to access the dcmtk repo?
If it is not feasible, then I guess we can clone the official repo on github/commontk and use that one instead, hopefully it will solve our download failure.

@trabs

This comment has been minimized.

Copy link
Member

commented Aug 30, 2011

Hi,

Can you give any specific errors? git over http places most of the logic onto the client, so it should be not too old -- maybe it's worth checking the version and update if necessary.

Enabling the git protocol is an option I will discuss with the team.

@finetjul

This comment has been minimized.

Copy link
Member Author

commented Aug 31, 2011

Here is an example: http://www.cdash.org/slicer4/viewBuildError.php?buildid=1096
git version 1.5.4.3, is it too old ?
Is there a specific time in the day when your server reboots/backup

Logs for reference:
error: Unable to find 14950b7e97a746f94938bebd62779a3753c18ca1 under http://git.dcmtk.org/dcmtk.git
Cannot obtain needed blob 14950b7e97a746f94938bebd62779a3753c18ca1
while processing commit 6e9ea87.
error: Fetch failed.

CMake Error at DCMTK-cmake/tmp/DCMTK-gitclone.cmake:19 (message):

Failed to clone repository: 'http://git.dcmtk.org/dcmtk.git'

[ 42%] No patch step for 'DCMTK'
[ 42%] No update step for 'DCMTK'
cd: 1: can't cd to /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-CLI-Release-nightly/CTK-build/DCMTK
[ 42%] Performing configure step for 'DCMTK'

@trabs

This comment has been minimized.

Copy link
Member

commented Aug 31, 2011

We internally had problems also with a version 1.5.xxx which is from 2008 it seems, so this might be the problem.

Nevertheless I will set up a git protocol server as an alternative since it is also more efficient than using http and very easy to configure. I am pretty busy with another task at the moment, but you can probably expect it this week.

@finetjul

This comment has been minimized.

Copy link
Member Author

commented Aug 31, 2011

Sounds like a great plan. It's also good to know about these http issues with git.
Thanks !

@trabs

This comment has been minimized.

Copy link
Member

commented Sep 1, 2011

The git protocol should now be available for dcmtk, i.e.

git clone git://git.dcmtk.org/dcmtk.git

should work now :-)

@trabs trabs closed this Sep 1, 2011
@finetjul finetjul reopened this Sep 1, 2011
@finetjul

This comment has been minimized.

Copy link
Member Author

commented Sep 1, 2011

I'm having the same failure on different machines:
$ git clone git://git.dcmtk.org/dcmtk.git
Cloning into dcmtk...
git.dcmtk.org[0: 134.106.52.157]: errno=No error
fatal: unable to connect a socket (No error)

@trabs

This comment has been minimized.

Copy link
Member

commented Sep 1, 2011

Oops, that's a classic one...forgot to open the firewall on port 9418 for the world outside OFFIS ;-) Please try again, sorry for inconvenience.

@finetjul

This comment has been minimized.

Copy link
Member Author

commented Sep 1, 2011

Fantastic, that works !
Thanks, let's hope our dashboards will be ok with it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.