https://bugs.kde.org/show_bug.cgi?id=408176

--- Comment #12 from vialav <d...@bk.ru> ---
$ ipython
Python 2.7.15+ (default, Nov 27 2018, 23:36:35) 
Type "copyright", "credits" or "license" for more information.

IPython 5.8.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

 In [1]                                                                        
Do you really want to exit ([y]/n)? y

$ ipython --simple-prompt
Python 2.7.15+ (default, Nov 27 2018, 23:36:35) 
Type "copyright", "credits" or "license" for more information.

IPython 5.8.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/traitlets/config/application.py", line
831, in launch_instance
    app.start()
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/ipapp.py", line 355,
in start
    self.shell.mainloop()
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/interactiveshell.py",
line 495, in mainloop
    self.interact()
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/interactiveshell.py",
line 478, in interact
    code = self.prompt_for_code()
  File "/usr/lib/python2.7/dist-packages/IPython/terminal/interactiveshell.py",
line 230, in prompt
    line = cast_unicode_py2(input(prompt_text))
  File "/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.py", line 220,
in input
    return builtin_mod.raw_input(prompt)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 0:
ordinal not in range(128)

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-...@python.org

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    %config Application.verbose_crash=True

$ dpkg -l python-traitlets
ii  python-traitlets 5.0.0~git20180709-1 all          Lightweight Traits-like
package for Python 2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to