Closed jakebolewski closed 9 years ago
All the more reason to work on #7339 ? Not positive that it would fix this immediately, but it might.
I this related?
julia> versioninfo()
Julia Version 0.4.0-dev+1060
Commit 159274f* (2014-10-12 17:15 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> Pkg.add("Jewel")
fatal: Not a git repository (or any of the parent directories): .git
ERROR: failed process: Process(setenv(`git rev-parse --git-dir`; dir="C:\\Users\
\Sim\\.julia\\v0.4\\.cache\\Compose"), ProcessExited(128)) [128]
in stream_wait at stream.jl:265
@SimonDanisch is that a from-source build? Did you do make win-extras && make dist
and run the installer? Unless you do that, the package manager doesn't really work on a Windows from-source build.
Ah, I totally forgot to tell the most important bits:
I did install it with win-extras, and other packages do install, just not Jewel (and probably others?!).
Also run('echo hello')
works.
Sorry for my bad guess then. What does ls -al /c/Users/Sim/.julia/v0.4/.cache/Compose
looks like? You might have a corrupted cache somehow.
Oh I see. That was indeed the error... Thanks a lot! Maybe another error message would be appropriate?!
bump
Instead of just using stock @sync
and @async
here https://github.com/JuliaLang/julia/blob/ef062117bab19959a6905b1bb6d7963b42dddea4/base/pkg/entry.jl#L255-L278 I think it might make sense to limit the number of simultaneous instances of git we spawn to CPU_CORES
?
One hack is to increase the OSX kernel limits from 10,240 (!), e.g. with
sysctl -w kern.maxfiles=20480 (or whatever number you choose)
sysctl -w kern.maxfilesperproc=18000 (or whatever number you choose)
Closed by #11152
I installed every registered Julia pakage to test against. On OS X I'm seeing this error (it makes it down to the F's before dying). Trying to call
Pkg.update()
again segfaults.