[Zope-DB] Error Value: 'in' or 'not in' needs sequence right argument

Dieter Maurer dieter at handshake.de
Fri Apr 23 17:11:00 EDT 2004


hawelek_tlen wrote at 2004-4-22 22:48 +0200:
>Hi Charlie,
>
>I know that I should limit dynamic SQL statement,  but I cannot,
>I try to do this your way (PythonScript),I allowed module
>Products.ZSQLMethods.SQL
>to be enabled for use by scripts and then I run script:
>I become this message:
>
>Error Type: TypeError
>Error Value: 'in' or 'not in' needs sequence right argument

Look at the traceback (you find it in the "error_log" object)!
It may tell you where the code comes from that
uses "XXX [not] in YYY" where "YYY" is not a sequence.

-- 
Dieter



More information about the Zope-DB mailing list