NREL-Sienna/OldExamples.jl

Local timezone error while running `1_operations_problems.ipynb` in Binder

k1nshuk opened this issue · 2 comments

I tried running the SIIP Example notebooks in the binder. However, I encounter an error when PowerModels tries to activate Memento. Specifically the error is as follows

ERROR: LoadError: InitError: Failed to find local time zone
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] localzone() at /srv/julia/pkg/packages/TimeZones/cAGJs/src/local.jl:154
 [3] DefaultFormatter at /srv/julia/pkg/packages/Memento/oMnS1/src/formatters.jl:35 [inlined]
 [4] config!(::Memento.Logger, ::String; fmt::String, levels::Dict{AbstractString,Int64}, colorized::Bool, recursive::Bool, substitute::Bool, propagate::Bool) at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:39
 [5] config! at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:36 [inlined]
 [6] #config!#72 at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:28 [inlined]
 [7] config! at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:28 [inlined]
 [8] #config!#71 at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:25 [inlined]
 [9] config! at /srv/julia/pkg/packages/Memento/oMnS1/src/config.jl:25 [inlined]
 [10] __init__() at /srv/julia/pkg/packages/Memento/oMnS1/src/Memento.jl:64
 [11] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
 [12] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:781
 [13] _require(::Base.PkgId) at ./loading.jl:1006
 [14] require(::Base.PkgId) at ./loading.jl:927
 [15] require(::Module, ::Symbol) at ./loading.jl:922
 [16] include(::Module, ::String) at ./Base.jl:377
 [17] top-level scope at none:2
 [18] eval at ./boot.jl:331 [inlined]
 [19] eval(::Expr) at ./client.jl:449
 [20] top-level scope at ./none:3
during initialization of module Memento
in expression starting at /srv/julia/pkg/packages/PowerModels/72tBz/src/PowerModels.jl:6

I don't get this error when I try to run the same notebook locally from the terminal. I understand that PowerModels is not a part of SIIP, so consequently, I apologize if this is not the correct place for the issue.

@k1nshuk thanks for letting me know. This is the perfect forum for this comment/issue. I've addressed by setting up binder to install the tzdata info. You can give it another try. It seems to be working for me.