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

Cannot remove Skip Traceback #970

Open
jolespin opened this issue Apr 23, 2017 · 5 comments
Open

Cannot remove Skip Traceback #970

jolespin opened this issue Apr 23, 2017 · 5 comments

Comments

@jolespin
Copy link

I am using Python 3.6.1, Jupyter 4.3.0, IPython 6.0.0 and I can't disable the Skip Traceback by default. The button is there and it works when I press it but I've realized that this has become more tedious than useful. I would like to completely remove the skip traceback. How can I do this? I get a 404 error when I try to get to the old extensions page.

@jcb91
Copy link
Member

jcb91 commented Apr 24, 2017

I can't disable the Skip Traceback by default

I think this is a bug, as mentioned in #957, I'll look into it.

I would like to completely remove the skip traceback. How can I do this?

If you installed the whole repo, you should be able to disable skip-traceback from the configurator page (<base-url>/nbextensions, or there should be a tab on the file-browser page). However, it sounds like this may not be working for you. As an alternative, you should be able to disable the nbextension (so that it doesn't load at all for any notebook, but without removing the files from the system), using

jupyter nbextension disable 'skip-traceback/main'

possibly adding whichever of the --user, --sys-prefix or --system flags that you used for the install process (if you installed using conda, it uses the --sys-prefix flag). If in doubt about which flag to use, you can just run the command with each of them in turn in order to be sure.

To completely remove the files as well, use

jupyter nbextension uninstall 'skip-traceback/main'

Again using the appropriate --user, --sys-prefix or --system flag(s).

I get a 404 error when I try to get to the old extensions page.

By this I guess you mean the nbextensions configurator page mentioned in the main readme? I'm not sure exactly why this might be without a bit more information about your install process. Do you see anything about the configurator in your server logs? What about if you run the notebook server with the --debug flag? Did you use pip, or conda to install? I suppose you must have installed from the repo source, given the updated traceback hasn't been included in a release yet? What is the output of

pip show jupyter_contrib_nbextensions

and

pip show jupyter_nbextensions_configurator

?

@jcb91
Copy link
Member

jcb91 commented Apr 30, 2017

any further info on this @jolespin ?

@jolespin
Copy link
Author

I tried the last commands which didn't return anything

Joshs-MacBook-Air:~ Mu$ pip show jupyter_contrib_nbextensions
Joshs-MacBook-Air:~ Mu$ pip show jupyter_nbextensions_configurator
Joshs-MacBook-Air:~ Mu$

I tried disabling and got this:

Disabling notebook extension skip-traceback/main...
      - Validating: problems found:
        - require?  X skip-traceback/main

I also ran which didn't work : (:

Joshs-MacBook-Air:~ Mu$ jupyter nbextension uninstall 'skip-traceback/main'

I still have the traceback extension with default on.

@jcb91
Copy link
Member

jcb91 commented Apr 30, 2017

Ok, so it seems like you've managed to uninstall the python packages, but have got some JavaScript left over. Did the uninstall give any output?

@jcb91
Copy link
Member

jcb91 commented May 1, 2017

also, to find out where the skip-traceback nbextension is enabled, what's the output of

jupyter nbextension list

?

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

2 participants