Skip to content

Where is package loading disabled in the codebase? #1841

Discussion options

You must be logged in to vote

For anyone running into this discussion, I've had a talk with Fons and he helped me out. The problem of run_notebook! above is that it runs the cells in the order that they are displayed in the notebook and not in the topological order, so that is asking for trouble basically because Pluto does things like involved macro evaluation and that kind of stuff. Instead, use PlutoRunner.open. For the immediate error handling that run_notebook! does, an alternative would be to run Pluto async, look for cells going into error status and shutdown the notebook as soon as that happens.

For the use_distributed=false part. It may is useful for PlutoStaticHTML.jl especially in the context of Documenter.…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@rikhuijzer
Comment options

rikhuijzer Jan 26, 2022
Collaborator Author

@fonsp
Comment options

Comment options

rikhuijzer
Feb 1, 2022
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by rikhuijzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants