Re: aap calling cvs problem on Windows
Joe Cooper <joe-LwIbMBl5f621Z/[email protected]> Thu, 04 Mar 2004 20:21:12 -0600
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bram, Thanks for your response. Bram Moolenaar wrote: > Joe Cooper wrote: > > >>I'm using AAP to package and build a bunch of stuff for Windows, and I'm >>running into a problem with packages that have to be fetched via CVS. >>My aap is installed into C:\Program Files\aap\Exec. The first time I >>tried to checkout via CVS, aap complained about not having CVS and >>offered to install it. It installed a working cvs.exe into C:\Program >>Files\aap\Exec\bin, but on subsequent runs, it gives an error about >>trying to run "C:\Program". Obviously, it's not handling a space in the >>path correctly...I'm still too much of an amateur with Python to know >>where to look to fix this, so I thought I'd see if anyone had any pointers. > > > This is an omission in Aap: quotes should be put around the command to > include the space. Please try the patch below. Seems like it ought to fix it, but it doesn't. It results in the same error. I also tried transposing " and ' in the relevant lines with no change in behavior. So, I've temporarily worked around the problem by installing a fresh aap into C:\Programs\aap\Exec, which can now find cvs.exe. However, I think I'm running into another weird Windows issue: Aap: 6 - Using dependency "build : ../src/Numerical" Aap: 7 - updating target "..\src\Numerical" Aap: CVS checkout for node "..\src\Numerical" Aap: "C:\Programs\aap\Exec\bin\cvs.EXE" -d:pserver:[email protected] :/cvsroot/numpy checkout "Numerical" The filename, directory name, or volume label syntax is incorrect. Aap: 7 - Do not know how to build "..\src\Numerical" Aap: 7 - updating target "src\Numerical" Aap: 7 - Do not know how to build "src\Numerical" Aap: Do not know how to build "..\src\Numerical" When I run the exact command AAP claims to be running, the checkout works fine, including the double quotes on the command and module name. Is there a way to get AAP to actually tell me what it is running, or is there something in Python outside of AAP that is escaping/quoting or otherwise mangling the command that AAP has no control over? Thanks for any tips anyone can provide. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click