[Zope] ERROR(200) SiteError http://localhost/manage_workspace

Chris Withers lists at simplistix.co.uk
Mon Mar 1 15:07:17 EST 2004


Josef Meile wrote:

>     raise Redirect, (
>     Redirect: http://129.132.39.139/manage_main
> 
> I went to the line in question (Management.py, line 86) and saw:

What's the problem here? This redirect looks like its supposed to be raised...

> As expected it printed "True", so, I concluded that this error will be
> always
> there because m.find('/') is always true, so I think it would be most
> correct
> to do:
> if m.find('/')==-1:
> ----raise Redirect, (
> --------"%s/%s" % (REQUEST['URL1'], m))

Well, if the code has always been there, and it's only just started causing you 
problems, the nyou need to figure otu what else you changed to make it cause 
problems ;-)

cheers,

Chris




More information about the Zope mailing list