7 messages in com.googlegroups.pylons-discussRe: problem with formbuild| From | Sent On | Attachments |
|---|---|---|
| Anil | 27 Oct 2006 09:16 | |
| James Gardner | 27 Oct 2006 09:54 | |
| Anil | 27 Oct 2006 11:29 | |
| ToddG | 27 Oct 2006 11:36 | |
| James Gardner | 27 Oct 2006 11:39 | |
| Shannon -jj Behrens | 27 Oct 2006 11:50 | |
| Anil | 27 Oct 2006 11:54 |
| Subject: | Re: problem with formbuild![]() |
|---|---|
| From: | Shannon -jj Behrens (jjin...@public.gmane.org) |
| Date: | 10/27/2006 11:50:17 AM |
| List: | com.googlegroups.pylons-discuss |
On 10/27/06, ToddG <tdgr...@public.gmane.org> wrote:
You mentioned "not executed", but not what happens -- nothing (server hangs)? 500 server error?
I assume you did this but maybe just changing that print statement to
return Response("passed validation")
or whatever? I'm not sure without looking what STDOUT is set to, and where plain old 'print' statements go when called in a controller.
There was also a thread in the past few days about debugging and showing how to insert a breakpoint using pdb that might help (also in docs somewhat).
Use this right at the right spot. You can interact with the debugger in your shell.
import pdb pdb.set_trace()
Best Regards, -jj
-- The one who gets the last laugh isn't the one who did the laughing, but rather the one who did the writing.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to
pylons-discuss-/JYPx...@public.gmane.org
To unsubscribe from this group, send email to
pylons-discuss-unsubscribe-/JYPx...@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---




