-
-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol’s value as variable is void: capability #517
Comments
I have commented in #480 . Can you try to reinstall lsp-mode. Alternatively you may delete the elc files in emacs.d - |
After reinstalling lsp-mode and in a freshly started Emacs, the issue still reproduces... but this time with a debugger trace!
So that seems potentially informative. |
Looks like that's in the middle of this function:
(just from looking for references to Again there's clearly some magic going on with |
Your code behaves just like it is compiled against some old version of dash which does not allow |
Also, can you check whether you have only one version of dash installed by doing calling |
Hmm. I actually after first getting this error, and before reporting it, had blown away my whole I ran |
I pinged you on gitter. |
The issue is fixed. Somehow @gnprice had previous version of dash loaded. Once we ensured that the new version of dash was loaded the issue disappeared. |
Thanks @yyoncho for the help debugging! We still don't understand quite how I got into this state (at least after the reinstall I mentioned above), but these steps diagnosed it and fixed it:
|
When I open a file
test.sh
consisting ofand run
M-x lsp
, I get a messageInitialized server v. 1.5.5 for file:///...
; but when for example I hover on an identifier, I get a message likeinstead of the intended information. If I run
M-x lsp-describe-thing-at-point
, I get the messageSymbol’s value as variable is void: capability
.Ditto in a file
test.py
consisting ofso this seems not to be language-specific.
I just updated all packages today; I have
lsp-mode-20181206.2007
,lsp-ui-20181205.2047
, anddash-20180910.1856
, on Emacs 25.1.See also #480 which is affecting me and may be related.
I enabled error-on-debug, and haven't gotten tracebacks from this. But here's a paste from my
*Messages*
, thanks tolsp-print-io
:The text was updated successfully, but these errors were encountered: