Tkinter Problem - NameError
Fredrik Lundh
fredrik at pythonware.com
Wed Mar 21 05:31:40 EST 2001
Clodagh O'Rourke wrote:
> Here I get the following NameError:
>
> Exception in Tkinter callback
> Traceback (innermost last):
> File "/usr/vob/omc_reference/ThirdParty/scriptSources/lib/python1.5/lib-tk/Tkinter.py", line 764, in __call__
> return apply(self.func, args)
> File "AuditResync.py", line 64, in newAudit
> self.newEnvWin('audit')
> File "AuditResync.py", line 61, in newEnvWin
> EnvVar(g, self.parent)
> NameError: EnvVar
>
> I would be very grateful if anyone could spot any possible errors.
Looks like recursive from-import problems [1]...
Can you post the import sections from InitialWin, EnvVar, and
AuditResync?
Cheers /F
1) http://effbot.org/guides/import-confusion.htm
More information about the Python-list
mailing list