You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE exits with UnicodeDecodeError on Ctrl+Space #49406
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-02-08.12:34:03.752>created_at=<Date2009-02-05.10:02:42.952>labels= ['expert-IDLE']
title='IDLE exits with UnicodeDecodeError on Ctrl+Space'updated_at=<Date2009-02-08.12:34:03.750>user='https://bugs.python.org/scav'
Using Python3.1 built from svn, on RedHat EL4, with Tcl/Tk 8.5 built
from source.
Traceback:
------------------
File "/usr/mlocal/lib/python3.1/runpy.py", line 122, in
_run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/mlocal/lib/python3.1/runpy.py", line 34, in _run_code
exec(code, run_globals)
File "/usr/mlocal/lib/python3.1/idlelib/idle.py", line 22, in <module>
idlelib.PyShell.main()
File "/usr/mlocal/lib/python3.1/idlelib/PyShell.py", line 1407, in main
root.mainloop()
File "/usr/mlocal/lib/python3.1/tkinter/init.py", line 1009, in
mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1:
illegal encoding
----------------
The list of completions appears just before the crash. I can't tell
whether the error occurs within tkinter or IDLE.
If I find out where to put the try/except I'll submit a patch.
Activity
scav commentedon Feb 5, 2009
Using Python3.1 built from svn, on RedHat EL4, with Tcl/Tk 8.5 built
from source.
Traceback:
------------------
File "/usr/mlocal/lib/python3.1/runpy.py", line 122, in
_run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/mlocal/lib/python3.1/runpy.py", line 34, in _run_code
exec(code, run_globals)
File "/usr/mlocal/lib/python3.1/idlelib/idle.py", line 22, in <module>
idlelib.PyShell.main()
File "/usr/mlocal/lib/python3.1/idlelib/PyShell.py", line 1407, in main
root.mainloop()
File "/usr/mlocal/lib/python3.1/tkinter/init.py", line 1009, in
mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1:
illegal encoding
----------------
The list of completions appears just before the crash. I can't tell
whether the error occurs within tkinter or IDLE.
If I find out where to put the try/except I'll submit a patch.
terryjreedy commentedon Feb 6, 2009
On IDLE 3.0, win xp, cntl-space brings up a selection box with known
names to select. What was your actual input?
scav commentedon Feb 8, 2009
Yeah, I know that's what it's supposed to do. It does pop up the list
of names, but then crashes.
It happens no matter what has been input, even on an empty window.
However, if it works for everyone else, maybe I built Tcl wrongly.
gpolo commentedon Feb 8, 2009
This is a duplicate, see bpo-1028.