Copying an app from 2.14.6 to 2.16.1, including copying the database file
(storage.sqlite because, well, I'm using sqlite on this machine).
appconfig.ini has migrations off, and db.py has
db = DAL(myconf.get('db.uri'),
pool_size=myconf.get('db.pool_size'),
migrate_enabled=myconf.get('db.migrate'),
check_reserved=['all'],
fake_migrate_all=True)
Because of fake_migrate_all, I expect the table files to be created, but
they aren't.
appadmin/index shows all the expected tables, and clicking on one invokes
appadmin/select successfully, displaying the correct data. The
default/index function draws the correct form, but the default/sorted
function fails with
<type 'exceptions.KeyError'> 'Column QuarterMaster.IssueYr not found
(SQLTABLE)'
What do I do to correct this?
Note: I did not try submitting the form from index, since I didn't try
that URL until after I had the ticket for the sorted function. The sorted
function is doing a select to display [some] contents of my app's main
data. The auth tables are shown in appadmin, but are empty because this
isn't a production app.
/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.