Here's where it broke (most of this code is copied verbatim from the
tutorial , BTW):
def dispatch_request( self, request ) :
adapter = self._map.bind_to_environ( request.environ )
print >> sys.stderr, ">", repr( adapter ), "<"
try :
print >> sys.stderr, "<trying to match>"
endpoint, values = adapter.match()
print >> sys.stderr, ">matched<"
return getattr( self, "on_" + endpoint )( request, **values )
except werkzeug.exceptions.HTTPException, e :
return e
The log:
[Mon Aug 20 15:46:33 2012] [error]
[Mon Aug 20 15:46:33 2012] [error] > <werkzeug.routing.MapAdapter object at
0x7effa83db050> <
[Mon Aug 20 15:46:33 2012] [error] <trying to match>
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pocoo-libs/-/KGgExmQQw2oJ.
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/pocoo-libs?hl=en.