-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadError: LoadError: InitError: ArgumentError: Unknown time zone "America/Indianapolis" trying to run using Genie #59
Comments
It's a problem in TimeZones.jl which is used by Memento.jl What OS are you running on? |
Try |
(v1.0) pkg> add TimeZones still giving the error |
Can you use it? Line 70 is |
I can try on my PC at home which is running the latest version of windows 10. and update if that helps! thank you for the quick reply! |
Hmmm... very weird... Can you also try And maybe |
julia> using TimeZones
julia> TimeZone("America/Indianapolis")
ERROR: ArgumentError: Unknown time zone "America/Indianapolis"
Stacktrace:
[1] (::getfield(TimeZones, Symbol("##1#3")){String})() at C:\Users\Eric\.julia\packages\TimeZones\wytr8\src\TimeZones.jl:70
[2] get!(::getfield(TimeZones, Symbol("##1#3")){String}, ::Dict{AbstractString,TimeZone}, ::String) at .\dict.jl:453
[3] TimeZone(::String) at C:\Users\Eric\.julia\packages\TimeZones\wytr8\src\TimeZones.jl:64
[4] top-level scope at none:0 |
I'll note this is issue is fully a TimeZones.jl issue. The As a quick fix you can change your system time zone which will result in this issue being addressed for you. A more long term fix is to have the |
Thank you! |
I saw that this issue is closed but I am still getting the error
#48
I am on a corporate network I am not sure if that is why. Thank you!
ERROR: LoadError: LoadError: InitError: ArgumentError: Unknown time zone "America/Indianapolis"
Stacktrace:
[1] (::getfield(TimeZones, Symbol("##1#3")){String})() at %userprofile%.julia\packages\TimeZones\wytr8\src\TimeZones.jl:70
[2] get!(::getfield(TimeZones, Symbol("##1#3")){String}, ::Dict{AbstractString,Dates.TimeZone}, ::String) at .\dict.jl:453
[3] Type at %userprofile%.julia\packages\TimeZones\wytr8\src\TimeZones.jl:64 [inlined]
[4] localzone() at %userprofile%.julia\packages\TimeZones\wytr8\src\local.jl:146
[5] Type at %userprofile%.julia\packages\Memento\QMKyB\src\formatters.jl:35 [inlined]
[6] #config!#71(::String, ::Dict{AbstractString,Int64}, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Memento.Logger, ::String) at %userprofile%.julia\packages\Memento\QMKyB\src\config.jl:39
[7] #config!#69 at %userprofile%.julia\packages\Memento\QMKyB\src\config.jl:36 [inlined]
[8] config! at %userprofile%.julia\packages\Memento\QMKyB\src\config.jl:25 [inlined]
[9] init() at %userprofile%.julia\packages\Memento\QMKyB\src\Memento.jl:67
[10] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:627
[11] macro expansion at .\logging.jl:312 [inlined]
[12] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:698
[13] _require(::Base.PkgId) at .\loading.jl:931
[14] require(::Base.PkgId) at .\loading.jl:852
[15] macro expansion at .\logging.jl:311 [inlined]
[16] require(::Module, ::Symbol) at .\loading.jl:834
[17] include at .\boot.jl:317 [inlined]
[18] include_relative(::Module, ::String) at .\loading.jl:1038
[19] include at .\sysimg.jl:29 [inlined]
[20] include(::String) at %userprofile%.julia\packages\Genie\VQydg\src\Genie.jl:4
[21] top-level scope at none:0
[22] include at .\boot.jl:317 [inlined]
[23] include_relative(::Module, ::String) at .\loading.jl:1038
[24] include(::Module, ::String) at .\sysimg.jl:29
[25] top-level scope at none:2
[26] eval at .\boot.jl:319 [inlined]
[27] eval(::Expr) at .\client.jl:389
[28] top-level scope at .\none:3
during initialization of module Memento
in expression starting at %userprofile%.julia\packages\Genie\VQydg\src\Loggers.jl:6
in expression starting at %userprofile%.julia\packages\Genie\VQydg\src\Genie.jl:24
ERROR: Failed to precompile Genie [c43c736e-a2d1-11e8-161f-af95117fbd1e] to %userprofile%.julia\compiled\v1.0\Genie\8eazC.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:852
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:834
The text was updated successfully, but these errors were encountered: