ripgrep icon indicating copy to clipboard operation
ripgrep copied to clipboard

I/O Error: Operation Failed To Complete Synchoronously When Using lsd.

Open SynCROSS opened this issue 2 years ago • 2 comments

What version of ripgrep are you using?

ripgrep 13.0.0 -SIMD -AVX (compiled) +SIMD +AVX (runtime)

How did you install ripgrep?

Using Cargo With This Command

cargo install ripgrep

What operating system are you using ripgrep on?

WINDOWS 10

uname -a: MINGW64_NT-10.0-19044 DESKTOP-LMEOL8I 3.3.5-341.x86_64 2022-07-08 09:41 UTC x86_64 Msys

Describe your bug.

There is an I/O error when using ripgrep with lsd.

image

What are the steps to reproduce the behavior?

lsd | rg ANY_PATTERN

What is the actual behavior?

DEBUG|grep_cli::decompress|C:\Users\Username\.cargo\registry\src\github.com-1ecc6299db9ec823\grep-cli-0.1.6\src\decompress.rs:482: lz4: could not find executable in PATH DEBUG|grep_cli::decompress|C:\Users\Username\.cargo\registry\src\github.com-1ecc6299db9ec823\grep-cli-0.1.6\src\decompress.rs:482: zstd: could not find executable in PATH DEBUG|grep_cli::decompress|C:\Users\Username\.cargo\registry\src\github.com-1ecc6299db9ec823\grep-cli-0.1.6\src\decompress.rs:482: zstd: could not find executable in PATH DEBUG|globset|C:\Users\Username\.cargo\registry\src\github.com-1ecc6299db9ec823\globset-0.4.9\src\lib.rs:431: built glob set; 0 literals, 0 basenames, 9 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes

What is the expected behavior?

image

SynCROSS avatar Sep 20 '22 07:09 SynCROSS

I'm not quite sure why you're reporting this against ripgrep. ripgrep works with ls but not with lsd, I'd first look into lsd.

I'll leave this open for now, but I don't use Windows and it will be quite some time before I'm able to get on my Windows machine to test this.

BurntSushi avatar Sep 20 '22 11:09 BurntSushi

I also don't even know what that error message means. Do you?

BurntSushi avatar Sep 20 '22 11:09 BurntSushi

I think the issue is https://github.com/rust-lang/rust/issues/98947?

nathaniel-daniel avatar Oct 04 '22 19:10 nathaniel-daniel

It looks like this was unrelated to ripgrep.

BurntSushi avatar Nov 24 '23 19:11 BurntSushi