db.define_table('test',
Field('name', 'string', length=50, notnull=True),
Field('email', 'string', notnull=True),
format="%(name)s")
query=(db.test.id>0)
fields=[db.test.id,db.test.name,db.test.email]
forms=SQLFORM.grid(query=query, csv=True)
return dict(forms=forms)
I get the following error:
web2py™ | Version 2.14.5-stable+timestamp.2016.04.13.22.22.13 |
---|---|
Python | Python 2.7.9: C:\python27\python.exe (prefix: C:\python27) |
(self=<Row {'email': 'te...@test.com', 'name': 'Ryan Hood', 'id': 1L}>, k='_extra')
It appears to be looking for an _extra parameter?
Note: This happens for both CSV and TSV exports.
Please advise.
Thank you,
Ryan
REGEX_TABLE_DOT_FIELD = re.compile('^(\w+)\.([^.]+)$')and previous web2py versions used it.
obj.REGEX_TABLE_DOT_FIELD = re.compile(
r'^' + quot % regex_ent + r'\.' + quot % regex_ent + r'$')
127.0.0.1.2016-08-01.14-36-35.a05a56c8-5b22-42c3-a3e3-385322b5f0fe
web2py™ | Version 2.14.5-stable+timestamp.2016.04.14.03.26.16 |
---|---|
Python | Python 2.7.6: /home/kmouts/Envs/prolims2_venv/bin/python2.7 (prefix: /home/kmouts/Envs/prolims2_venv) |
1. | Traceback (most recent call last): |