[Zope-DB] select: 'forgot Session' OR 'cannot concatenate 'str' and 'NoneType' objects'

Chris Withers chris at simplistix.co.uk
Thu Dec 22 03:38:43 EST 2005


Siegfried Achtermann wrote:
> My Problem seems to be here:
> for i in context.select_rights_from_partner(auth = auth):
> => than comes: 
> Error Value: cannot concatenate 'str' and 'NoneType' objects'
> 
> But, when I try this (in the same line:)
> for i in context.select_rights_from_partner(auth = str(auth)):
> => No Session will set.

Sounds like 'auth' isn't what you expect it to be...

What does the ZSQL method look like?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-DB mailing list