Well the local variable 'r' referenced before assignment seems obvious, if you have no data, like it is happening now (the response has "results":[]), then r never gets defined. You could fix this setting r = [] before the for.
Quarta-feira, 24 de Abril de 2013 10:01:05 UTC+1, 黄祥 escreveu: > > hi folks, > > i'm trying to add twitter recent tweets that i learned from admin page. > but when i'm implemented it returns an error : > > Unable to download because: > local variable 'r' referenced before assignment > > did anyone ever face the same situation? any hints, or solutions to solve > this problems? > > thanks a lot before > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.