You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error after running the example from the README with a clean install of Julia 1.8. I've installed the package using the github URL directly since I've seen some suggestions to do that rather than just adding the package using pkg> add Strategems. Any assistance would be greatly appreciated! Looks like a fantastic package.
I'm getting the following error after running the example from the README with a clean install of Julia 1.8. I've installed the package using the github URL directly since I've seen some suggestions to do that rather than just adding the package using pkg> add Strategems. Any assistance would be greatly appreciated! Looks like a fantastic package.
Executing task: C:\Program Files\Julia-1.8.3\bin\julia.exe --color=yes --project=C:\Users\mike_.julia\environments\v1.8 c:\data\src\juliaTrader\main.jl
WARNING: both IOExtras and Base export "closewrite"; uses of it in module StreamRequest must be qualified
WARNING: both IOExtras and Base export "closewrite"; uses of it in module ConnectionPool must be qualified
ERROR: LoadError: UndefVarError: closewrite not defined
Stacktrace:
[1] request(::Type{HTTP.StreamRequest.StreamLayer{Union{}}}, io::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, req::HTTP.Messages.Request, body::Vector{UInt8}; reached_redirect_limit::Bool, response_stream::Nothing, iofunction::Nothing, verbose::Int64, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP.StreamRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\StreamRequest.jl:83
[2] request(::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}, url::HTTP.URIs.URI, req::HTTP.Messages.Request, body::Vector{UInt8}; proxy::Nothing, socket_type::Type, reuse_limit::Int64, kw::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ HTTP.ConnectionRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\ConnectionRequest.jl:96
[3] request(::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}, ::HTTP.URIs.URI, ::Vararg{Any}; kw::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ HTTP.ExceptionRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\ExceptionRequest.jl:19
[4] (::Base.var"#88#90"{Base.var"#88#89#91"{ExponentialBackOff, HTTP.RetryRequest.var"#2#3"{Bool, HTTP.Messages.Request}, typeof(HTTP.request)}})(::Type, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ Base .\error.jl:296
[5] #request#1
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\RetryRequest.jl:44 [inlined]
[6] request(::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; http_version::VersionNumber, target::String, parent::Nothing, iofunction::Nothing, kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:reached_redirect_limit,), Tuple{Bool}}})
@ HTTP.MessageRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\MessageRequest.jl:51
[7] request(::Type{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:reached_redirect_limit,), Tuple{Bool}}})
@ HTTP.BasicAuthRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\BasicAuthRequest.jl:28
[8] request(::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; redirect_limit::Int64, forwardheaders::Bool, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP.RedirectRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\RedirectRequest.jl:24
[9] request(::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8})
@ HTTP.RedirectRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\RedirectRequest.jl:18
[10] request(method::String, url::String, h::Vector{Pair{SubString{String}, SubString{String}}}, b::Vector{UInt8}; headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}, query::Nothing, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:314
[11] request (repeats 2 times)
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:312 [inlined]
[12] #get#12
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:391 [inlined]
[13] get
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:391 [inlined]
[14] quandl(code::String; from::String, thru::String, freq::Char, calc::String, sort::Char, rows::Int64, auth::String)
@ Temporal C:\Users\mike_.julia\packages\Temporal\aaVHO\src\data\quandl.jl:77
[15] quandl
@ C:\Users\mike_.julia\packages\Temporal\aaVHO\src\data\quandl.jl:50 [inlined]
[16] datasource(asset::String; save_downloads::Bool)
@ Main c:\data\src\juliaTrader\main.jl:11
[17] datasource
@ c:\data\src\juliaTrader\main.jl:6 [inlined]
[18] gather!(universe::Universe; source::typeof(datasource), verbose::Bool)
@ Strategems C:\Users\mike_.julia\packages\Strategems\9FJXr\src\model\universe.jl:41
[19] top-level scope
@ c:\data\src\juliaTrader\main.jl:22
in expression starting at c:\data\src\juliaTrader\main.jl:22
caused by: EOFError: read end of file
Stacktrace:
[1] read_to_buffer(t::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, sizehint::Int64)
@ HTTP.ConnectionPool C:\Users\mike_.julia\packages\HTTP\IAI92\src\ConnectionPool.jl:252
[2] readuntil(t::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, f::Function, sizehint::Int64)
@ HTTP.ConnectionPool C:\Users\mike_.julia\packages\HTTP\IAI92\src\ConnectionPool.jl:271
[3] readuntil
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\ConnectionPool.jl:269 [inlined]
[4] readheaders
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\Messages.jl:471 [inlined]
[5] startread(http::HTTP.Streams.Stream{HTTP.Messages.Response, HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}})
@ HTTP.Streams C:\Users\mike_.julia\packages\HTTP\IAI92\src\Streams.jl:155
[6] macro expansion
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\StreamRequest.jl:67 [inlined]
[7] macro expansion
@ .\task.jl:454 [inlined]
[8] request(::Type{HTTP.StreamRequest.StreamLayer{Union{}}}, io::HTTP.ConnectionPool.Transaction{MbedTLS.SSLContext}, req::HTTP.Messages.Request, body::Vector{UInt8}; reached_redirect_limit::Bool, response_stream::Nothing, iofunction::Nothing, verbose::Int64, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP.StreamRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\StreamRequest.jl:57
[9] request(::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}, url::HTTP.URIs.URI, req::HTTP.Messages.Request, body::Vector{UInt8}; proxy::Nothing, socket_type::Type, reuse_limit::Int64, kw::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ HTTP.ConnectionRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\ConnectionRequest.jl:96
[10] request(::Type{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}, ::HTTP.URIs.URI, ::Vararg{Any}; kw::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ HTTP.ExceptionRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\ExceptionRequest.jl:19
[11] (::Base.var"#88#90"{Base.var"#88#89#91"{ExponentialBackOff, HTTP.RetryRequest.var"#2#3"{Bool, HTTP.Messages.Request}, typeof(HTTP.request)}})(::Type, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{Nothing, Bool}, Tuple{Symbol, Symbol}, NamedTuple{(:iofunction, :reached_redirect_limit), Tuple{Nothing, Bool}}})
@ Base .\error.jl:296
[12] #request#1
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\RetryRequest.jl:44 [inlined]
[13] request(::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; http_version::VersionNumber, target::String, parent::Nothing, iofunction::Nothing, kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:reached_redirect_limit,), Tuple{Bool}}})
@ HTTP.MessageRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\MessageRequest.jl:51
[14] request(::Type{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; kw::Base.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:reached_redirect_limit,), Tuple{Bool}}})
@ HTTP.BasicAuthRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\BasicAuthRequest.jl:28
[15] request(::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}; redirect_limit::Int64, forwardheaders::Bool, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP.RedirectRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\RedirectRequest.jl:24
[16] request(::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.BasicAuthRequest.BasicAuthLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ExceptionRequest.ExceptionLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer{Union{}}}}}}}}}, method::String, url::HTTP.URIs.URI, headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8})
@ HTTP.RedirectRequest C:\Users\mike_.julia\packages\HTTP\IAI92\src\RedirectRequest.jl:18
[17] request(method::String, url::String, h::Vector{Pair{SubString{String}, SubString{String}}}, b::Vector{UInt8}; headers::Vector{Pair{SubString{String}, SubString{String}}}, body::Vector{UInt8}, query::Nothing, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HTTP C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:314
[18] request (repeats 2 times)
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:312 [inlined]
[19] #get#12
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:391 [inlined]
[20] get
@ C:\Users\mike_.julia\packages\HTTP\IAI92\src\HTTP.jl:391 [inlined]
[21] quandl(code::String; from::String, thru::String, freq::Char, calc::String, sort::Char, rows::Int64, auth::String)
@ Temporal C:\Users\mike_.julia\packages\Temporal\aaVHO\src\data\quandl.jl:77
[22] quandl
@ C:\Users\mike_.julia\packages\Temporal\aaVHO\src\data\quandl.jl:50 [inlined]
[23] datasource(asset::String; save_downloads::Bool)
@ Main c:\data\src\juliaTrader\main.jl:11
[24] datasource
@ c:\data\src\juliaTrader\main.jl:6 [inlined]
[25] gather!(universe::Universe; source::typeof(datasource), verbose::Bool)
@ Strategems C:\Users\mike_.julia\packages\Strategems\9FJXr\src\model\universe.jl:41
[26] top-level scope
@ c:\data\src\juliaTrader\main.jl:22
The text was updated successfully, but these errors were encountered: