NNTPlib::xover problem

2006-08-07 Thread Helmut Jarausch
Hi I try to regularly extract recent news from some newsgroups. If News is an NNTP object I try (Response,Articles)= News.xover(str(int(Last)+1),'1000') where 'Last' is the (previously saved) number of the last article read. If there are no new articles I get an Exception Traceback (most

Re: NNTPlib::xover problem

2006-08-07 Thread Michiel Sikma
Hi Helmut, I guess it simply raises an exception in case there are no articles; this may not be what you expected, but it would seem that this is the way it operates. You should try catching the exception to plan out a course of action in case no articles are present. Michiel Op

Re: NNTPlib::xover problem

2006-08-07 Thread Helmut Jarausch
Michiel Sikma wrote: Hi Helmut, I guess it simply raises an exception in case there are no articles; this may not be what you expected, but it would seem that this is the way it operates. You should try catching the exception to plan out a course of action in case no articles are