[Dev] getting an assertion trying to create item

bear bear at code-bear.com
Thu Mar 4 00:50:47 PST 2004


It's probably my addled brain but here goes:

In this snippet of python code I get an assertion error:  assert 
cls.mailMessageKindID, "Mail message not yet loaded"

from OSAF.contentmodel.mail.Mail import MailMessage

msg = MailMessage()

now there is a bunch of stuff around this but I know it's probably 
something really silly

thanks,
bear




More information about the Dev mailing list