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

Cannot execute code in notebooks that were open for a while – cache gets cleaned up? #3139

Open
aplavin opened this issue Feb 3, 2025 · 2 comments

Comments

@aplavin
Copy link
Contributor

aplavin commented Feb 3, 2025

After a notebook has been open for some time (days/weeks), I cannot execute code there anymore. It throws all kind of errors "XXX is not defined" where XXX is any symbol from a loaded package.

I think it happens because (pre)compilation cache gets cleaned up by Julia: it has some limit I guess. Would be nice if Pluto somehow forced it to keep the cache for open notebooks intact...

@pankgeorg
Copy link
Collaborator

Julia does clean precompiled objects, but if the julia session was alive that shouldn't happen. Can you provide a stacktrace so we can investigate better?

Thanks!

@aplavin
Copy link
Contributor Author

aplavin commented Feb 4, 2025

There's no stacktrace really – just the "not defined" error (screenshots below).
Restarting the notebook precompiles all packages again, and the notebook works.
Image

Image

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

No branches or pull requests

2 participants