On Aug 29, 9:21 pm, Chris McDonough <[email protected]> wrote:
>
> >https://docs.pylonsproject.org/projects/pyramid/1.2/narr/environment....
>
> > I can't see much wrong with your route/view pair, so you might try
> > running in that debug mode.  There are other various debug switches
> > documented there too.
>
> Disregard the above link for Pyramid 1.1, it's only valuable for Pyramid
> 1.2.  Here's the right one:
>
> https://docs.pylonsproject.org/projects/pyramid/1.1/narr/environment....

Thanks for that. I turned debug_notfound and debug_routematch on, but
the information is sadly still very sparse.

    debug_notfound of url http://gamelibs.ebonyfortress.com/all_libs;
path_info: '/all_libs', context: <myapp.resources.Root object at
0xa90278c>, view_name: u'all_libs', subpath: (), traversed: (), root:
<myapp.resources.Root object at 0xa90278c>, vroot:
<myapp.resources.Root object at 0xa90278c>, vroot_path: ()

I now know that "no route matched" but no more than that.
(Incidentally, I'm also surprised that there doesn't seem to be a
simple 'log HTTP requests' option, but that's not a problem for me,
yet.)

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?

--
Ben Sizer


-- 
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