* Graham Fawcett[2004-01-14 00:12:48 -0500]: Under Linux (Mandrake 9, I think, if it matters) I was running a fresh > Quixote 0.7a3 install with the new Medusa patch on Python 2.2.0. A few > things I had to do: > > -- in quixote.server.medusa.server.py, I replaced the value 'True' with '1' > since Python 2.2.0 didn't support the True "keyword". My mistake. Though > this file isn't used by your code, it is imported by > quixote.server.medusa.__init__. > > -- as I did under Windows, I changed the basedir, and also changed 'tbc.ui' > to 'ui' in tbc_medusa_qx.py. > > -- ran the server from the tbc directory, as root, on port 8080. (I > happened to be root, had just installed Quixote and the Medusa patch. If I > were still in Linux, I'd go back an try as a luser instead...) > > -- successfully browsed the Home Page, Volume Names, Backups. Used both > Lynx and Konqueror. The other links failed, again for lack of a 'datetime' > module. But I did get back a successful error message. > > In short: I'm stumped! > > My only other suggestion would be to try to run the Quixote demo using the > new patch. Here is one way to do it: > > from quixote.server.medusa import Server > s = Server('quixote.demo', port=8080) > s.run() > > though it's probably best that you just change your code's 'tbc.ui' to > 'quixote.demo' and leave all else the same (that's more scientific, isn't > it?). See if you get the same behaviour -- just to rule out the possibility > that it's something about your code rather than the Medusa patch. > > Would you rather return to the maillist, and see if anyone else can provide > some insight? > > -- Graham Graham, Thank you for checking it out. I just attempted to use the method above (Server.run())to run the demo and got the same timeout error. """ An error occured while loading http://localhost:8080: Timeout on server localhost """ It did not work when either run as user or root both with quixote.server.medusa or Server.run(). Demo runs perfectly fine with the AMK's medusa distribution. """ malex@oleksa:~/quixote/qx/tbc$ ./tbc-medusa-qx.py Now serving the Tob Backup Controller on port 8080 warning: Computing default hostname info: Medusa (V1.11) started at Wed Jan 14 09:19:14 2004 Hostname: localhost Port:8080 127.0.0.1:36796 - - [14/Jan/2004:14:19:22 -0500] "GET / HTTP/1.1" 200 1940 127.0.0.1:36796 - - [14/Jan/2004:14:19:25 -0500] "GET /simple HTTP/1.1" 200 203 127.0.0.1:36797 - - [14/Jan/2004:14:19:28 -0500] "GET /12/ HTTP/1.1" 200 878 127.0.0.1:36797 - - [14/Jan/2004:14:19:30 -0500] "GET /11/ HTTP/1.1" 200 878 """ I am stumped as well. Would you care to tar up your complete patched Quixote0.7a3 directory and email the tarball to me? I will reinstall quixote from it and try again. I am sending a cc to the list. Maybe someone has an idea of what might be wrong. Regards, Alex.