[ZODB-Dev] URGENT: ZODB down - Important Software Application at CERN

Kazuhiko Shiozaki kazuhiko at nexedi.com
Tue May 26 11:44:07 EDT 2009


Hi,

Pedro Ferreira wrote:
> I've also tried to run the "analyze.py" script, but it returns me a
> stream of '''type' object is unsubscriptable" errors, due to:
> 
> classinfo = pickle.loads(record.data)[0]
> 
> any suggestion?

I personally apply the attached patch to analyze.py, that does not load 
pickled data in get_type() to prevent 'unsubscriptable' errors. It is 
also much faster.

Regards,
-- 
Kazuhiko Shiozaki, Nexedi SA Senior Consultant
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: analyze.py.diff
Url: http://mail.zope.org/pipermail/zodb-dev/attachments/20090526/059ad299/attachment.pl 


More information about the ZODB-Dev mailing list