What is the .cache directory actually? And why is it moved into the ~\.julia 
folder for 0.4?

 

From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On 
Behalf Of Tony Kelman
Sent: Friday, September 25, 2015 2:35 PM
To: julia-users <julia-users@googlegroups.com>
Subject: [julia-users] Re: Pkg.[update()/install()/build()] woes on Windows 10 
64 bit

 

Try deleting everything in C:\Users\ejfie\.julia\v0.3\.cache  - something might 
be corrupt there


On Friday, September 25, 2015 at 12:29:14 PM UTC-7, Evan Fields wrote:

I've been encountering problems with packages. Here's what happened:

*       I installed Julia 0.3.11 via the 64 bit .exe on julialang.org 
<http://julialang.org> 
*       Changed the install path to C:\Julia-0.3.11 but otherwise all default 
options
*       On Windows 10 x64, not using Cygwin or related
*       Right after install I opened a Julia terminal window; I had the session 
below.

The errors are shown in the session below. I've tried

- Running as an administrator

- Running git config --global url."https://".insteadOf git:// in shell mode

- Running Pkg.init() (already initialized)

- Trying to clone a repository in Julia/Git using the git-bash there (it worked 
over https)

 

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.11 (2015-07-27 06:18 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32
 
julia> Pkg.add("Images")
INFO: Nothing to be done
INFO: METADATA is out-of-date — you may not have the latest version of Images
INFO: Use `Pkg.update()` to get the latest versions of your packages
 
julia> Pkg.update()
INFO: Updating METADATA...
Checking out files: 100% (1627/1627), done.
INFO: Updating cache of Hexagons...
INFO: Updating cache of Gadfly...
INFO: Updating cache of ArrayViews...
INFO: Updating cache of Lazy...
INFO: Updating cache of ImmutableArrays...
INFO: Updating cache of Graphics...
INFO: Updating cache of StatsBase...
INFO: Updating cache of Requires...
INFO: Updating cache of MacroTools...
INFO: Updating cache of NaNMath...
INFO: Updating cache of FactCheck...
INFO: Updating cache of DataArrays...
INFO: Updating cache of Grid...
INFO: Updating cache of Loess...
INFO: Updating cache of Compat...
INFO: Updating cache of FixedPointNumbers...
INFO: Updating cache of WoodburyMatrices...
INFO: Updating cache of Compose...
INFO: Updating cache of JuliaParser...
INFO: Updating cache of Iterators...
INFO: Updating cache of JSON...
INFO: Updating cache of DataFrames...
INFO: Updating cache of GZip...
INFO: Updating cache of Reexport...
INFO: Updating cache of Showoff...
INFO: Updating cache of Distributions...
INFO: Updating cache of Optim...
INFO: Updating cache of Color...
INFO: Updating cache of SortingAlgorithms...
INFO: Updating cache of Docile...
INFO: Updating cache of Calculus...
INFO: Updating cache of PDMats...
INFO: Updating cache of DualNumbers...
INFO: Updating cache of DataStructures...
INFO: Updating cache of Jewel...
ERROR: couldn't update C:\Users\ejfie\.julia\v0.3\.cache\Hexagons using `git 
remote update`
 in wait at task.jl:284
 in wait at task.jl:194
 in wait at task.jl:48
 in sync_end at task.jl:311
 in update at pkg/entry.jl:319
 in anonymous at pkg/dir.jl:28
 in cd at file.jl:30
 in cd at pkg/dir.jl:28
 in update at pkg.jl:41
 
julia> using Images
ERROR: Images not properly installed. Please run Pkg.build("Images") then 
restart Julia.
 in error at error.jl:21 (repeats 2 times)
while loading C:\Users\ejfie\.julia\v0.3\Images\src\ioformats/libmagickwand.jl, 
in expression starting on line 31
while loading C:\Users\ejfie\.julia\v0.3\Images\src\Images.jl, in expression 
starting on line 38
 
julia> Pkg.build("Images")
INFO: Building Images
=================================================[ ERROR: Images 
]=================================================
 
 
type Nothing has no field match
while loading C:\Users\ejfie\.julia\v0.3\Images\deps\build.jl, in expression 
starting on line 37
 
===================================================================================================================
 
 
=================================================[ BUILD ERRORS 
]==================================================
 
 
WARNING: Images had build errors.
 
 - packages with build errors remain installed in C:\Users\ejfie\.julia\v0.3
 - build the package(s) and all dependencies with `Pkg.build("Images")`
 - build a single package by running its `deps/build.jl` script
 
===================================================================================================================
 
 
julia>

 

Hopefully I'm missing something simple here! Any suggestion?

Reply via email to