the index displays the login page but after logging in returns the login 
page without logging in the user (user is in db)
editing the user from auth_user edit user page returns the edit user page 
without committing the changes.
registering a new user or adding one from auth_user simply returns the same 
page without creating the user.


I thought I would try using the sqllite db like you did. The error said 
that auth user tables were not created so I cleared my session information, 
editited 

auth.define_tables(username=True, migrate=True) #set migrate=True

 and re-started the server...ooops....not good.

Traceback (most recent call last):
  File "C:\web2py\gluon\restricted.py", line 209, in restricted
    exec ccode in environment
  File "C:/web2py/applications/TAMOTO/models/db.py" 
<http://127.0.0.1:8000/admin/default/edit/TAMOTO/models/db.py>, line 70, in 
<module>
    auth.wiki(resolve=False)
  File "C:\web2py\gluon\tools.py", line 3192, in wiki
    env=env)
  File "C:\web2py\gluon\tools.py", line 4597, in __init__
    args.append(field)
UnboundLocalError: local variable 'args' referenced before assignment







On Sunday, October 14, 2012 6:59:09 PM UTC-5, Alan Etkin wrote:
>
> > Made 2 changes but don't know which one fixed the AtributeError. Hard to 
> tell if the filedata blob field is working because
>
> I doubt it has something to do with the changes in the patch to tools.py. 
> I have created a scaffolding app with the default Sqlite connection that 
> extends the wiki_page table with extra fields, list the wiki tables in 
> appadmin and does auth_user crud without issues.
>
> What is the output if you submit an auth_user create form? Does web2py 
> return any error traceback or anything?

-- 



Reply via email to