[darcs-users] Windows Problems, "The system cannot find the file specified"
Martin R. Fisher
mrcf at yahoo.com
Fri Dec 17 04:04:51 UTC 2004
Good call,
I retried the original path (I'd already tried that a
few times back before I posted, but what the heck),
and it still fails.
So, instead of "C:\devel" which works, I used "C:\the
dir" which *doesn't*;
The filename, BTW never got more than 140 chars, even
for the .gz files used by darcs.
Martin
--- Alexander Staubo <alex at byzantine.no> wrote:
> Martin R. Fisher wrote:
> > OK,
> >
> > Digging thru the output from Filemon we see:
> > ...\darcs-15743 SUCCESS FileFsVolumeInformation
> > ...\darcs-15743 BUFFER OVERFLOW FileAllInformation
> >
> > so I rebuild my repo much higher up the directory
> path
> > (originally it was something like C:\Documents and
> > Settings\mrcf\My Documents\devel\xxxxxxxxx\)
> >
> > and it works!
>
> The BUFFER_OVERFLOW error is usually benign, though;
> many Windows
> functions operate by having the caller provide a
> buffer of a set size,
> and the function aborting if the buffer if too
> small, whereupon the
> caller is supposed to increase the buffer size and
> try again. This is
> probably also the case here.
>
> How long was the original path? Windows' maximum
> path length is 260
> characters, and I have hit that ceiling only a
> couple of times in my
> career. Also, does your new path contain spaces? I
> notice your original
> is "C:\Documents and Settings\...".
>
> Can you try copying your rebuilt repo to the old
> location and trying
> again? It could be the "rebuilding" part that solved
> it.
>
> If we can pin down the exact cause of the error,
> some of the Haskell
> developers (I'm not one yet) can add a regression
> test to the Darcs test
> suite.
>
> Alexander.
>
=====
Martin Fisher
mrcf at yahoo.com
(fax) 501 639 9208 (NEW!)
(cell) 408 507 5607
More information about the darcs-users
mailing list