[Twisted-Python] Woven and wxHtmlWindow
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).
Thx !
--
Philippe Lafoucrière
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
participants (2)
-
Donovan Preston
-
Philippe Lafoucrière