Try 1015. It seems the previous commit failed. Works for me.

Massimo

On Jun 9, 9:35 am, DenesL <[email protected]> wrote:
> Using latest trunk 1014 and starting from empty app the table
> definition fails:
>
> db = SQLDB('sqlite://storage.sqlite')
> db.define_table('dog',
>     SQLField('name'),
>     SQLField('father_id','reference dog'),
>     SQLField('mother_id','reference dog'))
>
> Traceback (most recent call last):
>   File "D:\web2py\trunk\gluon\restricted.py", line 107, in restricted
>     exec ccode in environment
>   File "D:/web2py/trunk/applications/slides/models/db.py", line 73, in
> <module>
>     SQLField('mother_id','reference dog')
>   File "D:\web2py\trunk\gluon\sql.py", line 955, in define_table
>     t = self[tablename] = SQLTable(self, tablename, *fields)
>   File "D:\web2py\trunk\gluon\sql.py", line 1147, in __init__
>     raise SyntaxError, 'SQLTable: table does not exist'
> SyntaxError: SQLTable: table does not exist
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to