Hi,

I am trying out T2 but got following errors when tried to run, help
appreciated.

Error traceback

Traceback (most recent call last):

  File "/Users/massimodipierro/web2py/gluon/restricted.py", line 62,
in

restricted

  File "C:/APPS/web2py/applications/fabmonger/controllers/default.py",
line 14,

in <module>

  File "/Users/massimodipierro/web2py/gluon/globals.py", line 55, in
<lambda>

  File "C:/APPS/web2py/applications/fabmonger/controllers/default.py",
line 2,

in create_fabservice

  File "/Users/massimodipierro/web2py/gluon/sql.py", line 339, in
__getattr__

  File "/Users/massimodipierro/web2py/gluon/sql.py", line 337, in
__getitem__

KeyError: 'fabservice'




In file: C:\APPS\web2py\applications\fabmonger/controllers/default.py




def create_fabservice():

    form=t2.create(db.fabservice)

    itemize=t2.itemize(db.fabservice)

    return dict(form=form,itemize=itemize)


def display_fabservice():

    fabservice=t2.display(db.fabservice)

    search=t2.search(db.fabservice)

    return dict(fabservicebservice,search=search)


def download(): return t2.download()



response._vars=response._caller(create_fabservice)


any help appreciated.

regards

Chris Murray

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to