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 am able to add the individual packages of Queryvserse. However, Pkg.add("Queryverse") is not working Atom with Julia 1.2 with the following error. I got the same error from my local Anaconda Jupiter. thanks for looking at it.
julia> Pkg.add("Queryverse")
Resolving package versions... ERROR: MethodError: Cannot convert an object of type Nothing to an object of type String
Closest candidates are:
convert(::Type{String}, ::WeakRefStrings.WeakRefString) at C:\Users\drcxcruz.juliapro\JuliaPro_v1.2.0-1\packages\WeakRefStrings\POE8H\src\WeakRefStrings.jl:77
convert(::Type{String}, ::TextParse.VectorBackedUTF8String) at C:\Users\drcxcruz.juliapro\JuliaPro_v1.2.0-1\packages\TextParse\tFXtC\src\VectorBackedStrings.jl:84
convert(::Type{T<:AbstractString}, ::T<:AbstractString) where T<:AbstractString at strings/basic.jl:208
...
Stacktrace:
[1] setindex!(::Dict{Base.UUID,String}, ::Nothing, ::Base.UUID) at .\dict.jl:380
[2] deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:312
[3] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:386
[4] resolve_versions! at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:328 [inlined]
[5] #add_or_develop#63(::Array{Base.UUID,1}, ::Symbol, ::typeof(Pkg.Operations.add_or_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:1235
[6] #add_or_develop at .\none:0 [inlined]
[7] #add_or_develop#17(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add_or_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:59
[8] #add_or_develop at .\none:0 [inlined]
[9] #add_or_develop#16 at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:36 [inlined]
[10] #add_or_develop at .\none:0 [inlined]
[11] #add_or_develop#13 at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:34 [inlined]
[12] #add_or_develop at .\none:0 [inlined]
[13] #add_or_develop#12(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::typeof(Pkg.API.add_or_develop), ::String) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:33
[14] add(::String) at .\none:0
[15] top-level scope at none:0
The text was updated successfully, but these errors were encountered:
I seem to recall some issue like this. There were no point releases of 1.2, so the way to get bugfixes is to upgrade to the latest release, which is 1.3.1. However, WeakRefStrings are not used anywhere in Pkg, so it's possible this is a different error.
hi,
I am able to add the individual packages of Queryvserse. However, Pkg.add("Queryverse") is not working Atom with Julia 1.2 with the following error. I got the same error from my local Anaconda Jupiter. thanks for looking at it.
julia> Pkg.add("Queryverse")
Resolving package versions...
ERROR: MethodError: Cannot
convert
an object of type Nothing to an object of type StringClosest candidates are:
convert(::Type{String}, ::WeakRefStrings.WeakRefString) at C:\Users\drcxcruz.juliapro\JuliaPro_v1.2.0-1\packages\WeakRefStrings\POE8H\src\WeakRefStrings.jl:77
convert(::Type{String}, ::TextParse.VectorBackedUTF8String) at C:\Users\drcxcruz.juliapro\JuliaPro_v1.2.0-1\packages\TextParse\tFXtC\src\VectorBackedStrings.jl:84
convert(::Type{T<:AbstractString}, ::T<:AbstractString) where T<:AbstractString at strings/basic.jl:208
...
Stacktrace:
[1] setindex!(::Dict{Base.UUID,String}, ::Nothing, ::Base.UUID) at .\dict.jl:380
[2] deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:312
[3] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:386
[4] resolve_versions! at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:328 [inlined]
[5] #add_or_develop#63(::Array{Base.UUID,1}, ::Symbol, ::typeof(Pkg.Operations.add_or_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:1235
[6] #add_or_develop at .\none:0 [inlined]
[7] #add_or_develop#17(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add_or_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:59
[8] #add_or_develop at .\none:0 [inlined]
[9] #add_or_develop#16 at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:36 [inlined]
[10] #add_or_develop at .\none:0 [inlined]
[11] #add_or_develop#13 at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:34 [inlined]
[12] #add_or_develop at .\none:0 [inlined]
[13] #add_or_develop#12(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::typeof(Pkg.API.add_or_develop), ::String) at C:\Users\julia\AppData\Local\Julia-1.2.0\share\julia\stdlib\v1.2\Pkg\src\API.jl:33
[14] add(::String) at .\none:0
[15] top-level scope at none:0
The text was updated successfully, but these errors were encountered: