<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello all,</p>
<p>If you have the following error when you use ipython on the
server (or if your jupyter notebooks are much slower than before):</p>
<blockquote>
<p>[TerminalIPythonApp] ERROR | Failed to open SQLite history
/home/scratch/$USER/.ipython/ipython_hist.sqlite (unable to open
database file).</p>
</blockquote>
<p>You need first to create a ipython config file : ipython profile
create<br>
And then to add in the created file (usually
/zfsauton/home/$USER/.ipython/profile_default/ipython_kernel_config.py)
the following line:</p>
<blockquote>
<p>c.HistoryManager.hist_file="/home/scratch/USER/.ipython_hist.sqlite"<br>
</p>
</blockquote>
<p>This way ipython will write its history on the local disk,</p>
<p>Vincent<br>
</p>
<pre class="moz-signature" cols="72">--
Vincent Jeanselme
-----------------
Analyst Researcher
Auton Lab - Robotics Institute
Carnegie Mellon University</pre>
</body>
</html>