<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>----- Original Message ----- 
From: &quot;Paul Winkler&quot; &lt;pw_lists@slinkp.com&gt;
To: &lt;zope@zope.org&gt;
Sent: Thursday, November 20, 2003 3:50 PM
Subject: Re: [Zope] some Zope issues: dtml-zpt, permissions, scalability

&gt;
&gt; That seems unlikely. Can you post your ZPT version, and the actual error
it
&gt; gives you?
&gt;</I></FONT></PRE>
</BLOCKQUOTE>
<PRE>
Here is what I and what I receive as error:


&lt;form action=&quot;.&quot; method=&quot;post&quot;&gt;
 &lt;table border=0 cellpadding=2 cellspacing=0 width=&quot;100%&quot;&gt;
&nbsp; &lt;tr&gt;
&nbsp;&nbsp; &lt;td colspan=5&gt;
&nbsp;&nbsp;&nbsp; &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td align=&quot;right&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;submit&quot; name=&quot;index_html:method&quot; value=&quot;View&quot;&gt;
        &nbsp;&nbsp; 
        &lt;select size=1 name=&quot;SelectedGroup&quot;&gt;
                &lt;option value=&quot;All&quot;&gt;All Groups&lt;/option&gt;
                &lt;span tal:repeat=&quot;group <B>python:here.listGroups</B>&quot;&gt;
                        &lt;option value=&quot;group&quot; tal:attributes=&quot;value group&quot;&gt;
                                &lt;span tal:condition=&quot;JobTracker/SelectedGroup&quot;&gt;
                                        &lt;span tal:condition=&quot;repeat/group/index==here/SelectedGroup&quot;&gt;selected&lt;/span&gt;
                                &lt;/span&gt;
                                &lt;span tal:replace=&quot;group&quot;&gt;group&lt;/span&gt;
                        &lt;/option&gt;
                &lt;/span&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/select&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;
&nbsp;&nbsp;&nbsp; &lt;/table&gt;
&nbsp;&nbsp; &lt;/td&gt;
&nbsp; &lt;/tr&gt;

&lt;/table&gt;
&lt;/form&gt;


<HR SIZE="1">

Site Error</PRE>
An error was encountered while publishing this resource. <BR>
<BR>
<B>Unauthorized</B><BR>
<BR>
Sorry, a site error occurred.<BR>
<BR>
Traceback (innermost last):<BR>
<BR>
<UL>
    <LI>Module ZPublisher.Publish, line 150, in publish_module
    <LI>Module ZPublisher.Publish, line 114, in publish
    <LI>Module Zope.App.startup, line 199, in zpublisher_exception_hook
    <LI>Module ZPublisher.Publish, line 98, in publish
    <LI>Module ZPublisher.mapply, line 88, in mapply
    <LI>Module ZPublisher.Publish, line 39, in call_object
    <LI>Module Shared.DC.Scripts.Bindings, line 252, in __call__
    <LI>Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    <LI>Module Products.PageTemplates.PageTemplateFile, line 96, in _exec
    <LI>Module Products.PageTemplates.PageTemplate, line 95, in pt_render<BR>
    <B>&lt;PageTemplateFile at /jobber/&gt;</B>
    <LI>Module TAL.TALInterpreter, line 200, in __call__
    <LI>Module TAL.TALInterpreter, line 244, in interpret
    <LI>Module TAL.TALInterpreter, line 634, in do_loop_tal
    <LI>Module Products.PageTemplates.TALES, line 205, in setRepeat
    <LI>Module Products.PageTemplates.TALES, line 220, in evaluate<BR>
    <B>URL: index_html<BR>
    Line 26, Column 2<BR>
    Expression: &lt;PythonExpr here.listGroups&gt;<BR>
    Names:</B>
<PRE>{'container': &lt;JobTracker at /jobber&gt;,
 'default': &lt;Products.PageTemplates.TALES.Default instance at 0x86a0664&gt;,
 'here': &lt;JobTracker at /jobber&gt;,
 'loop': &lt;SafeMapping instance at 86e4900&gt;,
 'modules': &lt;Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8689cc4&gt;,
 'nothing': None,
 'options': {'args': ()},
 'repeat': &lt;SafeMapping instance at 86e4900&gt;,
 'request': &lt;HTTPRequest, URL=http://localhost:8080/jobber/index_html&gt;,
 'root': &lt;Application instance at 8aa1c18&gt;,
 'template': &lt;PageTemplateFile at /jobber/&gt;,
 'traverse_subpath': [],
 'user': meyer}</PRE>
    <LI>Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__<BR>
    __traceback_info__: here.listGroups
    <LI>Module Python expression &quot;here.listGroups&quot;, line 2, in f
</UL>
Unauthorized: <B>You are not allowed to access listGroups in this context</B> (Also, an error occurred while attempting to render the standard error message.)
<PRE>
<HR>
</PRE>
</BODY>
</HTML>