Closed swarnendubiswas closed 3 years ago
I think this is duplicate of https://github.com/emacs-grammarly/grammarly/issues/3.
Ok, thanks. So, we must use lsp-grammarly
for using a PAID account. That is fine.
I get an error with lsp-grammarly
, I will post it quickly here to see if you know of a solution.
/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:417
throw new SocketError(this._statusCode, `Socket connection failed: ${this._statusMessage}`);
^
SocketError: Socket connection failed: NOT_AUTHORIZED
at GrammarlyClient._connect (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:417:19)
at GrammarlyClient._queueOrSend (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:494:18)
at /home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:390:18
at new Promise (<anonymous>)
at GrammarlyClient.send (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:388:16)
at GrammarlyClient.sendWithErrorHandling (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:618:31)
at GrammarlyClient.submitOT (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/node_modules/@emacs-grammarly/unofficial-grammarly-api/dist/index.cjs.js:710:21)
at TextGrammarCheckHost.sync (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/dist/index.cjs.js:584:24)
at TextGrammarCheckHost.setText (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/dist/index.cjs.js:527:19)
at Function.update (/home/swarnendu/github/dotemacs/var/lsp/server/npm/@emacs-grammarly/unofficial-grammarly-language-server/lib/node_modules/@emacs-grammarly/unofficial-grammarly-language-server/dist/index.cjs.js:327:28) {
code: 4001
}
Do you know why I get this error? I have logged in to my PAID Grammarly account with VS Code.
I think the error is from the upstream https://github.com/znck/grammarly/issues/183. Duplicate of https://github.com/emacs-grammarly/lsp-grammarly/issues/12.
The current workaround is to logout and login again!
Closing this for duplicate reason.
I think the error is from the upstream znck/grammarly#183. Duplicate of emacs-grammarly/lsp-grammarly#12.
The current workaround is to logout and login again!
@jcs090218 The error I get says SocketError: Socket connection failed: SHUTDOWN
. Is this the same as the issue you point to, since that error is SocketError: Socket connection failed: NOT_AUTHORIZED
.
Logging out and logging in does not seem to solve the issue for me.
Hi,
Suppose I have a text buffer or a file with the following content.
The
flycheck
checkers are set as follows.Flycheck does not list errors from
Grammarly
. Opening the file or Invokingflycheck-buffer
shows the following error.I have a PRO account with
Grammarly
, and VS Code works fine. What could be the issue here? Thanks.