_v_cache error with ZedPatterns
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
Chris Withers wrote:
Any ideas?
You should ask on the ZPatterns list! http://www.eby-sarna.com/pipermail/zpatterns/2001-August/000110.html -- Steve Alexander Software Engineer Cat-Box limited
Steve Alexander wrote:
Chris Withers wrote:
Any ideas?
You should ask on the ZPatterns list!
http://www.eby-sarna.com/pipermail/zpatterns/2001-August/000110.html
I did, I've read that already ;-) What I didn't realise, and only twigged from reading the code, is that the version of ZPatterns I'm using _requires_ TransactionAgents to be installed... now that's there, the problem has gone away :-) cheers, Chris
participants (2)
-
Chris Withers -
Steve Alexander