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

Dieter Maurer dieter at handshake.de
Mon Apr 26 13:50:07 EDT 2004

hawelek_tlen wrote at 2004-4-26 10:19 +0200:
>> Can you tell us, what is line 1 of your
>> PythonScript "/MySql Example/testSql".
>> It seems to cause a wrong "fromlist".
>I only try to import library:
>from Products.ZSQLMethods.SQL import SQL


  You should not be able to import from "Products.ZSQLMethods.SQL"
  in "Script (Python)" (aka "PythonScripts")
  unless you explicitly allowed the import.

Maybe, you get this strange error as an indication for
this (this, of course, would be a bug. Exceptions should
truely indicate the problem).


More information about the Zope-DB mailing list