No app level code is executed before a call to controllers.

I suggest

   cd applications
   mkdir sahanatest
   cp -r sahana/* sahanatest
   rm -r sahanatest/models
   echo 'def index(): return dict()' > sahanatest/controllers/test.py
   wget http://.../sahanatest/test/index

Do you get the error?

On Jan 19, 8:35 am, Fran <[email protected]> wrote:
> On Jan 19, 1:11 pm, mdipierro <[email protected]> wrote:
>
> > I do not know. One of the models(or modules imported by the models) is
> > doing something is should not do, for example:
> > 1) redefined open
> > 2) call chdir
> > 3) alter sys.path
> > 4) call a not-thread safe module
>
> All seem like valid ideas, however the problem happens even when there
> are no models!
>
> What happens before/after model execution but which is within
> application?
> - happens with all controllers...invalid controller names still give
> 'invalid request' so web2py can see that the controller file exists...
>
> F
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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