Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

I started Idle from a command prompt:
   C:\Python30>python Lib\idlelib\idle.py
And followed the instructions. After the step f/ I got the error 
message:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python30\Lib\tkinter\__init__.py", line 1405, in __call__
    return self.func(*args)
  File "C:\Python30\Lib\tkinter\__init__.py", line 493, in callit
    func(*args)
  File "C:\Python30\lib\idlelib\ColorDelegator.py", line 152, in 
recolorize
    self.recolorize_main()
  File "C:\Python30\lib\idlelib\ColorDelegator.py", line 185, in 
recolorize_main
    next = self.index(mark + "+%d lines linestart" %
  File "C:\Python30\Lib\idlelib\Delegator.py", line 10, in __getattr__
    attr = getattr(self.delegate, name) # May raise AttributeError
AttributeError: 'NoneType' object has no attribute 'index'
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python30\Lib\tkinter\__init__.py", line 1405, in __call__
    return self.func(*args)
  File "C:\Python30\lib\idlelib\MultiCall.py", line 165, in handler
    r = l[i](event)
  File "C:\Python30\lib\idlelib\IOBinding.py", line 222, in open
    self.editwin.flist.open(filename)
  File "C:\Python30\lib\idlelib\FileList.py", line 36, in open
    edit = self.EditorWindow(self, filename, key)
  File "C:\Python30\Lib\idlelib\PyShell.py", line 114, in __init__
    if self.io.filename: self.restore_file_breaks()
  File "C:\Python30\Lib\idlelib\PyShell.py", line 222, in 
restore_file_breaks
    filename = self.io.filename
AttributeError: 'NoneType' object has no attribute 'filename'

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1047540>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to