[Dev] getting an assertion trying to create item

Katie Capps Parlante capps at osafoundation.org
Thu Mar 4 17:02:10 PST 2004


Hi Bear,

This is probably my fault. ;)

I'm off to a party tonight (whoohoo!), but will take a look at it first 
thing tomorrow.

Cheers,
Katie

bear wrote:

> 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
> 
> 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> 
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev



More information about the Dev mailing list