<HTML><BODY>
<div>Hi;</div>
<div>I've written this PT:</div>
<div> </div>
<div><span tal:define="batch here/quotes/objectValues; num python:len(batch)"><br>
<p tal:replace="python:here.randomNumber(num)" /><br>
</span><br>
</div>
<div>...which calls this external method:</div>
<div> </div>
<div>import random</div>
<div>def randomNumber(num):<br>
return random.random(num)</div>
<div> </div>
<div>...and throws this error:</div>
<div> </div>
<div>Error Type: AttributeError<br>
Error Value: 'int' object has no attribute 'objectValues'<SPAN contentEditable=false style="DISPLAY: inline-block"></SPAN></div>
<div> </div>
<div>Why?</div>
<div>TIA,</div>
<div>Tony</div>
<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone. Find out more about what's free from AOL at <a href="http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redir=http://www.aol.com" target="_blank"><b>AOL.com</b></a>.<br />
</div>
</BODY></HTML>