Re: [Zope] Zope site problem
I'm sure there is a 'URL' object somewhere. But you can try to change the dtml-file that causes the error: in /lib/python/App/dtml/manage_tabs.dtml change <dtml-if expr="URL[-(_.len(action)):]==action or URL[-17:]=='/manage_workspace' and _['sequence-start']"> to <dtml-if expr="REQUEST.URL[-(_.len(action)):]==action or REQUEST.URL[-17:]=='/manage_workspace' and _['sequence-start']"> hth, Wolfram ----- Original Message ----- From: "Jin Chen" <jchen@nautilus.org> To: "Wolfram Kerber" <wk@gallileus.de> Sent: Thursday, December 06, 2001 8:25 PM Subject: Re: [Zope] Zope site problem
Hi Wolfram,
The "URL" document doesn't exist. The error occur just when I click the "ADD" button. I try to append the '/manage_delObjects?ids=URL' to 'XXX/manage/', it looks nochange, but I appent it to the 'XXX/', another error occur:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: BadRequest Error Value: URL' does not exist
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.
Traceback (innermost last): File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 223, in publish_module File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 187, in publish File U:\Jin\WebSite\lib\python\Zope\__init__.py, line 226, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 171, in publish File U:\Jin\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_delObjects) File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_delObjects) File U:\Jin\WebSite\lib\python\OFS\ObjectManager.py, line 493, in manage_delObjects (Object: ApplicationDefaultPermissions) BadRequest: (see above)
How can I remove this error page from my manage screen? I really need help!!!
Any way, many thanks.....:(
Jin
At 08:16 PM 12/6/01 +0100, you wrote:
Well, this problem is introduced by dtml having only a single namespace. There's nothing you can do about it. To get rid of the error message you will have to delete the 'URL' document per URL. Type into the browser location field the path to the folder where you added the document and then append '/manage_delObjects?ids=URL'.
Wolfram
----- Original Message ----- From: "Jin Chen" <jchen@nautilus.org> To: <zope@zope.org> Sent: Thursday, December 06, 2001 7:33 PM Subject: [Zope] Zope site problem
Hi,
I meet a serious problem. When I want to add a DTML document in root folder using the id as "URL" and click the "ADD" button, Zope Error occur. Then I go back to the root folder and add DTML document with another id such as "test" or "temp".., there has the same Zope error. And all the button on the manage page are not work even I logout and restart the machine and relogin. It seems my zope site died.
How can I figure out this problem? Hope you help me. Thanks...
Jin **********************************************************************
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError Error Value: __getslice__
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.
Traceback (innermost last): File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 223, in publish_module File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 187, in publish File U:\Jin\WebSite\lib\python\Zope\__init__.py, line 226, in zpublisher_exception_hook (Object: RoleManager) File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 171, in publish File U:\Jin\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: manage_main) File U:\Jin\WebSite\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: manage_main) File U:\Jin\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line 324, in __call__ (Object: manage_main) File U:\Jin\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in _bindAndExec (Object: manage_main) File U:\Jin\WebSite\lib\python\App\special_dtml.py, line 241, in _exec (Object: manage_main) File U:\Jin\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line 338, in __render_with_namespace__ (Object: manage_tabs) File U:\Jin\WebSite\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in _bindAndExec (Object: manage_tabs) File U:\Jin\WebSite\lib\python\App\special_dtml.py, line 241, in _exec (Object: manage_tabs) File U:\Jin\WebSite\lib\python\DocumentTemplate\DT_With.py, line 148, in render (Object: _(manage_options=filtered_manage_options())) File U:\Jin\WebSite\lib\python\DocumentTemplate\DT_In.py, line 770, in renderwob (Object: manage_options) File U:\Jin\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 230, in eval (Object: URL[-(_.len(action)):]==action or URL[-17:]=='/manage_workspace' and _['sequence-start']) (Info: action) File <string>, line 0, in ? AttributeError: (see above)
_______________________________________ Jin Chen
The Nautilus Institute 125 University Avenue Berkeley, CA 94710-1616 USA (510) 295-6121 * Fax: (510) 295-6130 jchen@nautilus.org http://www.nautilus.org
_______________________________________________ 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 )
_______________________________________ Jin Chen
The Nautilus Institute 125 University Avenue Berkeley, CA 94710-1616 USA (510) 295-6121 * Fax: (510) 295-6130 jchen@nautilus.org http://www.nautilus.org
participants (1)
-
Wolfram Kerber