Skip to content

Workspace config init/updating doesn't work for Doom Emacs #96

@BeBel42

Description

@BeBel42

Hi, I am trying to setup odoo-lsp in doom emacs.

While I already managed to setup other LSPs, I have an issue with odoo-lsp. Here is what I get:

ERROR odoo_lsp::server src/server.rs Could not parse updated configuration for /home/odoo/odoo/community:
invalid type: null, expected struct Config
ERROR odoo_lsp::server src/server.rs Could not parse updated configuration for /home/odoo/odoo/enterprise:
invalid type: null, expected struct Config

I have tried to check the cause of the error myself (and read server.rs). But I can't understand what causes the issue.

/home/odoo/odoo/community and /home/odoo/odoo/enterprise are both correct paths.
Here is my .odoo_lsp file, located in /home/odoo/odoo:

{
  "module": {
    "roots": [
      "./community",
      "./enterprise"
    ]
  },
  "symbols": {
    "limit": 80
  },
  "references": {
    "limit": 80
  },
  "completions": {
    "limit": 200
  }
}

I am on the latest nightly version (updated today).

Have you got any idea of what could cause the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions