Voltron, I do that all the time so something else is wrong. Can you
email be the relevant parts of the app (the imported controller and
the one being imported)?

I do not believe your scaling problem was with the web2py wsgiserver.
If I remember you had more than 100 requests per second on a single
machine. I think the problem was database bottleneck. Are the PHP and
web2py codes equivalent? Can you share any benchmark?

Massimo

On May 15, 2:23 am, Voltron <[email protected]> wrote:
> Hi Massimo!
>
> Yes, the problem still persists, it is not possible to import a
> package or module from a subdirectory in the controller folder, even
> when I placed an "__init__.py file in almost every folder
>
> I still use Web2py for one domain, its just that my boss was not too
> happy with the problems we had deploying the web2py applications
> (CherryPY server not scaling, FCGI). We are using a PHP framework for
> those domains( 3) instead
>
> On May 15, 8:11 am, mdipierro <[email protected]> wrote:
>
> > Hi voltron. was this resolved?
>
> > Glad to have you back from php. ;-)
>
> > On May 14, 7:38 pm, Mark Larsen <[email protected]> wrote:
>
> > > > /controlllers
> > > >              /forms/__init__
> > > >              /forms/ reg_form.py
>
> > > You are missing .py on the __init__, was that a typo?
>
> > > > import forms.reg_form ### ERROR
>
> > > Since web2py runs out of it's root maybe (this as worked for me with
> > > things out of my modules directory):
>
> > > import applications.appName.controllers.forms.reg_form
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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