[SOLVED]

Hmm, looks like an incorrectly defined static view was intercepting all
URLs...

Sorry for the trouble, but I had been stumbling on this problem on and
off for quite some time. Maybe just writing the email did the trick?

Laurent.



Le 14/01/2015 19:50, Laurent DAVERIO a écrit :
> Hello list,
> 
> I'm stumbling on a routes problem, and I'm not sure how to characterize it.
> 
> I have a Pyramid application built as a stack of 3 layers.
> 
> - foo     : basic application template, defining routes, views, etc.
> - foo.bar : additional configurations, extending foo (config.include, as
> per the doc)
> - myApp   : my application, extending foo.bar
> 
> Now, I'm not sure what's happening because 'proutes' sees all the routes
> correctly, but none of them is found when I run the app with 'pserve'.
> All URLs are mapped to a '__/' route, and the browser displays a '404
> Not found" error...
> 
>> 2015-01-14 19:46:49,378 DEBUG [ntiq][Dummy-2] route matched for url 
>> http://neo:6555/; route_name: '__/', path_info: u'/', pattern: '/*subpath', 
>> matchdict: {'subpath': ()}, predicates: ''
> 
> I suspect this has to do with my stack of apps, but beyond that, I have
> no idea. Has anyone come across that problem?
> 
> Thanks,
> 
> Laurent.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to