Troubleshooting¶
Common problems and fixes for Strixonomy (VS Code) and Strixonomy (CLI/LSP).
For quick answers, see also FAQ.
Where to start (symptom → guide)¶
| Symptom | Likely cause | Read first |
|---|---|---|
| Explorer empty or stale | Not indexed, wrong folder, unsupported format | Explorer empty |
| Language server failed to start | Untrusted workspace, bad lspPath, duplicate extension | LSP failed |
| Cannot edit in inspector | Unsupported format (JSON-LD / TriG / N-Triples), parse error, or XML op outside first-cut set | Cannot edit · Supported formats |
| Patch / Manchester did not stick | Buffer vs disk conflict, stale index | Patch did not stick |
cargo install / strixonomy: command not found after install | PATH, wrong version pin, docs ahead of release | Install / version pin · Install CLI |
validate exits non-zero | Diagnostic errors in ontology | Validate exit |
| Query returns no rows | Stale index, wrong table/column names | Query empty |
| Reasoner errors or empty hierarchy | Profile mismatch, Ontologos, unsat classes | Reasoner |
Cannot edit .obo | Pre-v0.13 extension or term not in .obo file | Graphs, OBO, ROBOT |
| Semantic diff / graph missing | No git repo, not indexed | Graphs, OBO, ROBOT |
| Inspector and graph show different entities | Panels opened before v0.13 or focus relay disabled | Re-open panels; click entity in explorer — migration v0.13 |
| Schema browser empty in Query Workbench | Workspace not indexed or SPARQL mode selected | Index workspace; switch to catalog SQL mode — Query Workbench |
| XML edit rewrote layout / unsupported op | Semantic re-serialize (expected); check supported XML patch ops | OWL/XML write-back |
Need help beyond this page? See Support and contact.
flowchart TD
start[Something went wrong]
start --> vscode{VS Code or CLI?}
vscode -->|VS Code| empty{Explorer empty?}
vscode -->|CLI| cliFix[Use absolute ontology path not fixtures/]
empty -->|Yes| indexWs[Index Workspace + check Output panel]
empty -->|No| edit{Cannot edit?}
edit -->|Yes| formatCheck{ttl obo owl rdf or owx?}
formatCheck -->|No| readOnly[JSON-LD TriG N-Triples stay read-only]
formatCheck -->|Yes| reindex[Index Workspace + check parse status + Supported formats]
edit -->|No| reasoner{Reasoner issue?}
reasoner -->|Yes| reasonerGuide[Reasoner guide + lighter profile]
reasoner -->|No| faq[FAQ + errors reference]
VS Code: explorer empty or stale¶
- Run Strixonomy: Index Workspace from the Command Palette.
- Check View → Output → Strixonomy Language Server for errors.
- Confirm the folder contains supported files (
.ttl,.obo,.owl,.rdf,.jsonld,.nt,.nq,.trig). - Multi-root workspace: since v0.10 all folders are indexed — confirm each root contains ontology files and check Output → Strixonomy Language Server for per-root errors.
VS Code: language server failed to start¶
- Check Output → Strixonomy Language Server for the exact error.
- Uninstall duplicate Strixonomy extension versions.
- Strixonomy’s bundled language server works in trusted and Restricted Mode. Do not Trust the workspace unless you configured
strixonomy.lspPathorstrixonomy.robotPath(Restricted Mode ignores those settings). - Set
strixonomy.lspPathto a localstrixonomy-lspbinary (cargo install strixonomy-lsp --locked --version 0.27.0) — trusted workspaces only. - See Install VS Code.
VS Code: cannot edit in inspector¶
- Write-back applies to Turtle (
.ttl), OBO (.obo), RDF/XML (.owl/.rdf), and OWL/XML (.owx) (v0.21+). See Supported formats. JSON-LD and line-oriented RDF are read-only. XML is semantic re-serialize — OWL/XML write-back. - Entity must be declared in an indexed editable file (
.ttl,.obo,.owl/.rdf, or.owx) in the workspace. - See OBO authoring and OWL/XML write-back.
VS Code: patch or Manchester apply did not stick¶
Patches write the source file on disk first (.ttl, .obo, .owl/.rdf, or .owx), then update the language server’s open-buffer copy. XML formats are semantic re-serialize — see OWL/XML and RDF/XML write-back:
- If the editor still shows old text, accept or re-apply the workspace edit, or reload the file from disk.
- If you had unsaved local edits that conflicted, review the file on disk — the server applied against its buffer/disk snapshot.
- If re-index fails after a successful write, the catalog may be stale. Run Strixonomy: Index Workspace.
- Check View → Output → Strixonomy Language Server and errors reference.
CLI: install or version not found¶
Symptom: cargo install strixonomy-cli --locked --version X.Y.Z fails with “could not find version” or GitHub Release curl returns 404.
Cause: Documentation on main may describe an unreleased minor while crates.io and GitHub Releases only publish tagged versions.
Fix:
- Pin the latest tagged release from docs/TAGGED_RELEASE (currently 0.27.0):
cargo install strixonomy-cli --locked --version 0.27.0
-
For release tarballs, download assets from the matching tag (e.g.
v0.27.0). Prefer the tagged release over docs that may preview a future minor onmain. -
Ensure Cargo’s bin directory is on your
PATH— see Install CLI.
Marketplace / Open VSX extension versions may lag a brand-new GitHub tag briefly — check the installed extension version in Extensions, or install the release VSIX from GitHub Releases.
CLI: strixonomy query ./fixtures fails¶
The fixtures/ directory exists only in a git clone, not after cargo install:
strixonomy query /path/to/your/ontologies "SELECT * FROM classes"
CLI: install and PATH¶
| Symptom | Fix |
|---|---|
strixonomy: command not found after cargo install | Unix/macOS: add $HOME/.cargo/bin to PATH. Windows (PowerShell): $env:Path += ";$env:USERPROFILE\.cargo\bin" then open a new terminal — see Install CLI |
cargo install fails with MSRV / edition error | Run rustup update stable; require Rust 1.88+ (rustc --version) |
cargo install network / crates.io errors | Retry with --locked; pin --version 0.27.0 in CI |
| Release tarball on macOS/Windows | CLI pre-builds are Linux x64 only — use cargo install or the VSIX extension |
macOS Gatekeeper blocks bundled strixonomy-lsp | Prefer Marketplace install; for sideloaded VSIX see VS Code install (xattr -d com.apple.quarantine when needed) |
| Corporate Marketplace blocked / lag | Install strixonomy-v0.27.0.vsix from GitHub Releases — VS Code install |
strixonomy diff HEAD..WORKTREE fails | Run from a git repository root containing ontology files |
CLI: validate exits non-zero¶
Exit code 0 only when there are no diagnostic errors (warnings are allowed). Query errors:
strixonomy query /path/to/ontologies "SELECT code, severity, message FROM diagnostics WHERE severity = 'error'"
See CI integration.
Queries return no rows or wrong data¶
- Re-index:
strixonomy validateor VS Code Index Workspace. - Confirm SQL table name and column names — SQL reference.
- SPARQL runs over indexed triples — prefix declarations must be valid in source files.
Results truncated at 100,000 rows¶
Both SQL and SPARQL cap results at 100,000 rows with silent truncation. In the Query Workbench or LSP responses, check truncated: true. Narrow your query with WHERE or SPARQL LIMIT.
See workspace limits.
Patch JSON errors¶
| Symptom | Likely cause |
|---|---|
entity not found | Wrong IRI or entity not in target .ttl file; check @prefix declarations |
unsupported format | Patch target is not Turtle (.ttl), OBO (.obo), RDF/XML (.owl/.rdf), or OWL/XML (.owx); JSON-LD / N-Triples / TriG remain read-only |
applied: false with diagnostics | Invalid patch op or Manchester expression — see patch reference |
Workspace too large¶
Indexing may fail above workspace limits (file count, size, triple caps). For very large terminologies, use CLI batch workflows on a subset.
Graphs, OBO, ROBOT, and semantic diff¶
| Problem | What to try |
|---|---|
Semantic diff: no git repository | Open a git checkout; or use CLI strixonomy diff --left-ref ./a --right-ref ./b |
| Semantic diff panel empty | Run Index Workspace; see Semantic diff |
| Graph commands missing | Run Index Workspace first — Graph view |
Cannot edit .obo in inspector | Confirm Strixonomy v0.13.0+; entity must be in an indexed .obo file — OBO guide |
robot not found | Install Java + ROBOT; set strixonomy.robotPath — ROBOT guide |
Reasoner¶
| Problem | What to try |
|---|---|
| Reasoner command missing or greyed out | Run Index Workspace first; Trust only if using custom lspPath |
OntoLogos / classify errors | Confirm ontology fits workspace limits; try lighter profile (el, rl, rdfs) |
dl or auto profile fails | DL requires supported constructs; check Output panel; try el for EL-only ontologies; see Reasoner guide |
| Reasoner runs but no inferred edges | Run Strixonomy: Run Reasoner, then Set Hierarchy Mode → inferred or combined |
| Explanation panel empty | Explanations need an unsatisfiable class; run reasoner first; DL explanations require v0.12+ |
| Classify exits non-zero in CI | Ontology has unsatisfiable classes — inspect JSON unsatisfiable list |
| Reasoner timeout / hang | Large ontologies may exceed memory caps — subset or use el profile; see Performance and sizing |
See Reasoner guide.