Thks for your answer, but it's not the good solution :

Error Type: KeyError
Error Value: redirect


Troubleshooting Suggestions

  • This resource may be trying to reference a nonexistent object or variable redirect.
  • 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 C:\Program Files\ZopeServer\lib\python\ZPublisher\Publish.py, line 222, in publish_module
 File C:\Program Files\ZopeServer\lib\python\ZPublisher\Publish.py, line 187, in publish
 File C:\Program Files\ZopeServer\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook
   (Object: Traversable)
 File C:\Program Files\ZopeServer\lib\python\ZPublisher\Publish.py, line 171, in publish
 File C:\Program Files\ZopeServer\lib\python\ZPublisher\mapply.py, line 160, in mapply
   (Object: manage_defined_roles)
 File C:\Program Files\ZopeServer\lib\python\ZPublisher\Publish.py, line 112, in call_object
   (Object: manage_defined_roles)
 File C:\Program Files\ZopeServer\lib\python\AccessControl\Role.py, line 478, in manage_defined_roles
   (Object: Traversable)
 File C:\Program Files\ZopeServer\lib\python\AccessControl\Role.py, line 500, in _addRole
   (Object: Traversable)
 File C:\Program Files\ZopeServer\lib\python\ZPublisher\HTTPRequest.py, line 810, in __getitem__
KeyError: (see above)





try to use REQUEST.redirect(url)


----- Original Message -----
From:  [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 01, 2000 1:42  AM
Subject: [Zope] a redirect of an url in  Python


I want to redirect my current  url to another in Python. I've tried return REQUEST.get('url'), but It only  writes the url on the screen.

Can  anyone help me ?????

thks a  lot
David Sergent
A french zoppeur :o)

Reply via email to