Skip to content

[Bug]: Skipping unavailable tree-sitter parser for java #756

Closed

Description

@mma02-glp

code-review-graph version

2.3.7

Operating system

macOS

Python version

3.11.5

AI platform

other (describe in "Additional context")

Output of code-review-graph status

Nodes: 150
Edges: 0
Files: 1
Languages: properties
Last updated: 2026-07-27T17:24:28
Built on branch: feature-codeReview
Built at commit: 5e726785577d

Steps to reproduce

I'm a beginner of code-review-graph. I want to build a code graph on a java project
The problem I'm facing now is "Skipping unavailable tree-sitter parser for java".
Here is the step to reproduce this issue.

  1. run "python3 -m pip install --no-cache-dir code-review-graph" to install code-review-graph
  2. run "python3 -m code_review_graph build" then got message"Skipping unavailable tree-sitter parser for java"
  3. Try to install tree-sitter-java by running "python3 -m pip install --no-cache-dir tree-sitter-java"
  4. verified that tree-sitter-java is successfully installed my python3 env.
  5. rerun "python3 -m code_review_graph build" still got message"Skipping unavailable tree-sitter parser for java"

Expected vs actual behavior

Expected: java files can be built into code graph
Actual: Skipping unavailable tree-sitter parser for java

Additional context

% python3 -m code_review_graph build
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
Skipping unavailable tree-sitter parser for java
INFO: Progress: 200/669 files parsed
INFO: Progress: 400/669 files parsed
INFO: Progress: 600/669 files parsed
Skipping unavailable tree-sitter parser for bash
INFO: Progress: 669/669 files parsed
INFO: Spring event resolver: indexed 0 events and emitted 0 CALLS edges
INFO: FTS index rebuilt: 150 rows indexed
INFO: Loaded 149 unique nodes, 0 edges
INFO: igraph not available, using file-based community detection
Full build: 669 files, 150 nodes, 0 edges (postprocess=full)

Activity

  1. mma02-glp commented on Jul 27, 2026

    @mma02-glp
    Author

    Tried on a python project, also got message "Skipping unavailable tree-sitter parser for python"

  2. tirth8205 commented on Jul 27, 2026

    @tirth8205
    Owner

    Fixed on main by #760 (merge b48d546). The probe now preserves the interpreter environment instead of hiding installed grammars with -I. Real Java and Python parser probes and parses passed, together with 594 parser/multilanguage tests and Python 3.10–3.13 plus Windows CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions