[python-tulip] 'global name \'s\' is not defined' : any suggestions or hints?

2014-09-29 Thread Marco Ippolito
Hi all, I thought it was something related to some global pattern, a regex, to configure within Trollius. But Victor Stinner (Trollius) told me it's not a Trollius matter, and suggested me to ask here for some advice. I attached the file which, when run, produces the following output: time

Re: [python-tulip] 'global name \'s\' is not defined' : any suggestions or hints?

2014-09-29 Thread Yury Selivanov
Marco, The problem is on the line number 82 of your script: yield From(s.get( ... )) where 's' is undefined. Tracing was easy when I added the following code import traceback print(traceback.format_exc()) before your print('...', url, 'has error', repr(str(exc))) Now, this list is

Re: [python-tulip] 'global name \'s\' is not defined' : any suggestions or hints?

2014-09-29 Thread Marco Ippolito
Hi Yuri, thanks for your suggestion. I've already discovered the same bug, which in turn helped to revealed some other problems. But I do not want to overburder you and other people with these issues. (actually since I've been told to post my issue here, I didn't know and I didn't think this list