You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On Windows 11 powershell installed with chocolaty, rga mysearchterm in a folder of pdfs yields one error per document of the form:
D:\datasheets\Communication Interfaces\FA-ISOCON Serial RS232-RS485 Interface.pdf adapter: poppler
Error: during preprocessing
Caused by:
0: run_adapter(D:\datasheets\Communication Interfaces\FA-ISOCON Serial RS232-RS485 Interface.pdf)
1: adapting D:\datasheets\Communication Interfaces\FA-ISOCON Serial RS232-RS485 Interface.pdf via poppler failed
2: Could not find executable "pdftotext".
I have explicitly installed poppler with choco install poppler and the installation was successful. Nevertheless the error remains.
It seems like rga cannot find poppler in its default installation location. Perhaps a problem with path variables but I do not know much about how Windows manages paths as I am primarily a Linux user.
@benmordecai, @dcbarry To confirm whether pdftotext is on your default PATH, please share the output of running Get-Command pdftotext in PowerShell.
If pdftotextis on your PATH, then the issue would be that the PATH is somehow being munged when rga is called. If it's not on your PATH, then the that would be the first issue to fix and might warrant reaching out to the maintainer of chocolatey's ripgrep-all package.
Describe the bug
On Windows 11 powershell installed with chocolaty,
rga mysearchterm
in a folder of pdfs yields one error per document of the form:I have explicitly installed poppler with
choco install poppler
and the installation was successful. Nevertheless the error remains.It seems like rga cannot find poppler in its default installation location. Perhaps a problem with path variables but I do not know much about how Windows manages paths as I am primarily a Linux user.
Operating System and Version
Windows 11
Output of
rga --version
ripgrep-all 0.10.6
Output of
$Env:Path
The text was updated successfully, but these errors were encountered: