[ZODB-Dev] Re: Ape storage problem

Michael Haubenwallner michael at d2m.at
Wed Jun 30 16:03:50 EDT 2004


Shane Hathaway wrote:

> On Tuesday 29 June 2004 19:07 pm, Michael Haubenwallner wrote:
> 
>>i use Ape 0.8 with Zope2.7 and PostgreSQL 7.3
>>
>>over time, when objects inside portal_skins (CMF1.4.2) are created or
>>modified, other objects within portal_skins disappear atr random and are
>>lost or objects show up in a prior saved version. this happened on a
>>standalone Zope instance, but also with a Zeo client.
>>
>>i found that poral_skins is serialized as a single object into the
>>database - but i have no idea, what made the data-loss happen and how to
>>resolve this problem.
> 
> 
> Hmm.  Skins play tricks with the database.  As a result, Ape probably misses 
> some objects that it ought to serialize.  I'll think about it.
> 

After some more research i found a simpler explanation: records are 
created but sometimes not stored in postgres database - when zodb 
refreshes, the objects held in ram are gone (so this is not a problem of 
storing portal_skins).

problem is, that there is no error reported when objects are created but 
storage to the postgres db 'fails'.

how could i enable error reporting in this situation?

-- 
michael
http://planetzope.org



More information about the ZODB-Dev mailing list