iPython Error

Vincent Jeanselme vjeansel at andrew.cmu.edu
Wed Sep 5 15:55:14 EDT 2018


Hello all,

If you have the following error when you use ipython on the server (or 
if your jupyter notebooks are much slower than before):

    [TerminalIPythonApp] ERROR | Failed to open SQLite history
    /home/scratch/$USER/.ipython/ipython_hist.sqlite (unable to open
    database file).

You need first to create a ipython config file : ipython profile create
And then to add in the created file (usually 
/zfsauton/home/$USER/.ipython/profile_default/ipython_kernel_config.py) 
the following line:

    c.HistoryManager.hist_file="/home/scratch/USER/.ipython_hist.sqlite"

This way ipython will write its history on the local disk,

Vincent

-- 
Vincent Jeanselme
-----------------
Analyst Researcher
Auton Lab - Robotics Institute
Carnegie Mellon University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.srv.cs.cmu.edu/pipermail/autonlab-users/attachments/20180905/2bad8073/attachment.html>


More information about the Autonlab-users mailing list