<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Hi folks,</div>
<div><br>
</div>
<div>I'm in the process of migrating to a new server, and I've bumped into a problem. I'm using macports and virtualenv to get everything to play nicely on my OS X 10.8 server. It's admittedly a atypical configuration... The python version has moved from 2.3.5
 to 2.4.6. The Zope version is the same at 2.8.6.Everything works great, except for ONE folder. It's quite frustrating to not even be able to go to /manage on this folder.</div>
<div><br>
</div>
<div>When I go to any object within this particular folder, I get:</div>
<div><br>
</div>
<div>(thanks in advance for any guidance that you might provide!)</div>
<div>
<h2 style="font-family: Times; ">Site Error</h2>
<p style="font-family: Times; ">An error was encountered while publishing this resource.</p>
<p style="font-family: Times; "><strong>AttributeError</strong></p>
<span style="font-family: Times; ">Sorry, a site error occurred.</span>
<div style="font-family: Times; "><br class="webkit-block-placeholder">
</div>
<p style="font-family: Times; ">Traceback (innermost last):</p>
<ul style="font-family: Times; ">
<li>Module ZPublisher.Publish, line 188, in publish_module_standard</li><li>Module Products.s.PatchStringIO, line 51, in new_publish</li><li>Module ZPublisher.Publish, line 145, in publish</li><li>Module Zope2.App.startup, line 216, in zpublisher_exception_hook</li><li>Module ZPublisher.Publish, line 105, in publish</li><li>Module ZPublisher.BaseRequest, line 443, in traverse</li><li>Module ZPublisher.BaseRequest, line 547, in old_validation</li></ul>
<span style="font-family: Times; ">AttributeError: __getitem__ (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: name 'REQUEST' is not defined)</span>
<div style="font-family: Times; "><br class="webkit-block-placeholder">
</div>
<div style="font-family: Times; "><br class="webkit-block-placeholder">
</div>
<hr noshade="noshade" style="font-family: Times; ">
<p style="font-family: Times; ">Troubleshooting Suggestions</p>
<ul style="font-family: Times; ">
<li>The URL may be incorrect.</li><li>The parameters passed to this resource may be incorrect.</li><li>A resource that this resource relies on may be encountering an error.</li></ul>
<p style="font-family: Times; ">For more detailed information about the error, please refer to error log.</p>
<p style="font-family: Times; ">If the error persists please contact the site maintainer. Thank you for your patience.</p>
<div><br>
</div>
</div>
<div><br>
</div>
<div>Digging into the error_log I have this:</div>
<div>
<div style="font-family: Times; background-color: rgb(255, 255, 255); position: static; z-index: auto; ">
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">REQUEST</h3>
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">form</h3>
<table>
<tbody>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
-C</th>
<td>''</td>
</tr>
</tbody>
</table>
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">cookies</h3>
<table>
<tbody>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
__utmz</th>
<td>'215042506.1349997112.16.7.utmccn=(referral)|utmcsr=<a href="http://backup.lrc.cornell.edu">backup.lrc.cornell.edu</a>:8082|utmcct=/|utmcmd=referral'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
__utmb</th>
<td>'88364185'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
tree-s</th>
<td>'eJzT0MgpMOQKVneEAn2XfFt1rgIjrsSSAmMuPQB5pQeW'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
verify_netid</th>
<td>'f0ec5d8f10a3aed2e9e312df21f4555c'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
__utma</th>
<td>'23486248.2137924914.1346079782.1352756706.1355855277.6'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BALANCEID</th>
<td>'balancer.cf015'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
__utmc</th>
<td>'23486248'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
cuwltgttime</th>
<td>'1357806665'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
ql_meta_types</th>
<td>'[]'</td>
</tr>
</tbody>
</table>
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">lazy items</h3>
<table>
<tbody>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SESSION</th>
<td>&lt;bound method SessionDataManager.getSessionData of &lt;SessionDataManager at /session_data_manager&gt;&gt;</td>
</tr>
</tbody>
</table>
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">other</h3>
<table>
<tbody>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
TraversalRequestNameStack</th>
<td>[]</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL</th>
<td>'<a href="http://server.lrc.cornell.edu/asian/courses/be/index_html'">http://server.lrc.cornell.edu/asian/courses/be/index_html'</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SERVER_URL</th>
<td>'<a href="http://server.lrc.cornell.edu'">http://server.lrc.cornell.edu'</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
PUBLISHED</th>
<td>&lt;DTMLMethod at /asian/index_html used for /asian/courses/be&gt;</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
ACTUAL_URL</th>
<td>'<a href="http://server.lrc.cornell.edu/asian/courses/be/'">http://server.lrc.cornell.edu/asian/courses/be/'</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL0</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses/be/index_html">http://server.lrc.cornell.edu/asian/courses/be/index_html</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL1</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses/be">http://server.lrc.cornell.edu/asian/courses/be</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL2</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses">http://server.lrc.cornell.edu/asian/courses</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL3</th>
<td><a href="http://server.lrc.cornell.edu/asian">http://server.lrc.cornell.edu/asian</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
URL4</th>
<td><a href="http://server.lrc.cornell.edu">http://server.lrc.cornell.edu</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE0</th>
<td><a href="http://server.lrc.cornell.edu">http://server.lrc.cornell.edu</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE1</th>
<td><a href="http://server.lrc.cornell.edu">http://server.lrc.cornell.edu</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE2</th>
<td><a href="http://server.lrc.cornell.edu/asian">http://server.lrc.cornell.edu/asian</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE3</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses">http://server.lrc.cornell.edu/asian/courses</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE4</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses/be">http://server.lrc.cornell.edu/asian/courses/be</a></td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
BASE5</th>
<td><a href="http://server.lrc.cornell.edu/asian/courses/be/index_html">http://server.lrc.cornell.edu/asian/courses/be/index_html</a></td>
</tr>
</tbody>
</table>
<h3 style="font-family: Verdana, Helvetica, sans-serif; font-size: 14pt; ">environ</h3>
<table style="position: static; z-index: auto; ">
<tbody>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
CONNECTION_TYPE</th>
<td>'keep-alive'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_USER_AGENT</th>
<td>'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 Safari/537.11'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_COOKIE</th>
<td>'tree-s=&quot;eJzT0MgpMOQKVneEAn2XfFt1rgIjrsSSAmMuPQB5pQeW&quot;; verify_netid=f0ec5d8f10a3aed2e9e312df21f4555c; __utmz=215042506.1349997112.16.7.utmccn=(referral)|utmcsr=<a href="http://backup.lrc.cornell.edu">backup.lrc.cornell.edu</a>:8082|utmcct=/|utmcmd=referral;
 BALANCEID=balancer.cf015; __utma=23486248.2137924914.1346079782.1352756706.1355855277.6; __utmc=23486248; __utmz=23486248.1346079782.1.1.utmcsr=<a href="http://lrc.cornell.edu">lrc.cornell.edu</a>|utmccn=(referral)|utmcmd=referral|utmcct=/asian/courses/vi/viet301/;
 cuwltgttime=&quot;1357806665&quot;; __utma=215042506.2123988513.1344957398.1356475993.1357831430.39; __utmc=215042506; __utma=88364185.1508772392.1357836182.1357836182.1357836182.1; __utmb=88364185; __utmc=88364185; __utmz=88364185.1357836182.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
 ql_meta_types=&quot;[]&quot;'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SERVER_NAME</th>
<td>'0.0.0.0'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
GATEWAY_INTERFACE</th>
<td>'CGI/1.1'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_ACCEPT</th>
<td>'text/html,application/xhtml&#43;xml,application/xml;q=0.9,*/*;q=0.8'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SERVER_SOFTWARE</th>
<td>'Zope/(Zope 2.8.6-final, python 2.4.6, darwin) ZServer/1.1'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
REMOTE_ADDR</th>
<td>'10.32.74.32'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_ACCEPT_LANGUAGE</th>
<td>'en-US,en;q=0.8'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SCRIPT_NAME</th>
<td>''</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
REQUEST_METHOD</th>
<td>'GET'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_HOST</th>
<td>'<a href="http://server.lrc.cornell.edu">server.lrc.cornell.edu</a>'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
PATH_INFO</th>
<td>'/asian/courses/be/'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SERVER_PORT</th>
<td>'80'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
SERVER_PROTOCOL</th>
<td>'HTTP/1.1'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_ACCEPT_CHARSET</th>
<td>'ISO-8859-1,utf-8;q=0.7,*;q=0.3'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
channel.creation_time</th>
<td>1357837924</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
HTTP_ACCEPT_ENCODING</th>
<td>'gzip,deflate,sdch'</td>
</tr>
<tr valign="top" align="left">
<th style="font-family: Verdana, Helvetica, sans-serif; font-size: 10pt; color: rgb(51, 51, 51); ">
PATH_TRANSLATED</th>
<td>'/asian/courses/be'<br>
<br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</div>
<div style="font-family: Times; background-color: rgb(255, 255, 255); position: relative; z-index: 0; ">
<br>
</div>
<div style="font-family: Times; background-color: rgb(255, 255, 255); position: relative; z-index: 0; ">
Finally, event.log shows this:</div>
<div style="font-family: Times; background-color: rgb(255, 255, 255); position: relative; z-index: 0; ">
<br>
</div>
<div style="background-color: rgb(255, 255, 255); position: relative; z-index: 0; ">
<div style="position: relative; z-index: 0; "><font face="Times">013-01-10T12:28:34 ERROR Zope.SiteErrorLog
<a href="http://server.lrc.cornell.edu/asian/courses/be/index_html">http://server.lrc.cornell.edu/asian/courses/be/index_html</a></font></div>
<div style="position: relative; z-index: 0; "><font face="Times">Traceback (most recent call last):</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/ZPublisher/Publish.py&quot;, line 105, in publish</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; object=request.traverse(path, validated_hook=validated_hook)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/ZPublisher/BaseRequest.py&quot;, line 443, in traverse</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; user=old_validation(groups, request, auth, roles)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/ZPublisher/BaseRequest.py&quot;, line 547, in old_validation</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; for d in groups:</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">AttributeError: __getitem__</font><span style="font-family: Times; ">------</span></div>
<div style="position: relative; z-index: 0; "><font face="Times">2013-01-10T12:28:34 ERROR root Exception while rendering an error message</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">Traceback (most recent call last):</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/OFS/SimpleItem.py&quot;, line 209, in raise_standardErrorMessage</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; v = s(client, REQUEST, **kwargs)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/OFS/DTMLMethod.py&quot;, line 144, in __call__</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; r=apply(HTML.__call__, (self, client, REQUEST), kw)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/DocumentTemplate/DT_String.py&quot;, line 476, in __call__</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; try: result = render_blocks(self._v_blocks, md)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/DocumentTemplate/DT_Util.py&quot;, line 196, in eval</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; return eval(code, d)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;&lt;string&gt;&quot;, line 1, in &lt;expression&gt;</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/OFS/DTMLMethod.py&quot;, line 137, in __call__</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; r=apply(HTML.__call__, (self, client, REQUEST), kw)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/DocumentTemplate/DT_String.py&quot;, line 476, in __call__</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; try: result = render_blocks(self._v_blocks, md)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;/home/zope/envLRC/Zope2.8.6/lib/python/DocumentTemplate/DT_Util.py&quot;, line 196, in eval</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; &nbsp; return eval(code, d)</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">&nbsp; File &quot;&lt;string&gt;&quot;, line 1, in &lt;expression&gt;</font></div>
<div style="position: relative; z-index: 0; "><font face="Times">NameError: name 'REQUEST' is not defined</font></div>
</div>
</body>
</html>