[julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-14 Thread Tomas Lycken
Now, in fact the rc4 has also stopped working :( So yes, I assume this is a configuration error on my part rather than a regression in Julia. But I still don’t know how to fix it… :P This is what my configuration looks like: PS C:\Users\Tomas Lycken\.ssh> ls Directory: C:\Users\Tomas Lyc

[julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-14 Thread Tony Kelman
The Win and Mac binaries bundle their own git, rather than relying on having it manually installed and on the path. Check the Git folder under the Julia install, run the git-bash there to try getting keys working.

[julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-14 Thread Tomas Lycken
Thanks! That was a useful pointer, and it got me someways down the road, but I still see really weird things... Without me (knowingly) changing anything, I went into the Julia install folder, into Git, and double-clicked git-bash.cmd. That opened a bash shell, in which I could cd to e.g. the ME

[julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-14 Thread Tony Kelman
I'm not sure. When you run in git-bash, is the environment variable HOME set? If you set it in Julia, does it change anything? On Wednesday, October 14, 2015 at 2:10:48 AM UTC-7, Tomas Lycken wrote: > > Thanks! That was a useful pointer, and it got me someways down the road, > but I still see r

[julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-14 Thread Tomas Lycken
Good catch! # in git bash $ echo $HOME /c/Users/Tomas Lycken # in Julia 0.4 julia> ENV["HOME"] ERROR: KeyError: HOME not found in getindex at env.jl:37 julia> ENV["HOME"] = "C:\\Users\\Tomas\ Lycken\\" "C:\\Users\\Tomas Lycken\\" julia> Pkg.update() INFO: Updating METADATA... INFO: Updating

Re: [julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-15 Thread tavert
Not necessarily, git-bash is a posix login shell. Windows doesn't usually set HOME, we use it if set in Julia but have a fallback for when it isn't. On Oct 14, 2015 11:28 PM, "Tomas Lycken" wrote: > Good catch! > > # in git bash > $ echo $HOME > /c/Users/Tomas Lycken > > # in Julia 0.4 > julia> E

Re: [julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-15 Thread Tomas Lycken
OK, let me re-phrase. I assume it’s a bug that Julia doesn’t find my home directory? This applies not only to git configuration, as it turns out - if I, for example, put a .juliarc file in my home directory, it isn’t run on startup (I assume because Julia has no indication anywhere that it sh

Re: [julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-15 Thread Tony Kelman
Are HOMEDRIVE and HOMEPATH set? The homedir() function should be falling back to the concatenation of those on windows.

Re: [julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-15 Thread Tomas Lycken
Yup, that seems to work as expected. julia> ENV["HOMEDRIVE"] "C:" julia> ENV["HOMEPATH"] "\\Users\\Tomas Lycken" julia> homedir() "C:\\Users\\Tomas Lycken" A .juliarc in that directory still isn’t run, though. // T On Thursday, October 15, 2015 at 3:28:08 PM UTC+2, Tony Kelman wrote: Are H

Re: [julia-users] Re: Which public key is Julia 0.4.0 Pkg.Git trying to use on Windows?

2015-10-15 Thread tony
Not sure what's wrong. Might be the space. On Thu, Oct 15, 2015 at 7:33 AM -0700, "Tomas Lycken" wrote: Yup, that seems to work as expected. julia> ENV["HOMEDRIVE"] "C:" julia> ENV["HOMEPATH"] "\\Users\\Tomas Lycken" julia> homedir() "C:\\Users\\Tomas Lycken" A .juliarc in that director