On Friday, March 30, 2018 at 10:01:45 AM UTC-4, Maurice Waka wrote: > > I have been getting this error in the last few days but somehow, with > restarting my comp, the error is sorted out. Every time I create a new > module and test it in the app, the error appears. > This is the latest, and this time, even with restarting the system, the > error below appears and I cant use the app. > > name = [t.reply for t in db(db.post.author == auth.user.id > ).select(db.post.ALL)][-1]] > > AttributeErroe: 'NoneType' object has no attribute 'id' >
That error indicates there is no auth.user and therefore you are not logged in. But we need more information to help determine why you are not logged in if you think you should be. Anthony -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

