seems that plugin_attachment is using a reserved keyword, which is not a "smart" thing to do.
either you patch the plugin or in your db = DAL() line you remove the "check_reserved=['all']" parameter. On Saturday, April 20, 2013 12:27:16 PM UTC+2, Julian wrote: > > Hi. > Can someone advise me on how to overcome the below error. First timer via > win7 OS. I was trying to use the wizard to form the webpage. Troubling. > > Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > > Traceback (most recent call last): > File "/home/mdipierro/make_web2py/web2py/gluon/restricted.py", line 212, in > restricted > File > *"C:/Users/Downloads/Web2Py/web2py_win/web2py/applications/test/models/plugin_attachments.py"* > > <http://127.0.0.1:8000/admin/default/edit/test/models/plugin_attachments.py>, > line 10, in <module> > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 7723, in > define_table > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 7740, in > lazy_define_table > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 8194, in > __init__ > File "/home/mdipierro/make_web2py/web2py/gluon/dal.py", line 7442, in > check_reserved_keyword > SyntaxError: invalid table/column name "file" is a "ALL" reserved SQL/NOSQL > keyword > > Error snapshot [image: help]* Detailed traceback description > *<http://127.0.0.1:8000/admin/default/ticket/test/127.0.0.1.2013-04-20.17-58-07.c2808b4b-8ed3-4975-a068-5ff05df94e31#> > > > <type 'exceptions.SyntaxError'>(invalid table/column name "file" is a > "ALL" reserved SQL/NOSQL keyword) > > -- --- 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/groups/opt_out.

