On 8/27/07, Ian Bicking <[EMAIL PROTECTED]> wrote: > > > Pekka Jääskeläinen wrote: > > I don't know what I did differently, but this time the server didn't > > exit, but I got this: > > Ah... it looks it's because Pylons introspects the signature to figure > out what parameters to pass, and the signature of the decorated function > is *args, **kw. But then it passes all those arguments to the enclosed > function, and that breaks it.
That fixed it. Thanks. Too bad the profile didn't help in my optimization case: it says rendering the page takes about 0.4 secs wall clock time total, but from the browser it feels like several seconds. Probably the .js files are not cached correctly or something. Should I add a ticket for a wish not needing to add the **kw to the action method or create a "receipe" to the wiki (if this cannot be fixed easily)? Is this supported at all: > > Anyways, do you know how to enable the profiling middleware for all > > controllers (in the config file)? > -- --PJ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
