Skip to content

cluster-only labels fails: Expecting value: line 1 column 6 (char 5) #1690

Description

@vdgbcrypto

Bug Description

graphify cluster-only <path> fails to label communities and falls back to Community N placeholders with a JSON decode error.

Steps to Reproduce

  1. Install graphify on Windows/Hermes: pip install graphifyy && graphify install --platform hermes
  2. Use a corpus with mixed code + 1 doc file and set a working LLM key, e.g.:
    • export GOOGLE_API_KEY=...
    • graphify "H:/path/to/small-project"
  3. Run: graphify cluster-only "H:/path/to/small-project"

Expected Behavior

All communities are labeled with meaningful names and the report is generated.

Actual Behavior

[graphify label] batch 1/1 (6 communities) failed: Expecting value: line 1 column 6 (char 5)
[graphify label] warning: community labeling failed (Expecting value: line 1 column 6 (char 5)); using Community N placeholders.

GRAPH_REPORT.md is still written, but all community names remain Community N.

Environment

  • OS: Windows 10
  • Shell: Git Bash / MSYS2
  • graphify: 0.9.6
  • Hermes: installed via graphify install --platform hermes
  • LLM backend: gemini via GOOGLE_API_KEY / --backend

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions