[Zope] Transperant folders breaks addCMFSite?

Andy McKay andy@agmweb.ca
Mon, 9 Dec 2002 22:41:56 -0800


CMF bug: http://collector.zope.org/CMF/37
--
  Andy McKay

----- Original Message -----
From: "Matthew" <matthew@exhibit.com.au>
To: <zope@zope.org>
Sent: Monday, December 09, 2002 9:52 PM
Subject: [Zope] Transperant folders breaks addCMFSite?


I just started using transparent folders.  They are great and solved a
lot of my headaches in one go.

However, I notice that when I try to add a new CMF site I get the error
below.  I did this 1 hour after installing Transperant Folders.  It
hasn't happened with any other products I've tried.

Can someone give me some insight into what happened, and what I should do?

Many thanks.

Matt.



----------------------------------

Error Transcript:
An error was encountered while publishing this resource.

*TALESError*

Sorry, a site error occurred.

Traceback (innermost last):
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 150, in
publish_module
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 114, in
publish
  File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 159, in
zpublisher_exception_hook
    (Object: testsite2)
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 98, in
publish
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\mapply.py, line 88, in
mapply
    (Object: finish_portal_construction)
  File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 39, in
call_object
    (Object: finish_portal_construction)
  File C:\PROGRA~1\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line
252, in __call__
    (Object: finish_portal_construction)
  File C:\PROGRA~1\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line
283, in _bindAndExec
    (Object: finish_portal_construction)
  File
C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\ZopePageTemplate.py,
line 210, in _exec
    (Object: finish_portal_construction)
  File C:\Program
Files\WebSite\lib\python\Products\CMFCore\FSPageTemplate.py, line 124, in
pt_render
    (Object: finish_portal_construction)
  File
C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\PageTemplate.py, line
86, in pt_render
    (Object: finish_portal_construction)
    (Info: {'container': <CMFSite instance at 022CE068>,
 'here': <CMFSite instance at 022CE068>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0135B96C>,
 'nothing': None,
 'options': {'args': ()},
 'request': <h3>form</h3><table></table><h3>cookies</h3><table><tr
valign="top" align="left"><th>sql_pref__cols</th><td>'40'</td></tr><tr
valign="top" align="left"><th>sql_pref__rows</th><td>'20'</td></tr><tr
valign="top"
align="left"><th>tree-s</th><td>'eJzTiFZ3hIKAiHRb9VgdTQAwIwTY'</td></tr><tr
valign="top" align="left"><th>__ac_name</th><td>'matthew'</td></tr><tr
valign="top"
align="left"><th>SITESERVER</th><td>'ID=c46e8ab759ce0780b7c83d6dd59ee9f5'</t
d></tr><tr valign="top"
align="left"><th>show_filter_form</th><td>'1'</td></tr></table><h3>lazy
items</h3><table><tr valign="top"
align="left"><th>SESSION</th><td>&lt;Python Method object at
02078878&gt;</td></tr></table><h3>other</h3><table><tr valign="top"
align="left"><th>__ac_name</th><td>'matthew'</td></tr><tr valign="top"
align="left"><th>show_filter_form</th><td>'1'</td></tr><tr valign="top"
align="left"><th>BASE3</th><td>'http://www.exhibit.com.au/testsite2/finish_p
ortal_construction'</td></tr><tr valign="top"
align="left"><th>SITESERVER</th><td>'ID=c46e8ab759ce0780b7c83d6dd59ee9f5'</t
d></tr><tr valign="top"
align="left"><th>BASE1</th><td>'http://www.exhibit.com.au'</td></tr><tr
valign="top" align="left"><th>traverse_subpath</th><td>[]</td></tr><tr
valign="top"
align="left"><th>SERVER_URL</th><td>'http://www.exhibit.com.au'</td></tr><tr
valign="top" align="left"><th>VirtualRootPhysicalPath</th><td>('',
'clients')</td></tr><tr valign="top"
align="left"><th>AUTHENTICATED_USER</th><td>matthew</td></tr><tr
valign="top"
align="left"><th>TraversalRequestNameStack</th><td>[]</td></tr><tr
valign="top"
align="left"><th>tree-s</th><td>'eJzTiFZ3hIKAiHRb9VgdTQAwIwTY'</td></tr><tr
valign="top"
align="left"><th>AUTHENTICATION_PATH</th><td>'clients/VirtualHostMonster'</t
d></tr><tr valign="top"
align="left"><th>sql_pref__rows</th><td>'20'</td></tr><tr valign="top"
align="left"><th>URL0</th><td>'http://www.exhibit.com.au/testsite2/finish_po
rtal_construction'</td></tr><tr valign="top"
align="left"><th>URL1</th><td>'http://www.exhibit.com.au/testsite2'</td></tr
><tr valign="top"
align="left"><th>URL2</th><td>'http://www.exhibit.com.au'</td></tr><tr
valign="top" align="left"><th>sql_pref__cols</th><td>'40'</td></tr><tr
valign="top" align="left"><th>PUBLISHED</th><td>&lt;FSPageTemplate instance
at 01ADAA28&gt;</td></tr><tr valign="top"
align="left"><th>URL</th><td>'http://www.exhibit.com.au/testsite2/finish_por
tal_construction'</td></tr><tr valign="top"
align="left"><th>BASE2</th><td>'http://www.exhibit.com.au/testsite2'</td></t
r><tr valign="top"
align="left"><th>BASE0</th><td>'http://www.exhibit.com.au'</td></tr><tr
valign="top"
align="left"><th>URL0</th><td>http://www.exhibit.com.au/testsite2/finish_por
tal_construction</td></tr><tr valign="top"
align="left"><th>URL1</th><td>http://www.exhibit.com.au/testsite2</td></tr><
tr valign="top"
align="left"><th>URL2</th><td>http://www.exhibit.com.au</td></tr><tr
valign="top"
align="left"><th>BASE0</th><td>http://www.exhibit.com.au</td></tr><tr
valign="top"
align="left"><th>BASE1</th><td>http://www.exhibit.com.au</td></tr><tr
valign="top"
align="left"><th>BASE2</th><td>http://www.exhibit.com.au/testsite2</td></tr>
<tr valign="top"
align="left"><th>BASE3</th><td>http://www.exhibit.com.au/testsite2/finish_po
rtal_construction</td></tr></table><h3>environ</h3><table><tr valign="top"
align="left"><th>HTTP_ACCEPT_ENCODING</th><td>'gzip, deflate,
compress;q=0.9'</td></tr><tr valign="top"
align="left"><th>channel.creation_time</th><td>1039498708</td></tr><tr
valign="top"
align="left"><th>SERVER_PROTOCOL</th><td>'HTTP/1.0'</td></tr><tr
valign="top" align="left"><th>SERVER_PORT</th><td>'8080'</td></tr><tr
valign="top"
align="left"><th>PATH_INFO</th><td>'/VirtualHostBase/http/www.exhibit.com.au
:80/clients/VirtualHostRoot/testsite2/finish_portal_construction'</td></tr><
tr valign="top"
align="left"><th>HTTP_HOST</th><td>'192.168.0.16:8080'</td></tr><tr
valign="top" align="left"><th>REQUEST_METHOD</th><td>'GET'</td></tr><tr
valign="top"
align="left"><th>PATH_TRANSLATED</th><td>'\\VirtualHostBase\\http\\www.exhib
it.com.au:80\\clients\\VirtualHostRoot\\testsite2\\finish_portal_constructio
n'</td></tr><tr valign="top" align="left"><th>HTTP_VIA</th><td>'1.1
www.exhibit.com.au'</td></tr><tr valign="top"
align="left"><th>HTTP_COOKIE</th><td>'SITESERVER=ID=c46e8ab759ce0780b7c83d6d
d59ee9f5; sql_pref__rows="20"; sql_pref__cols="40"; __ac_name="matthew";
show_filter_form="1"; tree-s="eJzTiFZ3hIKAiHRb9VgdTQAwIwTY"'</td></tr><tr
valign="top" align="left"><th>SCRIPT_NAME</th><td>''</td></tr><tr
valign="top" align="left"><th>SERVER_SOFTWARE</th><td>'Zope/(Zope 2.5.1
(binary release, python 2.1, win32-x86), python 2.1.3, win32)
ZServer/1.1b1'</td></tr><tr valign="top"
align="left"><th>HTTP_ACCEPT_LANGUAGE</th><td>'en-us,
en;q=0.50'</td></tr><tr valign="top"
align="left"><th>HTTP_ACCEPT</th><td>'text/xml,application/xml,application/x
html+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,i
mage/gif;q=0.2,text/css,*/*;q=0.1'</td></tr><tr valign="top"
align="left"><th>REMOTE_ADDR</th><td>'192.168.0.1'</td></tr><tr valign="top"
align="left"><th>HTTP_REFERER</th><td>'http://www.exhibit.com.au/manage_addP
roduct/CMFDefault/addPortal'</td></tr><tr valign="top"
align="left"><th>SERVER_NAME</th><td>'your-8gzc7wme2m'</td></tr><tr
valign="top"
align="left"><th>GATEWAY_INTERFACE</th><td>'CGI/1.1'</td></tr><tr
valign="top" align="left"><th>HTTP_USER_AGENT</th><td>'Mozilla/5.0 (Windows;
U; WinNT4.0; en-US; rv:1.2) Gecko/20021126'</td></tr><tr valign="top"
align="left"><th>HTTP_ACCEPT_CHARSET</th><td>'ISO-8859-1, utf-8;q=0.66,
*;q=0.66'</td></tr></table>,
 'root': <Application instance at 023DBCB0>,
 'template': <FSPageTemplate instance at 01ADAA28>,
 'traverse_subpath': [],
 'user': matthew})
  File C:\PROGRA~1\WebSite\lib\python\TAL\TALInterpreter.py, line 158, in
__call__
  File C:\PROGRA~1\WebSite\lib\python\TAL\TALInterpreter.py, line 191, in
interpret
  File C:\PROGRA~1\WebSite\lib\python\TAL\TALInterpreter.py, line 523, in
do_useMacro
  File C:\PROGRA~1\WebSite\lib\python\TAL\TALInterpreter.py, line 191, in
interpret
  File C:\PROGRA~1\WebSite\lib\python\TAL\TALInterpreter.py, line 474, in
do_loop_tal
  File C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\TALES.py, line
233, in setRepeat
  File C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\TALES.py, line
247, in evaluate
  File C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\Expressions.py,
line 198, in __call__
  File C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\Expressions.py,
line 193, in _eval
  File C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\Expressions.py,
line 93, in render
    (Object: breadcrumbs)
  File
C:\PROGRA~1\WebSite\lib\python\Products\PageTemplates\ZRPythonExpr.py, line
75, in call_with_ns
    (Object: __render_with_namespace__)
  File C:\Program
Files\WebSite\lib\python\Products\CMFCore\FSPythonScript.py, line 83, in
__render_with_namespace__
    (Object: breadcrumbs)
  File C:\PROGRA~1\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line
266, in __render_with_namespace__
    (Object: breadcrumbs)
  File C:\PROGRA~1\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line
283, in _bindAndExec
    (Object: breadcrumbs)
  File C:\Program
Files\WebSite\lib\python\Products\CMFCore\FSPythonScript.py, line 122, in
_exec
    (Object: breadcrumbs)
    (Info: ({}, (), {}, (1,)))
  File Script (Python), line 4, in breadcrumbs
TALESError: exceptions.NameError on global name 'context' is not defined in
"standard:'here/breadcrumbs'", at line 241, column 4





_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )