The error suggest that dal couldnt connect to the database. It doesnt look like a web2py problem but a db one. at line 4 add .select() to execute the statement. row = db(db.auth_user.username == username).select()
Also start a web2py shell session (web2py -a <yourpassword> -M)and test the database by executing the line above. Check if theres any line on your code that closes the connection. -- 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.