Skip to content
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

Wrong type argument on opening new file #71

Open
changephilip opened this issue Apr 15, 2019 · 0 comments
Open

Wrong type argument on opening new file #71

changephilip opened this issue Apr 15, 2019 · 0 comments

Comments

@changephilip
Copy link

changephilip commented Apr 15, 2019

I met a problem like emacs-lsp/lsp-mode#714 after updating lsp-mode with spacemacs develop in emacs25.1(running in Debian9.8 under WSL).

Describe the bug
When opening a new file, LSP reports wrong type argument error. Please see the long trace attached at the end.

To Reproduce
Open a c++ file with cquery enabled.

Which Language Server did you use
cquery

Error callstack

Debugger entered--Lisp error: (wrong-type-argument listp [#<hash-tabl....
cquery--publish-semantic-highlighting(#s(lsp--workspace :parser #s(lsp--parser :headers nil....
lsp--on-notification(#s(lsp--workspace.....
lsp--parser-on-message(#s(lsp--parser :headers nil :body nil.....

When disabling sem-highlight , no errors were reported.
When downgrading the lsp-mode package back to around half year ago , cquery seemed to work.
According to the callstack and the issue mentioned in lsp-mode, the problem may be caused by emacs-cquery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant