problems with venus on windows

Sam Ruby rubys at intertwingly.net
Tue Mar 11 00:52:15 EST 2008


James Holderness wrote:
> Steven M. Ottens wrote:
>> If someone has a tip how to use it with spaces, I'd appreciate it,
>> otherwise I'll rewrite apache-conf to point to the current-working
>> directory.
> 
> I've had Venus running on Windows in a path with spaces. What I did was use 
> the 8.3 compatibility filenames everywhere in config.ini. For example, if 
> you need to refer to a path at \program files\venus you'd use path 
> /progra~1/venus. Also before running planet.py, I'd do "cd \progra~1\venus" 
> which ensured that my current directory was also space free. I think that 
> was all there was to it.

It looks like there is a function that can be used to help:

http://www.thescripts.com/forum/thread37596.html

One solution would be to have various places in the code check for a 
space in the path/file name, and if GetShortPathName returns a value for 
that name, and if so, use that instead.

Another would be to track down the various places where a space causes a 
problem, and fix that.

I have no problem with either approach, and would be willing to make the 
necessary changes, but I don't use Windows enough to be confident that I 
will catch all such places, so having a few volunteer testers would be 
greatly appreciated.

- Sam Ruby



More information about the devel mailing list