darcs

Issue 787 Windows: add => do_stat: does not exist (No such file or directory)

Title Windows: add => do_stat: does not exist (No such file or directory)
Priority bug Status need-info
Superseder Nosy List beschmi, dagit, darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kowey, rgm, shmul, shmulbox, simon, thorkilnaur, tommy, wglozer
Assigned To Topics Windows

Created on 2008-04-09.08:02:30 by shmulbox, last changed 2008-10-16.12:58:29 by kowey.

Files
File name Uploaded Type Edit Remove
darcs_test.zip shmul, 2008-05-14.14:42:54 application/x-zip-compressed
unnamed shmulbox, 2008-04-09.08:02:27 text/html
Messages (mbox)
msg4215 (view) Author: shmulbox Date: 2008-04-09.08:02:28
When trying to add a file with non-ascii file name the following error may
be reported

"do_stat: does not exist (No such file or directory)"

This happens on both the win32 darcs versions (1.0.9 - with or without
cygwin). It was consistent with a file whose name consisted of the single
character with code 247. It didn't happen with all the non-ascii file names
(for exmaple I tried with a Hebrew file name and it worked ok), nor did it
happen when the character code was 248.

Cheers,
Shmul
msg4344 (view) Author: kowey Date: 2008-04-25.17:31:02
Any chance you could try the same on Linux or MacOS?  Thanks for the bug report!
msg4648 (view) Author: kowey Date: 2008-05-14.08:32:44
Shmul: could you kind submit some kind of test case that we can use?  The best
would be a patch adding a test to our bugs/ directory, but whatever is
convenient for you is fine.  Your description sounds encouragingly reproducible.
 Thanks!
msg4668 (view) Author: shmul Date: 2008-05-14.12:29:45
I've uploaded an empty file whose name is the character 247. Hopefully the file
name won't be changed by the bug-tracking or web-server.
msg4669 (view) Author: kowey Date: 2008-05-14.12:34:45
Hmm... looks like our bugtracker ate the filename.  Maybe create a zip file?

I'll state for the record that I have no idea about encoding issues and
filesystems, so if anybody here knows what they're talking about, they should
speak up.
msg4694 (view) Author: shmul Date: 2008-05-14.14:42:54
The attached archive contains a single empty file whose name is character 247.
Now we should hope that the unzip process won't rename it :) 7zip on windows
does the trick.
msg4695 (view) Author: kowey Date: 2008-05-14.15:01:39
Thanks.  That filename looks like a y with two dots on it.  Is that correct?
I wasn't able to reproduce the bug on Linux, btw, but I'll submit a test case.
msg4696 (view) Author: kowey Date: 2008-05-14.15:09:41
Hmm... looking closer at this, I'm guessing you meant character 247 under the
Windows-1255 encoding, which is ק but I'm not entirely sure, nor do I have a
good idea how to turn this into a proper test case...
msg6331 (view) Author: kowey Date: 2008-10-16.12:58:26
Grant Husbands comments:
> On windows, you can hold alt and type (on the numeric keypad) 0247           
                                                     
> to get that character, most likely. For me, it gives a division symbol.      
                                                          
> If the planets are in alignment, you can see it here: ÷

Browse related patches: unstable | stable

History
Date User Action Args
2008-04-09 08:02:30shmulboxcreate
2008-04-20 19:05:31zookolinkissue788 superseder
2008-04-25 17:31:06koweysetstatus: unread -> chatting
priority: bug
title: Darcs on windows error - "do_stat: does not exist (No such file or directory)" -> add => do_stat: does not exist (No such file or directory) [Windows]
nosy: + wglozer, eivuokko, rgm, jaredj
messages: + msg4344
topic: + Windows
2008-05-14 08:32:47koweysetstatus: chatting -> need-info
nosy: + shmulbox, dagit
messages: + msg4648
assignedto: shmulbox
2008-05-14 12:29:47shmulsetnosy: + shmul, - shmulbox
messages: + msg4668
2008-05-14 12:34:46koweysetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
messages: + msg4669
2008-05-14 14:42:55shmulsetfiles: + darcs_test.zip
nosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
messages: + msg4694
2008-05-14 15:01:40koweysetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
messages: + msg4695
title: add => do_stat: does not exist (No such file or directory) [Windows] -> add => do_stat: does not exist (No such file or directory)
2008-05-14 15:02:01koweysetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
assignedto: shmulbox -> kowey
2008-05-14 15:05:12koweysetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
title: add => do_stat: does not exist (No such file or directory) -> Windows: add => do_stat: does not exist (No such file or directory)
2008-05-14 15:09:42koweysetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, shmulbox, shmul
messages: + msg4696
2008-08-13 23:07:46koweysetnosy: + darcs-devel, shmulbox, simon, - shmulbox
assignedto: kowey ->
2008-10-16 12:58:29koweysetnosy: + dmitry.kurochkin, thorkilnaur
messages: + msg6331