idle3 crashes on ctrl-space

Bug #517552 reported by emghazal
This bug report is a duplicate of:  Bug #365534: IDLE crashes on code completion. Edit Remove
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Python
Fix Released
Unknown
python3-defaults (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: idle3

IDLE crashes when I press ctrl-space, with this error message:
Traceback (most recent call last):
  File "/usr/bin/idle3", line 5, in <module>
    main()
  File "/usr/lib/python3.1/idlelib/PyShell.py", line 1420, in main
    root.mainloop()
  File "/usr/lib/python3.1/tkinter/__init__.py", line 1012, in mainloop
    self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: illegal encoding

idle3 version 3.1-1ubuntu1
also in: idle-python3.1 version 3.1.1-0ubuntu5

On Karmic, amd64.

Matthias Klose (doko)
Changed in python3-defaults (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in python:
status: Unknown → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

Still happens with python3.2.

Traceback (most recent call last):
  File "/usr/bin/idle3", line 5, in <module>
    main()
  File "/usr/lib/python3.2/idlelib/PyShell.py", line 1427, in main
    root.mainloop()
  File "/usr/lib/python3.2/tkinter/__init__.py", line 1012, in mainloop
    self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc0 in position 0: invalid start byte

Changed in python:
status: New → Confirmed
Changed in python:
status: Confirmed → Fix Released
Revision history for this message
Keith Baker (keibak) wrote :

Bug still present in Natty:

:~$ idle-python3.2
Traceback (most recent call last):
  File "/usr/bin/idle-python3.2", line 5, in <module>
    main()
  File "/usr/lib/python3.2/idlelib/PyShell.py", line 1427, in main
    root.mainloop()
  File "/usr/lib/python3.2/tkinter/__init__.py", line 1012, in mainloop
    self.tk.mainloop(n)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc0 in position 0: invalid start byte

To reproduce:
- open shell
- import os
- hit crtl+space

Revision history for this message
Henrique Sant'Anna (hsantanna) wrote :

largely discussed here:
http://bugs.python.org/issue1028

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.