<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/12/10 6:50 PM, Carl, Andrew F (AS) wrote:
<blockquote
cite="mid:CE1C9C26CC18FD4E804F232CEC1F845103B10BBF@XMBTX132.northgrum.com"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator"
content="MS Exchange Server version 6.5.7654.12">
<title>Stackless Error</title>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="en-us"><font face="Calibri">Attempting to
use the following:</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">Stackless.tasklet(
self.r_run(args) )</font></span></p>
<p dir="LTR"><span lang="en-us"></span></p>
</blockquote>
<tt>What is self?<br>
Please add the class definition, or it is hard to guess your error.<br>
</tt>
<blockquote
cite="mid:CE1C9C26CC18FD4E804F232CEC1F845103B10BBF@XMBTX132.northgrum.com"
type="cite">
<p dir="LTR"><span lang="en-us"><font face="Calibri">I get the
following post run error:</font></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">“</font></span><span
lang="en-us"><font face="Calibri">TypeError: tasklet function must be
a callable</font></span><span lang="en-us"><font face="Calibri">”</font></span><span
lang="en-us"></span></p>
<p dir="LTR"><span lang="en-us"><font face="Calibri">It appears to
run correctly, except for the above error post exit. Moving</font></span><span
lang="en-us"><font face="Calibri"> the arguments outside such as
consistent w/ the PDF (i.e. stackless.tasklet ( self.r_run )(args) ),</font></span><span
lang="en-us"> <font face="Calibri">results in immediate exit without
doing anything. Please advise any suggestions.</font></span></p>
</blockquote>
<tt><br>
You should use the stackless wiki to learn the stackless basics<br>
before posting questions, sorry.<br>
<br>
hint: stackless.run() is your friend.<br>
<br>
cheers - chris<br>
</tt>
<pre class="moz-signature" cols="72">--
Christian Tismer :^) <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A : *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14109 Berlin : PGP key -> <a class="moz-txt-link-freetext" href="http://wwwkeys.pgp.net/">http://wwwkeys.pgp.net/</a>
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? <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
</body>
</html>