Closed vlc1 closed 3 years ago
You can probably ignore the error, your github action failed because the build
folder already exists. Can you fix this and let me know if the github action worked?
Dear @fonsp,
Thanks for your prompt response. That was a separate issue I believe, I'm getting a similar error after fixing that.
I'm doing something wrong in my Github Action workflow I think, I'll have a look at what you did with the one you used for the Computational Thinking class (https://github.com/mitmath/18S191/blob/Spring21/.github/workflows/ExportNotebooks.yml).
I'll keep you posted. Thanks!
I realized there is a specific function in PlutoSliderServer.jl (github_action
), but I still have the following error :
Error: Could not parse entry for `deps`
Error: Failed to load notebook files: Project.toml+Manifest.toml parse error. Trying to recover Project.toml without Manifest.toml...
as can be seen here...
Use this one: https://github.com/JuliaPluto/static-export-template
I think the problem was coming from the directory I was storing the notebook. After removing it, it worked as seen here.
Do you think there is an easy way to fix this?
Thanks a lot @fonsp!
What do you mean? Fix what?
Hi @fonsp,
The repository had the following structure :
.github/workflows/deploy.yml
notebooks/cauchy.jl
and by changing it to
.github/workflows/deploy.yml
cauchy.jl
it fixed the issue. Please let me know if this explains better. Thanks!
Can you use the https://github.com/JuliaPluto/static-export-template and see if this subfolder-problem also exists there? This should definitely be supported, we also have tests for it.
I did just that : used the template, moved the notebook included in static-export-template in a subfolder, and it worked. However when replacing the original My Cool Notebook.jl
with my own notebook, the same error appeared.
So I think the issue comes from my notebook, I'll fix it thanks @fonsp for the pointers!
Ok I finally got it : the Julia version used to create the Pluto notebook didn't match the one from the YAML action file... The error doesn't show anymore, thanks @fonsp for your help!
Hi there,
I'm getting the following error while trying to export a Pluto notebook to html from a Github action using the
export_directory
function of PlutoSliderServer.jl :The notebook is available in this repository and the full log of the action here.
Any help will be much appreciated! Thanks!
Vincent