When I import ipdb, I seen below error message.
import ipdb Traceback (most recent call last): File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/ipdb/main.py", line 32, in get_ipython NameError: name 'get_ipython' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/ipdb/init.py", line 16, in from ipdb.main import set_trace, post_mortem, pm, run, runcall, runeval, launch_ipdb_on_exception File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/ipdb/main.py", line 51, in ipshell = InteractiveShellEmbed() File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/terminal/embed.py", line 68, in init super(InteractiveShellEmbed,self).init(**kw) File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/core/interactiveshell.py", line 513, in init self.init_history() File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/core/interactiveshell.py", line 1636, in init_history self.history_manager = HistoryManager(shell=self, parent=self) File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/core/history.py", line 520, in init self.new_session() File "", line 2, in new_session File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/core/history.py", line 68, in needs_sqlite return f(self, *a, **kw) File "/auto/xr_pi/PRODUCTION/pyATS/lib/python3.4/site-packages/IPython/core/history.py", line 538, in new_session NULL, "") """, (datetime.datetime.now(),)) sqlite3.OperationalError: database is locked