eca icon indicating copy to clipboard operation
eca copied to clipboard

Eca can't handle [ and ] characters in workspace

Open apalazzi opened this issue 2 months ago • 1 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Describe the bug

When opening a session or adding a workspace whose path contains [ or ] ECA throws an error

error in process filter: Wrong type argument: stringp, (:code -32603 :message "Internal error" :data (:id 1 :method "initialize")) [2 times]

To Reproduce

Steps to reproduce the behavior:

  1. Create a folder with [ or ] in the filename
  2. add this folder to eca workspaces

Expected behavior

Should be able to add/open that workspace

Doctor

/doctor

ECA version: 0.157.1

Server cmd: /home/andrea_palazzi/.local/bin/eca server

Workspaces: /home/andrea_palazzi/studio/LAVORI/VICO/CERTIFICAZIONE_SCIOVIA_VICO

Default model: delfi/Qwen3.8-27B-UD Q4_K_XL [CUDA0] (API key (****))

Logged providers: None
Relevant env vars: 
XDG_ACTIVATION_TOKEN=kwi*****166


Credential files: None found

apalazzi avatar Sep 10 '26 13:09 apalazzi

Reproduced on current master: an unescaped [ or ] in a workspace file URI reaches java.net.URI during initialization and raises URISyntaxException. I’m working on a focused decoding fix with regression coverage.

emecii avatar Sep 10 '26 17:09 emecii