GithubHelp home page GithubHelp logo

jupyter-contrib / jupyter_nbextensions_configurator Goto Github PK

View Code? Open in Web Editor NEW
971.0 18.0 120.0 2.17 MB

A jupyter notebook serverextension providing config interfaces for nbextensions.

License: Other

Batchfile 0.43% Shell 0.41% Python 35.99% JavaScript 56.28% CSS 4.24% HTML 2.67%
jupyter jupyter-notebook nbextension jupyter-nbextensions-configurator

jupyter_nbextensions_configurator's Introduction

Jupyter Nbextensions Configurator

Join the chat at https://gitter.im/jupyter-contrib/jupyter_nbextensions_configurator GitHub issues
Travis-CI Build Status Coveralls python test coverage Codecov python test coverage
GitHub tag PyPI Conda forge

A server extension for jupyter notebook which provides configuration interfaces for notebook extensions (nbextensions).

The jupyter_nbextensions_configurator jupyter server extension provides graphical user interfaces for configuring which nbextensions are enabled (load automatically for every notebook). In addition, for nbextensions which include an appropriate yaml descriptor file (see below), the interface also renders their markdown readme files, and provides controls to configure the nbextensions' options.

This project was spun out of work from ipython-contrib/IPython-notebook-extensions.

Installation

For those using conda, you can now get jupyter_nbextensions_configurator from the excellent conda-forge channel in a single command:

conda install -c conda-forge jupyter_nbextensions_configurator

For those not using conda, the installation has two steps:

  1. Installing the pip package. This should be as simple as

    pip install jupyter_nbextensions_configurator
    
  2. Configuring the notebook server to load the server extension. A jupyter subcommand is provided for this. You can enable the serverextension and the configurator nbextensions listed below for the current user with

    jupyter nbextensions_configurator enable --user  # can be skipped for notebook >=5.3
    

    The command accepts the same flags as the jupyter serverextension command provided by notebook versions >= 4.2, including --system to enable in system-wide config (the default), or --sys-prefix to enable in config files inside python's sys.prefix, such as for a virtual environment. The provided jupyter nbextensions_configurator command can also be used to disable.

Once installed, you'll need to restart the notebook server. Once restarted, you should be able to find the configurator user interfaces as described below.

Usage

Once jupyter_nbextensions_configurator is installed and enabled, and your notebook server has been restarted, you should be able to find the nbextensions configuration interface at the url <base_url>nbextensions, where <base_url> is described below (for simple installs, it's usually just /, so the UI is at /nbextensions).

configurator UI page

base_url

For most single-user notebook servers, the dashboard (the file-browser or 'tree' view) is at

http://localhost:8888/tree

So the base_url is the part between the host (http://localhost:8888) and tree, so in this case it's the default value of just /. If you have a non-default base url (such as with JupyterHub), you'll need to prepend it to the url. So, if your dashboard is at

http://localhost:8888/custom/base/url/tree

then you'll find the configurator UI page at

http://localhost:8888/custom/base/url/nbextensions

tree tab

In addition to the main standalone page, the nbextensions configurator interface is also available as a tab on the dashboard:

configurator UI in a dashboard tab

The dashboard tab is provided via an nbextension called "Nbextensions dashboard tab", with requirejs uri nbextensions_configurator/tree_tab/main. Since version 0.2.0, this nbextension is enabled by default on enabling the jupyter_nbextensions_configurator serverextension, but it can be disabled as with any other nbextension if you don't want to use it.

edit menu item

jupyter_nbextensions_configurator provides a second small nbextension, which simply adds an item to the notebook-view edit menu, which links to the configurator UI page:

configurator edit menu item

Similarly to the tree tab nbextension detailed above, since version 0.2.0, the edit menu item nbextension is enabled by default when enabling the main jupyter_nbextensions_configurator serverextension, but can be disabled at any time in the same way as other nbextensions.

YAML file format

You don't need to know about the yaml files in order simply to use jupyter_nbextensions_configurator. An nbextension is 'found' by the jupyter_nbextensions_configurator server extension when a special yaml file describing the nbextension and its options is found in the notebook server's nbextensions_path. The yaml file can have any name with the file extension .yaml or .yml, and describes the nbextension and its options to jupyter_nbextensions_configurator.

The case-sensitive keys in the yaml file are as follows:

  • Type, (required) a case-sensitive identifier, must be IPython Notebook Extension or Jupyter Notebook Extension
  • Main, (required) the main javascript file that is loaded, typically main.js
  • Name, the name of the nbextension
  • Section, which view the nbextension should be loaded in (defaults to notebook, but can alternatively be tree, edit, or to load in all views, common).
  • Description, a short explanation of the nbextension
  • Link, a URL for more documentation. If this is a relative url with a .md file extension (recommended!), the markdown readme is rendered in the configurator UI.
  • Icon, a URL for a small icon for the configurator UI (rendered 120px high, should preferably end up 400px wide. Recall HDPI displays may benefit from a 2x resolution icon).
  • Compatibility, Jupyter major version compatibility, e.g. 3.x or 4.x, 3.x 4.x, 3.x, 4.x, 5.x
  • Parameters, an optional list of configuration parameters. Each item is a dictionary with (some of) the following keys
    • name, (required) the name used to store the configuration variable in the config json. It follows a json-like structure, so you can use . to separate sub-objects e.g. myextension.buttons_to_add.play.
    • description, a description of the configuration parameter
    • default, a default value used to populate the tag in the configurator UI, if no value is found in config. Note that this is more of a hint to the user than anything functional - since it's only set in the yaml file, the javascript implementing the nbextension in question might actually use a different default, depending on the implementation.
    • input_type, controls the type of html tag used to render the parameter in the configurator UI. Valid values include text, textarea, checkbox, [html5 input tags such as number, url, color, ...], plus a final type of list
    • list_element, a dictionary with the same default and input_type keys as a Parameters entry, used to render each element of the list for parameters with input_type list
    • finally, extras such as min, step and max may be used by number tags for validation
  • tags, a list of string tags describing the nbextension, to allow for filtering

Example:

Type: Jupyter Notebook Extension
Name: Limit Output
Section: notebook
Description: This nbextension limits the number of characters that can be printed below a codecell
tags:
- usability
- limit
- output
Link: readme.md
Icon: icon.png
Main: main.js
Compatibility: 4.x
Parameters:
- name: limit_output
  description: Number of characters to limit output to
  input_type: number
  default: 10000
  step: 1
  min: 0
- name: limit_output_message
  description: Message to append when output is limited
  input_type: text
  default: '**OUTPUT MUTED**'

Troubleshooting

If you encounter problems with this server extension, you can:

For debugging, useful information can (sometimes) be found by:

  • Checking for error messages in the browser's JavaScript console.
  • Checking for messages in the notebook server's logs. This is particularly useful when the server is run with the --debug flag, to get as many logs as possible.

Changes

0.6.4

  • Import JupyterServer handlers

0.6.3

  • Import notebook version

0.6.2

  • Fix marked.js

0.6.1

  • Remove scripts from setup.py

0.6.0

  • Support nbclassic.

0.5.0

0.4.0

  • Show error messages when failing to load a config file, allowing remaining files to load ok.
  • use pip for conda recipe installation, instead of python setup.py

0.3.0

  • don't use notebook.base.handlers.json_errors for notebook >= 5.2.0, as it's deprecated.
  • auto-pad 3-char colour codes (e.g. #BEC) to 6-char, as otherwise the HTML5 controls don't initialize correctly.

0.2.8

  • Split specification checking into a separate function
  • Fixes for bugs in notebook 5.1.0

0.2.7

0.2.6

  • Require newer version of jupyter_contrib_core in order to ensure setting the correct config key when enabling.

0.2.5

  • Deduplicate entries in nbextensions_path before checking them, to prevent displaying duplictae entries for nbextesions in the same place. Also add tests for deduplication.
  • Open yaml files using utf-8 encoding, allowing non-ascii characters, courtesy of @haobibo.
  • List configurator's own nbextensions as compatible with notebook 5.x
  • CI updates for 5.x testing, and working around a conda bug.

0.2.4

  • Allow filtering based on name and description text as well as section & tags
  • Add a clear-filter control
  • Allow unconfigurable nbextensions to be 'forgotten' (enabled/disabled status erased completely)
  • Allow refreshing the nbextensions list, see for details #29
  • Add tooltip for parameter reset, as requested in #29
  • Add IPython CodeMirror mode to markdown renderer
  • Don't embed nbextensions data into the standalone /nbextensions page. This allows us to serve the page quicker, then get nbextensions data (slow request) from the json api.
  • Improved log messages, with prefixes, both on client & server side
  • Fix bug preventing matching first tag
  • Fix bug preventing render of markdown containing unknown CodeMirror mode(s)
  • Fix minor css margin issue with visible/not visible compatibility
  • Make tests more robust against misleading timing-based failures
  • Update jupyterhub test spawner to match hub version 0.7 api
  • Update CI to use selenium 3, allowing us to test on recent firefox versions
  • Add yet another new coverage argument for CI

0.2.3

  • On the dashboard, select the configurator tree tab automatically if the appropriate URL hash is present
  • Add filtering of visible nbextensions by names, tags and sections
  • Add jupyterhub-based tests, to hopefully catch some issues relating to the jupyterhub SingleUserServer, like #11 and #14 in future
  • README updates
  • Bugfix for Enable/Disable application help strings, which both started with Enable 😊

0.2.2

  • Bugfix courtesy of @bielern. Fix for a bug which was preventing the serverextension from loading from a jupyterhub-spawned singleuser notebook server
  • Alterations to the in-repo conda recipe, to use git versioning & build number

0.2.1

  • Fix bug introduced in bc2f8b821b2164823cbba4e85d5e921dfd484b11, which prevented disabling nbextensions when using notebook versions < 4.2. Add test to ensure that a disabled nbextension's js doesn't load, rather than just checking json config file.

0.2.0

  • Use jupyter_contrib_core package for notebook compatibility shims and some testing utilities.
  • Automatically enable configurator's own nbextensions when running the app.
  • Replace references to CI and other services attached to jcb91 in favour of Jupyter-contrib repository versions, where possible.

0.1.1

Remove tests dependency on ipython_genutils

0.1.0

First public release!



Making a new release of jupyter_nbextensions_configurator

This extension can be manually distributed as a Python package.


Manually bumb the package version in:

  • version and download_url in setup.py
  • current_version in .bumpversion.cfg
  • __version__ in src/jupyter_nbextensions_configurator/__init__.py

Update the Changes section of the this README with notes for the release.

To create the binary package (.whl) in the dist/ directory, do:

python setup.py bdist_wheel

Commit the changes to the repository, and upload artifacts.

Install the necessary twine python package

pip install twine

Then to upload the package to PyPI, do:

twine upload dist/*

Lastly, you can follow the instructions here to make a manual release on Github via jupyter_nbextensions_configurator/releases.

jupyter_nbextensions_configurator's People

Contributors

bkad avatar carreau avatar coopbri avatar dotlambda avatar echarles avatar ecogodi avatar haobibo avatar inside-hakumai avatar jcb91 avatar jfbercher avatar juhasch avatar minrk avatar mpacer avatar nehaljwani avatar rgbkrk avatar rrosio avatar slonik-az avatar theck3r avatar toddrme2178 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jupyter_nbextensions_configurator's Issues

disable-all button

in ipython-contrib/jupyter_contrib_nbextensions#849, @ggrrll requested a button to disable all enabled nbextensions fromt he configurator page. This may prove misleading, since some nbextensions also come with serverextensions (e.g. the various conda environment ones), which wouldn't get disabled. But, if the button also shows a note to that effect, hopefully exessie confusion can be avoided...

Not able to see the jupyter_nbextensions_configurator

I upgraded jupyter_nbextensions_configurator to 0.4.1
then I run again:
jupyter nbextensions_configurator enable --user

However at the following page:
http://localhost:8888/tree
the extensions is not visible yet.

Also if I try to access to
http://localhost:8888/custom/base/url/nbextensions
or
http://localhost:8888/custom/base/url/tree
it returns:
404 : Not Found
You are requesting a page that does not exist!

What can be done to make it visible?

UI questions

I was looking at the configuration page and had some questions:

  • What does the reload button (at the right corner) do?

bildschirmfoto 2017-02-19 um 20 49 34

  • What does the reload/reset button (at the right corner) do ?

bildschirmfoto 2017-02-19 um 20 51 56

  • How does the filter work ?
    The section seems to be useful. I don't understand tag and name seems to be not very useful, as you have to add any extension by hand. Is there a chance to select several extensions at once by name or by keywords in the description ?

Extension page doesn't have any extensions

I have installed jupyter_nbextensions_configurator with the following command:
conda install -c conda-forge jupyter_nbextensions_configurator

But nbextensions configuration interface page doesn't have any extensions.My nbextensions configuration interface like this:
https://i.imgur.com/psMsajy.png

I tried to enable "jupyter-tree-filter" extension.I got following output:

C:\Users\q>jupyter nbextension enable jupyter-tree-filter
Enabling notebook extension jupyter-tree-filter...
-Validating: problems found:
-require? X jupyter-tree-filter

Edit 1: I install with git clone and now it works.

git clone https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git
pip install -e jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

Probably there is an issue about conda packages.

My table view i.e df.head() is not working

Hi,

when I want to view df.head() nothing prints as results. This only happened after I played around with the new nbextention in my jupyter. I have tried ticking and unticking multiple option but I stilll have nothing showing. HELP PLEASE!!!!

kzkn

why? run error

my Mac
2018-10-11 07 23 08

python -v=3.7
run error

appledeMacBook-Pro:~ apple$ jupyter nbextensions_configurator enable --user
Enabling: jupyter_nbextensions_configurator
- Writing config: /Users/apple/.jupyter
    - Validating...
      jupyter_nbextensions_configurator 0.4.0 OK```
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Traceback (most recent call last):
  File "/usr/local/bin/jupyter-nbextensions_configurator", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/jupyter_core/application.py", line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/usr/local/lib/python3.7/site-packages/jupyter_nbextensions_configurator/application.py", line 117, in start
    super(JupyterNbextensionsConfiguratorApp, self).start()
  File "/usr/local/lib/python3.7/site-packages/jupyter_core/application.py", line 255, in start
    self.subapp.start()
  File "/usr/local/lib/python3.7/site-packages/jupyter_nbextensions_configurator/application.py", line 77, in start
    user=self.user, sys_prefix=self.sys_prefix)
  File "/usr/local/lib/python3.7/site-packages/notebook/nbextensions.py", line 351, in _set_nbextension_state
    cm.update(section, {"load_extensions": {require: state}})
  File "/usr/local/lib/python3.7/site-packages/notebook/config_manager.py", line 134, in update
    data = self.get(section_name)
  File "/usr/local/lib/python3.7/site-packages/notebook/config_manager.py", line 103, in get
    recursive_update(data, json.load(f))
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 19 column 5 (char 550)

"main" is grey

I use pyenv ,but it seems that "main" is grey.Like this:

image

installation problem

Hey there
Thanks for the configurator, it's very convenient

I just installed a new mac computer, and am running into an issue when setting up the tool;
I did pip install + jupyter nbextensions_configurator enable
but instead of the usual mostly white configurator (that was working just fine on the previous mac omputer that I was using) I am seeing all extensions as grayed out, and I can't configure them, see attached

Clearly I screwed something up but I can't spot what that was.

Thanks again

screen shot 2017-11-03 at 13 01 22

Getting Validating: problems found error for coldfolding/main

I have Python 3.7. I cloned the nbextensions repository copied its contents into my Python directory to get "C:\Python\Python37\Lib\site-packages\jupyter_contrib_nbextensions\nbextensions". This path contains all of the extensions like codefolding etc.

when I enter
jupyter contrib nbextension install --system
I get the following:
`community-contributed spice for Jupyter Interactive Computing

Options

Arguments that take values are actually convenience aliases to full
Configurables, whose aliases are listed on the help line. For more information
on full configurables, see '--help-all'.

--debug
set log level to logging.DEBUG (maximize logging output)
--generate-config
generate default config file
-y
Answer yes to any questions instead of prompting.
--log-level= (Application.log_level)
Default: 30
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
Set the log level by value or name.
--config= (JupyterApp.config_file)
Default: ''
Full path of a config file.

To see all available configurables, use --help-all

[JupyterContribApp] CRITICAL | Bad config encountered during initialization:
[JupyterContribApp] CRITICAL | Unrecognized flag: '--system'`

When I enter
jupyter contrib nbextension install --user

I get the following:
`community-contributed spice for Jupyter Interactive Computing

Options

Arguments that take values are actually convenience aliases to full
Configurables, whose aliases are listed on the help line. For more information
on full configurables, see '--help-all'.

--debug
set log level to logging.DEBUG (maximize logging output)
--generate-config
generate default config file
-y
Answer yes to any questions instead of prompting.
--log-level= (Application.log_level)
Default: 30
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
Set the log level by value or name.
--config= (JupyterApp.config_file)
Default: ''
Full path of a config file.

To see all available configurables, use --help-all

[JupyterContribApp] CRITICAL | Bad config encountered during initialization:
[JupyterContribApp] CRITICAL | Unrecognized flag: '--user'`

And again when I enter
jupyter nbextension enable codefolding/main

I get the following:
Enabling notebook extension codefolding/main... - Validating: problems found: - require? X codefolding/main

Thanks for all of your help

Feature Request: Click-and-drag to rearrange cells

Feature Request: An extension enabling click-and-drag to rearrange the order of cells in a notebook. The nteract notebook has this feature by default. Perhaps it's as easy as porting their code?

Not sure if I'm posting this in the right place. Thanks for your great work! I use it every day, and it dramatically improves Jupyter notebook ergonomics.

nbextensions_configurator validating problems found

when executing jupyter nbextension list, some problem information occurs:

nbextensions_configurator/config_menu/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
nbextensions_configurator/tree_tab/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

After checking the problem, I found that the nbextension static file are not copied to <jupyter-data-dir>/nbextensions, but the server extension directly adds the static path to nbextension handler, thus it works well. Although it doesn't affect the functionalities, it is still confusing to newcomers.

Currently I'm developing an server extension, and also, a js nbextension. A server extension usually need a cooperational js sextension. The installation flow of the extension for a user is

pip install nb_xxx_extension
jupyter serverextension enable --py nb_xxx_extension
jupyter nbextension install --py nb_xxx_extension
jupyter nbextension enble --py nb_xxx_extension

There are too many steps for users to install an extension.
In this repository, it give an approach to patch nbextensions static resource directly to jupyter application.
There's no need to copy resources, enable nbextensions. But, the validating problem will occur by using this approach.
is it recommended to use this approach
are there some optimization for server extensions development

Cannot load extensions configurator if using custom jupyter notebook config file

Hello, I created a custom jupyter notebook config file and so I launch jupyter notebook with the --config= parameter:
jupyter notebook --config=/path/jupyter_notebook_config_custom.py

In the terminal, I get no errors, but I notice I don't get the message:
Loaded extension jupyter_nbextensions_configurator

and so if I go to http://localhost:8888/nbextensions/ I get the http 404 error. I can still manually install extensions with the enable sub-command:
jupyter nbextension enable <extension>

If I launch jupyter notebook with default config file ("jupyter_notebook_config.py"), I get the message:
Loaded extension jupyter_nbextensions_configurator

and therefore, nbextensions configurator is loaded ok and everything works as expected.

What I did, I just make a copy of the default config file (jupyter_notebook_config.py) and then just rename it to jupyter_notebook_config_custom.py, modify the port #, then do:
jupyter notebook --config=/path/jupyter_notebook_config_custom.py

and the nbextensions configurator does not get loaded. This is very unexpected. So it appears if I am not using a config file exactly called "jupyter_notebook_config.py", the nbextensions configurator doesn't get loaded.

another question on the yaml file

oops..

I'd started to chat about this already in #49 but figure it's best to start another thread

I still fail to see how the configurator links a parameters in the yaml file with a js variable in the code

in the example for collapsible_headings, I can see this in the yaml file

- name: collapsible_headings.add_button
  description: Add a toolbar button to collapse the closest header cell
  input_type: checkbox
  default: false

and in main.js there is this:

	var params = {
		add_button : false,

but it's still a bit puzzling how both map to one another..

also, the yaml file has a default value, does that need to repeat the default value in the code ?

or am I on the wrong track altogether ?

thanks for clarifying :)

[jupyterhub] 404 on nbextensions/nbextensions_configurator

I'm on jupyterhub. I'm trying to us the configurator on latest versions of everything (Aug 19, 2016). I have installed everything according to README, and it shows as enabled (as root):

# jupyter-nbextension list
Known nbextensions:
  config dir: /root/.jupyter/nbconfig
    notebook section
      dragdrop/main  enabled 
      - Validating: OK
  config dir: /opt/anaconda3/etc/jupyter/nbconfig
    notebook section
      calysto/cell-tools/main  enabled 
      - Validating: OK
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
      codefolding/main disabled
      nbextensions_configurator/config_menu/main  enabled 
      - Validating: OK
      calysto/spell-check/main  enabled 
      - Validating: OK
      calysto/submit/main  enabled 
      - Validating: OK
      calysto/document-tools/main  enabled 
      - Validating: OK
      calysto/publish/main  enabled 
      - Validating: OK
    tree section
      ipyparallel/main  enabled 
      - Validating: OK
      nbextensions_configurator/tree_tab/main  enabled 
      - Validating: OK

However, when I load the notebook (after restarting jupyterhub) the tab shows, it is empty and I get the following error in the Javascript console:

screenshot from 2016-08-19 15 23 38

Why is the URL giving a 404? Maybe I didn't install the app properly for jupyterhub? Any hints?

Failed to load config section "notebook"

Installed the latest Anaconda 5.1 win64
conda install -c conda-forge jupyter_contrib_nbextensions
Got the msg as below when I run jupyter. Could anyone help me figure it out? Googled a lot and try uninstall and reinstall but can't solve it.

Snap! Failed to load config section "notebook"

Details
Internal Server Error
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\web.py", line 1510, in execute
result = method(*self.path_args, **self.path_kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\web.py", line 2898, in wrapper
return method(self, *args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\services\config\handlers.py", line 19, in get
self.finish(json.dumps(self.config_manager.get(section_name)))
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\services\config\manager.py", line 25, in get
recursive_update(config, cm.get(section_name))
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\config_manager.py", line 85, in get
recursive_update(data, json.load(f))
File "C:\ProgramData\Anaconda3\lib\json_init
.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "C:\ProgramData\Anaconda3\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\ProgramData\Anaconda3\lib\json\decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 8 column 1 (char 71)

Error loading server extension ==py

Hi,
I've run into this issue and can't seem to resolve it. I've uninstalled/reinstalled the environment, uninstalled/reinstalled anaconda. it was working fine a couple of days ago. Now I'm having issues importing libraries into notebooks.

[I 16:57:39.984 LabApp] [nb_conda_kernels] enabled, 4 kernels found
[W 16:57:40.858 LabApp] Permission to listen on port 8888 denied
[W 16:57:40.867 LabApp] Error loading server extension ==py
Traceback (most recent call last):
File "F:\Anaconda\envs\Development_3_7\lib\site-packages\notebook\notebookapp.py", line 1572, in init_server_extensions
mod = importlib.import_module(modulename)
File "F:\Anaconda\envs\Development_3_7\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named '==py'
[I 16:57:40.884 LabApp] [jupyter_nbextensions_configurator] enabled 0.4.1
[I 16:57:40.888 LabApp] JupyterLab extension loaded from F:\Anaconda\envs\Development_3_7\lib\site-packages\jupyterlab
[I 16:57:40.888 LabApp] JupyterLab application directory is F:\Anaconda\envs\Development_3_7\share\jupyter\lab
[I 16:57:40.894 LabApp] [nb_conda] enabled
[W 16:57:40.894 LabApp] JupyterLab server extension not enabled, manually loading...
[I 16:57:40.896 LabApp] JupyterLab extension loaded from F:\Anaconda\envs\Development_3_7\lib\site-packages\jupyterlab
[I 16:57:40.896 LabApp] JupyterLab application directory is F:\Anaconda\envs\Development_3_7\share\jupyter\lab
[I 16:57:40.897 LabApp] Serving notebooks from local directory: f:
[I 16:57:40.897 LabApp] The Jupyter Notebook is running at:
[I 16:57:40.897 LabApp] http://localhost:8889/?token=
[I 16:57:40.897 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 16:57:40.942 LabApp]

X is nbextensions_configurator importable?

Jupyter came pre-installed on my work machine (on which i do not have root access).

I've installed the nbextensions using:
pip3 install --user jupyter_contrib_nbextensions
and
jupyter contrib nbextensions install --user
and manully added the ~/.local/bin to my PATH environment variable.

So far so good, but when launching jupyter, i get the following error:

jupyter notebook --no-browser --port=8889 --notebook-dir /
[I 14:26:24.684 NotebookApp] The port 8889 is already in use, trying another port.
[W 14:26:24.685 NotebookApp] Terminals not available (error was No module named 'terminado')
[W 14:26:24.687 NotebookApp] Error loading server extension jupyter_nbextensions_configurator
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/notebook/notebookapp.py", line 1271, in init_server_extensions
        mod = importlib.import_module(modulename)
      File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 994, in _gcd_import
      File "<frozen importlib._bootstrap>", line 971, in _find_and_load
      File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
    ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'
[I 14:26:24.690 NotebookApp] Serving notebooks from local directory: /
[I 14:26:24.690 NotebookApp] 0 active kernels 
[I 14:26:24.690 NotebookApp] The Jupyter Notebook is running at: http://localhost:8890/
[I 14:26:24.690 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 14:26:25.621 NotebookApp] 404 GET /api/kernels/b50172bc-c47d-49c7-b863-de6a8f1a1c8a/channels?session_id=EF4DA16C1502431A8F3F846DE2B2549D (::1): Kernel does not exist: b50172bc-c47d-49c7-b863-de6a8f1a1c8a
[W 14:26:25.639 NotebookApp] 404 GET /api/kernels/b50172bc-c47d-49c7-b863-de6a8f1a1c8a/channels?session_id=EF4DA16C1502431A8F3F846DE2B2549D (::1) 27.43ms referer=None

Disabling the configurator resolves the issue, but i'd like it enabled which in turn yield the following error:

jupyter serverextension enable nbextensions_configurator
Enabling: nbextensions_configurator
- Writing config: /usr/people/jong/.jupyter
    - Validating...
Error loading server extension nbextensions_configurator
      X is nbextensions_configurator importable?

What am I doing wrong?

I'm running jupyter version 4.1.0

Issue with installation using conda involving pytest

When trying to install jupyter_nbextensions_configurator with conda I get the following error:

>conda install -c conda-forge jupyter_nbextensions_configurator
Fetching package metadata .................
Solving package specifications: .

Package plan for installation in environment /home/fabrost/miniconda3:

The following NEW packages will be INSTALLED:

    bleach:                            2.0.0-py36_0          conda-forge
    decorator:                         4.1.2-py36_0          conda-forge
    entrypoints:                       0.2.3-py36_1          conda-forge
    gmp:                               6.1.2-0               conda-forge
    html5lib:                          1.0.1-py_0            conda-forge
    ipykernel:                         4.7.0-py36_0          conda-forge
    ipython:                           6.2.1-py36_0          conda-forge
    ipython_genutils:                  0.2.0-py36_0          conda-forge
    jedi:                              0.10.2-py36_0         conda-forge
    jinja2:                            2.10-py36_0           conda-forge
    jsonschema:                        2.6.0-py36_0          conda-forge
    jupyter_client:                    5.2.0-py36_0          conda-forge
    jupyter_contrib_core:              0.3.3-py36_0          conda-forge
    jupyter_core:                      4.4.0-py_0            conda-forge
    jupyter_nbextensions_configurator: 0.2.8-py36_0          conda-forge
    libsodium:                         1.0.15-1              conda-forge
    markupsafe:                        1.0-py36_0            conda-forge
    mistune:                           0.8.3-py_0            conda-forge
    nbconvert:                         5.3.1-py_1            conda-forge
    nbformat:                          4.4.0-py36_0          conda-forge
    notebook:                          5.2.2-py36_1          conda-forge
    pandoc:                            2.0.5-0               conda-forge
    pandocfilters:                     1.4.1-py36_0          conda-forge
    pexpect:                           4.3.1-py36_0          conda-forge
    pickleshare:                       0.7.4-py36_0          conda-forge
    prompt_toolkit:                    1.0.15-py36_0         conda-forge
    ptyprocess:                        0.5.2-py36_0          conda-forge
    pygments:                          2.2.0-py36_0          conda-forge
    python-dateutil:                   2.6.1-py36_0          conda-forge
    pyyaml:                            3.12-py36_1           conda-forge
    pyzmq:                             16.0.2-py36_2         conda-forge
    simplegeneric:                     0.8.1-py36_0          conda-forge
    terminado:                         0.8.1-py36_0          conda-forge
    testpath:                          0.3.1-py36_0          conda-forge
    tornado:                           4.5.2-py36_0          conda-forge
    traitlets:                         4.3.2-py36_0          conda-forge
    wcwidth:                           0.1.7-py36_0          conda-forge
    webencodings:                      0.5-py36_0            conda-forge
    zeromq:                            4.2.1-1               conda-forge

The following packages will be SUPERSEDED by a higher-priority channel:

    conda:                             4.3.30-py36h5d9f9f4_0             --> 4.3.29-py36_0 conda-forge
    conda-env:                         2.6.0-h36134e3_1                  --> 2.6.0-0       conda-forge

Proceed ([y]/n)? 

+ /home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator enable --sys-prefix
Traceback (most recent call last):
  File "/home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3138, in <module>
    @_call_aside
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3122, in _call_aside
    f(*args, **kwargs)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pytest; python_version >= "3.4" or python_version == "2.7" and extra == "test"' distribution was not found and is required by jupyter-client

ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'conda-forge::jupyter_nbextensions_configurator-0.2.8-py36_0'.
LinkError: post-link script failed for package conda-forge::jupyter_nbextensions_configurator-0.2.8-py36_0
running your command again with `-v` will provide additional information
location of failed script: /home/fabrost/miniconda3/bin/.jupyter_nbextensions_configurator-post-link.sh
==> script messages <==
+ /home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator enable --sys-prefix
Traceback (most recent call last):
  File "/home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3138, in <module>
    @_call_aside
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3122, in _call_aside
    f(*args, **kwargs)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pytest; python_version >= "3.4" or python_version == "2.7" and extra == "test"' distribution was not found and is required by jupyter-client


Attempting to roll back.


LinkError: post-link script failed for package conda-forge::jupyter_nbextensions_configurator-0.2.8-py36_0
running your command again with `-v` will provide additional information
location of failed script: /home/fabrost/miniconda3/bin/.jupyter_nbextensions_configurator-post-link.sh
==> script messages <==
+ /home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator enable --sys-prefix
Traceback (most recent call last):
  File "/home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3138, in <module>
    @_call_aside
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3122, in _call_aside
    f(*args, **kwargs)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/fabrost/miniconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pytest; python_version >= "3.4" or python_version == "2.7" and extra == "test"' distribution was not found and is required by jupyter-client

Installing pytest as well works around the issue:

> conda install -c conda-forge jupyter_nbextensions_configurator pytest
Fetching package metadata .................
Solving package specifications: .

Package plan for installation in environment /home/fabrost/miniconda3:

The following NEW packages will be INSTALLED:

    attrs:                             17.3.0-py_0           conda-forge
    bleach:                            2.0.0-py36_0          conda-forge
    decorator:                         4.1.2-py36_0          conda-forge
    entrypoints:                       0.2.3-py36_1          conda-forge
    gmp:                               6.1.2-0               conda-forge
    html5lib:                          1.0.1-py_0            conda-forge
    ipykernel:                         4.7.0-py36_0          conda-forge
    ipython:                           6.2.1-py36_0          conda-forge
    ipython_genutils:                  0.2.0-py36_0          conda-forge
    jedi:                              0.10.2-py36_0         conda-forge
    jinja2:                            2.10-py36_0           conda-forge
    jsonschema:                        2.6.0-py36_0          conda-forge
    jupyter_client:                    5.2.0-py36_0          conda-forge
    jupyter_contrib_core:              0.3.3-py36_0          conda-forge
    jupyter_core:                      4.4.0-py_0            conda-forge
    jupyter_nbextensions_configurator: 0.2.8-py36_0          conda-forge
    libsodium:                         1.0.15-1              conda-forge
    markupsafe:                        1.0-py36_0            conda-forge
    mistune:                           0.8.3-py_0            conda-forge
    nbconvert:                         5.3.1-py_1            conda-forge
    nbformat:                          4.4.0-py36_0          conda-forge
    notebook:                          5.2.2-py36_1          conda-forge
    pandoc:                            2.0.5-0               conda-forge
    pandocfilters:                     1.4.1-py36_0          conda-forge
    pexpect:                           4.3.1-py36_0          conda-forge
    pickleshare:                       0.7.4-py36_0          conda-forge
    pluggy:                            0.6.0-py_0            conda-forge
    prompt_toolkit:                    1.0.15-py36_0         conda-forge
    ptyprocess:                        0.5.2-py36_0          conda-forge
    py:                                1.5.2-py_0            conda-forge
    pygments:                          2.2.0-py36_0          conda-forge
    pytest:                            3.3.1-py36_0          conda-forge
    python-dateutil:                   2.6.1-py36_0          conda-forge
    pyyaml:                            3.12-py36_1           conda-forge
    pyzmq:                             16.0.2-py36_2         conda-forge
    simplegeneric:                     0.8.1-py36_0          conda-forge
    terminado:                         0.8.1-py36_0          conda-forge
    testpath:                          0.3.1-py36_0          conda-forge
    tornado:                           4.5.2-py36_0          conda-forge
    traitlets:                         4.3.2-py36_0          conda-forge
    wcwidth:                           0.1.7-py36_0          conda-forge
    webencodings:                      0.5-py36_0            conda-forge
    zeromq:                            4.2.1-1               conda-forge

The following packages will be SUPERSEDED by a higher-priority channel:

    conda:                             4.3.30-py36h5d9f9f4_0             --> 4.3.29-py36_0 conda-forge
    conda-env:                         2.6.0-h36134e3_1                  --> 2.6.0-0       conda-forge

Proceed ([y]/n)? 

+ /home/fabrost/miniconda3/bin/jupyter-nbextensions_configurator enable --sys-prefix
Enabling: jupyter_nbextensions_configurator
- Writing config: /home/fabrost/miniconda3/etc/jupyter
    - Validating...
      jupyter_nbextensions_configurator  OK
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Enabling tree nbextension nbextensions_configurator/tree_tab/main...

Only two extensions available after installing

I'm on Ubuntu (ChromeOS via crouton) and installed via conda after a fresh install of conda, Jupyter, and IRkernel. But I'm only seeing two available extensions.
screenshot 2018-04-15 at 16 28 04

Here's some of my installation output, where I tried restarting the Jupyter kernel a couple times after updating conda.

nbextension validation failures; no way to install directly

When you run jupyter nbextension list it will return a collection of the directories it found configuration for and whether or not the extension as it stands is valid.

$ jupyter nbextension list
Known nbextensions:
  config dir: ~/miniconda3/envs/dev/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: OK

The way valid is defined is whether the required files are able to be found on the jupyter data directory path.

Unfortunately, the way that nbextensions_configurator provides its data files is by adding it's static directory at runtime inside the server extension.

# make sure our static files are available
static_files_path = os.path.normpath(os.path.join(
os.path.dirname(__file__), 'static'))
logger.debug(
' Editing nbextensions path to add {}'.format(static_files_path))
if static_files_path not in webapp.settings['nbextensions_path']:
webapp.settings['nbextensions_path'].append(static_files_path)

As a result, there is no way for jupyter nbextension list to know that the data files will be present and therefore that the current install is valid.

Accordingly when you run

$ jupyter nbextensions_configurator enable --sys-prefix
Enabling: jupyter_nbextensions_configurator
- Writing config: ~/miniconda3/envs/dev/etc/jupyter
    - Validating...
      jupyter_nbextensions_configurator 0.4.0 OK
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Enabling tree nbextension nbextensions_configurator/tree_tab/main...

You are left with what appears to be an invalid installation.

$ jupyter nbextension list
Known nbextensions:
  config dir: ~/miniconda3/envs/dev/etc/jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: OK
      nbextensions_configurator/config_menu/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
    tree section
      nbextensions_configurator/tree_tab/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

Now… if there were a way to install the files directly rather than relying on the runtime check then this wouldn't have any issues.

Fortunately, there is a straightforward way to enable that functionality. Namely, by providing a magically named _jupyter_nbextension_paths that returns a list of config dictionaries (see more here) you can then use jupyter nbextension install --py jupyter_nbextensions_configurator --sys-prefix to install the extension.

configurator tab not appearing

Hi,

thanks gain for the nice extension.

I have currently issue: the configurator is not showing at all (http://localhost:8888/nbextensions gives 404 and it's not present as well in the edit menu of notebooks) -- please find attached the screenshot of my browser (safari 12.0.3)

screenshot 2019-02-27 at 11 37 05

ps: my settings

  • notebook 5.7.4
  • jupyter_nbextensions_configurator 0.4.1
  • mac os 10.14

Compatibility with JupyterLab?

What are some considerations relating to making Notebook Extensions compatible with JupyterLab? Is there any work in progress towards that end?

jupyter nbextension configurator tab gives 404

Sorry to come back to this issue:

@juhasch
Contributor
juhasch commented Jan 6, 2019

Should be fixed in version 0.4.1. If you still have problems after the update, please open a new issue.

Still no menu entry, no tab

http://localhost:8888/nbextensions

404 : Not Found
You are requesting a page that does not exist!
D:\data\Jupyter>jupyter --version
4.4.0

D:\data\Jupyter>pip show jupyter_nbextensions_configurator
Name: jupyter-nbextensions-configurator
Version: 0.4.1
Summary: jupyter serverextension providing configuration interfaces for nbextensions.
Home-page: https://github.com/jupyter-contrib/jupyter_nbextensions_configurator
Author: jcb91, jupyter-contrib developers
Author-email: [email protected]
License: BSD 3-clause
Location: c:\users\karl\appdata\local\programs\python\python36\lib\site-packages
Requires: notebook, pyyaml, jupyter-contrib-core, tornado, traitlets, jupyter-core
Required-by: jupyter-contrib-nbextensions

D:\data\Jupyter>jupyter nbextension enable varInspector/main
Enabling notebook extension varInspector/main...
      - Validating: ok

D:\data\Jupyter>jupyter nbextensions_configurator enable --system
Enabling: jupyter_nbextensions_configurator
- Writing config: C:\ProgramData\jupyter
    - Validating...
      jupyter_nbextensions_configurator 0.4.1 ok
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Enabling tree nbextension nbextensions_configurator/tree_tab/main...

D:\data\Jupyter>jupyter contrib nbextension install --sys-prefix
...
[I 18:55:12 InstallContribNbextensionsApp] - Validating: ok
[I 18:55:12 InstallContribNbextensionsApp] Installing jupyter_contrib_nbextensions items to config in c:\users\karl\appdata\local\programs\python\python36\etc\jupyter
Enabling: jupyter_nbextensions_configurator
- Writing config: c:\users\karl\appdata\local\programs\python\python36\etc\jupyter
    - Validating...
      jupyter_nbextensions_configurator 0.4.1 ok
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Enabling tree nbextension nbextensions_configurator/tree_tab/main...
[I 18:55:12 InstallContribNbextensionsApp] Enabling notebook extension contrib_nbextensions_help_item/main...
[I 18:55:12 InstallContribNbextensionsApp]       - Validating: ok
[I 18:55:12 InstallContribNbextensionsApp] - Editing config: c:\users\karl\appdata\local\programs\python\python36\etc\jupyter\jupyter_nbconvert_config.json
[I 18:55:12 InstallContribNbextensionsApp] --  Configuring nbconvert template path
[I 18:55:12 InstallContribNbextensionsApp] --  Configuring nbconvert preprocessors
[I 18:55:12 InstallContribNbextensionsApp] - Writing config: c:\users\karl\appdata\local\programs\python\python36\etc\jupyter\jupyter_nbconvert_config.json
[I 18:55:12 InstallContribNbextensionsApp] --  Writing updated config file c:\users\karl\appdata\local\programs\python\python36\etc\jupyter\jupyter_nbconvert_config.json

Any more info needed? What can I do?

incompatibility problem

image
I am running into incompatibility problems with code-folding. Not sure if I am missing something.
I installed ipython and etc. fairly recently via anaconda, so it should be up to date. I installed the extension configurator via conda as well. When I run jupyter nbextension enable codefolding in terminal, I get back the following:
image
Also, in jupyter notebook,
image

Any help is greatly appreciated.

automatically

1, always choose the first one when there is an automatic prompt, I only return for the line but it does give me the first one
2, when only one match, it always automatically completes for me, but sometimes the first one is not what I want

src subdirectory ?

Happy to see this as an individual repository. Great work @jcb91 !

One question:
Would it not be better to have the jupyter_nbextensions_configurator directly at module level instead at behind src/jupyter_nbextensions_configurator ?

Download as "HTML with toc" does not work

I am trying to export a jupyter notebook as an html with the table of contents. For that I want to use the "Table of contents (2)" extension. It used to work before, but after changing my environment, I get a 500 : Internal Server Error. Unfortunately, I cannot recall what I changed in my environment. Below, please find the output of jupyter notebook. There is an error saying ValueError: Unknown exporter "html_toc", did you mean one of: asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides? pretty much at the end of the log. Is there anything I can do to get a html file with table of contents?

(spols180816d) crick> jupyter notebook --no-browser --debug 
[D 13:54:05.361 NotebookApp] Searching ['/home/fabrost', '/home/fabrost/.jupyter', '/home/fabrost/miniconda3/envs/spols180816d/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 13:54:05.362 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 13:54:05.362 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 13:54:05.363 NotebookApp] Looking for jupyter_config in /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter
[D 13:54:05.363 NotebookApp] Looking for jupyter_config in /home/fabrost/.jupyter
[D 13:54:05.363 NotebookApp] Looking for jupyter_config in /home/fabrost
[D 13:54:05.364 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 13:54:05.364 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 13:54:05.365 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 13:54:05.365 NotebookApp] Looking for jupyter_notebook_config in /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter
[D 13:54:05.366 NotebookApp] Loaded config file: /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/jupyter_notebook_config.json
[D 13:54:05.367 NotebookApp] Looking for jupyter_notebook_config in /home/fabrost/.jupyter
[D 13:54:05.367 NotebookApp] Loaded config file: /home/fabrost/.jupyter/jupyter_notebook_config.json
[D 13:54:05.368 NotebookApp] Looking for jupyter_notebook_config in /home/fabrost
[D 13:54:05.373 NotebookApp] [nb_conda_kernels] refreshing conda info
[D 13:54:06.595 NotebookApp] [nb_conda_kernels] refreshing conda kernelspecs
[I 13:54:06.622 NotebookApp] [nb_conda_kernels] enabled, 17 kernels found
[D 13:54:07.488 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.json
[D 13:54:07.490 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 13:54:07.493 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/jupyter_notebook_config.json
[D 13:54:07.496 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /home/fabrost/.jupyter/jupyter_notebook_config.json
[D 13:54:07.569 NotebookApp] [jupyter_nbextensions_configurator] Loading 0.4.0
[D 13:54:07.570 NotebookApp] [jupyter_nbextensions_configurator]   Editing templates path to add /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/templates
[D 13:54:07.570 NotebookApp] [jupyter_nbextensions_configurator]   Editing nbextensions path to add /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static
[D 13:54:07.570 NotebookApp] [jupyter_nbextensions_configurator]   Adding new handlers
[I 13:54:07.572 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.0
[I 13:54:07.674 NotebookApp] JupyterLab extension loaded from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyterlab
[I 13:54:07.674 NotebookApp] JupyterLab application directory is /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/lab
[I 13:54:08.313 NotebookApp] [nb_conda] enabled
[I 13:54:08.313 NotebookApp] Serving notebooks from local directory: /home/fabrost
[I 13:54:08.313 NotebookApp] The Jupyter Notebook is running at:
[I 13:54:08.314 NotebookApp] http://localhost:8888/
[I 13:54:08.314 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 13:54:12.633 NotebookApp] 302 GET / (::1) 1.51ms
[D 13:54:12.662 NotebookApp] Using contents: services/contents
[D 13:54:12.913 NotebookApp] Path base/images/favicon.ico served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/base/images/favicon.ico
[D 13:54:12.915 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 13:54:12.917 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 13:54:12.919 NotebookApp] Path style/style.min.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/style/style.min.css
[D 13:54:12.922 NotebookApp] Path components/es6-promise/promise.min.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 13:54:12.923 NotebookApp] Path components/preact/index.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/preact/index.js
[D 13:54:12.925 NotebookApp] Path components/proptypes/index.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/proptypes/index.js
[D 13:54:12.926 NotebookApp] Path components/preact-compat/index.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/preact-compat/index.js
[D 13:54:12.928 NotebookApp] Path components/requirejs/require.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/requirejs/require.js
[D 13:54:12.929 NotebookApp] Path base/images/logo.png served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/base/images/logo.png
[D 13:54:12.933 NotebookApp] Path tree/js/main.min.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/tree/js/main.min.js
[D 13:54:12.941 NotebookApp] 200 GET /tree? (::1) 281.51ms
[D 13:54:13.036 NotebookApp] Path custom.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/custom/custom.css
[D 13:54:13.041 NotebookApp] 200 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=9b2c8d3489227115310662a343fce11c (::1) 2.04ms
[D 13:54:13.042 NotebookApp] 200 GET /static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=7afb461de36accb1aa133a1710f5bc56 (::1) 11.62ms
[D 13:54:13.042 NotebookApp] 200 GET /custom/custom.css (::1) 7.94ms
[D 13:54:13.128 NotebookApp] Path services/contents.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/services/contents.js
[D 13:54:13.132 NotebookApp] 200 GET /static/services/contents.js?v=20180903135406 (::1) 4.96ms
[D 13:54:13.179 NotebookApp] Paths used for configuration of tree: 
        /etc/jupyter/nbconfig/tree.json
[D 13:54:13.180 NotebookApp] Paths used for configuration of tree: 
        /usr/local/etc/jupyter/nbconfig/tree.json
[D 13:54:13.183 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/tree.json
[D 13:54:13.186 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/.jupyter/nbconfig/tree.json
[D 13:54:13.187 NotebookApp] 200 GET /api/config/tree?_=1535975653092 (::1) 10.81ms
[D 13:54:13.191 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 13:54:13.192 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 13:54:13.194 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/common.json
[D 13:54:13.195 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/.jupyter/nbconfig/common.json
[D 13:54:13.196 NotebookApp] 200 GET /api/config/common?_=1535975653093 (::1) 7.29ms
[D 13:54:13.203 NotebookApp] 200 GET /api/sessions?_=1535975653095 (::1) 5.21ms
[D 13:54:13.208 NotebookApp] 200 GET /api/terminals?_=1535975653096 (::1) 1.12ms
[D 13:54:13.213 NotebookApp] Found kernel python3 in /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/kernels
[D 13:54:13.216 NotebookApp] Found kernel python2 in /usr/local/share/jupyter/kernels
[D 13:54:13.217 NotebookApp] Found kernel octave in /usr/local/share/jupyter/kernels
[D 13:54:13.240 NotebookApp] 304 GET /api/kernelspecs (::1) 30.62ms
[D 13:54:13.244 NotebookApp] 200 GET /api/terminals?_=1535975653094 (::1) 1.47ms
[D 13:54:13.256 NotebookApp] Path custom.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/custom/custom.js
[D 13:54:13.318 NotebookApp] 200 GET /api/contents?type=directory&_=1535975653097 (::1) 57.62ms
[D 13:54:13.319 NotebookApp] 200 GET /custom/custom.js?v=20180903135406 (::1) 64.80ms
[D 13:54:13.323 NotebookApp] Path nb_conda/tree.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/tree.js
[D 13:54:13.329 NotebookApp] Path nbextensions_configurator/tree_tab/main.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/tree_tab/main.js
[D 13:54:13.332 NotebookApp] 200 GET /nbextensions/nb_conda/tree.js?v=20180903135406 (::1) 11.43ms
[D 13:54:13.333 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/tree_tab/main.js?v=20180903135406 (::1) 7.21ms
[D 13:54:13.426 NotebookApp] Path nb_conda/models.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/models.js
[D 13:54:13.430 NotebookApp] Path nb_conda/views.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/views.js
[D 13:54:13.435 NotebookApp] Path nb_conda/urls.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/urls.js
[D 13:54:13.440 NotebookApp] Path nbextensions_configurator/main.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.js
[D 13:54:13.445 NotebookApp] Path nbextensions_configurator/render/render.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/render.js
[D 13:54:13.447 NotebookApp] 200 GET /nbextensions/nb_conda/models.js?v=20180903135406 (::1) 22.94ms
[D 13:54:13.448 NotebookApp] 200 GET /nbextensions/nb_conda/views.js?v=20180903135406 (::1) 19.14ms
[D 13:54:13.449 NotebookApp] 200 GET /nbextensions/nb_conda/urls.js?v=20180903135406 (::1) 15.35ms
[D 13:54:13.450 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/main.js?v=20180903135406 (::1) 11.84ms
[D 13:54:13.450 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/render/render.js?v=20180903135406 (::1) 7.87ms
[D 13:54:13.454 NotebookApp] Path components/jquery-ui/ui/minified/jquery-ui.min.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/jquery-ui/ui/minified/jquery-ui.min.js
[D 13:54:13.458 NotebookApp] Path nb_conda/common.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/common.js
[D 13:54:13.467 NotebookApp] Path notebook/js/mathjaxutils.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/js/mathjaxutils.js
[D 13:54:13.472 NotebookApp] Path base/js/security.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/base/js/security.js
[D 13:54:13.478 NotebookApp] Path notebook/js/quickhelp.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/js/quickhelp.js
[D 13:54:13.482 NotebookApp] Path nbextensions_configurator/kse_components.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/kse_components.js
[D 13:54:13.485 NotebookApp] 200 GET /nbextensions/nb_conda/common.js?v=20180903135406 (::1) 28.21ms
[D 13:54:13.486 NotebookApp] 200 GET /static/notebook/js/mathjaxutils.js?v=20180903135406 (::1) 20.22ms
[D 13:54:13.490 NotebookApp] 200 GET /static/base/js/security.js?v=20180903135406 (::1) 19.25ms
[D 13:54:13.490 NotebookApp] 200 GET /static/notebook/js/quickhelp.js?v=20180903135406 (::1) 13.59ms
[D 13:54:13.491 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/kse_components.js?v=20180903135406 (::1) 10.32ms
[D 13:54:13.494 NotebookApp] Path components/marked/lib/marked.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/marked/lib/marked.js
[D 13:54:13.499 NotebookApp] Path components/codemirror/addon/runmode/runmode.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/runmode/runmode.js
[D 13:54:13.503 NotebookApp] 200 GET /static/components/jquery-ui/ui/minified/jquery-ui.min.js?v=20180903135406 (::1) 51.59ms
[D 13:54:13.506 NotebookApp] Path components/codemirror/mode/gfm/gfm.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/mode/gfm/gfm.js
[D 13:54:13.511 NotebookApp] Path notebook/js/codemirror-ipython.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/js/codemirror-ipython.js
[D 13:54:13.514 NotebookApp] Path notebook/js/codemirror-ipythongfm.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/js/codemirror-ipythongfm.js
[D 13:54:13.517 NotebookApp] 200 GET /static/components/marked/lib/marked.js?v=20180903135406 (::1) 25.47ms
[D 13:54:13.518 NotebookApp] 200 GET /static/components/codemirror/addon/runmode/runmode.js?v=20180903135406 (::1) 21.93ms
[D 13:54:13.521 NotebookApp] Path nb_conda/conda.css served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/conda.css
[D 13:54:13.522 NotebookApp] 304 GET /nbextensions/nb_conda/conda.css (::1) 2.33ms
[D 13:54:13.523 NotebookApp] 200 GET /static/components/codemirror/mode/gfm/gfm.js?v=20180903135406 (::1) 18.49ms
[D 13:54:13.523 NotebookApp] 200 GET /static/notebook/js/codemirror-ipython.js?v=20180903135406 (::1) 13.97ms
[D 13:54:13.524 NotebookApp] 200 GET /static/notebook/js/codemirror-ipythongfm.js?v=20180903135406 (::1) 10.24ms
[D 13:54:13.526 NotebookApp] Path components/codemirror/mode/python/python.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/mode/python/python.js
[D 13:54:13.530 NotebookApp] Path nb_conda/tab.html served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/tab.html
[D 13:54:13.531 NotebookApp] 304 GET /nbextensions/nb_conda/tab.html (::1) 2.38ms
[D 13:54:13.536 NotebookApp] Path components/google-caja/html-css-sanitizer-minified.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/google-caja/html-css-sanitizer-minified.js
[D 13:54:13.541 NotebookApp] Path nbextensions_configurator/quickhelp_shim.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/quickhelp_shim.js
[D 13:54:13.545 NotebookApp] Path components/codemirror/mode/markdown/markdown.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/mode/markdown/markdown.js
[D 13:54:13.548 NotebookApp] Path components/codemirror/addon/mode/overlay.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/mode/overlay.js
[D 13:54:13.550 NotebookApp] 200 GET /static/components/codemirror/mode/python/python.js?v=20180903135406 (::1) 25.92ms
[D 13:54:13.552 NotebookApp] Path components/codemirror/mode/stex/stex.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/mode/stex/stex.js
[D 13:54:13.555 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/quickhelp_shim.js?v=20180903135406 (::1) 15.33ms
[D 13:54:13.555 NotebookApp] 200 GET /static/components/codemirror/mode/markdown/markdown.js?v=20180903135406 (::1) 12.21ms
[D 13:54:13.556 NotebookApp] 200 GET /static/components/codemirror/addon/mode/overlay.js?v=20180903135406 (::1) 9.01ms
[D 13:54:13.556 NotebookApp] 200 GET /static/components/google-caja/html-css-sanitizer-minified.js?v=20180903135406 (::1) 22.04ms
[D 13:54:13.558 NotebookApp] Path components/codemirror/addon/mode/multiplex.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/mode/multiplex.js
[D 13:54:13.560 NotebookApp] 200 GET /static/components/codemirror/mode/stex/stex.js?v=20180903135406 (::1) 9.04ms
[D 13:54:13.564 NotebookApp] Path components/codemirror/mode/xml/xml.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/mode/xml/xml.js
[D 13:54:13.566 NotebookApp] 200 GET /static/components/codemirror/addon/mode/multiplex.js?v=20180903135406 (::1) 8.84ms
[D 13:54:13.567 NotebookApp] 200 GET /static/components/codemirror/mode/xml/xml.js?v=20180903135406 (::1) 4.34ms
[D 13:54:13.575 NotebookApp] Path nbextensions_configurator/main.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/main.css
[D 13:54:13.580 NotebookApp] Path nbextensions_configurator/render/rendermd.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/render/rendermd.css
[D 13:54:13.582 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/main.css?v=20180903135406 (::1) 9.85ms
[D 13:54:13.583 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/render/rendermd.css?v=20180903135406 (::1) 4.86ms
[D 13:54:13.593 NotebookApp] Paths used for configuration of notebook: 
        /etc/jupyter/nbconfig/notebook.json
[D 13:54:13.595 NotebookApp] Paths used for configuration of notebook: 
        /usr/local/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /usr/local/etc/jupyter/nbconfig/notebook.json
[D 13:54:13.599 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.json
[D 13:54:13.603 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/.jupyter/nbconfig/notebook.json
[D 13:54:13.605 NotebookApp] 200 GET /api/config/notebook?_=1535975653098 (::1) 15.10ms
[D 13:54:13.608 NotebookApp] Paths used for configuration of edit: 
        /etc/jupyter/nbconfig/edit.json
[D 13:54:13.609 NotebookApp] Paths used for configuration of edit: 
        /usr/local/etc/jupyter/nbconfig/edit.json
[D 13:54:13.610 NotebookApp] Paths used for configuration of edit: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/edit.json
[D 13:54:13.611 NotebookApp] Paths used for configuration of edit: 
        /home/fabrost/.jupyter/nbconfig/edit.json
[D 13:54:13.612 NotebookApp] 200 GET /api/config/edit?_=1535975653100 (::1) 5.71ms
[D 13:54:13.614 NotebookApp] Paths used for configuration of notebook: 
        /etc/jupyter/nbconfig/notebook.json
[D 13:54:13.615 NotebookApp] Paths used for configuration of notebook: 
        /usr/local/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /usr/local/etc/jupyter/nbconfig/notebook.json
[D 13:54:13.618 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.json
[D 13:54:13.620 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/.jupyter/nbconfig/notebook.json
[D 13:54:13.621 NotebookApp] 200 GET /api/config/notebook?_=1535975653099 (::1) 9.07ms
[D 13:54:13.625 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 13:54:13.626 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 13:54:13.627 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/common.json
[D 13:54:13.628 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/.jupyter/nbconfig/common.json
[D 13:54:13.629 NotebookApp] 200 GET /api/config/common?_=1535975653104 (::1) 5.90ms
[D 13:54:13.632 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 13:54:13.633 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 13:54:13.634 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/common.json
[D 13:54:13.635 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/.jupyter/nbconfig/common.json
[D 13:54:13.636 NotebookApp] 200 GET /api/config/common?_=1535975653105 (::1) 5.65ms
[D 13:54:13.639 NotebookApp] Paths used for configuration of edit: 
        /etc/jupyter/nbconfig/edit.json
[D 13:54:13.640 NotebookApp] Paths used for configuration of edit: 
        /usr/local/etc/jupyter/nbconfig/edit.json
[D 13:54:13.641 NotebookApp] Paths used for configuration of edit: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/edit.json
[D 13:54:13.642 NotebookApp] Paths used for configuration of edit: 
        /home/fabrost/.jupyter/nbconfig/edit.json
[D 13:54:13.643 NotebookApp] 200 GET /api/config/edit?_=1535975653101 (::1) 5.67ms
[D 13:54:13.645 NotebookApp] Paths used for configuration of tree: 
        /etc/jupyter/nbconfig/tree.json
[D 13:54:13.646 NotebookApp] Paths used for configuration of tree: 
        /usr/local/etc/jupyter/nbconfig/tree.json
[D 13:54:13.648 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/tree.json
[D 13:54:13.651 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/.jupyter/nbconfig/tree.json
[D 13:54:13.652 NotebookApp] 200 GET /api/config/tree?_=1535975653102 (::1) 8.85ms
[D 13:54:13.655 NotebookApp] Paths used for configuration of tree: 
        /etc/jupyter/nbconfig/tree.json
[D 13:54:13.656 NotebookApp] Paths used for configuration of tree: 
        /usr/local/etc/jupyter/nbconfig/tree.json
[D 13:54:13.658 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/tree.json
[D 13:54:13.660 NotebookApp] Paths used for configuration of tree: 
        /home/fabrost/.jupyter/nbconfig/tree.json
[D 13:54:13.661 NotebookApp] 200 GET /api/config/tree?_=1535975653103 (::1) 7.89ms
[D 13:54:13.668 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /home/fabrost/.local/share/jupyter/nbextensions
[D 13:54:13.668 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions
[D 13:54:13.670 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /usr/local/share/jupyter/nbextensions
[D 13:54:13.675 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Hinterland' in hinterland/hinterland.yaml
[D 13:54:13.680 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Table of Contents (2)' in toc2/toc2.yaml
[D 13:54:13.683 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'AutoSaveTime' in autosavetime/autosavetime.yaml
[D 13:54:13.686 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Variable Inspector' in varInspector/varInspector.yaml
[D 13:54:13.689 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Keyboard shortcut editor' in keyboard_shortcut_editor/keyboard_shortcut_editor.yaml
[D 13:54:13.690 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Hide input all' in hide_input_all/hide_input_all.yaml
[D 13:54:13.692 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'zenmode' in zenmode/zenmode.yaml
[D 13:54:13.695 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Snippets' in snippets/snippets.yaml
[D 13:54:13.698 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'nbTranslate' in nbTranslate/nbTranslate.yaml
[D 13:54:13.700 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Comment/Uncomment Hotkey' in comment-uncomment/comment-uncomment.yaml
[D 13:54:13.702 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'CodeMirror mode extensions' in codemirror_mode_extensions/codemirror_mode_extensions.yaml
[D 13:54:13.703 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Navigation-Hotkeys' in navigation-hotkeys/hotkeys.yaml
[D 13:54:13.706 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Autopep8' in code_prettify/autopep8.yaml
[D 13:54:13.709 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension '2to3 Converter' in code_prettify/2to3.yaml
[D 13:54:13.712 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Code prettify' in code_prettify/code_prettify.yaml
[D 13:54:13.715 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Hide Header' in hide_header/hide_header.yaml
[D 13:54:13.719 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Gist-it' in gist_it/gist_it.yaml
[D 13:54:13.721 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'SKILL Syntax' in skill/skill.yaml
[D 13:54:13.723 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Toggle all line numbers' in toggle_all_line_numbers/main.yaml
[D 13:54:13.725 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Printview' in printview/printview.yaml
[D 13:54:13.727 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Initialization cells' in init_cell/init_cell.yaml
[D 13:54:13.729 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Split Cells Notebook' in splitcell/splitcell.yaml
[D 13:54:13.731 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'datestamper' in datestamper/main.yaml
[D 13:54:13.733 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Codefolding' in codefolding/codefolding.yaml
[D 13:54:13.734 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Codefolding in Editor' in codefolding/codefolding_editor.yaml
[D 13:54:13.736 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Code Font Size' in code_font_size/code_font_size.yaml
[D 13:54:13.737 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Scratchpad' in scratchpad/scratchpad.yaml
[D 13:54:13.739 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Freeze' in freeze/config.yaml
[D 13:54:13.743 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Runtools' in runtools/runtools.yaml
[D 13:54:13.746 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'ExecuteTime' in execute_time/ExecuteTime.yaml
[D 13:54:13.748 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Live Markdown Preview' in livemdpreview/livemdpreview.yml
[D 13:54:13.749 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Move selected cells' in move_selected_cells/move_selected_cells.yaml
[D 13:54:13.751 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'ScrollDown' in scroll_down/config.yaml
[D 13:54:13.752 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Notify' in notify/notify.yaml
[D 13:54:13.754 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Skip-Traceback' in skip-traceback/skip-traceback.yaml
[D 13:54:13.755 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Help panel' in help_panel/help_panel.yaml
[D 13:54:13.757 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'contrib_nbextensions_help_item' in contrib_nbextensions_help_item/contrib_nbextensions_help_item.yaml
[D 13:54:13.759 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Ruler' in ruler/ruler.yaml
[D 13:54:13.760 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'highlighter' in highlighter/highlighter.yaml
[D 13:54:13.761 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Exercise2' in exercise2/exercise2.yaml
[D 13:54:13.765 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Collapsible Headings' in collapsible_headings/collapsible_headings.yaml
[D 13:54:13.766 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'table_beautifier' in table_beautifier/table_beautifier.yaml
[D 13:54:13.767 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Autoscroll' in autoscroll/autoscroll.yaml
[D 13:54:13.769 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Launch QTConsole' in qtconsole/qtconsole.yaml
[D 13:54:13.770 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Limit Output' in limit_output/limit-output.yaml
[D 13:54:13.771 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'AddBefore' in addbefore/addbefore.yaml
[D 13:54:13.772 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Rubberband' in rubberband/rubberband.yaml
[D 13:54:13.773 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Select CodeMirror Keymap' in select_keymap/select_keymap.yaml
[D 13:54:13.774 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Hide input' in hide_input/hide-input.yaml
[D 13:54:13.775 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Exercise' in exercise/exercise.yaml
[D 13:54:13.777 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'spellchecker' in spellchecker/config.yaml
[D 13:54:13.779 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Tree Filter' in tree-filter/tree-filter.yaml
[D 13:54:13.780 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Export Embedded HTML' in export_embedded/export_embedded.yaml
[D 13:54:13.781 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Equation Auto Numbering' in equation-numbering/info.yaml
[D 13:54:13.783 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Snippets Menu' in snippets_menu/config.yaml
[D 13:54:13.784 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Python Markdown' in python-markdown/python-markdown.yaml
[D 13:54:13.787 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Highlight selected word' in highlight_selected_word/configurator.yaml
[D 13:54:13.789 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension '(some) LaTeX environments for Jupyter' in latex_envs/latex_envs.yaml
[D 13:54:13.790 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /usr/share/jupyter/nbextensions
[D 13:54:13.790 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /home/fabrost/.ipython/nbextensions
[D 13:54:13.791 NotebookApp] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static
[D 13:54:13.793 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Nbextensions edit menu item' in nbextensions_configurator/config_menu/config_menu.yaml
[D 13:54:13.795 NotebookApp] [jupyter_nbextensions_configurator] Found nbextension 'Nbextensions dashboard tab' in nbextensions_configurator/tree_tab/tree_tab.yaml
[D 13:54:13.796 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/list?_=1535975653106 (::1) 129.74ms
[D 13:54:13.892 NotebookApp] Path zenmode/README.md served from /usr/local/share/jupyter/nbextensions/zenmode/README.md
[D 13:54:13.893 NotebookApp] 304 GET /nbextensions/zenmode/README.md (::1) 3.16ms
[D 13:54:22.849 NotebookApp] 200 GET /api/contents/tmp?type=directory&_=1535975653107 (::1) 16.25ms
[I 13:54:27.332 NotebookApp] Creating new notebook in /tmp
[D 13:54:27.339 NotebookApp] Saving /home/fabrost/tmp/Untitled2.ipynb
[D 13:54:27.459 NotebookApp] 201 POST /api/contents/tmp (::1) 129.10ms
[D 13:54:27.503 NotebookApp] Using contents: services/contents
[D 13:54:27.603 NotebookApp] Path base/images/favicon-notebook.ico served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/base/images/favicon-notebook.ico
[D 13:54:27.606 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css
[D 13:54:27.608 NotebookApp] Path components/codemirror/lib/codemirror.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/lib/codemirror.css
[D 13:54:27.610 NotebookApp] Path notebook/css/override.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/css/override.css
[D 13:54:28.138 NotebookApp] Path components/text-encoding/lib/encoding.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/text-encoding/lib/encoding.js
[D 13:54:28.140 NotebookApp] Path notebook/js/main.min.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/notebook/js/main.min.js
[D 13:54:28.145 NotebookApp] 200 GET /notebooks/tmp/Untitled2.ipynb?kernel_name=conda-env-spols180816d-py (::1) 643.62ms
[D 13:54:28.227 NotebookApp] Path components/MathJax/MathJax.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/MathJax.js
[D 13:54:28.228 NotebookApp] 304 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 3.22ms
[D 13:54:28.234 NotebookApp] 304 GET /custom/custom.css (::1) 1.64ms
[D 13:54:28.268 NotebookApp] Path components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js
[D 13:54:28.269 NotebookApp] 304 GET /static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js?V=2.7.4 (::1) 3.15ms
[D 13:54:28.350 NotebookApp] Path components/MathJax/config/Safe.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/config/Safe.js
[D 13:54:28.351 NotebookApp] 200 GET /static/components/MathJax/config/Safe.js?V=2.7.4 (::1) 3.11ms
[D 13:54:28.443 NotebookApp] Paths used for configuration of notebook: 
        /etc/jupyter/nbconfig/notebook.json
[D 13:54:28.445 NotebookApp] Paths used for configuration of notebook: 
        /usr/local/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /usr/local/etc/jupyter/nbconfig/notebook.json
[D 13:54:28.447 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/notebook.json
[D 13:54:28.450 NotebookApp] Paths used for configuration of notebook: 
        /home/fabrost/.jupyter/nbconfig/notebook.json
[D 13:54:28.451 NotebookApp] 200 GET /api/config/notebook?_=1535975668314 (::1) 9.63ms
[D 13:54:28.455 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 13:54:28.456 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 13:54:28.457 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/miniconda3/envs/spols180816d/etc/jupyter/nbconfig/common.json
[D 13:54:28.458 NotebookApp] Paths used for configuration of common: 
        /home/fabrost/.jupyter/nbconfig/common.json
[D 13:54:28.459 NotebookApp] 200 GET /api/config/common?_=1535975668315 (::1) 6.49ms
[D 13:54:28.482 NotebookApp] Path components/MathJax/extensions/MathML/content-mathml.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/extensions/MathML/content-mathml.js
[D 13:54:28.483 NotebookApp] 304 GET /static/components/MathJax/extensions/MathML/content-mathml.js?V=2.7.4 (::1) 3.52ms
[D 13:54:28.493 NotebookApp] Found kernel python3 in /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/kernels
[D 13:54:28.494 NotebookApp] Found kernel python2 in /usr/local/share/jupyter/kernels
[D 13:54:28.494 NotebookApp] Found kernel octave in /usr/local/share/jupyter/kernels
[D 13:54:28.511 NotebookApp] 200 GET /api/kernelspecs (::1) 18.74ms
[D 13:54:28.558 NotebookApp] 200 GET /api/contents/tmp/Untitled2.ipynb?type=notebook&_=1535975668316 (::1) 18.32ms
[D 13:54:28.563 NotebookApp] 304 GET /custom/custom.js?v=20180903135406 (::1) 2.21ms
[D 13:54:28.567 NotebookApp] Path components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js
[D 13:54:28.568 NotebookApp] 304 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?V=2.7.4 (::1) 3.43ms
[D 13:54:28.600 NotebookApp] Path jupyter-js-widgets/extension.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/jupyter-js-widgets/extension.js
[D 13:54:28.604 NotebookApp] Path nbextensions_configurator/config_menu/main.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/jupyter_nbextensions_configurator/static/nbextensions_configurator/config_menu/main.js
[D 13:54:28.610 NotebookApp] Path contrib_nbextensions_help_item/main.js served from /usr/local/share/jupyter/nbextensions/contrib_nbextensions_help_item/main.js
[D 13:54:28.613 NotebookApp] Path nb_conda/main.js served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/main.js
[D 13:54:28.620 NotebookApp] Path toc2/main.js served from /usr/local/share/jupyter/nbextensions/toc2/main.js
[D 13:54:28.625 NotebookApp] Path codefolding/main.js served from /usr/local/share/jupyter/nbextensions/codefolding/main.js
[D 13:54:28.629 NotebookApp] 200 GET /nbextensions/nbextensions_configurator/config_menu/main.js?v=20180903135406 (::1) 26.28ms
[D 13:54:28.630 NotebookApp] 200 GET /nbextensions/contrib_nbextensions_help_item/main.js?v=20180903135406 (::1) 22.27ms
[D 13:54:28.631 NotebookApp] 200 GET /nbextensions/nb_conda/main.js?v=20180903135406 (::1) 19.07ms
[D 13:54:28.631 NotebookApp] 200 GET /nbextensions/toc2/main.js?v=20180903135406 (::1) 15.69ms
[D 13:54:28.631 NotebookApp] 200 GET /nbextensions/codefolding/main.js?v=20180903135406 (::1) 8.31ms
[D 13:54:28.635 NotebookApp] Path execute_time/ExecuteTime.js served from /usr/local/share/jupyter/nbextensions/execute_time/ExecuteTime.js
[D 13:54:28.638 NotebookApp] Path freeze/main.js served from /usr/local/share/jupyter/nbextensions/freeze/main.js
[D 13:54:28.642 NotebookApp] Path snippets/main.js served from /usr/local/share/jupyter/nbextensions/snippets/main.js
[D 13:54:28.645 NotebookApp] 200 GET /nbextensions/execute_time/ExecuteTime.js?v=20180903135406 (::1) 11.21ms
[D 13:54:28.646 NotebookApp] 200 GET /nbextensions/freeze/main.js?v=20180903135406 (::1) 8.35ms
[D 13:54:28.646 NotebookApp] 200 GET /nbextensions/snippets/main.js?v=20180903135406 (::1) 5.60ms
[D 13:54:28.659 NotebookApp] 200 GET /nbextensions/jupyter-js-widgets/extension.js?v=20180903135406 (::1) 60.72ms
[D 13:54:28.759 NotebookApp] Starting kernel: ['/home/fabrost/miniconda3/envs/spols180816d/bin/python', '-m', 'ipykernel', '-f', '/run/user/10162/jupyter/kernel-70f208f7-2d7f-4fc4-971c-296d528cd99c.json']
[D 13:54:28.769 NotebookApp] Connecting to: tcp://127.0.0.1:41794
[D 13:54:28.773 NotebookApp] Connecting to: tcp://127.0.0.1:52679
[I 13:54:28.776 NotebookApp] Kernel started: 70f208f7-2d7f-4fc4-971c-296d528cd99c
[D 13:54:28.777 NotebookApp] Kernel args: {'kernel_name': 'conda-env-spols180816d-py', 'cwd': '/home/fabrost/tmp'}
[D 13:54:28.779 NotebookApp] 201 POST /api/sessions (::1) 71.31ms
[D 13:54:28.781 NotebookApp] Serving kernel resource from: /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/nb_conda_kernels/logos/python
[D 13:54:28.788 NotebookApp] Path collapsible_headings/main.js served from /usr/local/share/jupyter/nbextensions/collapsible_headings/main.js
[D 13:54:28.792 NotebookApp] Path snippets/snippets.json served from /usr/local/share/jupyter/nbextensions/snippets/snippets.json
[D 13:54:28.793 NotebookApp] 304 GET /nbextensions/snippets/snippets.json (::1) 2.15ms
[D 13:54:28.795 NotebookApp] Path notify/notify.js served from /usr/local/share/jupyter/nbextensions/notify/notify.js
[D 13:54:28.799 NotebookApp] 200 GET /api/contents/tmp/Untitled2.ipynb/checkpoints?_=1535975668317 (::1) 2.42ms
[D 13:54:28.802 NotebookApp] 304 GET /nbextensions/nb_conda/models.js?v=20180903135406 (::1) 1.72ms
[D 13:54:28.804 NotebookApp] 304 GET /nbextensions/nb_conda/urls.js?v=20180903135406 (::1) 1.66ms
[D 13:54:28.806 NotebookApp] 304 GET /nbextensions/nb_conda/views.js?v=20180903135406 (::1) 1.66ms
[D 13:54:28.807 NotebookApp] 200 GET /kernelspecs/conda-env-spols180816d-py/logo-64x64.png (::1) 27.50ms
[D 13:54:28.808 NotebookApp] 200 GET /nbextensions/collapsible_headings/main.js?v=20180903135406 (::1) 22.26ms
[D 13:54:28.811 NotebookApp] Path export_embedded/main.js served from /usr/local/share/jupyter/nbextensions/export_embedded/main.js
[D 13:54:28.814 NotebookApp] Path code_prettify/autopep8.js served from /usr/local/share/jupyter/nbextensions/code_prettify/autopep8.js
[D 13:54:28.817 NotebookApp] Path highlight_selected_word/main.js served from /usr/local/share/jupyter/nbextensions/highlight_selected_word/main.js
[D 13:54:28.820 NotebookApp] Path components/MathJax/extensions/Safe.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/MathJax/extensions/Safe.js
[D 13:54:28.821 NotebookApp] 304 GET /static/components/MathJax/extensions/Safe.js?V=2.7.4 (::1) 2.07ms
[D 13:54:28.823 NotebookApp] Path components/codemirror/addon/fold/brace-fold.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/fold/brace-fold.js
[D 13:54:28.825 NotebookApp] 200 GET /nbextensions/notify/notify.js?v=20180903135406 (::1) 31.35ms
[D 13:54:28.827 NotebookApp] Path code_prettify/2to3.js served from /usr/local/share/jupyter/nbextensions/code_prettify/2to3.js
[D 13:54:28.828 NotebookApp] 200 GET /nbextensions/export_embedded/main.js?v=20180903135406 (::1) 18.46ms
[D 13:54:28.828 NotebookApp] 200 GET /nbextensions/code_prettify/autopep8.js?v=20180903135406 (::1) 15.37ms
[D 13:54:28.828 NotebookApp] 200 GET /nbextensions/highlight_selected_word/main.js?v=20180903135406 (::1) 12.58ms
[D 13:54:28.828 NotebookApp] 200 GET /static/components/codemirror/addon/fold/brace-fold.js?v=20180903135406 (::1) 6.83ms
[D 13:54:28.830 NotebookApp] Path code_prettify/code_prettify.js served from /usr/local/share/jupyter/nbextensions/code_prettify/code_prettify.js
[D 13:54:28.831 NotebookApp] 200 GET /nbextensions/code_prettify/2to3.js?v=20180903135406 (::1) 5.03ms
[D 13:54:28.832 NotebookApp] Path toc2/toc2.js served from /usr/local/share/jupyter/nbextensions/toc2/toc2.js
[D 13:54:28.834 NotebookApp] Path components/codemirror/addon/fold/foldcode.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/fold/foldcode.js
[D 13:54:28.836 NotebookApp] Path components/codemirror/addon/fold/foldgutter.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/fold/foldgutter.js
[D 13:54:28.838 NotebookApp] Path components/codemirror/addon/fold/indent-fold.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/fold/indent-fold.js
[D 13:54:28.840 NotebookApp] 200 GET /nbextensions/code_prettify/code_prettify.js?v=20180903135406 (::1) 11.01ms
[D 13:54:28.841 NotebookApp] Path execute_time/ExecuteTime.css served from /usr/local/share/jupyter/nbextensions/execute_time/ExecuteTime.css
[D 13:54:28.842 NotebookApp] 200 GET /nbextensions/toc2/toc2.js?v=20180903135406 (::1) 10.62ms
[D 13:54:28.842 NotebookApp] 200 GET /static/components/codemirror/addon/fold/foldcode.js?v=20180903135406 (::1) 9.14ms
[D 13:54:28.842 NotebookApp] 200 GET /static/components/codemirror/addon/fold/foldgutter.js?v=20180903135406 (::1) 7.03ms
[D 13:54:28.843 NotebookApp] 200 GET /static/components/codemirror/addon/fold/indent-fold.js?v=20180903135406 (::1) 4.89ms
[D 13:54:28.843 NotebookApp] 200 GET /nbextensions/execute_time/ExecuteTime.css?v=20180903135406 (::1) 2.61ms
[D 13:54:28.869 NotebookApp] Initializing websocket connection /api/kernels/70f208f7-2d7f-4fc4-971c-296d528cd99c/channels
[D 13:54:28.871 NotebookApp] Requesting kernel info from 70f208f7-2d7f-4fc4-971c-296d528cd99c
[D 13:54:28.871 NotebookApp] Connecting to: tcp://127.0.0.1:56350
[D 13:54:28.894 NotebookApp] Path code_prettify/kernel_exec_on_cell.js served from /usr/local/share/jupyter/nbextensions/code_prettify/kernel_exec_on_cell.js
[D 13:54:28.896 NotebookApp] 200 GET /nbextensions/code_prettify/kernel_exec_on_cell.js?v=20180903135406 (::1) 1.98ms
[D 13:54:28.905 NotebookApp] Path components/codemirror/addon/fold/foldgutter.css served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/fold/foldgutter.css
[D 13:54:28.908 NotebookApp] Path codefolding/foldgutter.css served from /usr/local/share/jupyter/nbextensions/codefolding/foldgutter.css
[D 13:54:28.910 NotebookApp] Path collapsible_headings/main.css served from /usr/local/share/jupyter/nbextensions/collapsible_headings/main.css
[D 13:54:28.911 NotebookApp] 200 GET /static/components/codemirror/addon/fold/foldgutter.css?v=20180903135406 (::1) 6.47ms
[D 13:54:28.912 NotebookApp] Path codefolding/firstline-fold.js served from /usr/local/share/jupyter/nbextensions/codefolding/firstline-fold.js
[D 13:54:28.914 NotebookApp] Path codefolding/magic-fold.js served from /usr/local/share/jupyter/nbextensions/codefolding/magic-fold.js
[D 13:54:28.915 NotebookApp] 200 GET /nbextensions/codefolding/foldgutter.css?v=20180903135406 (::1) 7.03ms
[D 13:54:28.915 NotebookApp] 200 GET /nbextensions/collapsible_headings/main.css?v=20180903135406 (::1) 5.71ms
[D 13:54:28.916 NotebookApp] 304 GET /nbextensions/nb_conda/common.js?v=20180903135406 (::1) 0.76ms
[D 13:54:28.917 NotebookApp] 200 GET /nbextensions/codefolding/firstline-fold.js?v=20180903135406 (::1) 5.15ms
[D 13:54:28.917 NotebookApp] 200 GET /nbextensions/codefolding/magic-fold.js?v=20180903135406 (::1) 3.78ms
[D 13:54:28.924 NotebookApp] Path components/codemirror/addon/selection/mark-selection.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/codemirror/addon/selection/mark-selection.js
[D 13:54:28.926 NotebookApp] 200 GET /static/components/codemirror/addon/selection/mark-selection.js?v=20180903135406 (::1) 2.78ms
[D 13:54:28.935 NotebookApp] Path toc2/main.css served from /usr/local/share/jupyter/nbextensions/toc2/main.css
[D 13:54:28.936 NotebookApp] 200 GET /nbextensions/toc2/main.css?v=20180903135406 (::1) 1.62ms
[D 13:54:29.032 NotebookApp] Path highlight_selected_word/main.css served from /usr/local/share/jupyter/nbextensions/highlight_selected_word/main.css
[D 13:54:29.034 NotebookApp] 200 GET /nbextensions/highlight_selected_word/main.css?v=20180903135406 (::1) 3.11ms
[D 13:54:29.043 NotebookApp] 304 GET /nbextensions/nb_conda/conda.css (::1) 0.68ms
[D 13:54:29.045 NotebookApp] Path nb_conda/menu.html served from /home/fabrost/miniconda3/envs/spols180816d/share/jupyter/nbextensions/nb_conda/menu.html
[D 13:54:29.045 NotebookApp] 304 GET /nbextensions/nb_conda/menu.html (::1) 1.25ms
[D 13:54:29.943 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:29.944 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:29.946 NotebookApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.1', 'implementation': 'ipython', 'implementation_version': '6.5.0', 'language_info': {'name': 'python', 'version': '3.6.6', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:53:17) \nType 'copyright', 'credits' or 'license' for more information\nIPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.6'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}
[I 13:54:29.946 NotebookApp] Adapting to protocol v5.1 for kernel 70f208f7-2d7f-4fc4-971c-296d528cd99c
[D 13:54:29.948 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:29.949 NotebookApp] 101 GET /api/kernels/70f208f7-2d7f-4fc4-971c-296d528cd99c/channels?session_id=82a32d45f966492b847c2fbf3dd207df (::1) 1080.19ms
[D 13:54:29.949 NotebookApp] Opening websocket /api/kernels/70f208f7-2d7f-4fc4-971c-296d528cd99c/channels
[D 13:54:29.950 NotebookApp] Getting buffer for 70f208f7-2d7f-4fc4-971c-296d528cd99c
[D 13:54:29.950 NotebookApp] Connecting to: tcp://127.0.0.1:56350
[D 13:54:29.950 NotebookApp] Connecting to: tcp://127.0.0.1:52679
[D 13:54:29.951 NotebookApp] Connecting to: tcp://127.0.0.1:50103
[D 13:54:29.966 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:29.967 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:29.984 NotebookApp] Path base/images/favicon-busy-1.ico served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/base/images/favicon-busy-1.ico
[D 13:54:29.986 NotebookApp] 200 GET /static/base/images/favicon-busy-1.ico (::1) 6.37ms
[D 13:54:29.989 NotebookApp] 304 GET /static/base/images/favicon-busy-1.ico (::1) 1.50ms
[D 13:54:30.005 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.013 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.020 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:30.134 NotebookApp] 304 GET /static/base/images/favicon-notebook.ico (::1) 1.81ms
[D 13:54:30.318 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.321 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.324 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:30.328 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.332 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.337 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.340 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.343 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.367 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.371 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:30.374 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.377 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.380 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:30.541 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.545 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:30.550 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: execute_input
[D 13:54:30.553 NotebookApp] activity on 70f208f7-2d7f-4fc4-971c-296d528cd99c: status
[D 13:54:36.150 NotebookApp] 200 GET /api/contents/tmp/Untitled2.ipynb?content=0&_=1535975668318 (::1) 3.53ms
[I 13:54:36.163 NotebookApp] Saving file at /tmp/Untitled2.ipynb
[D 13:54:36.163 NotebookApp] Saving /home/fabrost/tmp/Untitled2.ipynb
[D 13:54:36.222 NotebookApp] 200 PUT /api/contents/tmp/Untitled2.ipynb (::1) 59.90ms
[E 13:54:36.441 NotebookApp] Uncaught exception GET /nbconvert/html_toc/tmp/Untitled2.ipynb?download=true (::1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/nbconvert/html_toc/tmp/Untitled2.ipynb?download=true', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "/home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/tornado/web.py", line 1590, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/tornado/web.py", line 3006, in wrapper
        return method(self, *args, **kwargs)
      File "/home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/nbconvert/handlers.py", line 84, in get
        exporter = get_exporter(format, config=self.config, log=self.log)
      File "/home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/nbconvert/handlers.py", line 66, in get_exporter
        Exporter = get_exporter(format)
      File "/home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/nbconvert/exporters/base.py", line 110, in get_exporter
        % (name, ', '.join(get_export_names())))
    ValueError: Unknown exporter "html_toc", did you mean one of: asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides?
[D 13:54:36.444 NotebookApp] Using contents: services/contents
[D 13:54:36.445 NotebookApp] Using contents: services/contents
[E 13:54:36.454 NotebookApp] {
      "Host": "localhost:8888",
      "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
      "Accept-Language": "de,en-US;q=0.7,en;q=0.3",
      "Accept-Encoding": "gzip, deflate",
      "Referer": "http://localhost:8888/notebooks/tmp/Untitled2.ipynb?kernel_name=conda-env-spols180816d-py",
      "Cookie": "_xsrf=2|135d5d05|16b20236eecfcc0cbf8e56ff91134f2f|1533554630; username-localhost-8888=\"2|1:0|10:1535973612|23:username-localhost-8888|44:YzdiN2RhY2NmY2YwNDZhOTljOWMxNDU2ZGU4NzMzMzI=|20ac3bd6c4d19eb89bb8243b43e0d874c0648a38c115d3e7d4e08e5f09768382\"",
      "Dnt": "1",
      "Connection": "keep-alive",
      "Upgrade-Insecure-Requests": "1"
    }
[E 13:54:36.454 NotebookApp] 500 GET /nbconvert/html_toc/tmp/Untitled2.ipynb?download=true (::1) 186.18ms referer=http://localhost:8888/notebooks/tmp/Untitled2.ipynb?kernel_name=conda-env-spols180816d-py
[D 13:54:36.530 NotebookApp] 304 GET /custom/custom.css (::1) 1.65ms
[D 13:54:36.596 NotebookApp] Path components/jquery/jquery.min.js served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/components/jquery/jquery.min.js
[D 13:54:36.599 NotebookApp] 200 GET /static/components/jquery/jquery.min.js?v=20180903135406 (::1) 4.47ms
[D 13:54:36.607 NotebookApp] Path favicon.ico served from /home/fabrost/miniconda3/envs/spols180816d/lib/python3.6/site-packages/notebook/static/favicon.ico
[D 13:54:36.608 NotebookApp] 304 GET /favicon.ico (::1) 2.31ms

Unable to use custom template path

I was trying to set up nbextensions in a directory other than jupyter_data_dir(). In my jupyter notebook config I have the following code:

import os, sys
data_dir = '/home/some_shared_user/.local/share/jupyter/'
sys.path.append(os.path.join(data_dir, 'extensions'))

templates_dir = os.path.join(data_dir, 'templates')
c.NotebookApp.server_extensions = ["nbextensions"]
c.NotebookApp.extra_template_paths = [templates_dir]
c.Exporter.template_path = [templates_dir]

This is the resulting config:

>>> print(c)
{'Exporter':
  {'template_path': ['/home/some_shared_user/.local/share/jupyter/templates']},
   'NotebookApp': {'ip': '...', 'server_extensions': ['nbextensions'],
                   'extra_template_paths': ['/home/some_shared_user/.local/share/jupyter/templates'],
                   'open_browser': False, 'password': 'sha1:...', 'port': 38001
  }
}

When launching a jupyter notebook from the some_shared_user user, the /nbextensions html page loads correctly. However when using the same config on another user (with permissions to read /home/some_shared_user/.local/share/jupyter/, but with their jupyter_data_dir() unchanged from default), the /nbextensions html page can be loaded but the server does not have any of the /nbextensions/custom/.. css or js etc, so the page is blank. Are there other configs I need to set for this?

filtering visible nbextensions

I tried to install it on my Mac.

The installation itself worked well, as well as enabling the server extension:

Jurgens-iMac:jupyter_nbextensions_configurator juhasch$ jupyter nbextensions_configurator enable --user
Enabling: jupyter_nbextensions_configurator
- Writing config: /Users/juhasch/.jupyter
    - Validating...
      jupyter_nbextensions_configurator  OK

However, the javascript files are not found. I tried copying them manually to the Jupyter nbextensions directory, but now I end up with:

main.js?v=20160620184014:1018 Uncaught (in promise) TypeError: Cannot read property 'length' of undefined()
build_extension_list @ main.js?v=20160620184014:1018
(anonymous function) @ main.js?v=20160620184014:959

Any ideas ?

json.decoder.JSONDecodeError

Hi there,
I installed jupyter extension for python 3.6 (root) and python 3.5 (envir), it was working before, but right now it stop working and I tried to reinstall the jupyter_nbextensions_configurator, and enable it, I got errors:

$ jupyter nbextensions_configurator enable --user
Enabling: jupyter_nbextensions_configurator
- Writing config: /Users/Bill/.jupyter
    - Validating...
      jupyter_nbextensions_configurator  OK
Enabling notebook nbextension nbextensions_configurator/config_menu/main...
Traceback (most recent call last):
  File "/Users/Bill/miniconda3/bin/jupyter-nbextensions_configurator", line 11, in <module>
    sys.exit(main())
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/jupyter_nbextensions_configurator/application.py", line 117, in start
    super(JupyterNbextensionsConfiguratorApp, self).start()
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/jupyter_core/application.py", line 256, in start
    self.subapp.start()
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/jupyter_nbextensions_configurator/application.py", line 77, in start
    user=self.user, sys_prefix=self.sys_prefix)
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/notebook/nbextensions.py", line 345, in _set_nbextension_state
    cm.update(section, {"load_extensions": {require: state}})
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/traitlets/config/manager.py", line 85, in update
    data = self.get(section_name)
  File "/Users/Bill/miniconda3/lib/python3.6/site-packages/traitlets/config/manager.py", line 63, in get
    return json.load(f)
  File "/Users/Bill/miniconda3/lib/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/Users/Bill/miniconda3/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/Users/Bill/miniconda3/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/Users/Bill/miniconda3/lib/python3.6/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 58 column 3 (char 1820)`

Would you mind to help me to debug?

Thanks,
Bill

Cannot install (jupyter installed via MacPorts)

I have jupyter installed via MacPorts (which means the main jupyter command is jupyter-3.4), and did

pip install jupyter_nbextensions_configurator --user

Now

jupyter-3.4 nbextensions_configurator enable --user

gives

jupyter: 'nbextensions_configurator' is not a Jupyter command

Please help.

nbextensions not appearing in notebook

Hi everyone,

As the title says, the extensions do not appear in the notebook. I am using Conda 4.5.11 and Python 2.7.13. I simply ran this:
conda install -c conda-forge jupyter_nbextensions_configurator
as mentionned on the main page.

After that, I am able to see the NBextensions tab in my "tree" view. I am also able to see all the extensions, Enable/Disable them as I want, but none of them appears in any of my notebooks, even after restarting jupyter

I tried to reinstall NBextensions, reclose and reopent jupyter notebook, but same issue...

I couldn't find anything on Google or github. Hope someone can help here...
Thanks in advance,

Othmane

cannot see jupyter nbextension configurator tab

I am able to use the URL to access the configurator tab (meaning that everything is installed properly?), but I cannot see the configurator tab in my jupyter:
1
2

# pip3 freeze | grep jupyter
jupyter-client==5.2.3
jupyter-console==5.2.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.0
jupyter-core==4.4.0
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.4
jupyter-nbextensions-configurator==0.4.0

I have tried reinstall jupyter nbextension as well as the configurator again, but still not working. Any idea?

jupyter_nbextensions_configurator server extension not visible

Hi Team,

As mentioned, I am not able to see the nbextension server extension on the UI in the browser.

I followed the installation instructions.
1.) Ran a conda installation -> "conda install -c conda-forge jupyter_nbextensions_configurator".
2.) Installation was successful, but after opening jupyter notebook I am not able to see the nbextension server extension on the UI. Link - "http://localhost:8888/tree/nbextensions"
2.) Also I am able to enable and disable the extension from CLI using "jupyter nbextension enable hinterland/hinterland". The command works perfect and I am able to use the hinterland extension.

I did try the installation through cloning the git repository. I am able to successfully install the nbextension but again not able to see the server extension on the UI.

Conda Version - 4.5.12
Python Version - 3.7.1
Browser - Google Chrome

Can't change color of wrapper window background

I've been poking around for hours now, but I can't get the window wrapper background color to change from #FFF.

I've changed the defaults in the .YAML file and also in the toc2.js file. The correct color appears in the color input of the nbextensions configurator, and stepping through the loading of the TOC, the .sidebar-wrapper .float-wrapper background color is the same as the wrapper background color I've set in the toc2 tab of the nbextensions configurator and in the YAML file, but they get trumped by #toc-wrapper's background color at the end of the loading phase.

I can't figure out where this is coming from. Any help would be greatly appreciated.

Brad

[jupyterhub] Cannot get the nbextensions page to load

I've followed the readme and installed the jupyter_contrib_nbextensions. But i cannot get it loaded in the jupyter gui, I also cant get extensions to load

here is an the error i get

Known nbextensions:
  config dir: /root/.jupyter/nbconfig
    notebook section
      readonly  enabled
      - Validating: problems found:
        - require?  X readonly
      autosavetime  enabled
      - Validating: problems found:
        - require?  X autosavetime
      nbextensions_configurator/config_menu/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
    tree section
      nbextensions_configurator/tree_tab/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main
  config dir: /usr/local/etc/jupyter/nbconfig
    notebook section
      nbextensions_configurator/config_menu/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
    tree section
      nbextensions_configurator/tree_tab/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

I'm stumped have been trying to get extensions loaded and its not working.

Problem enabling nbextensions

I just installed nbextensions using pip install jupyter_contrib_nbextensions and upyter contrib nbextension install --user.

When I try to enable an extension I get the foloowing error message:

▶ jupyter nbextension enable toc2/main
Enabling notebook extension toc2/main...
Traceback (most recent call last):
  File "/home/pauperei/.conda/envs/py36/bin/jupyter-nbextension", line 11, in <module>
    sys.exit(main())
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/notebook/nbextensions.py", line 900, in start
    super(NBExtensionApp, self).start()
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/jupyter_core/application.py", line 256, in start
    self.subapp.start()
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/notebook/nbextensions.py", line 810, in start
    self.toggle_nbextension(self.extra_args[0])
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/notebook/nbextensions.py", line 800, in toggle_nbextension
    logger=self.log)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/notebook/nbextensions.py", line 393, in enable_nbextension
    logger=logger)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/notebook/nbextensions.py", line 331, in _set_nbextension_state
    cm.update(section, {"load_extensions": {require: state}})
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/traitlets/config/manager.py", line 85, in update
    data = self.get(section_name)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/site-packages/traitlets/config/manager.py", line 63, in get
    return json.load(f)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/pauperei/.conda/envs/py36/lib/python3.6/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 5 column 3 (char 133)

I'm using Python 3.6 on a Linux machine.

TypeError: $ is not a function

I'm getting the following trace in the Chrome console upon launching a classic notebook:

Loading extension: nbextensions_configurator/tree_tab/main utils.js:37
TypeError: $ is not a function require.js?v=6da8be3…e721e76c6d4afce:900
at Object.load_ipython_extension (main.js?v=20180803090930:40)
at utils.js:39
at Object.execCb (require.js?v=6da8be3…721e76c6d4afce:1690)
at Module.check (require.js?v=6da8be3…e721e76c6d4afce:865)
at Module. (require.js?v=6da8be3…721e76c6d4afce:1140)
at require.js?v=6da8be3…e721e76c6d4afce:131
at require.js?v=6da8be3…721e76c6d4afce:1190
at each (require.js?v=6da8be3…5e721e76c6d4afce:56)
at Module.emit (require.js?v=6da8be3…721e76c6d4afce:1189)
at Module.check (require.js?v=6da8be3…e721e76c6d4afce:940)

where Object.load_ipython_extension (main.js?v=20180803090930:40) refers to nbextensions_configurator/tree_tab/main.js

does not install with conda, but with pip

Hi,

I tried installing the extensions configurator using conda install -c conda-forge jupyter_nbextensions_configurator but it won't install, but also won't give any error messages. It just pushes through, but the configuration tab never appeared.

I then tried installing using pip install jupyter_nbextensions_configurator then jupyter nbextensions_configurator enable --user which worked.

jupyterhub configuration

Dear all,

first of all, thanks for providing this code.

I am trying to use the configurator on a jupyterhub.
I installed the contrib_extensions as a user, and enabled them. The extensions run smoothly on the notebook served by the hub-spawned server.

The only problem is that I don't see the configurator entry anywhere in the notebook menu. Nor can I access it from hostname:port/base/url/nbextensions.

Is there something special I need to do? Up to now I just followed the instructions:

pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

One scpecial thing is that I am using virtual environments. The extensions, as well as the configurator, are installed in a virtualenv. The jupyter server knows about it, though. Indeed, as I said the extensions work smoothly. It is just the configurator I am having problems with.

Thanks for your help,

Andrea.

extensions configured twice?

Hi, in my logs I get:

nbextension 'highlight_selected_word/main' has duplicate listings in both
'$HOME/.local/share/jupyter/nbextensions/highlight_selected_word/configurator.yaml' and
'$HOME/.local/share/jupyter/nbextensions/highlight_selected_word/configurator.yaml'

for each extension. (i added linebreaks for clarity)

but i have no configuration that could add another copy of that path AFAIK.

$ ag nbextensions ~/.jupyter
$HOME/.jupyter/jupyter_notebook_config.json
4:      "jupyter_nbextensions_configurator": true

$HOME/.jupyter/jupyter_notebook_config.py
224:# c.NotebookApp.extra_nbextensions_path = traitlets.Undefined

$HOME/.jupyter/jupyter_nbconvert_config.json
5:      "jupyter_contrib_nbextensions.nbconvert_support.CodeFoldingPreprocessor",
6:      "jupyter_contrib_nbextensions.nbconvert_support.PyMarkdownPreprocessor"
11:      "$HOME/.local/lib/python3.5/site-packages/jupyter_contrib_nbextensions/templates"
15:    "postprocessor_class": "jupyter_contrib_nbextensions.nbconvert_support.EmbedPostProcessor"

$HOME/.jupyter/nbconfig/tree.json
3:    "nbextensions_configurator/tree_tab/main": true

$HOME/.jupyter/nbconfig/notebook.json
6:    "nbextensions_configurator/config_menu/main": true,

jupyter_nbexensions_configurator has trouble with notebook==5.7.0

Hello.

First, I really appreciate your gorgeous work, Jupyter-contrib.
It gives me a great convenience for python coding in jupyter notebook.

By the way, here, I got to tell you something.

After notebook module has been to version 5.7.0, Nbextesion dashboard tree tab does not appear in the main dashboard.

Could you please check this?

Thank you so much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.