I'm at a loss. I'm using the OSX git (part of xcode) on 10.10.2. If you try 
both the OSX version and the macports version (using absolute paths to 
confirm), do they behave differently?

On Thursday, February 19, 2015 at 1:35:23 PM UTC-8, Jeff Kopmanis wrote:
>
> This is my ~/.gitconfig:
>
> [user]
>         name = Jeff Kopmanis
>         email = [email protected] <javascript:>
> [core]
>         excludesfile = /Users/kopmanis/.gitignore_global
> [difftool "sourcetree"]
>         cmd = opendiff \"$LOCAL\" \"$REMOTE\"
>         path = 
> [mergetool "sourcetree"]
>         cmd = 
> /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" 
> \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
>         trustExitCode = true
>
> Its on MacOSX 10.9.  I moved the file aside and it behaves identically.
>
> Running the git command with the -v  switch instead of -q gives the 
> following:
>
> $ git clone -v -b metadata-v2 git://github.com/JuliaLang/METADATA.jl 
> METADATA
> Cloning into 'METADATA'...
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.131]: errno=Operation timed out
>
> This is exactly what the -q switch did.  There was about a 2 minute (90 
> second) wait after the "Cloning into 'METADATA'..." message.  Here's what 
> telnet did:
>
> $ telnet github.com 9418
> Trying 192.30.252.130...
> Connected to github.com.
> Escape character is '^]'.
> ^]
> telnet> close
> Connection closed.
>
> I'm using git v2.2.1, and its the MacPorts copy, since MacOSX is so funky. 
> I use git daily and it doesn't give me any troubles with CloudForge or 
> Github (we have another project that uses Github).
>
> Which git is Julia using? If it hard codes a location it could be using 
> the MacOSX standard copy in /usr/bin/git (version 1.8.5.2 (Apple Git-48)).  
> MacPorts is the one I use in my path, which is at /opt/local/bin/git.
>
> I'm not sure why 2-factor auth would be an issue, since cloning is 
> anonymous and pretty public??
>
> Thanks for your help...any ideas would be welcome.
>
> -Jeff.
>
> On Thu, Feb 19, 2015 at 4:19 PM, Seth <[email protected] 
> <javascript:>> wrote:
>
>> If it turns out to be a git issue then you have to fix the underlying git 
>> issue before trying to use git with Julia.
>>
>> Do you have a ~/.gitconfig? What's in it? If you run the git clone with 
>> -v instead of -q, what do you see?
>>
>> Just to be clear: this does not appear to be an issue with Julia; it's 
>> with (your installation of) git. Fix that and Julia should start working.
>>
>>
>>
>> On Thursday, February 19, 2015 at 1:15:46 PM UTC-8, Jeff Kopmanis wrote:
>>>
>>> It's never asked me to authenticate...it just sits there until the 
>>> connection times out.  I don't do 2-factor auth on my machine, and not with 
>>> github.
>>>
>>> If it turns out to be a git issue, how do I tell Julia to use the 
>>> correct/additional options when doing Pkg.?? calls?
>>>
>>> On Thu, Feb 19, 2015 at 4:12 PM, Seth <[email protected]> wrote:
>>>
>>>> I recall running into this problem with OSX a while ago. Turns out it 
>>>> was an interaction between user credentials in .gitconfig and 2-factor 
>>>> auth. If that sounds similar to your setup, you might want to check that 
>>>> git is authenticating you properly at the command line.
>>>>
>>>>
>>>> On Thursday, February 19, 2015 at 12:30:56 PM UTC-8, Jeff Kopmanis 
>>>> wrote:
>>>>>
>>>>> I have the exact same problem under OSX. Telnetting to github.com 
>>>>> over port 9418 connects just fine.  I've tried both the MacPorts install 
>>>>> and the binary install from julialang.org with identical (failed) 
>>>>> results. I've tried the git command suggested below and the connection 
>>>>> fails again. The documentation link everyone keeps pointing us to (
>>>>> https://github.com/julialang/julia#source-download-and-compilation 
>>>>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjulialang%2Fjulia%23source-download-and-compilation&sa=D&sntz=1&usg=AFQjCNGWIckzKU-qJB0_oND_fbJtYHITaw>)
>>>>>  
>>>>> doesn't address this situation, so please stop referring us to this.
>>>>>
>>>>> I've also tried moving files into /usr/local/shared/julia/site/v0.3 
>>>>> to duplicate an install, but that's useless, as it thinks its still in 
>>>>> that 
>>>>> individual user's directory (there must be some hard coded paths 
>>>>> somewhere 
>>>>> in the installed packages).
>>>>>
>>>>> What's next, folks?
>>>>>
>>>>> -Jeff. :(
>>>>>
>>>>> On Saturday, August 2, 2014 at 12:34:15 PM UTC-4, Stefan Karpinski 
>>>>> wrote:
>>>>>>
>>>>>> Julia is just using the git program, so the problem here must be with 
>>>>>> git connecting to github.com over the git protocol. Can you try doing
>>>>>>
>>>>>> git clone -q -b metadata-v2 git://github.com/JuliaLang/METADATA.jl 
>>>>>> METADATA
>>>>>>
>>>>>> at the command line? Hopefully you can narrow it down to a failing 
>>>>>> case.
>>>>>>
>>>>>>
>>>>>> On Sat, Aug 2, 2014 at 2:56 AM, Shubham Bhushan <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> I am able to use git protocol there's no problem with that, git 
>>>>>>> works out of the box. However somehow julia can't connect to github. I 
>>>>>>> added julia from the ppa .
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Aug 2, 2014 at 9:07 AM, Stefan Karpinski <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> You are most likely behind a firewall. Can you clone packages from 
>>>>>>>> github manually using the git protocol? Can you telnet to 
>>>>>>>> github.com on port 9418?
>>>>>>>>  
>>>>>>>>
>>>>>>>> On Fri, Aug 1, 2014 at 5:48 PM, Shubham Bhushan <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> please help I can't add any packages I really really want to use 
>>>>>>>>> julia but i can't and the mailing list is terrible. But still I am 
>>>>>>>>> hoping 
>>>>>>>>> someone will help.
>>>>>>>>>  so here's what I am getting
>>>>>>>>> julia> Pkg.init()
>>>>>>>>> INFO: Initializing package repository /home/shubham/.julia/v0.2
>>>>>>>>> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
>>>>>>>>> fatal: unable to connect to github.com:
>>>>>>>>> github.com[0: 192.30.252.131]: errno=Connection timed out
>>>>>>>>>
>>>>>>>>> ERROR: failed process: Process(`git clone -q -b metadata-v2 git://
>>>>>>>>> github.com/JuliaLang/METADATA.jl METADATA`, ProcessExited(128)) 
>>>>>>>>> [128]
>>>>>>>>>  in pipeline_error at process.jl:476
>>>>>>>>>  in run at process.jl:453
>>>>>>>>>  in anonymous at no file:43
>>>>>>>>>  in cd at file.jl:22
>>>>>>>>>  in init at pkg/dir.jl:41
>>>>>>>>>  in init at pkg.jl:15
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> please help. 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> http://about.me/shubham.bhushan
>>>>>>>  
>>>>>>
>>>>>>
>>>
>>>
>>> -- 
>>> Jeff Kopmanis
>>> Monroe Big Band: http://monroebigband.com
>>> Sweet Melissa: http://sweetmelissarocks.com
>>> Soul Kitchen: http://soulkitchencooks.com
>>> Orange Can Astronomy http://orange-can.blogspot.com
>>> Pickle Reviews http://pickle-review.blogspot.com
>>> Saxessories http://saxessories.blogspot.com
>>> ** Go Green and leave this email on the Screen! **
>>>  
>>
>
>
> -- 
> Jeff Kopmanis
> Monroe Big Band: http://monroebigband.com
> Sweet Melissa: http://sweetmelissarocks.com
> Soul Kitchen: http://soulkitchencooks.com
> Orange Can Astronomy http://orange-can.blogspot.com
> Pickle Reviews http://pickle-review.blogspot.com
> Saxessories http://saxessories.blogspot.com
> ** Go Green and leave this email on the Screen! **
>  

Reply via email to