[darcs-users] fromJust error in darcs-2.0.0

Greg Holtz gh2377 at hotmail.com
Wed Apr 23 16:39:30 UTC 2008



Sorry about the copies of my original post that just came in.
I sent those days ago before finding out you had to subscribe to
be able to post. I guess the internet kept them in a holding pattern.

Thanks for the partial fix. I can run "darcs changes" now and it
doesn't give up. "whatsnew" says 

darcs failed:  Unable to read directory /darcs/_darcs/pristine (it appears to be neither file nor directory)

but

-rw-r--r-- 1 gh other 10 Apr 23 09:30 format
drwxr-xr-x 2 gh other  2 Apr 23 09:30 inventories
-rw-r--r-- 1 gh other  0 Apr 23 09:30 inventory
drwxr-xr-x 2 gh other  2 Apr 23 09:30 patches
drwxr-xr-x 2 gh other  5 Apr 23 09:30 prefs
drwxr-xr-x 2 gh other  2 Apr 23 09:30 pristine

and the truss output around that command is
chdir("/darcs")            = 0
rmdir("darcs_testing_for_nfs")            Err#2 ENOENT
stat64("/darcs/_darcs/pristine", 0xD0879A68) = 0
getcwd("/darcs", 4096)        = 0
chdir("/darcs/_darcs/pristine")    = 0
getcwd("/darcs/_darcs/pristine", 4096) = 0
chdir("/darcs")            = 0
lxstat(2, "/darcs/_darcs/pristine", 0xD0879B80) = 0
chdir("/darcs")            = 0
chdir("/darcs")            = 0
pollsys(0x08044C80, 1, 0x08044D08, 0x00000000)    = 1

then the commands for printing the error.




> 
> I'm pushing a (partial) fix that will give a proper error message in
> this case, that could give us a hint as to what's going wrong.  Darcs
> is failing to read a directory, it seems, but we can't really tell
> which directory.  If you can get a copy (using another machine
> perhaps?) of the latest darcs and see how this works, that'd be great.
> 
> David

_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20080423/fbabc073/attachment-0001.htm 


More information about the darcs-users mailing list