On Jan 23, 1:21 pm, Alessandro Molina <[email protected]> wrote: > On Mon, Jan 23, 2012 at 1:35 PM, Kalium <[email protected]> wrote: > > > My setup_app method is in websetup.bootstrap though, not __init__. > > Indeed moving it to __init__ does pick it up. So have i missed a step, > > why is it bootstrap.py and not __init__? >
I meant to say that the bootstrap (not setup_app) method was in websetup.bootstrap, which of course it should be. Although my __init__.py simply did not exist, nor did any other files in the websetup package other than bootstrap.py. So there was nothing to call bootstrap.bootstrap() I'd be interested to know if the others with this problem also had a mostly bare websetup package (I suspect they did), and how it got there. Anyway, since starting from scratch and following http://turbogears.org/2.1/docs/main/DownloadInstall.html it has worked fine. Thanks for the guidance. > Are you sure no one moved it? > > As you can see from here: > > http://sourceforge.net/p/turbogears2/tg2devtools/ci/077edd8cbdd3fd42a... > > TurboGears creates setup_app inside __init__.py, so by default it > should correctly work. -- You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en.

