just to be sure it wasn't some odd cache issue or something I missed I created a brand new simple app in the admin called "forum" and created a new model file models.py and created a very basic items table.
# -*- coding: utf-8 -*- > db.define_table('items', > Field('parentid','integer'), > Field('itemtypeid','integer'), > Field('name','string')) the error is the same as on my other app. > > Traceback (most recent call last): > File "C:\dev\web2py\gluon\restricted.py", line 227, in restricted > exec ccode in environment > File "C:/dev/web2py/applications/forum/models/models.py" > <http://localhost/admin/default/edit/forum/models/models.py>, line 5, in < > module> > Field('name','string')) > File "C:\dev\web2py\gluon\packages\dal\pydal\base.py", line 819, in > define_table > raise SyntaxError('table already defined: %s' % tablename) > SyntaxError: table already defined: items I can upload the packaged app but all I did was create a new one and make that models file. it's using all default db stuff (sqlite). -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.