Memory exception with Tkinter root.quit

Jane Austine janeaustine50 at hotmail.com
Tue Nov 18 10:59:56 EST 2003


janeaustine50 at hotmail.com (Jane Austine) wrote in message news:<ba1e306f.0311171808.825b1e9 at posting.google.com>...
> >Jane Austine wrote:
> >>>>from Tkinter import *
> >>>>>r=Tk()
> >>>>>b=Button(r,text='Quit',command=r.quit)
> >>>>>b.pack()
> >>>>>r.mainloop()
> >> 
> >> 
> >> And when I press the "Quit" button the mainloop exits. After that,
>  if
> >> I finish the python shell, a memory exception occurs.
> >> 
> >> This is Windows XP machine with Python 2.3.
> >
> > Not much of a help, but I've tried it here: no problems... (python
> > 2.3.2, win xp).  Can it be a Python 2.3.0 issue that has been fixed in
> > 2.3.1 or 2.3.2 ?
> > 
> > --Irmen
> 
> I tried it with 2.3.2, but it doesn't work either.
> 
> The crash message is:
> 
> python.exe -- application program error
> 
> the command from "0x77f7e22a" referenced the memory at "0x00000028".
> The memory couldn't be "read".

Well, I seem to have found the (vague) reason.

There is a file named python.exe.manifest (along with
pythonw.exe.manifest) in the python folder. If I delete it, Tkinter
doesn't raise memory exception.

What is it? Is it safe to delete it?




More information about the Python-list mailing list