midnite coding got me...
I suppose the straight forward answer is: don't make it a controller
function...

On Aug 27, 12:51 am, waugust <[email protected]> wrote:
> Greetings,
>
> Hoping someone will be able to shed some light here.
> I'm building an application that requires to have something akin to
> stored procedure calls on controller actions.  Its to customize a
> chain of actions in a sequence under determined variables....or
> something like that (its late).
> At any rate, my thought was to pickle a call to a controler with
> app.get(url('path')) though I'm getting "Can't pickle <type
> 'function'>: attribute lookup __builtin__.function failed"
>
> So I saw this:http://code.google.com/p/modwsgi/wiki/IssuesWithPickleModule
>
> So, that's no a viable means to my end, I suppose?
>
> Basically what I wanted to do is have a "Action" model with a action
> attribute to store a call to a controllers action in order to execute
> on demand during a procedure later (and in steps), if that makes more
> sense?
>
> I guess I can't pickle controller actions? Is there a better pattern
> for something like this?

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