I see. than there are two issues: 1) do not put test.py in the controllers folder else it is exposed put it in application/modules/ 2) it is not finding gluon. At the top of the file do:
import sys; sys.path.append('/path/to/web2py') On Saturday, 22 March 2014 12:23:51 UTC-5, 黄祥 wrote: > > i'm sorry forgot to tell that i'm using web2py source (latest version) > with python 2.7.6 installed on windows 7 home premium 64 bit. > > the step i took for that are : > - run web2py.py > - create new application name test > - create test.py in controllers folder with the content i copas (copy > paste) from web2py.com/book > - run from cmd and then got the error > > please correct me if i'm doing wrong in the step above? > and how to run web2py functional test? > > thanks and best regards, > stifan > -- 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.