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

Documentation with plotting doesn't work on github #48

Open
rambunctiousapple opened this issue Apr 9, 2022 · 1 comment
Open

Documentation with plotting doesn't work on github #48

rambunctiousapple opened this issue Apr 9, 2022 · 1 comment

Comments

@rambunctiousapple
Copy link

Documentation doesn't build on github when using Plots in a documentation .md file. However it does build and display correctly on my local machine using either serve or deploy.

If the call to plot in this .md file is commented out then documentation builds correctly on github (the code in the .md file has correct matching backticks, ```, but nested back tick sections don't preview properly here).

{:cell}
```julia
@info "print a message..."
#using Plots
#plot(rand(10),rand(10))

But if ithe call to plot() is uncommented

{:cell}
```julia
@info "print a message..."
using Plots
plot(rand(10),rand(10))

then get the error below when the github Publish.yml action runs. Looks like the github workflow action needs to be modified to ensure the qt plugin is available. Maybe, I'm far from expert in debugging github actions.

5m 49s
Run cd gh-pages
  cd gh-pages
  julia --color=yes --project=.. -e 'using Publish, JuliaProgrammingLanguage; deploy(JuliaProgrammingLanguage; root="/JuliaProgrammingLanguage.jl", label="dev")'
  git config user.name github-actions
  git config user.email github-actions@github.com
  git add .
  git commit -m "(dev) Built by Publish.jl."
  git push
  shell: /usr/bin/bash -e {0}
┌ Warning: './0.[1](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:1).0' already exists. Use force to overwrite it.
└ @ Publish ~/.julia/packages/Publish/7qwwh/src/deploy.jl:88
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, xcb.

Aborted (core dumped)
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
ERROR: SystemError: opening file "/home/runner/work/JuliaProgrammingLanguage.jl/JuliaProgrammingLanguage.jl/gh-pages/dev/Theme.toml": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int3[2](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:2); extrainfo::Nothing)
    @ Base ./error.jl:174
  [2] #systemerror#68
    @ ./error.jl:17[3](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:3) [inlined]
  [3] systemerror
    @ ./error.jl:173 [inlined]
  [[4](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:4)] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base ./iostream.jl:293
  [[5](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:5)] open
    @ ./iostream.jl:282 [inlined]
  [[6](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:6)] open(f::Base.var"#362#363"{Tuple{}}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base ./io.jl:328
  [[7](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:7)] open
    @ ./io.jl:32[8](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:8) [inlined]
  [8] read
    @ ./io.jl:434 [inlined]
  [[9](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:9)] read
    @ ~/.julia/packages/FilePathsBase/dVWLK/src/system.jl:379 [inlined]
 [[10](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:10)] loadfile(#unused#::Publish.Extension{:toml}, env::Dict{String, Any}, path::FilePathsBase.PosixPath)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:151
 [[11](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:11)] loadfile(env::Dict{String, Any}, path::FilePathsBase.PosixPath)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:78
 [[12](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:12)] (::Publish.var"#21#23"{Dict{String, Any}, FileTrees.FileTree})(file::FileTrees.File)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:62
 [[13](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:13)] (::Dagger.var"#81#82"{Publish.var"#21#23"{Dict{String, Any}, FileTrees.FileTree}, Tuple{FileTrees.File}, NamedTuple{(:sch_uid, :sch_handle, :processor, :utilization), Tuple{UInt64, Dagger.Sch.SchedulerHandle, Dagger.ThreadProc, UInt64}}})()
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/processor.jl:165
Stacktrace:
  [1] wait
    @ ./task.jl:334 [inlined]
  [2] fetch
    @ ./task.jl:349 [inlined]
  [3] execute!(proc::Dagger.ThreadProc, f::Function, args::FileTrees.File)
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/processor.jl:174
  [4] #[14](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:14)1
    @ ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:1042 [inlined]
  [5] (::Dagger.var"#62#63"{Dagger.Sch.var"#141#[15](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:15)1"{Dagger.ThreadProc, Vector{Any}}})()
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/options.jl:7
  [6] with_logstate(f::Function, logstate::Any)
    @ Base.CoreLogging ./logging.jl:511
  [7] with_logger(f::Function, logger::ContextVariablesX.ContextPayloadLogger)
    @ Base.CoreLogging ./logging.jl:623
  [8] with_task_ctxvars(f::Any, ctx::Any)
    @ ContextVariablesX ~/.julia/packages/ContextVariablesX/wzJaf/src/payloadlogger.jl:[16](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:16)
  [9] with_context
    @ ~/.julia/packages/ContextVariablesX/wzJaf/src/ContextVariablesX.jl:336 [inlined]
 [10] with_options
    @ ~/.julia/packages/Dagger/XCUJP/src/options.jl:6 [inlined]
 [11] do_task(to_proc::Dagger.ThreadProc, extra_util::UInt64, thunk_id::Int64, Tf::Type, data::Vector{Any}, send_result::Bool, persist::Bool, cache::Bool, meta::Bool, options::Dagger.Sch.ThunkOptions, propagated::NamedTuple{(), Tuple{}}, ids::Vector{Int64}, ctx_vars::NamedTuple{(:log_sink, :profile), Tuple{Dagger.NoOpLog, Bool}}, sch_handle::Dagger.Sch.SchedulerHandle, uid::UInt64)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:1040
 [12] macro expansion
    @ ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:934 [inlined]
 [13] (::Dagger.Sch.var"#130#132"{Dagger.ThreadProc, Distributed.RemoteChannel{Channel{Any}}, Tuple{UInt64, Int64, DataType, Vector{Any}, Bool, Bool, Bool, Bool, Dagger.Sch.ThunkOptions, NamedTuple{(), Tuple{}}, Vector{Int64}, NamedTuple{(:log_sink, :profile), Tuple{Dagger.NoOpLog, Bool}}, Dagger.Sch.SchedulerHandle, UInt64}})()
    @ Dagger.Sch ./task.jl:423
Stacktrace:
  [1] (::Dagger.Sch.var"#94#95"{Dagger.Context, Dagger.Sch.ComputeState, Dagger.OSProc, NamedTuple{(:pressure, :loadavg, :threadtime, :transfer_rate), Tuple{UInt64, Tuple{Float64, Float64, Float64}, UInt64, Nothing}}, Distributed.RemoteException, Int64, Dagger.ThreadProc, Int64})()
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:454
  [2] lock(f::Dagger.Sch.var"#94#95"{Dagger.Context, Dagger.Sch.ComputeState, Dagger.OSProc, NamedTuple{(:pressure, :loadavg, :threadtime, :transfer_rate), Tuple{UInt64, Tuple{Float64, Float64, Float64}, UInt64, Nothing}}, Distributed.RemoteException, Int64, Dagger.ThreadProc, Int64}, l::ReentrantLock)
    @ Base ./lock.jl:190
  [3] scheduler_run(ctx::Dagger.Context, state::Dagger.Sch.ComputeState, d::Dagger.Thunk, options::Dagger.Sch.SchedulerOptions)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:435
  [4] compute_dag(ctx::Dagger.Context, d::Dagger.Thunk; options::Nothing)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:360
  [5] compute(ctx::Dagger.Context, d::Dagger.Thunk; options::Nothing)
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/compute.jl:31
  [6] compute
    @ ~/.julia/packages/Dagger/XCUJP/src/compute.jl:28 [inlined]
  [7] exec(ctx::Dagger.Context, d::Dagger.Thunk)
    @ FileTrees ~/.julia/packages/FileTrees/tvmr7/src/parallelism.jl:75
  [8] exec(x::Dagger.Thunk)
    @ FileTrees ~/.julia/packages/FileTrees/tvmr7/src/parallelism.jl:64
  [9] _html(p::Publish.Project, t::FileTrees.FileTree, f::FileTrees.File, m::Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:48
 [10] (::Publish.var"#74#76"{Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}}, Publish.Project})(f::FileTrees.File)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:38
 [11] save(f::Publish.var"#74#76"{Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}}, Publish.Project}, tree::FileTrees.FileTree)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:16
 [12] (::Publish.var"#73#75"{Publish.Project})()
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:38
 [13] cd(f::Publish.var"#73#75"{Publish.Project}, dir::String)
    @ Base.Filesystem ./file.jl:110
 [14] sandbox
    @ ~/.julia/packages/Publish/7qwwh/src/utilities.jl:12 [inlined]
 [15] html(src::Publish.Project, dst::String; keywords::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:31
 [16] html(src::Publish.Project, dst::String)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:27
 [[17](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:17)] deploy(source::Module, dir::String, targets::typeof(html); versioned::Bool, named::Bool, force::Bool, label::String, root::String, kws::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/deploy.jl:99
 [[18](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5957411333?check_suite_focus=true#step:6:18)] top-level scope
    @ none:1
Error: Process completed with exit code 1.
@rambunctiousapple
Copy link
Author

I changed the Publish.yml file to have this line:

         xvfb-run julia --color=yes --project=.. -e 'using Publish, JuliaProgrammingLanguage; deploy(JuliaProgrammingLanguage; root="/JuliaProgrammingLanguage.jl", label="dev")'

instead of this

         julia --color=yes --project=.. -e 'using Publish, JuliaProgrammingLanguage; deploy(JuliaProgrammingLanguage; root="/JuliaProgrammingLanguage.jl", label="dev")'

and that seemed to get rid of the qt plugin error. But there is a new error now:

Run cd gh-pages
┌ Warning: './0.1.0' already exists. Use force to overwrite it.
└ @ Publish ~/.julia/packages/Publish/7qwwh/src/deploy.jl:88
ERROR: SystemError: opening file "/home/runner/work/JuliaProgrammingLanguage.jl/JuliaProgrammingLanguage.jl/gh-pages/dev/Theme.toml": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base ./error.jl:174
  [2] #systemerror#68
    @ ./error.jl:173 [inlined]
  [3] systemerror
    @ ./error.jl:173 [inlined]
  [4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base ./iostream.jl:293
  [5] open
    @ ./iostream.jl:282 [inlined]
  [6] open(f::Base.var"#362#363"{Tuple{}}, args::String; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base ./io.jl:328
  [7] open
    @ ./io.jl:328 [inlined]
  [8] read
    @ ./io.jl:434 [inlined]
  [9] read
    @ ~/.julia/packages/FilePathsBase/dVWLK/src/system.jl:379 [inlined]
 [[10](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:10)] loadfile(#unused#::Publish.Extension{:toml}, env::Dict{String, Any}, path::FilePathsBase.PosixPath)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:151
 [[11](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:11)] loadfile(env::Dict{String, Any}, path::FilePathsBase.PosixPath)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:78
 [[12](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:12)] (::Publish.var"#21#23"{Dict{String, Any}, FileTrees.FileTree})(file::FileTrees.File)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/load.jl:62
 [[13](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:13)] (::Dagger.var"#81#82"{Publish.var"#21#23"{Dict{String, Any}, FileTrees.FileTree}, Tuple{FileTrees.File}, NamedTuple{(:sch_uid, :sch_handle, :processor, :utilization), Tuple{UInt64, Dagger.Sch.SchedulerHandle, Dagger.ThreadProc, UInt64}}})()
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/processor.jl:165
Stacktrace:
  [1] wait
    @ ./task.jl:334 [inlined]
  [2] fetch
    @ ./task.jl:349 [inlined]
  [3] execute!(proc::Dagger.ThreadProc, f::Function, args::FileTrees.File)
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/processor.jl:174
  [4] #[14](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:14)1
    @ ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:1042 [inlined]
  [5] (::Dagger.var"#62#63"{Dagger.Sch.var"#141#[15](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:15)1"{Dagger.ThreadProc, Vector{Any}}})()
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/options.jl:7
  [6] with_logstate(f::Function, logstate::Any)
    @ Base.CoreLogging ./logging.jl:511
  [7] with_logger(f::Function, logger::ContextVariablesX.ContextPayloadLogger)
    @ Base.CoreLogging ./logging.jl:623
  [8] with_task_ctxvars(f::Any, ctx::Any)
    @ ContextVariablesX ~/.julia/packages/ContextVariablesX/wzJaf/src/payloadlogger.jl:[16](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:16)
  [9] with_context
    @ ~/.julia/packages/ContextVariablesX/wzJaf/src/ContextVariablesX.jl:336 [inlined]
 [10] with_options
    @ ~/.julia/packages/Dagger/XCUJP/src/options.jl:6 [inlined]
 [11] do_task(to_proc::Dagger.ThreadProc, extra_util::UInt64, thunk_id::Int64, Tf::Type, data::Vector{Any}, send_result::Bool, persist::Bool, cache::Bool, meta::Bool, options::Dagger.Sch.ThunkOptions, propagated::NamedTuple{(), Tuple{}}, ids::Vector{Int64}, ctx_vars::NamedTuple{(:log_sink, :profile), Tuple{Dagger.NoOpLog, Bool}}, sch_handle::Dagger.Sch.SchedulerHandle, uid::UInt64)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:1040
 [12] macro expansion
    @ ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:934 [inlined]
 [13] (::Dagger.Sch.var"#130#132"{Dagger.ThreadProc, Distributed.RemoteChannel{Channel{Any}}, Tuple{UInt64, Int64, DataType, Vector{Any}, Bool, Bool, Bool, Bool, Dagger.Sch.ThunkOptions, NamedTuple{(), Tuple{}}, Vector{Int64}, NamedTuple{(:log_sink, :profile), Tuple{Dagger.NoOpLog, Bool}}, Dagger.Sch.SchedulerHandle, UInt64}})()
    @ Dagger.Sch ./task.jl:423
Stacktrace:
  [1] (::Dagger.Sch.var"#94#95"{Dagger.Context, Dagger.Sch.ComputeState, Dagger.OSProc, NamedTuple{(:pressure, :loadavg, :threadtime, :transfer_rate), Tuple{UInt64, Tuple{Float64, Float64, Float64}, UInt64, Nothing}}, Distributed.RemoteException, Int64, Dagger.ThreadProc, Int64})()
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:454
  [2] lock(f::Dagger.Sch.var"#94#95"{Dagger.Context, Dagger.Sch.ComputeState, Dagger.OSProc, NamedTuple{(:pressure, :loadavg, :threadtime, :transfer_rate), Tuple{UInt64, Tuple{Float64, Float64, Float64}, UInt64, Nothing}}, Distributed.RemoteException, Int64, Dagger.ThreadProc, Int64}, l::ReentrantLock)
    @ Base ./lock.jl:190
  [3] scheduler_run(ctx::Dagger.Context, state::Dagger.Sch.ComputeState, d::Dagger.Thunk, options::Dagger.Sch.SchedulerOptions)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:435
  [4] compute_dag(ctx::Dagger.Context, d::Dagger.Thunk; options::Nothing)
    @ Dagger.Sch ~/.julia/packages/Dagger/XCUJP/src/sch/Sch.jl:360
  [5] compute(ctx::Dagger.Context, d::Dagger.Thunk; options::Nothing)
    @ Dagger ~/.julia/packages/Dagger/XCUJP/src/compute.jl:31
  [6] compute
    @ ~/.julia/packages/Dagger/XCUJP/src/compute.jl:28 [inlined]
  [7] exec(ctx::Dagger.Context, d::Dagger.Thunk)
    @ FileTrees ~/.julia/packages/FileTrees/tvmr7/src/parallelism.jl:75
  [8] exec(x::Dagger.Thunk)
    @ FileTrees ~/.julia/packages/FileTrees/tvmr7/src/parallelism.jl:64
  [9] _html(p::Publish.Project, t::FileTrees.FileTree, f::FileTrees.File, m::Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:48
 [10] (::Publish.var"#74#76"{Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}}, Publish.Project})(f::FileTrees.File)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:38
 [11] save(f::Publish.var"#74#76"{Dict{FilePathsBase.PosixPath, NamedTuple{(:prev, :next), Tuple{FilePathsBase.PosixPath, FilePathsBase.PosixPath}}}, Publish.Project}, tree::FileTrees.FileTree)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:16
 [12] (::Publish.var"#73#75"{Publish.Project})()
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:38
 [13] cd(f::Publish.var"#73#75"{Publish.Project}, dir::String)
    @ Base.Filesystem ./file.jl:110
 [14] sandbox
    @ ~/.julia/packages/Publish/7qwwh/src/utilities.jl:12 [inlined]
 [15] html(src::Publish.Project, dst::String; keywords::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:31
 [16] html(src::Publish.Project, dst::String)
    @ Publish ~/.julia/packages/Publish/7qwwh/src/save.jl:27
 [[17](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:17)] deploy(source::Module, dir::String, targets::typeof(html); versioned::Bool, named::Bool, force::Bool, label::String, root::String, kws::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Publish ~/.julia/packages/Publish/7qwwh/src/deploy.jl:99
 [[18](https://github.com/rambunctiousapple/JuliaProgrammingLanguage.jl/runs/5963877720?check_suite_focus=true#step:6:18)] top-level scope
    @ none:1
Error: Process completed with exit code 1.

It looks like a Theme.toml file is supposed to be written in a temp directory but isn't. Once again this works fine served on my local machine. It's only on github that it doesn't deploy.

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