On Thursday, December 22, 2016 at 3:14:20 PM UTC-8, b.l. masters wrote:
>
> Ok. Actually that was something. I realized that I gave the directories 
> the wrong permissions when I created these. So I went ahead and reassigned 
> to www-data and now I am getting the following:
>
> Validation error, field:username <gluon.validators.IS_NOT_IN_DB object at 
> 0x7f1d49dcd2d0>
>
> It has now created databases. Or at least there are database files showing 
> in the databases directory. However, when I attempt to create a user, this 
> is the traceback message from the Database administration view:
>
>     Traceback (most recent call last):
>
> [...] 

>   File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", 
> line 1382, in log_execute
>     ret = self.get_cursor().execute(command, *a[1:], **b)
> OperationalError: no such table: auth_user
>
>
> But this feels like progress. :-)
>
> These are my current settings migration settings:
>
> db = DAL(..., migrate=True, fake_migrate_all=True)
>
> db.define_table(..., migrate=True, fake_migrate=True
>
> auth.define_tables(username=True, signature=False, migrate=True)
>
> Thanks again for any help.
>

Do you  instantiate Auth in your db.py?

/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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to