<!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: "Paul Winkler" <pw_lists@slinkp.com>
To: <zope@zope.org>
Sent: Thursday, November 20, 2003 3:50 PM
Subject: Re: [Zope] some Zope issues: dtml-zpt, permissions, scalability
>
> That seems unlikely. Can you post your ZPT version, and the actual error
it
> gives you?
></I></FONT></PRE>
</BLOCKQUOTE>
<PRE>
Here is what I and what I receive as error:
<form action="." method="post">
<table border=0 cellpadding=2 cellspacing=0 width="100%">
<tr>
<td colspan=5>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="right">
<input type="submit" name="index_html:method" value="View">
        
        <select size=1 name="SelectedGroup">
                <option value="All">All Groups</option>
                <span tal:repeat="group <B>python:here.listGroups</B>">
                        <option value="group" tal:attributes="value group">
                                <span tal:condition="JobTracker/SelectedGroup">
                                        <span tal:condition="repeat/group/index==here/SelectedGroup">selected</span>
                                </span>
                                <span tal:replace="group">group</span>
                        </option>
                </span>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<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><PageTemplateFile at /jobber/></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: <PythonExpr here.listGroups><BR>
Names:</B>
<PRE>{'container': <JobTracker at /jobber>,
'default': <Products.PageTemplates.TALES.Default instance at 0x86a0664>,
'here': <JobTracker at /jobber>,
'loop': <SafeMapping instance at 86e4900>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8689cc4>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 86e4900>,
'request': <HTTPRequest, URL=http://localhost:8080/jobber/index_html>,
'root': <Application instance at 8aa1c18>,
'template': <PageTemplateFile at /jobber/>,
'traverse_subpath': [],
'user': meyer}</PRE>
<LI>Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__<BR>
__traceback_info__: here.listGroups
<LI>Module Python expression "here.listGroups", 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>