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 given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, rgm, shmulbox, thorkilnaur, tommy, wglozer
Assigned To kirby
Topics Windows

Created on 2008-04-09.08:02:30 by shmulbox, last changed 2009-10-24.00:11:32 by admin.

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
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
Attachments
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: shmulbox 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: shmulbox 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.
Attachments
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: ÷
msg8506 (view) Author: kowey Date: 2009-08-26.13:14:52
Hi Salvatore,

May I ask you to examine this ticket? The main difficulty I have is
understanding what this bug is about, but it does include a zip file with a repo
to look at.  Thanks!
msg8508 (view) Author: kirby Date: 2009-08-26.13:39:30
I tried to download the zip file, unzipped it and there's a single
file inside with a strange character (a comma-like character on my
system).
Using darcs init and darcs add it seems to work (I tried modifying it,
running darcs whatsnew, the usual stuff).

I used darcs 2.3. I think that this bug can be closed.

Salvatore

On Wed, Aug 26, 2009 at 3:14 PM, Eric Kow<bugs@darcs.net> wrote:
>
> Eric Kow <kowey@darcs.net> added the comment:
>
> Hi Salvatore,
>
> May I ask you to examine this ticket? The main difficulty I have is
> understanding what this bug is about, but it does include a zip file with a repo
> to look at.  Thanks!
>
> ----------
> assignedto:  -> kirby
> nosy: +kirby
> status: need-info -> need-action
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue787>
> __________________________________
>
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 -> unknown
topic: + Windows
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
priority: bug
2008-05-14 08:32:47koweysetstatus: unknown -> waiting-for
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 -> (no value)
2008-10-16 12:58:29koweysetnosy: + dmitry.kurochkin, thorkilnaur
messages: + msg6331
2009-08-06 21:02:05adminsetnosy: - beschmi
2009-08-11 00:09:45adminsetnosy: - dagit
2009-08-25 17:24:26adminsetnosy: - simon
2009-08-26 13:14:54koweysetstatus: waiting-for -> needs-reproduction
nosy: + kirby
messages: + msg8506
assignedto: kirby
2009-08-26 13:39:33kirbysetnosy: + robmoss
messages: + msg8508
2009-08-26 13:40:57kirbysetstatus: needs-reproduction -> given-up
nosy: tommy, kowey, wglozer, darcs-devel, eivuokko, robmoss, rgm, thorkilnaur, jaredj, dmitry.kurochkin, shmulbox, shmul, kirby
2009-08-27 14:33:02adminsetnosy: tommy, kowey, wglozer, darcs-devel, eivuokko, robmoss, rgm, thorkilnaur, jaredj, dmitry.kurochkin, shmulbox, shmul, kirby
2009-10-23 22:41:30adminsetnosy: - rgm
2009-10-23 22:47:01adminsetnosy: - shmulbox
2009-10-24 00:07:05adminsetnosy: + rgm, - robmoss
2009-10-24 00:11:32adminsetnosy: + shmulbox, - shmul