IPython 5.0 and ConfigManager issue
Alan <[email protected]> Tue, 2 Aug 2016 16:00:46 +0100
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CAEznbzm6zN=SWtrWHshg+Od+fcfqESY=w+1BCBEP8ur3tWj-NQ@mail.gmail.com> |
Hi there,
This is not working for me:
from IPython.html.services.config import ConfigManagerfrom
IPython.utils.path import locate_profilecm =
ConfigManager(profile_dir=locate_profile(get_ipython().profile))cm.update('livereveal',
{
'theme': 'serif',
'transition': 'zoom',
'start_slideshow_at': 'selected',})
TraitError: The 'parent' trait of a ConfigManager instance must be a
Configurable, but a value of class 'NoneType' (i.e. None) was
specified.
It looks like IPY 5 changed the way it handles the configuration?
I have these warning in my prompt:
/sw/lib/python3.5/site-packages/IPython/utils/traitlets.py:5: UserWarning:
IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets
package.")
/sw/lib/python3.5/site-packages/IPython/utils/path.py:283: UserWarning:
locate_profile has moved to the IPython.paths module
warn("locate_profile has moved to the IPython.paths module")
But I don't know how to fix it. I am using ipython/jupyter + RISE and I
want to customise my presentations.
Thanks,
Alan
--
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588
_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev