Skip to content

ipython crash #10070

@thisgf

Description

@thisgf
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\ipython.exe\__main__.py", line 9, in <module>
    sys.exit(start_ipython())
  File "c:\python27\lib\site-packages\IPython\__init__.py", line 119, in start_i
python
    return launch_new_instance(argv=argv, **kwargs)
  File "c:\python27\lib\site-packages\traitlets\config\application.py", line 658
, in launch_instance
    app.start()
  File "c:\python27\lib\site-packages\IPython\terminal\ipapp.py", line 348, in s
tart
    self.shell.mainloop()
  File "c:\python27\lib\site-packages\IPython\terminal\interactiveshell.py", lin
e 440, in mainloop
    self.interact()
  File "c:\python27\lib\site-packages\IPython\terminal\interactiveshell.py", lin
e 423, in interact
    code = self.prompt_for_code()
  File "c:\python27\lib\site-packages\IPython\terminal\interactiveshell.py", lin
e 333, in prompt_for_code
    pre_run=self.pre_prompt, reset_current_buffer=True)
  File "c:\python27\lib\site-packages\prompt_toolkit\interface.py", line 392, in
 run
    self._redraw()
  File "c:\python27\lib\site-packages\prompt_toolkit\interface.py", line 351, in
 _redraw
    self.renderer.render(self, self.layout, is_done=self.is_done)
  File "c:\python27\lib\site-packages\prompt_toolkit\renderer.py", line 398, in
render
    size = output.get_size()
  File "c:\python27\lib\site-packages\prompt_toolkit\terminal\win32_output.py",
line 103, in get_size
    info = self.get_win32_screen_buffer_info()
  File "c:\python27\lib\site-packages\prompt_toolkit\terminal\win32_output.py",
line 150, in get_win32_screen_buffer_info
    raise NoConsoleScreenBufferError
NoConsoleScreenBufferError: No Windows console found. Are you running cmd.exe?

os:win7 64bit
python version:2.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions