-
Notifications
You must be signed in to change notification settings - Fork 21
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
IJulia in a multi user environment trying to write in global kernel resource_dir #430
Comments
Thanks for the report, we will make that kernel installation more robust very soon, there is an open ticket about it here: #427 But these files (unfortunately) need to be in the resource_dir of the ijulia kernel, so unless these are put there manually, threejs visualization will not work in a notebook. |
I have just created a PR for this, #431
from
|
Thanks for the response and the changes! Yep I did manage to fix it after your message that there is no e. g. env variable to force another directory. I was sceptical due to not knowing whether the files are suitable for read-only global files. But it seems that they are suitable and need not to be written to by the user.
Maybe Polymake should behave somehow like the matplotlib backend ipympl (which is an nbextension?) and or the IJulia kernel should behave similar to ipython which does write locally in Note: this will likely break again as soon as there are new versions of the files that are needed for an updated version. |
Thanks for the hint, converting our threejs stuff into an nbextension might indeed work and improve this setup. I wasn't really aware what those do, the documentation seems a bit sparse. The IJulia kernel is by default installed into |
Hi,
I'm trying to make OSCAR available precompiled in a multi user environment (JupyterHub).
The kernel is living in
/usr/local/share/jupyter/kernels/julia-1.8
, therefore global (state of the art).Calling
using Oscar
throws:As stated in the stacktrace,
ijulia.jl
is trying to write in the global kernel directory (or called resource_dir by kernelspec, see line 31). This is of course not possible for the user.I didn't find any environments variables to set in order to direct the IJulia part of Polymake to write into the home directory.
Any ideas?
Best regards
The text was updated successfully, but these errors were encountered: