Skip to content

IDLE 3.1.1 crashes with UnicodeDecodeError when I press Ctrl-Space #52132

Closed

Description

@codeape2
mannequin
BPO 7884
Nosy @ezio-melotti, @codeape2

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 = None
closed_at = <Date 2010-02-08.16:25:38.608>
created_at = <Date 2010-02-08.12:31:56.905>
labels = ['expert-IDLE', 'type-bug', 'expert-tkinter']
title = 'IDLE 3.1.1 crashes with UnicodeDecodeError when I press Ctrl-Space'
updated_at = <Date 2010-02-08.16:25:38.584>
user = 'https://github.com/codeape2'

bugs.python.org fields:

activity = <Date 2010-02-08.16:25:38.584>
actor = 'ezio.melotti'
assignee = 'none'
closed = True
closed_date = <Date 2010-02-08.16:25:38.608>
closer = 'ezio.melotti'
components = ['IDLE', 'Tkinter']
creation = <Date 2010-02-08.12:31:56.905>
creator = 'Bernt.R\xc3\xb8skar.Brenna'
dependencies = []
files = []
hgrepos = []
issue_num = 7884
keywords = []
message_count = 2.0
messages = ['99044', '99052']
nosy_count = 2.0
nosy_names = ['ezio.melotti', 'Bernt.R\xc3\xb8skar.Brenna']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue7884'
versions = ['Python 3.1']

Activity

  1. codeape2 commented on Feb 8, 2010

    codeape2mannequin
    MannequinAuthor

    Platform: Linux
    Python 3.1.1 built from source. Tk version 8.4, Tcl version 8.4.

    Idle 2.6.4 (also built from source), works correctly (executes force-open-completions).

    Test case:
    - Start idle3
    - press Ctrl-Space in the IDLE shell
    - idle crashes, and a traceback is written to stdout:
    Traceback (most recent call last):
      File "/usr/local/bin/idle3", line 6, in <module>
        main()
      File "/usr/local/lib/python3.1/idlelib/PyShell.py", line 1420, in main
        root.mainloop()
      File "/usr/local/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
  2. added
    type-bugAn unexpected behavior, bug, or error
    and removed
    type-crashA hard crash of the interpreter, possibly with a core dump
    on Feb 8, 2010
  3. ezio-melotti commented on Feb 8, 2010

    @ezio-melotti
    Member

    Duplicate of bpo-1028 (and bpo-6920).

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions