[ZPatterns] Re: ZPatterns DATA LOSS BUG and FIX (0.4.3p1
patch release)
Phillip J. Eby
[email protected]
Tue, 26 Jun 2001 13:00:35 -0500
Ah well, that's why it's "experimental" 2.4 support. :) I've checked in a
more permanent fix for that, and you can get it from CVS if you like. I'm
not going to make any more 0.4.3 releases for a while if I can help it. :)
At 06:38 PM 6/26/01 +0200, Juan David Ibáñez Palomar wrote:
>
>It still fails in Zope 2.4b1, with the following message:
>
>Traceback (innermost last):
> File /home/jdavid/Zope-2.4.0b1/lib/python/OFS/Application.py, line 552,
in import_product
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/LoginManager/__init__.py,
line 1, in ?
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/LoginManager/LoginManager.py,
line 8, in ?
> (Object: MakePICBase)
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/ZPatterns/__init__.py, line
1, in ?
> File /home/jdavid/Zope-2.4.0b1/lib/python/Products/ZPatterns/Rack.py,
line 1, in ?
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/ZPatterns/DataManagers.py,
line 6, in ?
> (Object: ComputedAttribute)
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/ZPatterns/AttributeProviders.p
y, line 8, in ?
> (Object: ComputedAttribute)
> File
/home/jdavid/Zope-2.4.0b1/lib/python/Products/ZPatterns/Expressions.py,
line 139, in ?
> (Object: ComputedAttribute)
>NameError: name 'expr_globals' is not defined
>
>
>It tries to delete expr_globals but it doesn't exists, a fix could
>be to write "expr_globals = None" instead of "pass" at line 79 of
>Expressions.py