<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Did this ever get resolved?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I had similiar problem with a custom Product 
extending Folder.&nbsp; Noticed when I commented the following lines of code, 
the error went away:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
#security.setDefaultAccess("deny")<BR>&nbsp;&nbsp;&nbsp; #__roles__ = 
()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>------------------------------------------------------</FONT></DIV>
<DIV>Thanks for the response Dieter,<BR><BR>On 5 Feb 2004, at 18:51, Dieter 
Maurer wrote:<BR><BR>&gt;<I> Tony McDonald wrote at 2004-2-5 12:43 
+0000:<BR></I>&gt;&gt;<I> ...<BR></I>&gt;&gt;<I> We have an index_html 
(initially DTML document, then tried method) <BR></I>&gt;&gt;<I> 
that<BR></I>&gt;&gt;<I> can be created (located at 
/prototype/myporfolio/index_html), have <BR></I>&gt;&gt;<I> 
it's<BR></I>&gt;&gt;<I> security settings changed quite happily. Then when the 
object is <BR></I>&gt;&gt;<I> called<BR></I>&gt;&gt;<I> we get the error in the 
subject line. The system specs are;<BR></I>&gt;&gt;<I> ...<BR></I>&gt;&gt;<I> 
and the traceback is;<BR></I>&gt;&gt;<I><BR></I>&gt;&gt;<I> Traceback (innermost 
last):<BR></I>&gt;&gt;<I> ...<BR></I>&gt;&gt;<I>&nbsp;&nbsp; Module 
Shared.DC.Scripts.Bindings, line 320, in<BR></I>&gt;&gt;<I> 
__render_with_namespace__<BR></I>&gt;&gt;<I>&nbsp;&nbsp; Module 
Shared.DC.Scripts.Bindings, line 343, in 
_bindAndExec<BR></I>&gt;&gt;<I>&nbsp;&nbsp; Module App.special_dtml, line 175, 
in _exec<BR></I>&gt;&gt;<I>&nbsp;&nbsp; Module DocumentTemplate.DT_Util, line 
201, in eval<BR></I>&gt;&gt;<I>&nbsp;&nbsp;&nbsp; - __traceback_info__: 
RESPONSE<BR></I>&gt;&gt;<I>&nbsp;&nbsp; Module &lt;string&gt;, line 0, in 
?<BR></I>&gt;&gt;<I> AttributeError: 'NoneType' object has no attribute 
'setHeader'<BR></I>&gt;<I><BR></I>&gt;<I> Looks like "RESPONSE" is 
"None".<BR></I>&gt;<I><BR></I>&gt;<I> I do not see how this can 
happen...<BR></I>&gt;<I><BR></I><BR>Exactly! - this is why I said I'd never seen 
this before.<BR><BR>It's a 2.6.1 Data.fs that's been dropped into a stock 
2.7.0rc2 release <BR>and I get this error.<BR><BR>I have no idea why this is 
happening, so I was hoping that it was an <BR>artifact of the 2.7.0rc2 release 
itself.<BR><BR>&gt;<I> Probably, I would start 
debugging.<BR></I>&gt;<I><BR></I><BR>Quite likely, but I have *no* idea where to 
start with this. All the <BR>modules mentioned in the trackback are Zope 
supplied ones, not third <BR>party ones, so I'd assumed it might be the core 
software.<BR><BR>&gt;<I> -- <BR></I>&gt;<I> Dieter<BR></I><BR>once again, thanks 
for the reply Dieter.<BR><BR>tone.<BR>-- <BR>Dr Tony McDonald, Asst Director, 
FMSC. 0191 245 4223<BR>Project Manager, FDTL-4 ePortfolios <A 
href="http://www.eportfolios.ac.uk/">http://www.eportfolios.ac.uk/</A><BR></DIV></BODY></HTML>