From: "Ludovic Courtès" <ludo@gnu.org>
To: Alexander Asteroth <alexander.asteroth@h-brs.de>
Cc: Lars-Dominik Braun <lars@6xq.net>, 52139@debbugs.gnu.org
Subject: bug#52139: jupyter trying to modify /gnu/store
Date: Fri, 10 Dec 2021 14:27:49 +0100 [thread overview]
Message-ID: <87pmq4a8tm.fsf@gnu.org> (raw)
In-Reply-To: <871r318spu.fsf@h-brs.de> (Alexander Asteroth's message of "Sat, 27 Nov 2021 17:31:59 +0100")
Hi Alexander,
Alexander Asteroth <alexander.asteroth@h-brs.de> 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 JUPYTER_CONFIG_DIR="${GUIX_PROFILE:-/gnu/store/ichrcarq2k4lhdmm2izc3f1xjbziz49v-profile}/etc/jupyter${JUPYTER_CONFIG_DIR:+:}$JUPYTER_CONFIG_DIR"
>
> The jupyter config path causes the problem, since jupyter tries to write
> into it (and it is located in a read only filesystem). Unsetting the
> environment variable solves the issue.
I can’t reproduce it with:
--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 196 Dec 06 2021 11:23:08 (nuna)
guix 9478a25
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 9478a252509a93f3e7f486cbc549631185ba071d
$ guix shell jupyter -CN --no-cwd -- jupyter notebook
--8<---------------cut here---------------end--------------->8---
Perhaps that’s because I didn’t trigger actions that would cause Jupyter
to attempt to write to $JUPYTER_CONFIG_DIR?
The JUPYTER_CONFIG_DIR search path was added to ‘python-jupyter-core’ in
commit 1683e9d9677d54f695a54fc44ed309287989fc34. Lars, what are you
thoughts?
Thanks,
Ludo’.
next prev parent reply other threads:[~2021-12-10 13:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 10:14 bug#52139: jupyter trying to modify /gnu/store Alexander Asteroth
2021-11-27 16:31 ` Alexander Asteroth
2021-12-10 13:27 ` Ludovic Courtès [this message]
2021-12-10 13:59 ` Alexander Asteroth
2021-12-11 9:36 ` Lars-Dominik Braun
2021-12-11 12:46 ` Alexander Asteroth
2021-12-12 21:41 ` Ludovic Courtès
2021-12-13 8:20 ` Lars-Dominik Braun
2021-12-14 15:06 ` Ludovic Courtès
2021-12-16 9:16 ` Lars-Dominik Braun
[not found] ` <8735mzpaep.fsf@h-brs.de>
2021-12-21 13:48 ` Lars-Dominik Braun
2021-11-28 1:08 ` bug#52139: (no subject) jgart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmq4a8tm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=52139@debbugs.gnu.org \
--cc=alexander.asteroth@h-brs.de \
--cc=lars@6xq.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).