I think it is fixed now in trunk, please check.

Massimo

On Dec 10, 2:15 pm, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
> I am running the nightly build. I am using sqlite. When creating
> fields in step 3 of the wizard, entering "amount float" results in the
> following error:
>
> ==========================
> Traceback (most recent call last):
>   File "/Users/elfgoh/Projects/mustardjuice/web2py/gluon/
> restricted.py", line 188, in restricted
>     exec ccode in environment
>   File "/Users/elfgoh/Projects/mustardjuice/web2py/applications/
> mustardjuice/models/db_wizard.py", line 58, in <module>
>     migrate=settings.migrate)
>   File "/Users/elfgoh/Projects/mustardjuice/web2py/gluon/sql.py", line
> 3301, in define_table
>     polymodel=polymodel)
>   File "/Users/elfgoh/Projects/mustardjuice/web2py/gluon/sql.py", line
> 441, in create_table
>     (field.type, field.name)
> SyntaxError: Field: unknown field type: float for f_amount
> ==========================
>
> Replacing the field with "amount" or "amount integer" does not cause
> the error. Is this a bug?

Reply via email to