Ok, I tried a different approach that seemed to work:

1) I modified my global .gitconfig with lines like this (as per
http://www.paraview.org/Wiki/Git/Trouble#Firewall_Blocks_Port_9418):

[url "http://paraview.org/ParaView.git";]
insteadOf = git://paraview.org/ParaView.git

[url "http://vtk.org/VTK.git";]
insteadOf = git://vtk.org/VTK.git

[url "http://paraview.org/VisItBridge.git";]
insteadOf = git://paraview.org/VisItBridge.git

[url "http://public.kitware.com/protobuf.git";]
insteadOf = git://public.kitware.com/protobuf.git

[url "http://paraview.org/QtTesting.git";]
insteadOf = git://paraview.org/QtTesting.git

2) and then, ran git clone --recursive git://paraview.org/ParaView.git (as
per http://www.paraview.org/Wiki/ParaView/Git/Download#Clone).

It ultimately failed:
zzz@zzz:~/code$ git clone --recursive git://paraview.org/ParaView.gitparaview4
Cloning into 'paraview4'...
remote: Counting objects: 310247, done.
remote: Compressing objects: 100% (78281/78281), done.
remote: Total 310247 (delta 233314), reused 307876 (delta 231202)
Receiving objects: 100% (310247/310247), 108.04 MiB | 155 KiB/s, done.
Resolving deltas: 100% (233314/233314), done.
Submodule 'ThirdParty/IceT/vtkicet' (git://paraview.org/IceT.git)
registered for path 'ThirdParty/IceT/vtkicet'
Submodule 'ThirdParty/QtTesting/vtkqttesting' (git://
paraview.org/QtTesting.git) registered for path
'ThirdParty/QtTesting/vtkqttesting'
Submodule 'ThirdParty/protobuf/vtkprotobuf' (git://
public.kitware.com/protobuf.git) registered for path
'ThirdParty/protobuf/vtkprotobuf'
Submodule 'Utilities/VisItBridge' (git://paraview.org/VisItBridge.git)
registered for path 'Utilities/VisItBridge'
Submodule 'VTK' (git://vtk.org/VTK.git) registered for path 'VTK'
Cloning into 'ThirdParty/IceT/vtkicet'...
fatal: unable to connect to paraview.org:
paraview.org[0: 66.194.253.19]: errno=Connection timed out

3) But then I realized that I forgot to put this in the .gitconfig file:

[url "http://paraview.org/IceT.git";]
insteadOf = git://paraview.org/IceT.git

4) Then ran git submodule update and it seemed to work:

zzz@zzz:~/code/paraview4$ git submodule update
remote: Counting objects: 3999, done.
remote: Compressing objects: 100% (990/990), done.
remote: Total 3999 (delta 3004), reused 3999 (delta 3004)
Receiving objects: 100% (3999/3999), 1022.43 KiB | 104 KiB/s, done.
Resolving deltas: 100% (3004/3004), done.
>From http://paraview.org/IceT
 * [new branch]      master     -> origin/master
 * [new branch]      release    -> origin/release
>From http://paraview.org/IceT
 * [new tag]         IceT-2.0.0 -> IceT-2.0.0
 * [new tag]         IceT-2.0.1 -> IceT-2.0.1
 * [new tag]         IceT-2.1-Root -> IceT-2.1-Root
 * [new tag]         IceT-2.1.0 -> IceT-2.1.0
 * [new tag]         IceT-2.1.1 -> IceT-2.1.1
Submodule path 'ThirdParty/IceT/vtkicet': checked out
'c6166712c7e86a4cded4b2991e6e7cb9224a3b6e'
Cloning into 'ThirdParty/QtTesting/vtkqttesting'...
remote: Counting objects: 1418, done.
remote: Compressing objects: 100% (349/349), done.
remote: Total 1418 (delta 1067), reused 1418 (delta 1067)
Receiving objects: 100% (1418/1418), 355.02 KiB | 176 KiB/s, done.
Resolving deltas: 100% (1067/1067), done.
Submodule path 'ThirdParty/QtTesting/vtkqttesting': checked out
'9324fcb544c8450d74d7f7d162fd50b430751325'
Cloning into 'ThirdParty/protobuf/vtkprotobuf'...
remote: Counting objects: 792, done.
remote: Compressing objects: 100% (433/433), done.
remote: Total 792 (delta 333), reused 792 (delta 333)
Receiving objects: 100% (792/792), 1.80 MiB | 179 KiB/s, done.
Resolving deltas: 100% (333/333), done.
Submodule path 'ThirdParty/protobuf/vtkprotobuf': checked out
'd9393060a595b385ab55f55f791b48eb2fb1233f'
Cloning into 'Utilities/VisItBridge'...
remote: Counting objects: 6773, done.
remote: Compressing objects: 100% (2075/2075), done.
remote: Total 6773 (delta 4685), reused 6773 (delta 4685)
Receiving objects: 100% (6773/6773), 7.64 MiB | 135 KiB/s, done.
Resolving deltas: 100% (4685/4685), done.
Submodule path 'Utilities/VisItBridge': checked out
'9fa0323662beba423568007bcda76083388b6dc8'
Cloning into 'VTK'...
remote: Counting objects: 365750, done.
remote: Compressing objects: 100% (81037/81037), done.
remote: Total 365750 (delta 285911), reused 360373 (delta 280649)
Receiving objects: 100% (365750/365750), 102.14 MiB | 127 KiB/s, done.
Resolving deltas: 100% (285911/285911), done.
Submodule path 'VTK': checked out '341ba1012667c59a753977aed544f972689853b8'


I am not sure why replacing manually changing the protocol from 'git' to
'http' did not work before since the config file seems to do something very
similar ???





On Wed, Nov 13, 2013 at 3:26 PM, Grant Mc Auley <[email protected]> wrote:

> I am trying to install paraview using git following the Unix-like
> instructions at
> http://paraview.org/Wiki/ParaView:Build_And_Install#Checkout_Development_Version_from_git
>  .
>  All this works fine (although I had to use 'http' protocol to clone):
>
> Prepare directory for download
>  # mkdir $HOME/projects
>  # cd $HOME/projects
>
> To download the source code
>  # git clone git://paraview.org/ParaView.git ParaView
>  # cd ParaView
>  # git checkout -b trunk origin/master
>  # git submodule init
>
>
> However, when I try the next step (git update submodules), I see this:
>
> zzz@zzz:~/code/ParaView$ git submodule update
> fatal: Needed a single revision
> Unable to find current revision in submodule path 'ThirdParty/IceT/vtkicet'
>
> At first I thought it was an access issue, and changed the 'git' protocol
> to 'http' in the .gitmodules file, but I still see the same message.
>
> Any help would be appreciated.
>
>
>
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to