nscaife / linter-chktex

An Atom Linter plugin for LaTeX, using chktex
https://atom.io/packages/linter-chktex
MIT License
14 stars 10 forks source link

Opening new TeX file gives linter error #38

Closed rmari closed 7 years ago

rmari commented 7 years ago

When opening a new file with $ atom new_file.tex it seems chktex tries to open new_file.tex although it does not exist yet on the disk, and I get the following linter error: [...]/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running chktex Error: chktex: WARNING -- Unable to open the TeX file [...]/new_file.tex'.

at exit ([...]/.atom/packages/linter-chktex/node_modules/atom-linter/lib/helpers.js:58:20)
at triggerExitCallback ([...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:322:11)
at [...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:343:11
at Socket.<anonymous> ([...]/atom/usr/share/atom/resources/app.asar/src/buffered-process.js:204:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)