I added LibPQ
on my Windows 10 machine, but I’m getting a weird error
using LibPQ
ERROR: LoadError: InitError: ArgumentError: Unknown time zone "America/Los_Angeles"
Stacktrace:
[1] (::TimeZones.var"#3#4"{String})() at C:\...\.julia\packages\TimeZones\M8H2J\src\types\timezone.jl:54
[2] get!(::TimeZones.var"#3#4"{String}, ::Dict{String,Tuple{Dates.TimeZone,TimeZones.Class}}, ::String) at .\dict.jl:452
[3] Dates.TimeZone(::String, ::TimeZones.Class) at C:\...\.julia\packages\TimeZones\M8H2J\src\types\timezone.jl:46
[4] localzone() at C:\...\.julia\packages\TimeZones\M8H2J\src\local.jl:132
[5] DefaultFormatter at C:\...\.julia\packages\Memento\UgJr2\src\formatters.jl:35 [inlined]
[6] #config!#71(::String, ::Dict{AbstractString,Int64}, ::Bool, ::Bool, ::Bool, ::Bool, ::typeof(Memento.config!), ::Memento.Logger, ::String) at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:39
[7] config! at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:36 [inlined]
[8] #config!#70 at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:28 [inlined]
[9] config! at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:28 [inlined]
[10] #config!#69 at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:25 [inlined]
[11] config! at C:\...\.julia\packages\Memento\UgJr2\src\config.jl:25 [inlined]
[12] __init__() at C:\...\.julia\packages\Memento\UgJr2\src\Memento.jl:62
[13] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:692
[14] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:776
[15] _require(::Base.PkgId) at .\loading.jl:1001
[16] require(::Base.PkgId) at .\loading.jl:922
[17] require(::Module, ::Symbol) at .\loading.jl:917
[18] include at .\boot.jl:328 [inlined]
[19] include_relative(::Module, ::String) at .\loading.jl:1105
[20] include(::Module, ::String) at .\Base.jl:31
[21] top-level scope at none:2
[22] eval at .\boot.jl:330 [inlined]
[23] eval(::Expr) at .\client.jl:425
[24] top-level scope at .\none:3
during initialization of module Memento
in expression starting at C:\...\.julia\packages\LibPQ\mzFHl\src\LibPQ.jl:19
ERROR: Failed to precompile LibPQ [194296ae-ab2e-5f79-8cd4-7183a0a5a0d1] to C:\...\.julia\compiled\v1.3\LibPQ\LeQQU_C71vd.ji.
Stacktrace:
[1] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
[2] _require(::Base.PkgId) at .\loading.jl:1024
[3] require(::Base.PkgId) at .\loading.jl:922
[4] require(::Module, ::Symbol) at .\loading.jl:917
Since this seems to be a problem with TimeZones
, I added and tested it without any issue.
I’m on Windows 10 and with Julia 1.3.1
pkg> st
Status `C:\...\Project.toml`
[336ed68f] CSV v0.5.23
[01fcc997] FTPClient v1.0.1
[194296ae] LibPQ v1.1.1
[f269a46b] TimeZones v1.0.1
Anyone has seen this before?