bug#52139: jupyter trying to modify /gnu/store

2021-12-21 Thread Lars-Dominik Braun
Hi Alexander, > [W 13:52:18.502 LabApp] 500 PUT /lab/api/workspaces/lab?1639227138494 > (127.0.0.1): [Errno 30] Read-only file system: > '[user]/.guix-profile/etc/jupyter/lab' I’ve fixed this via https://github.com/guix-science/guix-science/commit/ca5d2b79cc730f6d52f93f4e7347102b620ed988 Cheers

bug#52139: jupyter trying to modify /gnu/store

2021-12-16 Thread Lars-Dominik Braun
Hi, > If that works for you, go for it. merged as c63b55d1283d9a4bfc5ecaf1cab01cd98a467b69. I’ll investigate why jupyterlab is trying to write to /gnu/store when trying to save settings. Cheers, Lars

bug#52139: jupyter trying to modify /gnu/store

2021-12-14 Thread Ludovic Courtès
Hi Lars, Lars-Dominik Braun skribis: >> But precisely: as Alexander wrote, when JUPYTER_CONFIG_DIR points to the >> store, jupyterlab cannot drop a config file there. Or am I missing >> something? > sorry, my message was unclear here. The config file is written at > build time. Oh I see. >> B

bug#52139: jupyter trying to modify /gnu/store

2021-12-13 Thread Lars-Dominik Braun
Hi Ludo, > But precisely: as Alexander wrote, when JUPYTER_CONFIG_DIR points to the > store, jupyterlab cannot drop a config file there. Or am I missing > something? sorry, my message was unclear here. The config file is written at build time. > BTW, if JUPYTER_CONFIG_DIR is meant to contain a d

bug#52139: jupyter trying to modify /gnu/store

2021-12-12 Thread Ludovic Courtès
Hi Lars, Lars-Dominik Braun skribis: >> The JUPYTER_CONFIG_DIR search path was added to ‘python-jupyter-core’ in >> commit 1683e9d9677d54f695a54fc44ed309287989fc34. Lars, what are you >> thoughts? > Please *do not* remove this environment variable. It is required, because > packages like jupyte

bug#52139: jupyter trying to modify /gnu/store

2021-12-11 Thread Alexander Asteroth
Nope: > stat: cannot statx > '/gnu/store/djb0y6kn86ijbvkx93q48q484krp1kbb-profile/etc/jupyter:/home/aster/.config/jupyter/migrated': > No such file or directory Cheers, Alex On Sat, Dec 11 2021, 10:36:45, Lars-Dominik Braun wrote: > Hi, > >> I can’t reproduce it with: […] > I cannot reproduc

bug#52139: jupyter trying to modify /gnu/store

2021-12-11 Thread Lars-Dominik Braun
Hi, > I can’t reproduce it with: […] I cannot reproduce it either and this migration should not happen™, because the phase 'disable-migration should disable it. (See /gnu/store/8ncan0ipzb240h23fwfspdhrzkzdw277-python-jupyter-core-4.7.1/lib/python3.8/site-packages/jupyter_core/application.py:145).

bug#52139: jupyter trying to modify /gnu/store

2021-12-10 Thread Alexander Asteroth
Hi Ludovic, On Fri, Dec 10 2021, 14:27:49, Ludovic Courtès wrote: > Hi Alexander, > > Alexander Asteroth skribis: > >> I found the cause: >> >> in ~/.guix-profile/etc/profile environment variables are set for jupyter: >> >>> export >>> JUPYTER_PATH="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2

bug#52139: jupyter trying to modify /gnu/store

2021-12-10 Thread Ludovic Courtès
Hi Alexander, Alexander Asteroth skribis: > I found the cause: > > in ~/.guix-profile/etc/profile environment variables are set for jupyter: > >> export >> JUPYTER_PATH="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3f1xjbziz49v-profile}/share/jupyter${JUPYTER_PATH:+:}$JUPYTER_PATH" >> export

bug#52139: jupyter trying to modify /gnu/store

2021-11-27 Thread Alexander Asteroth
I found the cause: in ~/.guix-profile/etc/profile environment variables are set for jupyter: > export > JUPYTER_PATH="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3f1xjbziz49v-profile}/share/jupyter${JUPYTER_PATH:+:}$JUPYTER_PATH" > export > JUPYTER_CONFIG_DIR="${GUIX_PROFILE:-/gnu/store/ichr

bug#52139: jupyter trying to modify /gnu/store

2021-11-27 Thread Alexander Asteroth
Dear all, yesterday I added jupyter to my profile and it worked perfectly fine. Overnight I shut down the computer and rebooted today. Now jupyter refuses to start with the messages below. It seems that jupyter-notebook tries to create directories (or modifiy them) in the location it is installe