[Zope-dev] 'None' object has no attribute 'load'

Chris McDonough chrism@digicool.com
Fri, 18 May 2001 07:17:25 -0400


python
import Zope
app = Zope.app()
ob = app._p_jar['\000\000\000\000\000(\347\026']
print ob.id
print ob.__class__
... etc.


Chris Withers wrote:
> 
> Hi,
> 
> Another data point on these errors.
> 
> ------
> 2001-05-18T11:01:44 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\00
> 0(\347\026'
> Traceback (innermost last):
>   File E:\Zope\2379B4~1.2\lib\python\ZODB\Connection.py, line 508, in setstate
> AttributeError: 'None' object has no attribute 'load'
> 
> I get the quite often when playing with Squishdot.
> I don't remember getting them ages ago, but I have no idea what could be causing
> it.
> 
> How would I go about finding the id/path of the objects the ZODB couldn't load
> state for?
> I suspect this may not have a nice answer...
> 
> cheers,
> 
> Chris
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )