[Bug 365534] Re: IDLE crashes on code completion

Bruce Pieterse b at ipuma.za.net
Sun Jun 19 16:31:09 UTC 2011


Same problem with Natty 11.04 using Python 3.2. I'm presuming the correct hexadecimal to use would be 0x02 (SP) not 0xc0 (Illegal Character) according to http://en.wikipedia.org/wiki/UTF_8#Invalid_byte_sequences. Unfortunately, I'm not familiar with Python yet (was busy learning, when I encountered it) but hopefully someone more experience can get this fixed.
--
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

** Package changed: python3.0 (Ubuntu) => python3.2 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.2 in Ubuntu.
https://bugs.launchpad.net/bugs/365534

Title:
  IDLE crashes on code completion

Status in “python3.2” package in Ubuntu:
  New

Bug description:
  Binary package hint: idle-python3.0

  1.Launch IDLE for Python3
  2.Press Ctrl-Space
  3.IDLE will crash with traceback:

  Traceback (most recent call last):
    File "/usr/bin/idle-python3.0", line 5, in <module>
      main()
    File "/usr/lib/python3.0/idlelib/PyShell.py", line 1407, in main
      root.mainloop()
    File "/usr/lib/python3.0/tkinter/__init__.py", line 1012, in mainloop
      self.tk.mainloop(n)
  UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: illegal encoding

  Note: selecting Edit->Show Completions seems to work ok

  I`m using jaunty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.2/+bug/365534/+subscriptions




More information about the foundations-bugs mailing list