Skip to content

IDLE 3 crashes on Ctrl+Space with "'utf8' codec can't decode bytes in position 0-1" #51169

Closed

Description

@Yinon
mannequin
BPO 6920
Nosy @ezio-melotti

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 2009-09-16.10:07:21.274>
created_at = <Date 2009-09-16.08:30:52.543>
labels = ['expert-IDLE', 'type-crash']
title = 'IDLE 3 crashes on Ctrl+Space with "\'utf8\' codec can\'t decode bytes in position 0-1"'
updated_at = <Date 2009-09-16.10:07:21.261>
user = 'https://bugs.python.org/Yinon'

bugs.python.org fields:

activity = <Date 2009-09-16.10:07:21.261>
actor = 'ezio.melotti'
assignee = 'none'
closed = True
closed_date = <Date 2009-09-16.10:07:21.274>
closer = 'ezio.melotti'
components = ['IDLE']
creation = <Date 2009-09-16.08:30:52.543>
creator = 'Yinon'
dependencies = []
files = []
hgrepos = []
issue_num = 6920
keywords = []
message_count = 2.0
messages = ['92667', '92676']
nosy_count = 2.0
nosy_names = ['Yinon', 'ezio.melotti']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue6920'
versions = ['Python 3.1']

Activity

  1. Yinon commented on Sep 16, 2009

    Yinonmannequin
    MannequinAuthor

    on Ubuntu 8.04 -
    I downloaded the sources, then:
    ./configure --prefix=$HOME
    make && make install

    in ~/bin/idle3 when I press Ctrl+Space (according to the "Edit" menu,
    should show completions) idle crashes with the following traceback:
    Traceback (most recent call last):
      File "/homes/yinon/bin/idle3", line 5, in <module>
        main()
      File "/homes/yinon/lib/python3.1/idlelib/PyShell.py", line 1420, in main
        root.mainloop()
      File "/homes/yinon/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-crashA hard crash of the interpreter, possibly with a core dump
    on Sep 16, 2009
  3. ezio-melotti commented on Sep 16, 2009

    @ezio-melotti
    Member

    This is a duplicate of bpo-1028.

  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

    Labels

    topic-IDLEtype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions