[Zope] Error Value: not all arguments converted

Nick Arnett narnett at senti-metrics.com
Tue Sep 9 19:40:47 EDT 2003


Alexander Alvarado wrote:

> 
> I'm traying to convert variables that I recieve from a JavaScript tu ISO 
> date format using:
> 
>   <dtml-var Arrival fmt=ISO>
>   <dtml-var Departure fmt=ISO>
> 
> This Dates will be then used to send an SQL request to a database so I use:
> 
> <dtml-in expr="Disponibilidad_cal (fechain=Arrival, fechaout=Departure)">
> 
> And allways shows same error:
> 
> Zope has encountered an error while publishing this resource.
> 
> Error Type: TypeError
> Error Value: not all arguments converted
> 
> -------------------------------------------------------------------------------- 
> 
> 
> Troubleshooting Suggestions
> 
> The URL may be incorrect.
> The parameters passed to this resource may be incorrect.
> A resource that this resource relies on may be encountering an error.
> For more detailed information about the error, please refer to the HTML 
> source for this page.
> 
> If the error persists please contact the site maintainer. Thank you for 
> your patience.
> 
> 
> I have no idea of what am I doing wrong, can anybody help me?

Generically, that error message means that you're passing the database 
more variables than it expects.  So... are you sure that your query is 
expecting both of those?

-- 
Nick Arnett
Phone/fax: (408) 904-7198
narnett at senti-metrics.com




More information about the Zope mailing list