10000 Flycheck checker tex-chktex returned 2, but its output contained no errors: [followed by warnings] · Issue #2098 · flycheck/flycheck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Flycheck checker tex-chktex returned 2, but its output contained no errors: [followed by warnings] #2098

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

Open

4 of 7 tasks
lukashuebner opened this issue Dec 11, 2024 · 0 comments

Comments

@lukashuebner
Copy link

Checklist

  • I have checked existing issues for potential duplicates before creating this one.
  • I have read the Troubleshooting guide.

Bug description

Flycheck complains about chktex not outputting error messages but exiting with error code 2. However, chktex outputs dozends of warnings.

Steps to reproduce

Steps to reproduce the behavior:

  1. M-x flycheck-compile > tex-chktex some LaTeX code which yields warnings, e.g.
Common implementations employ a greedy hillclimber. search.
--> 
Warning 12 in stdin line <n>: Interword spacing (`\ ') should perhaps be used.
  1. A error windows pops up and Messages contains
Flycheck checker tex-chktex returned 2, but its output contained no errors: [followed by warnings]

System configuration

Flycheck version: 35.0-snapshop
chktex version: 1.7.9 (latest)

Syntax checkers for buffer paper.tex in latex-mode:

First checker to run:

  tex-chktex
    - may enable:         yes
    - executable:         Found at /home/lukas/prefix/bin/chktex
    - configuration file: Found at "/home/lukas/.chktexrc"

Checkers that could run if selected:
[...]

Flycheck Mode is enabled. Use SPC u C-c ! x to enable disabled checkers.

--------------------

Flycheck version: 35.0-snapshot
Emacs version:    29.4
System:           x86_64-pc-linux-gnu
Window system:    x

Emacs configuration:

  • Plain Emacs / Custom configuration
  • Spacemacs
  • Doom Emacs
  • Other shared configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0