A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1268/ below:

notebook %reset magic fails with StdinNotImplementedError · Issue #1268 · ipython/ipython · GitHub

forgive me if this is a duplicate of the general issue of stdin not being implemented, but just wanted to report this bug on current git.

here's the trace:

 ---------------------------------------------------------------------------
 StdinNotImplementedError                  Traceback (most recent call last)
 /home/pi/code/py4science/2012-bootcamp/saturday/<ipython-input-22-7e9719c26028> in <module>()
 ----> 1 get_ipython().magic(u'reset')

 /home/pi/code/py4science/scipy2010/ipython/IPython/core/interactiveshell.pyc in magic(self, arg_s, next_input)
    1987                 self._magic_locals = sys._getframe(1).f_locals
    1988             with self.builtin_trap:
 -> 1989                 result = fn(magic_args)
    1990             # Ensure we're not keeping object references around:

    1991             self._magic_locals = {}

 /home/pi/code/py4science/scipy2010/ipython/IPython/core/magic.pyc in magic_reset(self, parameter_s)
     990         else:
     991             ans = self.shell.ask_yes_no(
 --> 992                 "Once deleted, variables cannot be recovered. Proceed (y/[n])? ", default='n')
     993         if not ans:
     994             print 'Nothing done.'

 /home/pi/code/py4science/scipy2010/ipython/IPython/core/interactiveshell.pyc in ask_yes_no(self, prompt, default)
    2658         if self.quiet:
    2659             return True
 -> 2660         return ask_yes_no(prompt,default)
    2661 
    2662     def show_usage(self):

 /home/pi/code/py4science/scipy2010/ipython/IPython/utils/io.pyc in ask_yes_no(prompt, default)
     225     while ans not in answers.keys():
     226         try:
 --> 227             ans = raw_input(prompt+' ').lower()
     228             if not ans:  # response was an empty string
     229                 ans = default

 /home/pi/code/py4science/scipy2010/ipython/IPython/zmq/ipkernel.pyc in <lambda>(prompt)
     251             raw_input = lambda prompt='': self._raw_input(prompt, ident, parent)
     252         else:
 --> 253             raw_input = lambda prompt='' : self._no_raw_input()
     254 
     255         if py3compat.PY3:

 /home/pi/code/py4science/scipy2010/ipython/IPython/zmq/ipkernel.pyc in _no_raw_input(self)
     443         """Raise StdinNotImplentedError if active frontend doesn't support
     444         stdin."""
 --> 445         raise StdinNotImplementedError("raw_input was called, but this "
     446                                        "frontend does not support stdin.") 
     447 

 StdinNotImplementedError: raw_input was called, but this frontend does not support stdin.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4