Skip to content
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

Errors after switch to HTTP #94

Closed
Keno opened this issue Oct 29, 2017 · 3 comments
Closed

Errors after switch to HTTP #94

Keno opened this issue Oct 29, 2017 · 3 comments
Assignees

Comments

@Keno
Copy link
Contributor

Keno commented Oct 29, 2017

ERROR: LoadError: TypeError: #request: in typeassert, expected Dict{Any,Any}, got Dict{String,String}
Stacktrace:
 [1] (::HTTP.#kw##request)(::Array{Any,1}, ::HTTP.#request, ::HTTP.Client, ::HTTP.Method, ::HTTP.URIs.URI) at ./<missing>:0
 [2] #get#47(::Bool, ::Dict{Any,Any}, ::Array{Any,1}, ::Function, ::String) at /home/keno/.julia/v0.6/HTTP/src/client.jl:508
 [3] (::HTTP.#kw##get)(::Array{Any,1}, ::HTTP.#get, ::String) at ./<missing>:0
 [4] #github_request#3(::GitHub.AnonymousAuth, ::Bool, ::Dict{Any,Any}, ::Dict{Any,Any}, ::Bool, ::Function, ::GitHub.GitHubWebAPI, ::Function, ::String) at /home/keno/.julia/v0.6/GitHub/src/utils/requests.jl:58
 [5] (::GitHub.#kw##github_request)(::Array{Any,1}, ::GitHub.#github_request, ::GitHub.GitHubWebAPI, ::Function, ::String) at ./<missing>:0
 [6] #gh_get#4 at /home/keno/.julia/v0.6/GitHub/src/utils/requests.jl:66 [inlined]
 [7] (::GitHub.#kw##gh_get)(::Array{Any,1}, ::GitHub.#gh_get, ::GitHub.GitHubWebAPI, ::String) at ./<missing>:0
 [8] #authenticate#24(::Dict{Any,Any}, ::Array{Any,1}, ::Function, ::GitHub.GitHubWebAPI, ::String) at /home/keno/.julia/v0.6/GitHub/src/utils/auth.jl:54
 [9] #authenticate#25(::Array{Any,1}, ::Function, ::String) at ./<missing>:0
 [10] authenticate(::String) at ./<missing>:0
 [11] include_from_node1(::String) at ./loading.jl:569
 [12] include(::String) at ./sysimg.jl:14
 [13] process_options(::Base.JLOptions) at ./client.jl:305
 [14] _start() at ./client.jl:371
@KristofferC
Copy link
Collaborator

@KristofferC
Copy link
Collaborator

Upper bounding HTTP.jl to 0.5.2 is an immidiate workaround.

@KristofferC
Copy link
Collaborator

#95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants