[IPython-dev] Incompatible subclass instances of InteractiveShellEmbed

Darren Dale dsdale24 at gmail.com
Sun Jan 11 10:37:22 EST 2015


Hello,

I'm working on an application with an in-process qt console, following the
example at
https://github.com/ipython/ipython/blob/master/examples/Embedding/inprocess_qtconsole.py
. I would also like to be able to use the `embed` function occassionally
for troubleshooting other parts of the application that are unrelated to
the in-process qt console. However, calling embed yields an error:
"IPython.config.configurable.MultipleInstanceError: Multiple incompatible
subclass instances of InteractiveShellEmbed are being created."  I can
reproduce this with the inprocess example by adding a call to `embed()`
just before the call to `guisupport.start_event_loop_qt4(app)`. Any ideas
how to make this work?

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150111/ca47c719/attachment.html>


More information about the IPython-dev mailing list