-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Felows
- Problem Identification
Error: [Project ] Failed to initialize: {:function_clause, [{IO, :chardata_to_string, [nil], ...}, {Path, :basename, 1, ...}]} Location: XPForge.Project.name/1 calling Path.basename/1. Component: "Expert" Language Server (binary distribution).
-
WorkAround (failed)
Clear Cache: Delete the .expert directory in mcp-doe-frugal/.
Restart LSP: Reload the IDE window or restart the extension process.
Verify: Check if the error persists. -
Root Cause.
- Hypothesis A (Most Likely): The LS maintains a cache in the .expert/ directory. If this cache is corrupted (e.g., storing a nil path), the initialization reads this invalid state and crashes.
- Hypothesis B: The project structure has an anomaly (e.g., a file or dependency path) that the XPForge parser does not handle, resulting in a nil value being propagated.
--E
Metadata
Metadata
Assignees
Labels
No labels