Mailing List Archive

getting IDLE to run?
Trying to run IDLE
(on a Linux SuSE 6.0, installed the Redhat rpm for Python
1.5.2, and the necessary readline.so.3 and blt-2.4g-3 in place.)

This is the error message:

stefan@greyhat:/usr/lib/python1.5/site-packages/idle > python idle.py
Traceback (innermost last):
File "idle.py", line 3, in ?
PyShell.main()
File "PyShell.py", line 625, in main
t = PyShell(flist)
File "PyShell.py", line 255, in __init__
OutputWindow.__init__(self, flist, None, None)
File "OutputWindow.py", line 15, in __init__
apply(EditorWindow.__init__, (self,) + args)
File "EditorWindow.py", line 153, in __init__
self.saved_change_hook()
File "EditorWindow.py", line 393, in saved_change_hook
self.top.wm_title(title)
AttributeError: wm_title

No IDLE :-(
What am I doing wrong?

--
Stefan Harms harms@mbnet.mb.ca

LAMDI - Linux Anesthesia Modular Devices Interface
http://gasnet.med.yale.edu/lamdi/
getting IDLE to run? [ In reply to ]
SH <harms@mbnet.mb.ca> wrote:
> Trying to run IDLE
> (on a Linux SuSE 6.0, installed the Redhat rpm for Python
> 1.5.2, and the necessary readline.so.3 and blt-2.4g-3 in place.)

...

> AttributeError: wm_title
>
> No IDLE :-(
> What am I doing wrong?

from the look of it, your python interpreter is picking up
an old Tkinter. try typing:

$ python
>>> import Tkinter
>>> print Tkinter.__file__

</F>
getting IDLE to run? [ In reply to ]
Fredrik Lundh wrote:
>
> SH <harms@mbnet.mb.ca> wrote:
> > Trying to run IDLE
> > (on a Linux SuSE 6.0, installed the Redhat rpm for Python
> > 1.5.2, and the necessary readline.so.3 and blt-2.4g-3 in place.)
>
> ...
>
> > AttributeError: wm_title
> >
> > No IDLE :-(
> > What am I doing wrong?
>
> from the look of it, your python interpreter is picking up
> an old Tkinter. try typing:
This is the problem indeed, I run into it last night. Download also the
two python*tkinter* files.

>
> $ python
> >>> import Tkinter
> >>> print Tkinter.__file__
>
> </F>

--
Alex Maranda mailto: amaranda at spider dot com
Spider Software Ltd. Tel: +44 (0)131 4757036
Edinburgh, UK http://members.xoom.com/Alex_Maranda
STREAMS based communications protocols for embedded systems