You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
Hi all,
Im using auth_user table brought from web2py. When trying to log in i get an error:
psycopg2.errors.UndefinedColumn: column auth_user.first_name does not exist
LINE 1: ...id", "auth_user"."email", "auth_user"."password", "auth_user...
Those fields are not ni my auth_user table.
What should i do?
Dave S
unread,
May 1, 2026, 1:39:33 PM (3 days ago) May 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
I'm not sure if there is a way in py4web itself, but one approach would be to use psql or other offline tool to add that column to your table, and to set those values to null, the empty string, or "not available". (I'm not sure which of those values would be acceptable to Auth )
/dps
Dave S
unread,
May 1, 2026, 1:48:20 PM (3 days ago) May 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
However, not having the field is curious, as it seems to be a column in my web2py auth_user table ... did you customize your web2py version?
/dps
xgp.l...@gmail.com
unread,
May 1, 2026, 6:40:48 PM (2 days ago) May 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
Hi,
Yes, auth_user was customized in web2py..
I understand there are some fields mandatory, but auth_user.first_name should not be one of those.
I use email for authentication.
Thanks,
Dave S
unread,
May 1, 2026, 8:59:55 PM (2 days ago) May 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message