Skip to content

Error executing ripgrep tool on PyCharm (Windows) #5542

Closed
@jnslmk

Description

@jnslmk

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 1.0.16
- IDE version: PyCharm 2025.1
- Model: Azure GPT-4o
- config:
  
  - name: Azure Gpt-4 Omni
    provider: azure
    apiBase: https://redacted.openai.azure.com/
    model: gpt-4o
    apiVersion: 2024-08-01-preview
    apiKey: redacted
    requestOptions:
      proxy: http://proxy.local:80
      caBundlePath: C:/path/to/crt.crt
    apiType: azure
    roles:
      - chat
      - edit
  
  OR link to assistant in Continue hub:

Description

When querying my codebase I get the following error:

Error handling message of type getSearchResults: com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "C:\Users\<redacted>\AppData\Roaming\JetBrains\PyCharm2025.1\plugins\continue-intellij-extension\ripgrep\bin\rg.exe" (in directory "D:\<redacted>"): CreateProcess error=2, The system cannot find the file specified

The plugins\continue-intellij-extension\ripgrep\bin\ directory only contains an rg file which is not executable on Windows if renamed to rg.exe.

Manually adding the ripgrep executable from https://github.com/BurntSushi/ripgrep/releases/ fixes the issue.

To reproduce

No response

Log output

Metadata

Metadata

Labels

area:toolsRelates to tool usageide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowspriority:highIndicates high priority

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions