[issue13265] IDLE crashes when printing some unprintable characters.

maniram maniram report at bugs.python.org
Wed Oct 26 07:51:33 CEST 2011


maniram maniram <maniandram01 at gmail.com> added the comment:

Here's the Error message.
*** Internal Error: rpc.py:SocketIO.localcall()

 Object: stdout 
 Method: <bound method PseudoFile.write of <idlelib.PyShell.PseudoFile object at 0x2675550>> 
 Args: ('\U0007a250',)

Traceback (most recent call last):
  File "/usr/lib/python3.2/idlelib/rpc.py", line 188, in localcall
    ret = method(*args, **kwargs)
  File "/usr/lib/python3.2/idlelib/PyShell.py", line 1220, in write
    self.shell.write(s, self.tags)
  File "/usr/lib/python3.2/idlelib/PyShell.py", line 1202, in write
    OutputWindow.write(self, s, tags, "iomark")
  File "/usr/lib/python3.2/idlelib/OutputWindow.py", line 40, in write
    self.text.insert(mark, s, tags)
  File "/usr/lib/python3.2/idlelib/Percolator.py", line 25, in insert
    self.top.insert(index, chars, tags)
  File "/usr/lib/python3.2/idlelib/ColorDelegator.py", line 79, in insert
    self.delegate.insert(index, chars, tags)
  File "/usr/lib/python3.2/idlelib/PyShell.py", line 312, in insert
    UndoDelegator.insert(self, index, chars, tags)
  File "/usr/lib/python3.2/idlelib/UndoDelegator.py", line 81, in insert
    self.addcmd(InsertCommand(index, chars, tags))
  File "/usr/lib/python3.2/idlelib/UndoDelegator.py", line 116, in addcmd
    cmd.do(self.delegate)
  File "/usr/lib/python3.2/idlelib/UndoDelegator.py", line 219, in do
    text.insert(self.index1, self.chars, self.tags)
  File "/usr/lib/python3.2/idlelib/ColorDelegator.py", line 79, in insert
    self.delegate.insert(index, chars, tags)
  File "/usr/lib/python3.2/idlelib/WidgetRedirector.py", line 104, in __call__
    return self.tk_call(self.orig_and_operation + args)
ValueError: unsupported character

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13265>
_______________________________________


More information about the Python-bugs-list mailing list