On Monday, August 22, 2016 at 6:58:08 AM UTC-7, Annexx Xaar wrote: > > Hello sir i have tried all i could, still having errors in the reddit > clone application. > everything works fine except when i > implemented <h2>{{=author(user_id)}}</h2> under list_posts_by_votes.html > the errors blows when i click on the author of a comment. it does not > dislay the author's name as it showed in the toturial video. > > > > > here's it > > 1. > 2. > 3. > 4. > 5. > 6. > > Traceback (most recent call last): > File "C:\Users\nsikan\Desktop\web2py\gluon\restricted.py", line 227, in > restricted > exec ccode in environment > File > "C:\Users\nsikan\Desktop\web2py\applications\mydream\views\default/list_posts_by_votes.html", > line 117, in <module> > NameError: name 'category' is not defined > > Does the ticket show what it thinks is line 117? list_posts_by_votes() has 2 mentions of category, and it isn't obvious to me why either would result in this error, but focusing on the exact line may help.
/dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.