[storm] Weird 'pickle' related error when adding many objects

Thomas Hervé thomas at canonical.com
Mon Nov 24 09:52:59 GMT 2008


Le lundi 24 novembre 2008 à 11:32 +1100, Justin Warren a écrit :
> Hi folks,
> 
> I've hit a weird problem that is beyond me at the moment. Hopefully
> someone else can shed some light on the situation.
> 
> I create a bunch of objects, and attempt to add them all to the
> database. If I only add about 100 objects, everything works fine. If I
> attempt to add 150, I get a bunch of these errors:
> 
> Exception exceptions.AttributeError: AttributeError("'NoneType' object
> has no attribute 'dumps'",) in <bound method
> ObjectInfo._emit_object_deleted of {'store': <storm.store.Store object
> at 0x139cc90>, 'primary_vars': (<storm.variables.IntVariable object at
> 0x1535910>, <storm.variables.DateTimeVariable object at 0x13bcc68>)}

Can you reduce this problem to a small script that we can try? Thanks.

Python version, dbapi wrapper version, and OS might help too.

-- 
Thomas




More information about the storm mailing list