<!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> </DIV>
<DIV><FONT face=Arial size=2>I had similiar problem with a custom Product
extending Folder. Noticed when I commented the following lines of code,
the error went away:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
#security.setDefaultAccess("deny")<BR> #__roles__ =
()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </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>><I> Tony McDonald wrote at 2004-2-5 12:43
+0000:<BR></I>>><I> ...<BR></I>>><I> We have an index_html
(initially DTML document, then tried method) <BR></I>>><I>
that<BR></I>>><I> can be created (located at
/prototype/myporfolio/index_html), have <BR></I>>><I>
it's<BR></I>>><I> security settings changed quite happily. Then when the
object is <BR></I>>><I> called<BR></I>>><I> we get the error in the
subject line. The system specs are;<BR></I>>><I> ...<BR></I>>><I>
and the traceback is;<BR></I>>><I><BR></I>>><I> Traceback (innermost
last):<BR></I>>><I> ...<BR></I>>><I> Module
Shared.DC.Scripts.Bindings, line 320, in<BR></I>>><I>
__render_with_namespace__<BR></I>>><I> Module
Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec<BR></I>>><I> Module App.special_dtml, line 175,
in _exec<BR></I>>><I> Module DocumentTemplate.DT_Util, line
201, in eval<BR></I>>><I> - __traceback_info__:
RESPONSE<BR></I>>><I> Module <string>, line 0, in
?<BR></I>>><I> AttributeError: 'NoneType' object has no attribute
'setHeader'<BR></I>><I><BR></I>><I> Looks like "RESPONSE" is
"None".<BR></I>><I><BR></I>><I> I do not see how this can
happen...<BR></I>><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>><I> Probably, I would start
debugging.<BR></I>><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>><I> -- <BR></I>><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>