[ZPatterns] Re: [Zope-Coders] DynPersist doesn't like Python2.2.x + Zope Trunk

Steve Alexander steve@cat-box.net
Wed, 16 Oct 2002 17:52:00 +0000


Steve Alexander wrote:
> Hi folks,
> 
> I just tried upgrading a Zope server to the current Zope Trunk along 
> with Python 2.2.2. The Zope server was already working just fine with 
> Zope 2.5.something and Python 2.2.1.
> 
> Everything works fine except for classes derived from DataSkin in the 
> ZPatterns product. Whenever such an object is accessed, Zope dies, 
> attempts to restart itself, but can't as some stuck process still holds 
> the database file open.

This was a bug introduced in the Zope 2.6 betas, which is now fixed in 
the Zope trunk, and will be fixed for Zope 2.6 final.

Thanks due to Jeremy for locating the bug and applying the fix.

Don't use the current 2.6 beta release for ZPatterns applications. The 
2.6 final release should work fine, but you will need to recompile 
DynPersist.so.

Perhaps someone with Windows tools can contribute a DynPersist.dll/pyd 
for use with Zope 2.6?

--
Steve Alexander