# Eglot or language server: why "Possible method call error"?

**URL:** <https://discourse.julialang.org/t/eglot-or-language-server-why-possible-method-call-error/109879>\
**Category:** Tooling\
**Tags:** languageserver, eglot\
**Created:** [February 7, 2024, 2:50pm UTC](https://discourse.julialang.org/t/eglot-or-language-server-why-possible-method-call-error/109879 "2024-02-07T14:50:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [February 7, 2024, 4:48pm UTC](https://discourse.julialang.org/t/eglot-or-language-server-why-possible-method-call-error/109879/3 "2024-02-07T16:48:19Z")

</div>

Can’t reproduce either with eglot:

![Screenshot_2024-02-07_17-41-57](https://global.discourse-cdn.com/julialang/original/3X/a/6/a6adb960c7c2735a3dd7340f05c08332e8a8caed.png)

Maybe your LS version is out-of-date? See e.g. here for a way to upgrade

> [@Is it normal for the Julia language server to take ~20 s to start up?](https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683/12):
>
> Yes, please try upgrading. Either do this Or upgrade in place (no change needed in you configuration in this case): shell$ cd /home/tokujin/.emacs.d/elpa/eglot-jl-20230601.1335/ shell$ julia --project=. -e 'import Pkg; Pkg.update()' (I’ve copied the correct path from your eglot output above)

You’ll need to adapt the path to your specific case. You can find the correct path using one of the following methods:

- M-x`eglot-stderr-buffer` then you’ll find the correct path at the beginning of the output, or
- C-hv`eglot-jl-language-server-project`

---

_[View the full topic](https://discourse.julialang.org/t/eglot-or-language-server-why-possible-method-call-error/109879)._
