|
Hal Wine just commented on running PyDS under Windows 98 and having problems with upstreaming. After reading his problem report I think I found the reason: when running on POSIX compliant systems, I call become_daemon in PyDS/Server.py. This sets - beside other things - the current workdir to _PyDS.ROOTDIR, that is the ~/.PyDS/www/ path. Upstreaming uses relative file specs, so it relies on this current workdir. Under non-posix systems, though, the become_daemon call is not called. That's a problem. In 0.4.15 I put an else part into the posix check (around line 200 in PyDS/Server.py) and do a os.chdir(_PyDS.ROOTDIR) in there. This should prevent this problem, as now relative path specs work. You can patch your copy if you want, or you can just make sure that you start the PyDS under Windows in the ~/.PyDS/www path. There might be additional problems, as I don't have a windows version to check against. So if you run into any problems, post them here, I try to figure out what happens, if possible. |