[Zope] passing positional paramaters

Dieter Maurer dieter at handshake.de
Wed Mar 16 14:58:14 EST 2005


Ivan Stout wrote at 2005-3-15 13:14 +0900:
>Dieter, here is the traceback, please help me interpret it.
> ...
>  Module Products.ZGadflyDA.db, line 108, in query
>  Module Products.ZGadflyDA.gadfly.gadfly, line 349, in execute
>  Module Products.ZGadflyDA.gadfly.sqlsem, line 2641, in relbind
>  Module Products.ZGadflyDA.gadfly.sqlsem, line 1359, in relbind
>  Module Products.ZGadflyDA.gadfly.sqlsem, line 398, in relbind
>NameError: 'DOCLANG': ambiguous or unknown attribute"

You pass in a query to "gadfly" referencing "DOCLANG"
and the corresponding table either does not have a field
of that name or (less likely) has several after case normalization.

The code near line 398 of "Products/ZGadflyDA.gadfly.sqlsem"
will tell you more about how the check is made.


-- 
Dieter


More information about the Zope mailing list