I backed up my database, made a copy of the application databases directory, 
hg pull and hg update on trunk.

Got this traceback right away

Traceback (most recent call last):
  File "/home/camcentral/Dev/web2py-hg/gluon/restricted.py", line 184, in 
restricted
    exec ccode in environment
  File "/home/camcentral/Dev/web2py-hg/applications/ccims/models/A_db.py" 
<http://127.0.0.1:8000/admin/default/edit/ccims/models/A_db.py>, line 49, in 
<module>
    auth.define_tables(username=True)              # creates all needed tables
  File "/home/camcentral/Dev/web2py-hg/gluon/tools.py", line 1148, in 
define_tables
    format='%(username)s')
  File "/home/camcentral/Dev/web2py-hg/gluon/dal.py", line 4175, in define_table
    polymodel=polymodel)
  File "/home/camcentral/Dev/web2py-hg/gluon/dal.py", line 633, in create_table
    fake_migrate=fake_migrate)
  File "/home/camcentral/Dev/web2py-hg/gluon/dal.py", line 716, in migrate_table
    if query:
UnboundLocalError: local variable 'query' referenced before assignment

Did I miss a step? In development I default migrate=True fake_migrate=False

Ron


Reply via email to