[Python-bugs-list] [Bug #116664] Crash starting "idle" (2.0c1)
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 11 Oct 2000 15:31:43 -0700
Bug #116664, was updated on 2000-Oct-11 15:10
Here is a current snapshot of the bug.
Project: Python
Category: demos and tools
Status: Closed
Resolution: Invalid
Bug Group: Not a Bug
Priority: 5
Summary: Crash starting "idle" (2.0c1)
Details: Starting idle (under Mandrake Linux 7.1), I get the following traceback(s):
[bobalex@bobalex bobalex]$ '/home/bobalex/python20/Tools/idle/idle.py'
Failed to load extension 'AutoIndent'
Traceback (innermost last):
File "/home/bobalex/python20/Tools/idle/EditorWindow.py", line 536, in load_standard_extensions
self.load_extension(name)
File "/home/bobalex/python20/Tools/idle/EditorWindow.py", line 546, in load_extension
mod = __import__(name, globals(), locals(), [])
File "/home/bobalex/python20/Tools/idle/AutoIndent.py", line 38, in ?
import PyParse
File "/home/bobalex/python20/Tools/idle/PyParse.py", line 116
if type(str) == type(u""):
^
SyntaxError: invalid syntax
Traceback (innermost last):
File "/home/bobalex/python20/Tools/idle/idle.py", line 12, in ?
PyShell.main()
File "/home/bobalex/python20/Tools/idle/PyShell.py", line 747, in main
shell = PyShell(flist)
File "/home/bobalex/python20/Tools/idle/PyShell.py", line 312, in __init__
self.auto = self.extensions["AutoIndent"] # Required extension
KeyError: AutoIndent
Bob Alexander
balexander@rsv.ricoh.com
Follow-Ups:
Date: 2000-Oct-11 15:31
By: gvanrossum
Comment:
Check out the first line of idle.py. It points to a previous version of Python (probably 1.5.2 installed in /usr/bin), that doesn't support Unicode string literals yet.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116664&group_id=5470