probcomp/iventure

No option to manually set logfile location

Opened this issue · 1 comments

Logs are always written to a file in the home directory determined by os.path.join(home, root, session_id + '.txt') in sessions.py. This caused a problem for me when jupyter didn't have permissions to access my home directory.

For temporary documentation of this and other workarounds:
I added the line self.filename = '/dev/null' to sessions.py
I set the following environment variables:
export JUPYTER_CONFIG_DIR="/scratch/alokp/.jupyter"
export IPYTHONDIR="/scratch/alokp/.ipython"
export JUPYTER_DATA_DIR="/scratch/alokp/.jupyter_data"
I then created the corresponding directories and copied over the files from the old locations as needed.
cp ~/.jupyter/* /scratch/alokp/.jupyter
cp ~/.local/share/jupyter/* /scratch/alokp/.jupyter_data

@curlette See if this solves the problem you've been having with jupyter on screen.