[Zope-dev] _v_cache error with ZedPatterns

Chris Withers chrisw@nipltd.com
Fri, 10 Aug 2001 15:58:14 +0100


Hi,

I keep getting the following errors from ZPatterns:

Error Type: AttributeError
Error Value: _v_cache

Traceback (innermost last):
    (Object: LockableItem)
  File /usr/local/zope/2.4.0_base/lib/python/ZPublisher/Publish.py, line 162, in
publish
  File /usr/local/zope/2.4.0_base/lib/python/ZPublisher/BaseRequest.py, line
447, in traverse
  File Products/LoginManager/LoginManager.py, line 252, in validate
    (Object: ProviderContainer)
  File Products/LoginManager/LoginMethods.py, line 105, in findLogin
    (Object: PlugInBase)
  File Products/LoginManager/LoginManager.py, line 209, in getItem
    (Object: ProviderContainer)
  File Products/ZPatterns/Rack.py, line 56, in getItem
    (Object: ProviderContainer)
  File Products/ZPatterns/Rack.py, line 259, in _fromCache
    (Object: ProviderContainer)
AttributeError: (see above)

This is:
Zope 2.4.0
ZedPatterns-0-4-3p2-transactionagents
LoginManager-0-8-8b1 (Steve A's special hacked version)

Any ideas?

I don't really understand, 'cos _v_cache is a computed _class_ attribute:

    _v_cache = ComputedAttribute(_v_cache)

I wonder if this line could have an effect:

    __per_transaction_cache_attrs__ = ('_v_cache',)

Any help would be very much appreciated...

cheers,

Chris