On Fri, Sep 20, 2013 at 10:57:00AM +0100, Gordon Sim wrote:
> On 09/19/2013 06:26 PM, Darryl L. Pierce wrote:
> >When running the server app, it blew up on the msg.properties.get saying
> >NoneType had no attribute named get.
> 
> I suspect that must have been caused by something else as I don't
> see how this line could possibly fix that.
> 
> The MessageProperties instance is created in response to the first
> attempt to access a Message instance's 'properties' property. The
> Message instance create a MessageProperties object and assigns it to
> it's _msg_props member (i.e caching it for future accesses).
> 
> Can you retry the server example without that line? It seems to work
> fine for me.

With the line commented out and the whole rebuilt, it works now without
the line. Very strange, as I tested it previously in both iPython as
well as running the example app.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpQk8n5fsWgp.pgp
Description: PGP signature

Reply via email to