[Twisted-Python] Woven and wxHtmlWindow
Donovan Preston
dp at twistedmatrix.com
Wed May 28 12:31:39 MDT 2003
On Wednesday, May 28, 2003, at 10:12 AM, Philippe Lafoucrière wrote:
> hello
>
> I'm using twisted to develop a calculation server. The server has a
> managment interface written in wxpython. I want to display results in a
> dynamic html page (using woven).
>
> but my wxHtmlWindow refuses to display the page, and I just get a blank
> page with :
> -----------------
>
>
> Click Here
>
>
> -----------------
>
> (whitout the ---)
> Here is a link that points to http://server/project/results.rpy
> But the url given to wxHtmlWindow is
> http://server:8081/project/results.rpy
>
> Anyone got the same problem ?
> This is very strange (no trace in logs).
It's trying to do a redirect to http://server:8081/project/results.rpy/
(with a slash at the end) and apparently wxHtmlWindow doesn't know how
to deal with a redirect. You can either put the slash at the end of the
URL you are requesting, or set addSlash = 0 on your Page instance.
Donovan
More information about the Twisted-Python
mailing list