[Zope] Error Value: len() of unsized object at SQL method

Dieter Maurer dieter@handshake.de
Wed, 29 Aug 2001 21:35:37 +0200 (CEST)


Kerekes Lajos writes:
 > I have an SQL select. If it gives no result, I get this error message
 > Error Type: TypeError
 > Error Value: len() of unsized object
 > 
 > How can I manage it?
 >  I tried this:
 > <dtml-in ZSQLSelect>
 > foo, bar.....
 > <dtml-else>
 > no result
 > </dtml-in>
 > 
 > but still get the error.
You got a traceback!

  It helps you to narrow down the location of the problem.

  Look at it and if necessary post it such that we can
  look at it (to help you).



Dieter