[ZPatterns] ZPatterns 0.4.3p2 breaks LoginManager; 0.4.3p1 works fine

Itai Tavor [email protected]
Mon, 30 Jul 2001 11:23:43 +1000


--============_-1215666256==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi,

Using ZPatterns 0.4.3p2 and LoginManager 0.8.8b1 in Zope 2.3.2, I get 
a traceback when I try to access anything in a Folder that contains a 
Login Manager object. The same setup works if I downgrade to 
ZPatterns 0.4.3p1. The rest of my application works fine in 0.4.3p2.

Has anybody else seen this? Any workaround?


Error Type: KeyError
Error Value: _v_parent

Traceback (innermost last):
   File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line 223, in 
publish_module
   File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line 187, in publish
   File /opt/zope/2.3.2/lib/python/Zope/__init__.py, line 221, in 
zpublisher_exception_hook
     (Object: Traversable)
   File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line 162, in publish
   File /opt/zope/2.3.2/lib/python/ZPublisher/BaseRequest.py, line 
446, in traverse
   File /home/zope/devel/Products/LoginManager/LoginManager.py, line 
236, in validate
     (Object: ProviderContainer)
   File /home/zope/devel/Products/LoginManager/LoginMethods.py, line 
100, in findLogin
     (Object: PlugInBase)
   File /home/zope/devel/Products/LoginManager/LoginManager.py, line 
193, in getItem
     (Object: ProviderContainer)
   File /home/zope/devel/Products/ZPatterns/Rack.py, line 59, in getItem
     (Object: ProviderContainer)
   File /home/zope/devel/Products/ZPatterns/Rack.py, line 96, in retrieveItem
     (Object: ProviderContainer)
   File /home/zope/devel/Products/ZPatterns/Rack.py, line 235, in _RawItem
     (Object: ProviderContainer)
   File /opt/zope/2.3.2/lib/python/OFS/CopySupport.py, line 480, in _setId
     (Object: BetterLocalRolesMixin)
   File /home/zope/devel/Products/ZPatterns/DataSkins.py, line 254, in 
__set_attr__
     (Object: BetterLocalRolesMixin)
   File /home/zope/devel/Products/ZPatterns/DataSkins.py, line 240, in 
_canonicalForm
     (Object: BetterLocalRolesMixin)
KeyError: (see above)


-- 
--
Itai Tavor                      -- "Je sautille, donc je suis."    --
[email protected]            --               - Kermit the Frog --
--                                                                 --
-- "If you haven't got your health, you haven't got anything"      --

--============_-1215666256==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>ZPatterns 0.4.3p2 breaks LoginManager; 0.4.3p1
works f</title></head><body>
<div>Hi,</div>
<div><br></div>
<div>Using ZPatterns 0.4.3p2 and LoginManager 0.8.8b1 in Zope 2.3.2, I
get a traceback when I try to access anything in a Folder that
contains a Login Manager object. The same setup works if I downgrade
to ZPatterns 0.4.3p1. The rest of my application works fine in
0.4.3p2.</div>
<div><br></div>
<div>Has anybody else seen this? Any workaround?</div>
<div><br></div>
<div><font color="#000000">&nbsp;</font></div>
<div><font color="#000000">Error Type: KeyError</font></div>
<div><font color="#000000">Error Value: _v_parent</font></div>
<div><font color="#000000"><br>
Traceback (innermost last):<br>
&nbsp; File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line
223, in publish_module<br>
&nbsp; File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line
187, in publish<br>
&nbsp; File /opt/zope/2.3.2/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook<br>
&nbsp;&nbsp;&nbsp; (Object: Traversable)<br>
&nbsp; File /opt/zope/2.3.2/lib/python/ZPublisher/Publish.py, line
162, in publish<br>
&nbsp; File /opt/zope/2.3.2/lib/python/ZPublisher/BaseRequest.py, line
446, in traverse<br>
&nbsp; File /home/zope/devel/Products/LoginManager/LoginManager.py,
line 236, in validate<br>
&nbsp;&nbsp;&nbsp; (Object: ProviderContainer)<br>
&nbsp; File /home/zope/devel/Products/LoginManager/LoginMethods.py,
line 100, in findLogin<br>
&nbsp;&nbsp;&nbsp; (Object: PlugInBase)<br>
&nbsp; File /home/zope/devel/Products/LoginManager/LoginManager.py,
line 193, in getItem<br>
&nbsp;&nbsp;&nbsp; (Object: ProviderContainer)<br>
&nbsp; File /home/zope/devel/Products/ZPatterns/Rack.py, line 59, in
getItem<br>
&nbsp;&nbsp;&nbsp; (Object: ProviderContainer)<br>
&nbsp; File /home/zope/devel/Products/ZPatterns/Rack.py, line 96, in
retrieveItem<br>
&nbsp;&nbsp;&nbsp; (Object: ProviderContainer)<br>
&nbsp; File /home/zope/devel/Products/ZPatterns/Rack.py, line 235, in
_RawItem<br>
&nbsp;&nbsp;&nbsp; (Object: ProviderContainer)<br>
&nbsp; File /opt/zope/2.3.2/lib/python/OFS/CopySupport.py, line 480,
in _setId<br>
&nbsp;&nbsp;&nbsp; (Object: BetterLocalRolesMixin)<br>
&nbsp; File /home/zope/devel/Products/ZPatterns/DataSkins.py, line
254, in __set_attr__<br>
&nbsp;&nbsp;&nbsp; (Object: BetterLocalRolesMixin)<br>
&nbsp; File /home/zope/devel/Products/ZPatterns/DataSkins.py, line
240, in _canonicalForm<br>
&nbsp;&nbsp;&nbsp; (Object: BetterLocalRolesMixin)<br>
KeyError: (see above)</font><br>
<font color="#000000"></font></div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>--<br>
Itai
Tavor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-- &quot;Je sautille, donc je suis.&quot;&nbsp;&nbsp;&nbsp; --<br>
[email protected]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;
--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp; - Kermit the Frog --<br>
--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --<br>
-- &quot;If you haven't got your health, you haven't got
anything&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --<br>
</div>
</body>
</html>
--============_-1215666256==_ma============--