Open j619s opened 3 years ago
Comment: the patch just prints more info in the panic message. The file name contains 257 bytes which just exceeds the limit of 256 bytes.
Comment: the patch just prints more info in the panic message. The file name contains 257 bytes which just exceeds the limit of 256 bytes.
Is it the problem with wsl ?
The length of filename is limited by OS. I don't know if it's WSL that causes the recursive wrapping.
The length of filename is limited by OS.
That's the limit of NTFS file system, not the operating system.
The length of filename is limited by OS. I don't know if it's WSL that causes the recursive wrapping.
Hi @ekexium , we found the same error because "recursive wrapping". Can you fix it? Maybe filter out files which start with "wrapper_" before WrapperGen?
Thanks~
Hey @tsinan I don't have an environment to test the behavior. Could it be because of something like "modifying iterator (of files) when iterating over it"?
read_dir
is implemented by FindFirstFile
and FindNextFile
on Windows. Could that be the reason? Are you interested in trying to fix it by first collecting the results of read_dir
?
Hi @ekexium , i have create a pull request about this, please check it. Thansk.
tikv/client-cpp : I am using WSL2 with distro as Ubuntu and the tiup playground nightly runs fine. But when I am trying to run make run-example it says
I also tried:
Then run
cargo update -p protobuf-build
andcargo build
.