[Zope] Two more questions

Tim Zegir trzegir at ncable.net.au
Wed Dec 3 00:39:07 EST 2003


No probs,
Always glad to help.

From
Tim Zegir

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
Goldthwaite, Joe
Sent: Wednesday, 3 December 2003 4:32 PM
To: zope at zope.org
Subject: RE: [Zope] Two more questions

Ok!  I got it working.  The problem appears was in my script.  The
default
for FY was a number but request.FY was passing in a string.  The code
that
was building my SQL statement was choking on it.  I'm working again.

Here's the line that worked;
<tr tal:repeat="item python:here.GetISLines(FY=request.FY,
Per=request.Per,
OrgType=request.OrgType, OrgNo=request.OrgNo)">


Thanks again for your time Tim and Paul.

-----Original Message-----
From: zope-bounces+joe=goldthwaites.com at zope.org
[mailto:zope-bounces+joe=goldthwaites.com at zope.org]On Behalf Of Paul
Winkler
Sent: Tuesday, December 02, 2003 9:58 PM
To: zope at zope.org
Subject: Re: [Zope] Two more questions


On Tue, Dec 02, 2003 at 09:02:19PM -0700, Goldthwaite, Joe wrote:
> Yep I'm sure.  That's the line.  I tried this also;
>
> <tr tal:repeat="item python:here.GetISLines(request.get('FY'),
> request.get('Per'), request.get('OrgType'), request.get('OrgNo'))">
>
> I got the exact same message.  I replaced the null parameter on the
function
> but I still got the same result.  I'll keep trying.

This suggests to me that the error is in your GetISLines
code somewhere. We can't tell where unless you post a complete
traceback.

--

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's TOFU GIRL!
(random hero from isometric.spaceninja.com)

_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )






More information about the Zope mailing list