Re: custom completers, changes since ipython-4?

"Osborn, Raymond" <[email protected]>
Newsgroups gmane.comp.python.ipython.devel
Message-ID <[email protected]>
Hi Darren,

>>> from IPython.utils import generics

seems to work. There may be other changes you need to be aware of, but I’ll leave that to the real experts.

Ray

> On Dec 1, 2015, at 2:56 PM, Darren Dale <[email protected]> wrote:
> 
> I wrote a custom completer for h5py some years ago, and discovered a problem after updating ipython to the latest version:
> 
> [TerminalIPythonApp] WARNING | Error in loading extension: h5py.ipy_completer Check your config files in /home/darren/.ipython/profile_default Traceback (most recent call last): File "/opt/conda/lib/python2.7/site-packages/IPython/core/shellapp.py", line 267, in init_extensions self.shell.extension_manager.load_extension(ext) File "/opt/conda/lib/python2.7/site-packages/IPython/core/extensions.py", line 89, in load_extension __import__(module_str) File "/opt/conda/lib/python2.7/site-packages/h5py/ipy_completer.py", line 59, in <module> from IPython import generics ImportError: cannot import name generics
> 
> I'm sorry if this has an obvious solution that has been announced somewhere, maybe I don't know where to look anymore. Is there a list of changes that has been made to the API? What happened to generics?
> 
> Thanks,
> Darren
> _______________________________________________
> IPython-dev mailing list
> [email protected]
> https://mail.scipy.org/mailman/listinfo/ipython-dev

-- 
Ray Osborn, Senior Scientist
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: [email protected]


_______________________________________________
IPython-dev mailing list
[email protected]
https://mail.scipy.org/mailman/listinfo/ipython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.