compbiocore / VariantVisualization.jl

Julia package powering VIVA, our tool for visualization of genomic variation data. Manual:
https://compbiocore.github.io/VariantVisualization.jl/stable/
Other
85 stars 13 forks source link

Error while running VIVA with docker #96

Open dukelheit opened 3 years ago

dukelheit commented 3 years ago

[18:1012/171858.521157:FATAL:atom_browser_client.cc(250)] Check failed: base::MakeAbsoluteFilePath(command_line->GetProgram()) == child_path. ERROR: LoadError: IOError(EOFError() during request(http://localhost:7982))

Hello i'm getting this error after install docker and run

sudo docker run -it --rm -v "$PWD":/data compbiocore/viva-cli viva --save_remotely -f SitesOfInterest.vcf -s svg -o output

Stacktrace: [1] read_to_buffer(::HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, ::Int64) at /root/.julia/packages/HTTP/U2ZVp/src/ConnectionPool.jl:207 [2] readuntil(::HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, ::Function, ::Int64) at /root/.julia/packages/HTTP/U2ZVp/src/ConnectionPool.jl:226 [3] readuntil at /root/.julia/packages/HTTP/U2ZVp/src/ConnectionPool.jl:224 [inlined] [4] readheaders(::HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, ::HTTP.Messages.Response) at /root/.julia/packages/HTTP/U2ZVp/src/Messages.jl:471 [5] startread(::HTTP.Streams.Stream{HTTP.Messages.Response,HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}) at /root/.julia/packages/HTTP/U2ZVp/src/Streams.jl:153 [6] macro expansion at /root/.julia/packages/HTTP/U2ZVp/src/StreamRequest.jl:65 [inlined] [7] macro expansion at ./task.jl:244 [inlined] [8] #request#1(::Nothing, ::Nothing, ::Int64, ::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:status_exception,),Tuple{Bool}}}, ::Function, ::Type{HTTP.StreamRequest.StreamLayer}, ::HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, ::HTTP.Messages.Request, ::String) at /root/.julia/packages/HTTP/U2ZVp/src/StreamRequest.jl:54 [9] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction, :status_exception),Tuple{Nothing,Bool}}, ::typeof(HTTP.request), ::Type{HTTP.StreamRequest.StreamLayer}, ::HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, ::HTTP.Messages.Request, ::String) at ./none:0 [10] #request#1(::Nothing, ::Type, ::Int64, ::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},Tuple{Symbol,Symbol},NamedTuple{(:iofunction, :status_exception),Tuple{Nothing,Bool}}}, ::Function, ::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::String) at /root/.julia/packages/HTTP/U2ZVp/src/ConnectionRequest.jl:56 [11] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:iofunction, :status_exception),Tuple{Nothing,Bool}}, ::typeof(HTTP.request), ::Type{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}, ::HTTP.URIs.URI, ::HTTP.Messages.Request, ::String) at ./none:0 [12] (::getfield(Base, Symbol("###48#49#50")){ExponentialBackOff,getfield(HTTP.RetryRequest, Symbol("##2#3")){Bool,HTTP.Messages.Request},typeof(HTTP.request)})(::Base.Iterators.Pairs{Symbol,Union{Nothing, Bool},Tuple{Symbol,Symbol},NamedTuple{(:iofunction, :status_exception),Tuple{Nothing,Bool}}}, ::Function, ::Type, ::Vararg{Any,N} where N) at ./error.jl:231 [13] ##48#51 at ./none:0 [inlined] [14] #request#1 at /root/.julia/packages/HTTP/U2ZVp/src/RetryRequest.jl:44 [inlined] [15] #request at ./none:0 [inlined] [16] #request#1(::VersionNumber, ::String, ::Nothing, ::Nothing, ::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:status_exception,),Tuple{Bool}}}, ::Function, ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at /root/.julia/packages/HTTP/U2ZVp/src/MessageRequest.jl:47 [17] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:status_exception,),Tuple{Bool}}, ::typeof(HTTP.request), ::Type{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at ./none:0 [18] #request#1(::Int64, ::Bool, ::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:status_exception,),Tuple{Bool}}}, ::Function, ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at /root/.julia/packages/HTTP/U2ZVp/src/RedirectRequest.jl:24 [19] (::getfield(HTTP, Symbol("#kw##request")))(::NamedTuple{(:status_exception,),Tuple{Bool}}, ::typeof(HTTP.request), ::Type{HTTP.RedirectRequest.RedirectLayer{HTTP.MessageRequest.MessageLayer{HTTP.RetryRequest.RetryLayer{HTTP.ConnectionRequest.ConnectionPoolLayer{HTTP.StreamRequest.StreamLayer}}}}}, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at ./none:0 [20] #request#5(::Base.Iterators.Pairs{Symbol,Bool,Tuple{Symbol},NamedTuple{(:status_exception,),Tuple{Bool}}}, ::Function, ::String, ::HTTP.URIs.URI, ::Array{Pair{SubString{String},SubString{String}},1}, ::String) at /root/.julia/packages/HTTP/U2ZVp/src/HTTP.jl:300 [21] #request at ./none:0 [inlined] [22] #request#6 at /root/.julia/packages/HTTP/U2ZVp/src/HTTP.jl:314 [inlined] [23] #request at ./none:0 [inlined] [24] #post#15 at /root/.julia/packages/HTTP/U2ZVp/src/HTTP.jl:396 [inlined] [25] #post at ./none:0 [inlined] [26] #savefig#1(::SubString{String}, ::Nothing, ::Nothing, ::Nothing, ::Function, ::IOStream, ::PlotlyBase.Plot{PlotlyBase.GenericTrace{Dict{Symbol,Any}}}) at /root/.julia/packages/ORCA/qEy7Y/src/ORCA.jl:35 [27] (::getfield(PlotlyBase, Symbol("#kw##savefig")))(::NamedTuple{(:format, :scale, :width, :height),Tuple{SubString{String},Nothing,Nothing,Nothing}}, ::typeof(PlotlyBase.savefig), ::IOStream, ::PlotlyBase.Plot{PlotlyBase.GenericTrace{Dict{Symbol,Any}}}) at ./none:0 [28] (::getfield(ORCA, Symbol("##3#4")){Nothing,Nothing,Nothing,PlotlyBase.Plot{PlotlyBase.GenericTrace{Dict{Symbol,Any}}}})(::IOStream) at /root/.julia/packages/ORCA/qEy7Y/src/ORCA.jl:71 [29] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(ORCA, Symbol("##3#4")){Nothing,Nothing,Nothing,PlotlyBase.Plot{PlotlyBase.GenericTrace{Dict{Symbol,Any}}}}, ::String, ::Vararg{String,N} where N) at ./iostream.jl:375 [30] open at ./iostream.jl:373 [inlined] [31] #savefig#2 at /root/.julia/packages/ORCA/qEy7Y/src/ORCA.jl:70 [inlined] [32] savefig(::PlotlyBase.Plot{PlotlyBase.GenericTrace{Dict{Symbol,Any}}}, ::String) at /root/.julia/packages/ORCA/qEy7Y/src/ORCA.jl:65 [33] #savefig#52(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::PlotlyJS.SyncPlot, ::String) at /root/.julia/packages/PlotlyJS/I8Gki/src/savefig_orca.jl:1 [34] savefig at /root/.julia/packages/PlotlyJS/I8Gki/src/savefig_orca.jl:1 [inlined] [35] save_graphic(::PlotlyJS.SyncPlot, ::String, ::String, ::String, ::Bool) at /root/.julia/packages/VariantVisualization/1yoNl/src/vcf_utils_complete.jl:1479 [36] top-level scope at /usr/local/bin/viva:479 [37] include at ./boot.jl:326 [inlined] [38] include_relative(::Module, ::String) at ./loading.jl:1038 [39] include(::Module, ::String) at ./sysimg.jl:29 [40] exec_options(::Base.JLOptions) at ./client.jl:267 [41] _start() at ./client.jl:436 in expression starting at /usr/local/bin/viva:407

gtollefson commented 3 years ago

Hi @dukelheit ,

This look like an error originating with HTTP.jl on your setup. I'd recommend that you post an issue there to solve it. Let me know what they say.

-George