JuliaDataCubes / EarthDataLab.jl

Julia interface for Reading from the Earth System Datacube
http://earthsystemdatacube.net
Other
33 stars 14 forks source link

Precompiling error #244

Closed lazarusA closed 3 years ago

lazarusA commented 3 years ago

Hello, after updating I'm hitting this error:

julia> using ESDL
[ Info: Precompiling ESDL [359177bc-a543-11e8-11b7-bb015dba3358]
ERROR: LoadError: LoadError: UndefVarError: aws_config not defined
Stacktrace:
 [1] include(::Function, ::Module, ::String) at .\Base.jl:380
 [2] include at .\Base.jl:368 [inlined]
 [3] include(::String) at C:\Users\lalonso\.julia\packages\ESDL\ngjNz\src\ESDL.jl:7 
 [4] top-level scope at C:\Users\lalonso\.julia\packages\ESDL\ngjNz\src\ESDL.jl:11  
 [5] include(::Function, ::Module, ::String) at .\Base.jl:380
 [6] include(::Module, ::String) at .\Base.jl:368
 [7] top-level scope at none:2
 [8] eval at .\boot.jl:331 [inlined]
 [9] eval(::Expr) at .\client.jl:467
 [10] top-level scope at .\none:3
in expression starting at C:\Users\lalonso\.julia\packages\ESDL\ngjNz\src\esdc.jl:3 
in expression starting at C:\Users\lalonso\.julia\packages\ESDL\ngjNz\src\ESDL.jl:11
ERROR: Failed to precompile ESDL [359177bc-a543-11e8-11b7-bb015dba3358]

any pointers on how to solve it?

thanks.

meggart commented 3 years ago

Sorry for this. For now you can fix this by pinning Zarr to version 0.5 I will try to fix this today so that the package also works with Zarr v0.6. We should also add an upper version bound for Zarr.jl in Project.toml.

meggart commented 3 years ago

Fixed through #245

lazarusA commented 3 years ago

Now, a lot more things are broken [for a new installation]. Probably something related to YAXArrays ??

ERROR: Unsatisfiable requirements detected for package FilePaths [8fc22ac5]:
 FilePaths [8fc22ac5] log:
 ├─possible versions are: [0.7.0, 0.8.0-0.8.1] or uninstalled
 ├─restricted by compatibility requirements with VegaDatasets [0ae4a718] to versions: [0.7.0, 0.8.0-0.8.1]
 │ └─VegaDatasets [0ae4a718] log:
 │   ├─possible versions are: [0.4.0-0.4.1, 0.5.0, 1.0.0, 2.0.0, 2.1.0-2.1.1] or uninstalled
 │   └─restricted to versions * by an explicit requirement, leaving only versions [0.4.0-0.4.1, 0.5.0, 1.0.0, 2.0.0, 2.1.0-2.1.1]
 └─restricted by compatibility requirements with Reexport [189a3867] to versions: uninstalled — no versions left
   └─Reexport [189a3867] log:
     ├─possible versions are: [0.2.0, 1.0.0] or uninstalled
     ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.2.0, 1.0.0]
     │ └─Colors [5ae59095] log:
     │   ├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.6] or uninstalled
     │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.6]
     │   └─restricted by compatibility requirements with Reexport [189a3867] to versions: 0.12.6 or uninstalled, leaving only versions: 0.12.6
     │     └─Reexport [189a3867] log: see above
     └─restricted by compatibility requirements with YAXArrays [c21b50f5] to versions: 1.0.0
       └─YAXArrays [c21b50f5] log:
         ├─possible versions are: 0.1.0-0.1.2 or uninstalled
         └─restricted to versions 0.1.2-0.1 by ESDL [359177bc], leaving only versions 0.1.2
           └─ESDL [359177bc] log:
             ├─possible versions are: 0.9.0 or uninstalled
             └─ESDL [359177bc] is fixed to version 0.9.0
Stacktrace:
meggart commented 3 years ago

There is a dependency conflict for your environment, because of some other package that you have installed. I think the cuplrit in this case is FIlePaths.jl, I have just created a PR https://github.com/rofinn/FilePaths.jl/pull/53

lazarusA commented 3 years ago

Thanks, I created a new environment I everything works fine there. Once again, thank you 😃 .