Re: select: 'forgot Session' OR 'cannot concatenate 'str' and 'NoneType' objects'

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.