Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions not visible when using %%cache #49

Open
oldnaari opened this issue Nov 4, 2019 · 0 comments
Open

Exceptions not visible when using %%cache #49

oldnaari opened this issue Nov 4, 2019 · 0 comments

Comments

@oldnaari
Copy link

oldnaari commented Nov 4, 2019

The exceptions raised in a cell with %%cache, are not displayed

In[0]:
%load_ext ipycache
Out[0] :
/home/daniilhayrapetyan/.virtualenvs/test/lib/python3.6/site-packages/IPython/config.py:13: ShimWarning: The `IPython.config` package has been deprecated since IPython 4.0. You should import from traitlets.config instead.
  "You should import from traitlets.config instead.", ShimWarning)
/home/daniilhayrapetyan/.virtualenvs/test/lib/python3.6/site-packages/ipycache.py:17: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  from IPython.utils.traitlets import Unicode
In[1] :
%%cache _delete_me.pkl
raise Exception
Out[1] :
[Saved variables '' to file 'home/daniilhayrapetyan/.../_delete_me.pkl'.]

I am using Jupyter Lab:
Here are the versions:

  • Python: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
  • ipycache: 0.1.4
  • jupyterlab: 1.1.1

Also if using tqdm_notebook from tqdm, the widget is not displayed. Just thought that this fact will be helpful for debuging the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant