[Stackless] Stackless Error

Christian Tismer tismer at stackless.com
Fri Mar 12 22:27:34 CET 2010


On 3/12/10 6:50 PM, Carl, Andrew F (AS) wrote:
>
> Attempting to use the following:
>
> Stackless.tasklet( self.r_run(args) )
>
What is self?
Please add the class definition, or it is hard to guess your error.
>
> I get the following post run error:
>
> "TypeError: tasklet function must be a callable"
>
> It appears to run correctly, except for the above error post exit. 
> Moving the arguments outside such as consistent w/ the PDF (i.e. 
> stackless.tasklet ( self.r_run )(args) ), results in immediate exit 
> without doing anything. Please advise any suggestions.
>

You should use the stackless wiki to learn the stackless basics
before posting questions, sorry.

hint: stackless.run() is your friend.

cheers - chris

-- 
Christian Tismer             :^)<mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key ->  http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20100312/f2a45ad5/attachment.htm>


More information about the Stackless mailing list