Skip to content

Error from syntax checker languagetool: peculiar error: "deleted #12

@swarnendubiswas

Description

@swarnendubiswas

Hi,

Suppose I have a text buffer or a file with the following content.

This text has bug but LanguageTool do not finds it.

The flycheck checkers are set as follows.

First checker to run:

  languagetool
    - may enable:              yes
    - LanguageTool server JAR: Found at /home/swarnendu/.emacs.d/etc/languagetool-server.jar
    - LanguageTool API URL:    Not configured
    - next checkers:           proselint

I do not use proselint and have disabled it, so the rest of the Flycheck checkers buffer should not be relevant.

Flycheck-languagetool throws the following error when I invoke flycheck-buffer.

Error from syntax checker languagetool: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: flycheck-languagetool--read-results: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: flycheck-languagetool--read-results: peculiar error: "failed with code 111
", :host, "localhost", :service, 8081
error in process sentinel: peculiar error: "failed with code 111
", :host, "localhost", :service, 8081
Error from syntax checker languagetool: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: flycheck-languagetool--read-results: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: peculiar error: "deleted
", :host, "localhost", :service, 8081
error in process sentinel: flycheck-languagetool--read-results: peculiar error: "failed with code 111
", :host, "localhost", :service, 8081
error in process sentinel: peculiar error: "failed with code 111
", :host, "localhost", :service, 8081

Here is my flycheck-languagetool configuration.

;; https://languagetool.org/download/
(use-package flycheck-languagetool
  :after flycheck
  :defines (flycheck-languagetool-commandline-jar flycheck-languagetool-check-time)
  :demand t
  :config
  (setq flycheck-languagetool-commandline-jar (no-littering-expand-etc-file-name
                                               "languagetool-commandline.jar")
        flycheck-languagetool-server-jar (no-littering-expand-etc-file-name
                                          "languagetool-server.jar")
        flycheck-languagetool-check-time 3))

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions