enthought / enthought/pyface

Broken IPython example

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

It seems like the IPython widget is implemented in neither backends. Or is this because I have the wrong version of IPython? In which case the error message is not terribly informative.

parietal ~/dev/enthought/ets/pyface/examples $ python ipython_shell.py

Traceback (most recent call last):
File "ipython_shell.py", line 51, in
window.open()
File "/home/varoquau/dev/enthought/ets/pyface/pyface/i_window.py", line 145, in open
self._create()
File "/home/varoquau/dev/enthought/ets/pyface/pyface/ui/wx/application_window.py", line 150, in _create
contents = self._create_contents(body)
File "ipython_shell.py", line 39, in _create_contents
self._shell = IPythonWidget(parent)
File "/home/varoquau/dev/enthought/ets/pyface/pyface/toolkit.py", line 92, in __init__
raise NotImplementedError("the %s pyface backend doesn't implement %s" % (ETSConfig.toolkit, oname))
NotImplementedError: the wx pyface backend doesn't implement IPythonWidget
parietal ~/dev/enthought/ets/pyface/examples $ export ETS_TOOLKIT=qt4
parietal ~/dev/enthought/ets/pyface/examples $ python ipython_shell.py
Traceback (most recent call last):
File "ipython_shell.py", line 51, in
window.open()
File "/home/varoquau/dev/enthought/ets/pyface/pyface/i_window.py", line 145, in open
self._create()
File "/home/varoquau/dev/enthought/ets/pyface/pyface/ui/qt4/application_window.py", line 123, in _create
contents = self._create_contents(self.control)
File "ipython_shell.py", line 39, in _create_contents
self._shell = IPythonWidget(parent)
File "/home/varoquau/dev/enthought/ets/pyface/pyface/toolkit.py", line 92, in __init__
raise NotImplementedError("the %s pyface backend doesn't implement %s" % (ETSConfig.toolkit, oname))
NotImplementedError: the qt4 pyface backend doesn't implement IPythonWidget

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.