Re: HELP:UnboundLocalError: local variable '_nntp' referenced before assignment

2005-03-19 Thread Peter Moscatt
Diez B. Roggisch wrote: > Peter Moscatt wrote: >> UnboundLocalError: local variable '_nntp' referenced before assignment > > This pretty much says what your problem is: you haven't a variable called > _nntp > >> def callconnect(): >> if b["text"]=="Connect": >> _nntp = >>

Re: HELP:UnboundLocalError: local variable '_nntp' referenced before assignment

2005-03-18 Thread Diez B. Roggisch
Peter Moscatt wrote: > UnboundLocalError: local variable '_nntp' referenced before assignment This pretty much says what your problem is: you haven't a variable called _nntp > def callconnect(): > if b["text"]=="Connect": > _nntp = > nntplib.NNTP(_global.servername,int(_gl

HELP:UnboundLocalError: local variable '_nntp' referenced before assignment

2005-03-18 Thread Peter Moscatt
Hi all, I am in the process of writing an app that will handle news feeds and therefore using the 'nntplib' When I issue the connect command all goes will but when I issue the 'quit()' command I get the following error message: Exception in Tkinter callback Traceback (most recent call last):