[Zope] ZPT + python script problem

David Elfstrom elfstrom@sten.sunnybrook.utoronto.ca
Tue, 13 Aug 2002 14:44:22 -0400


--=======7A3C217E=======
Content-Type: text/plain; x-avg-checked=avg-ok-FA31CFC; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit

At 12:02 AM 8/14/2002 +0530, Chetan Kumar wrote:

>This fellow (copied straight from Zope Book) does not work !!!!!
>
>------------------------------------------------------
><span tal:define="Times here/GetProjectsPython"
>      tal:replace="string:${Times/Hours} is ${Times/Mins}">
></span> Time in hours and minutes
>------------------------------------------------------
>
>The python script GetProjectsPython returns a dictionary with
>Hours and Mins as keys and their values.
>Here is last part of the error message.

Where in the Zope Book does this come from?

Do you have a Python script called GetProjectsPython in the same folder as 
your page template?

David

---
  David Elfstrom, P.Eng   elfstrom@sten.sunnybrook.utoronto.ca
  Systems Engineer, Research Computing
  Sunnybrook & Women's College Health Sciences Centre
  Rm#S6-20, 2075 Bayview Avenue, Toronto, Canada  M4N 3M5
  phone: 416-480-6100 x3416    fax: 416-480-5714

--=======7A3C217E=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-FA31CFC
Content-Disposition: inline


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002

--=======7A3C217E=======--