[Zope-DB] Error Value: 'in' or 'not in' needs sequence
dieter at handshake.de
Sun Apr 25 17:41:10 EDT 2004
hawelek_tlen wrote at 2004-4-24 15:03 +0200:
> Module Script (Python), line 1, in testSql
> - <PythonScript at /MySql Example/testSql>
> - Line 1
> Module AccessControl.ZopeGuards, line 144, in guarded_import
>TypeError: 'in' or 'not in' needs sequence right argument
Apparently, your (Zope) code is a bit different from mine.
I expect the problem comes from
"for name in fromlist"
(which is line 142 in my code).
This would suggest that "fromlist" has the wrong type.
Can you tell us, what is line 1 of your
PythonScript "/MySql Example/testSql".
It seems to cause a wrong "fromlist".
More information about the Zope-DB