[Zope] Page Templates problem
Peter Bengtsson
mail@peterbe.com
Mon, 04 Mar 2002 17:53:13 +0100
--=====================_934188752==_
Content-Type: multipart/related;
type="text/plain";
boundary="=====================_934188752==_.REL"
--=====================_934188752==_.REL
Content-Type: text/plain; charset="us-ascii"; format=flowed
Can you at all get the screen up where you enter an Id or possibly a file?
Have you changed the PageTemplates installation in any way? What changes?
It looks like the PageTemplate product is broken. What version?
At 15:15 2002-03-04 +0000, Agata Cruickshank wrote:
>Dear all,
>
>When attempting to create a new Page Template I get the following error
>(only when editing in Internet Explorer, it doesn't raise an error in
>Netscape). Has anyone come across this before? Any suggestions as to what
>happens? Many thanks for your help.
>
>Agata
>
>I have the following versions of Zope and Page Templates:
>Zope Version
> (Zope 2.4.3 (binary release, python 2.1, win32-x86),
> python 2.1.0, win32)
> Python Version
> 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)]
> System Platform
> win32
> Process Id
> 2076 (2084)
> Running For
> 52 min 44 sec
>
>Page Templates version 1.4.1
>
>-----------------------------------------------------------------------------------------------------------------------------------------------
>
>Zope Error Zope has encountered an error while publishing this resource.
>Error Type: Undefined Error Value: "manage_page_header" not found in
>"here/manage_page_header" Troubleshooting Suggestions The URL may be
>incorrect. The parameters passed to this resource may be incorrect. A
>resource that this resource relies on may be encountering an error. For
>more detailed information about the error, please refer to the HTML source
>for this page. If the error persists please contact the site maintainer.
>Thank you for your patience.
> <<http://www.zope.org/Credits>http://www.zope.org/Credits> ole0.bmp
> <http://www.zope.org/Credits>
>Traceback (innermost last):
> File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
> File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 187, in
> publish
> File C:\PROGRA~1\Zope1\lib\python\Zope\__init__.py, line 226, in
> zpublisher_exception_hook
> File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 171, in
> publish
> File C:\PROGRA~1\Zope1\lib\python\ZPublisher\mapply.py, line 160, in
> mapply
> (Object: ptAdd)
> File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 112, in
> call_object
> (Object: ptAdd)
> File C:\PROGRA~1\Zope1\lib\python\Shared\DC\Scripts\Bindings.py, line
> 324, in __call__
> (Object: ptAdd)
> File C:\PROGRA~1\Zope1\lib\python\Shared\DC\Scripts\Bindings.py, line
> 354, in _bindAndExec
> (Object: ptAdd)
> File C:\Program
> Files\Zope1\lib\python\Products\PageTemplates\PageTemplateFile.py, line
> 163, in _exec
> (Object: ptAdd)
> File C:\Program
> Files\Zope1\lib\python\Products\PageTemplates\PageTemplate.py, line 156,
> in pt_render
> (Object: ptAdd)
> (Info: {'container': <__FactoryDispatcher__ instance at 0148F8E8>,
> 'here': <__FactoryDispatcher__ instance at 0148F8E8>,
> 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
> instance at 00F64B04>,
> 'nothing': None,
> 'options': {'args': ()},
> 'request': <h3>form</h3><table></table><h3>cookies</h3><table><tr
> valign="top"
> align="left"><th>user_email</th><td>'a.cruickshank@bbk.ac.uk'</td></tr><tr
> valign="top" align="left"><th>user_name</th><td>'test30'</td></tr><tr
> valign="top"
> align="left"><th>__cp</th><td>'x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0C%24%8AA%DCb.%20%91%92Y%9C%98%94%99%93YRY%CC%07%E4%26%15%A5%26%A6%24%17%95%E6%26%15%EB%15T%02%00%F4%E4%0C%5B'</td></tr><tr
> valign="top" align="left"><th>dtpref_rows</th><td>'21'</td></tr><tr
> valign="top"
> align="left"><th>_suggest_email</th><td>'a.cruickshank%40bbk.ac.uk'</td></tr><tr
> valign="top" align="left"><th>__ac_name</th><td>'agata'</td></tr><tr
> valign="top" align="left"><th>dtpref_cols</th><td>'80'</td></tr><tr
> valign="top" align="left"><th>_suggest_author</th><td>'test'</td></tr><tr
> valign="top"
> align="left"><th>__ac</th><td>'YWdhdGE6a3U3ZGhyOXA%3D%0A'</td></tr><tr
> valign="top"
> align="left"><th>tree-s</th><td>'eJyLjlZ3hANPW/XYWAAtiQTP'</td></tr><tr
> valign="top" align="left"><th>portal_skin</th><td>'Basic'</td></tr><tr
> valign="top"
> align="left"><th>tutorialExamplesURL</th><td>'<http://localhost:8080/aga/examples'>http://localhost:8080/aga/examples'</td></tr><tr
> valign="top"
> align="left"><th>suggest_notify</th><td>''</td></tr></table><h3>other</h3><table><tr
> valign="top"
> align="left"><th>user_email</th><td>'a.cruickshank@bbk.ac.uk'</td></tr><tr
> valign="top" align="left"><th>user_name</th><td>'test30'</td></tr><tr
> valign="top" align="left"><th>dtpref_rows</th><td>'21'</td></tr><tr
> valign="top"
> align="left"><th>_suggest_email</th><td>'a.cruickshank%40bbk.ac.uk'</td></tr><tr
> valign="top"
> align="left"><th>BASE4</th><td>'<http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'>http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'</td></tr><tr
> valign="top" align="left"><th>__ac_name</th><td>'agata'</td></tr><tr
> valign="top" align="left"><th>dtpref_cols</th><td>'80'</td></tr><tr
> valign="top"
> align="left"><th>BASE3</th><td>'<http://localhost:8080/manage_addProduct/PageTemplates'>http://localhost:8080/manage_addProduct/PageTemplates'</td></tr><tr
> valign="top"
> align="left"><th>URL2</th><td>'<http://localhost:8080/manage_addProduct'>http://localhost:8080/manage_addProduct'</td></tr><tr
> valign="top"
> align="left"><th>BASE1</th><td>'<http://localhost:8080'>http://localhost:8080'</td></tr><tr
> valign="top" align="left"><th>traverse_subpath</th><td>[]</td></tr><tr
> valign="top"
> align="left"><th>URL1</th><td>'<http://localhost:8080/manage_addProduct/PageTemplates'>http://localhost:8080/manage_addProduct/PageTemplates'</td></tr><tr
> valign="top"
> align="left"><th>SERVER_URL</th><td>'<http://localhost:8080'>http://localhost:8080'</td></tr><tr
> valign="top" align="left"><th>AUTHENTICATED_USER</th><td>Anonymous
> User</td></tr><tr valign="top"
> align="left"><th>TraversalRequestNameStack</th><td>[]</td></tr><tr
> valign="top"
> align="left"><th>tree-s</th><td>'eJyLjlZ3hANPW/XYWAAtiQTP'</td></tr><tr
> valign="top" align="left"><th>AUTHENTICATION_PATH</th><td>''</td></tr><tr
> valign="top"
> align="left"><th>__cp</th><td>'x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0C%24%8AA%DCb.%20%91%92Y%9C%98%94%99%93YRY%CC%07%E4%26%15%A5%26%A6%24%17%95%E6%26%15%EB%15T%02%00%F4%E4%0C%5B'</td></tr><tr
> valign="top" align="left"><th>portal_skin</th><td>'Basic'</td></tr><tr
> valign="top"
> align="left"><th>URL3</th><td>'<http://localhost:8080'>http://localhost:8080'</td></tr><tr
> valign="top"
> align="left"><th>URL0</th><td>'<http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'>http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'</td></tr><tr
> valign="top" align="left"><th>_suggest_author</th><td>'test'</td></tr><tr
> valign="top"
> align="left"><th>BASE0</th><td>'<http://localhost:8080'>http://localhost:8080'</td></tr><tr
> valign="top" align="left"><th>PUBLISHED</th><td><PageTemplateFile
> instance at 013E1D20></td></tr><tr valign="top"
> align="left"><th>URL</th><td>'<http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'>http://localhost:8080/manage_addProduct/PageTemplates/ptAdd'</td></tr><tr
> valign="top"
> align="left"><th>BASE2</th><td>'<http://localhost:8080/manage_addProduct'>http://localhost:8080/manage_addProduct'</td></tr><tr
> valign="top"
> align="left"><th>__ac</th><td>'YWdhdGE6a3U3ZGhyOXA%3D%0A'</td></tr><tr
> valign="top"
> align="left"><th>tutorialExamplesURL</th><td>'<http://localhost:8080/aga/examples'>http://localhost:8080/aga/examples'</td></tr><tr
> valign="top" align="left"><th>suggest_notify</th><td>''</td></tr><tr
> valign="top"
> align="left"><th>URL0</th><td><http://localhost:8080/manage_addProduct/PageTemplates/ptAdd>http://localhost:8080/manage_addProduct/PageTemplates/ptAdd</td></tr><tr
> valign="top"
> align="left"><th>URL1</th><td><http://localhost:8080/manage_addProduct/PageTemplates>http://localhost:8080/manage_addProduct/PageTemplates</td></tr><tr
> valign="top"
> align="left"><th>URL2</th><td><http://localhost:8080/manage_addProduct>http://localhost:8080/manage_addProduct</td></tr><tr
> valign="top"
> align="left"><th>URL3</th><td><http://localhost:8080>http://localhost:8080</td></tr><tr
> valign="top"
> align="left"><th>BASE0</th><td><http://localhost:8080>http://localhost:8080</td></tr><tr
> valign="top"
> align="left"><th>BASE1</th><td><http://localhost:8080>http://localhost:8080</td></tr><tr
> valign="top"
> align="left"><th>BASE2</th><td><http://localhost:8080/manage_addProduct>http://localhost:8080/manage_addProduct</td></tr><tr
> valign="top"
> align="left"><th>BASE3</th><td><http://localhost:8080/manage_addProduct/PageTemplates>http://localhost:8080/manage_addProduct/PageTemplates</td></tr><tr
> valign="top"
> align="left"><th>BASE4</th><td><http://localhost:8080/manage_addProduct/PageTemplates/ptAdd>http://localhost:8080/manage_addProduct/PageTemplates/ptAdd</td></tr></table><h3>environ</h3><table><tr
> valign="top" align="left"><th>HTTP_ACCEPT_ENCODING</th><td>'gzip,
> deflate'</td></tr><tr valign="top"
> align="left"><th>channel.creation_time</th><td>1015253643</td></tr><tr
> valign="top"
> align="left"><th>SERVER_PROTOCOL</th><td>'HTTP/1.1'</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>'/manage_addProduct/PageTemplates/ptAdd'</td></tr><tr
> valign="top"
> align="left"><th>HTTP_HOST</th><td>'localhost: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>'\\manage_addProduct\\PageTemplates\\ptAdd'</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.4.3
> (binary release, python 2.1, win32-x86), python 2.1.0, win32)
> ZServer/1.1b1'</td></tr><tr valign="top"
> align="left"><th>HTTP_ACCEPT_LANGUAGE</th><td>'en-gb'</td></tr><tr
> valign="top" align="left"><th>HTTP_ACCEPT</th><td>'image/gif,
> image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint,
> application/vnd.ms-excel, application/msword, */*'</td></tr><tr
> valign="top"
> align="left"><th>REMOTE_ADDR</th><td>'127.0.0.1'</td></tr><tr
> valign="top"
> align="left"><th>HTTP_COOKIE</th><td>'tutorialExamplesURL="<http://localhost:8080/aga/examples>http://localhost:8080/aga/examples";
> __ac_name="agata"; dtpref_rows="21"; dtpref_cols="80";
> _suggest_author="test"; _suggest_email="a.cruickshank%40bbk.ac.uk";
> suggest_notify=""; user_email="a.cruickshank@bbk.ac.uk";
> user_name="test30"; tree-s="eJyLjlZ3hANPW/XYWAAtiQTP";
> __cp="x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0C%24%8AA%DCb.%20%91%92Y%9C%98%94%99%93YRY%CC%07%E4%26%15%A5%26%A6%24%17%95%E6%26%15%EB%15T%02%00%F4%E4%0C%5B";
> portal_skin="Basic"; __ac="YWdhdGE6a3U3ZGhyOXA%3D%0A"'</td></tr><tr
> valign="top"
> align="left"><th>SERVER_NAME</th><td>'ccs28.ccs.bbk.ac.uk'</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/4.0
> (compatible; MSIE 5.01; Windows NT 5.0)'</td></tr><tr valign="top"
> align="left"><th>CONNECTION_TYPE</th><td>'Keep-Alive'</td></tr></table>,
>
> 'root': <Application instance at 01430C00>,
> 'template': <PageTemplateFile instance at 013E1D20>,
> 'traverse_subpath': [],
> 'user': Anonymous User})
> File C:\Program Files\Zope1\lib\python\TAL\TALInterpreter.py, line 229,
> in __call__
> File C:\Program Files\Zope1\lib\python\TAL\TALInterpreter.py, line 262,
> in interpret
> File C:\Program Files\Zope1\lib\python\TAL\TALInterpreter.py, line 503,
> in do_insertStructure_tal
> File C:\Program
> Files\Zope1\lib\python\Products\PageTemplates\Expressions.py, line 198,
> in _eval
> (Info: here)
> File C:\Program
> Files\Zope1\lib\python\Products\PageTemplates\Expressions.py, line 327,
> in restrictedTraverse
> (Info: (['manage_page_header'], 0))
> File C:\Program
> Files\Zope1\lib\python\Products\PageTemplates\Expressions.py, line 346,
> in validate2
>Undefined: (see above)
>
--=====================_934188752==_.REL
Content-Type: application/octet-stream; name="ole0.bmp";
x-mac-type="424D5070"; x-mac-creator="4A565752"
Content-ID: <5.1.0.14.0.20020304175147.01a39c20@mail.grenna.net.1>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="ole0.bmp"
Qk1eAwAAAAAAAD4AAAAoAAAAcwAAADIAAAABAAEAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAA
AP///wD//////////////////+AA///////////////////gAP//////////////////4AD/////
/////////////+AA///////////////////gAP//////////////////4AD/////////////////
/+AA///////////////////gAP//////////////////4AD//////////////////+AA////////
///////////gAP//////////////////4AD//////////////////+AA///////////////////g
AP//////////////////4AD//////////////////+AA///////////////////gAP//////////
////////4AD//////////////////+AA///////////////////gAP//////////////////4AD/
/////////////////+AA///////////////////gAP//////////////////4AD/////////////
/////+AA///////////////////gAP////////8///3/////4AD/////////3//9/////+AA/fx3
cbjh4d8BjDj////gAP37t263Xe7Pf3XXf///4AD9+6qvt93ut7911////+AA/fuqoLBd7rffddB/
///gAPwbra63Xe6373XXf///4AD97G2xmOHht/eMOP///+AA/e/////97//7///////gAP3v////
/e///f//////4AD8H/////3v/wH//////+AA///////////////////gAP//////////////////
4AD//////////////////+AA///////////////////gAP//////////////////4AD/////////
/////////+AA///////////////////gAP//////////////////4AD//////////////////+AA
///////////////////gAP//////////////////4AD//////////////////+AA////////////
///////gAA==
--=====================_934188752==_.REL--
--=====================_934188752==_
Content-Type: text/plain; charset="us-ascii"; format=flowed
--=====================_934188752==_--