On Mon, 2011-08-29 at 14:01 -0700, Ben Sizer wrote:

> I have found what is probably the cause of the problem though - it's
> not executing myapp/_init__.py at all, so my view code is never being
> run. The top of development.ini says this, which looks right:
> 
>     [app:myapp]
>     use = egg:myapp
> 
> So what could be going wrong? Is paster picking up a phantom install
> from somewhere else?

Maybe.  Hard to know really.  If you do:

$ $yourvirtualenv/bin/python
>>> import myapp
>>> myapp.__file__

Is the path to myapp what you expect it to be?  If not, run
"$yourvirtualenv/bin/python setup.py develop" again and see if that
fixes it.

- C


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to