Massimo Cesaro
Massimo Cesaro
> @mcesaro try adding `_build/default/lib` to your `include_dirs` config Hi, I tried, but the problem persists. Thanks
Hi @robertoaloi, here is the tail of the log file: ``` [2021-12-10T15:41:59.251677+01:00] [warning] Elvis error.[Err=enoent] [els_elvis_diagnostics:run/1 L48] [2021-12-10T15:42:15.149874+01:00] [warning] Cannot extract typer info., Class: throw, Exception: {dialyzer_error,"Could not read PLT...
From #1080 descriptions, I think it's a different situation but it looks like it's related to type management. I can't say for sure, because the problem manifested on un-typed code...
I'm trying to replicate the issue and these are my findings: 1) I build the `.plt` file for the project with `rebar3 dialyzer` 2) for unknown reasons, during the editing...
Sure: ```yaml otp_path: "/home/max/.asdf/installs/erlang/24.1.2" deps_dirs: - "_build/default/lib/etran" - "_build/default/lib/*" apps_dirs: - "_build/default/lib/*" diagnostics: enabled: - compiler - crossref disabled: - dialyzer include_dirs: - "include" - "_build/default/lib/*/include" lenses: enabled: - ct-run-test...
In my case the [rethinkdb](https://github.com/relaypro-open/rethink-erlang) erlang driver creates some troubles. The `reql.erl` module is essentially made of preprocessor macros, and this seems to break the `crossref`. Although this might be...
> > I expected something like /home/max/work/flint/_build/default/rebar3_24.1.2_plt, but the server is looking for /home/max/.dialyzer_plt > > That happens because no `plt_path` option is specified in your Erlang LS config and...
Ok, will do. BTW, what about the other dependencies, like lasp-pg?
Just for the record, the issue is fixed by adding ```yaml - "_build/default/lib/opentelemetry_api/apps/opentelemetry_api/include" ``` and including the `otel_tracer.hrl` file without an explicit path: ```erlang -include_lib("otel_tracer.hrl"). ``` to the config file.
@aramallo Hi, it's happening also on non-erlans applications: ```erlang =CRASH REPORT==== 26-Oct-2023::08:28:08.676084 === crasher: initial call: partisan_plumtree_broadcast:init/1 pid: registered_name: partisan_plumtree_broadcast exception error: undefined function plum_db:merge/2 in function partisan_plumtree_broadcast:handle_cast/2 (/home/max/work/ska/_build/default/lib/partisan/src/partisan_plumtree_broadcast.erl, line...