phiresky / ripgrep-all

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
Other
7.98k stars 172 forks source link

Warning: found multiple adapters for dvt_build.log.xz-9.xz #167

Closed gcflymoto closed 8 months ago

gcflymoto commented 1 year ago

Hi is it expected for rga to run the decompressor twice if .xz is twice in the file name? Or should it be more strict and only do that for .xz.xz ??

dvt_build.log.xz-9.xz: preprocessor command failed: '"rga-preproc" "dvt_build.log.xz-9.xz"':

Warning: found multiple adapters for dvt_build.log.xz-9.xz:

Caused by: 0: run_adapter(dvt_build.log.xz-9.xz) 1: Rusqlite("database is locked") 2: database is locked 3: Error code 5: The database file is locked

phiresky commented 1 year ago

Could you attach the file and send the output of rga --version?

The "database is locked" error is potentially unrelated to the duplictae adapter warning. I can't reproduce the duplicate adapter warning though.

phiresky commented 8 months ago

Duplicate of #188