New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server_extensions is deprecated, use nbserver_extensions #591
Comments
There are two separate issues here: The second warning is nothing to do with this repo, but comes from the The first is from this repo, and it's a result of one of your jupyter config files containing the key from jupyter_core.paths import jupyter_config_path
from traitlets.config.manager import BaseJSONConfigManager
config_basename, section_name = 'jupyter_notebook_config', 'NotebookApp'
old_key, new_key = 'server_extensions', 'nbserver_extensions'
for config_dir in jupyter_config_path():
cm = BaseJSONConfigManager(config_dir=config_dir)
config = cm.get(config_basename)
section = config.get(section_name, {})
if old_key not in section:
continue
print('in {}'.format(cm.file_name(config_basename)))
print('- migrating keys from {} to {}'.format(old_key, new_key))
for servext in section[old_key]:
print('- moving extension {}'.format(servext))
section.setdefault(new_key, {})[servext] = True
print('- removing key {}.{}'.format(section_name, old_key))
section[old_key] = None
print('')
cm.update(config_basename, config) Hope that helps... |
@jcb91 I tried your script and still getting the same error:
|
ok, after updates, only warning is received:
|
yep, so you were in fact getting another, different, error:
but that's been fixed by a combination of #567 and #574 anyway, so your update covered that. As I mentioned in my first comment in this thread, the
so, by all means, take it up at ipython/ipywidgets, but I'm afraid there isn't much we can do about it here. |
Haha! ok, I'll reply there 😆 |
Also, I should mention that this might be slightly confusing, because there are two files named |
Unfortunately, I've lost access to the machine-instance where I was experiencing this … I'm closing it, but leaving it for a maintainer to re-open if somebody else can reproduce, to continue working on a fix. /= |
With the latest IPy-nb-ex, I'm getting this on boot:
Jupyter is fully updated, so what is this asking me to do?
The text was updated successfully, but these errors were encountered: