Giter Club home page Giter Club logo

linter-chktex's People

Contributors

angelsl avatar balu- avatar cbreeden avatar harmsk avatar jgoldfar avatar nathanjang avatar nscaife avatar siriusstarr avatar steelbrain avatar tebbi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linter-chktex's Issues

Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the linter-chktex package!

In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

  • The chktexArgs variable here
  • The chktexArgs variable here
  • The executablePath variable here
  • The showId variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Show warning number

For a workflow where false alarms are disabled using line-based warning suppression of chktex ("e.g., % chktex 05" to supress warning with id 5), it is necessary to know the id of the warning, but the id is hidden in the user interface, in contrast to the command line.

chktex permissions

If I launch Atom from a command line—with either sudo atom or atom— everything works as expected. But if I launch Atom by clicking on my dock icon for it or from Finder or Spotlight (I'm on Mac OSX Yosemite), I get a Failed to run /usr/texbin/chktex: spawn chktex ENOENT error with each save of my tex document and the linter doesn't function.

I'm running from an administrator account and my chktex has execute permissions for all users, so this seems odd to me.

Opening new TeX file gives linter error

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)

ChkTeX does not handle lines over 1024 bytes correctly.

Tried to use chktex in atom (linter v2.2.0; linter-chktex v1.3.1) on MacOS, and got the below errors:

/Users/yifei-macpro/.atom/packages/linter/lib/linter-registry.js:159 [Linter] Error running chktex Error: chktex: WARNING -- ChkTeX does not handle lines over 1024 bytes correctly. Some errors and line numbers may be wrong in this file.
chktex: WARNING -- ChkTeX could not fully expand tabs because the resulting line would be more than 1024 bytes. Some errors and line numbers may be wrong in this file.

at exit (/Users/yifei-macpro/.atom/packages/linter-chktex/node_modules/atom-linter/lib/helpers.js:58:20)
at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:338:17)
at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:351:17
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:220:15)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)

Failed to activate the linter-chktex package

[Enter steps to reproduce:]

  1. install the package

Atom: 1.20.1 x64
Electron: 1.6.11
OS: "Arch Linux"
Thrown From: linter-chktex package 1.3.1

Stack Trace

Failed to activate the linter-chktex package

At Cannot read property 'parentNode' of undefined

TypeError: Cannot read property 'parentNode' of undefined
    at MenuUpdater.cleanUp (/packages/title-bar-replacer/lib/menu-updater.js:229:6)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:171:21)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.traverseTemplate (/packages/title-bar-replacer/lib/menu-updater.js:176:35)
    at MenuUpdater.run (/packages/title-bar-replacer/lib/menu-updater.js:42:13)
    at TitleBarReplacerView.updateMenu (/packages/title-bar-replacer/lib/title-bar-replacer-view.js:393:20)
    at /packages/title-bar-replacer/lib/title-bar-replacer.js:49:48)
    at Package.module.exports.Package.activateKeymaps (/usr/lib/atom/src/package.js:374:24)
    at Package.module.exports.Package.activateResources (/usr/lib/atom/src/package.js:339:14)
    at /usr/lib/atom/src/package.js:219:23
    at Package.module.exports.Package.measure (/usr/lib/atom/src/package.js:97:15)
    at /usr/lib/atom/src/package.js:216:26
    at Package.module.exports.Package.activate (/usr/lib/atom/src/package.js:213:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/lib/atom/src/package-manager.js:635:34)
    at /usr/lib/atom/node_modules/settings-view/lib/package-manager.js:521:29
    at exit (/usr/lib/atom/node_modules/settings-view/lib/package-manager.js:114:16)
    at triggerExitCallback (/usr/lib/atom/src/buffered-process.js:322:11)
    at /usr/lib/atom/src/buffered-process.js:343:11
    at Socket.<anonymous> (/usr/lib/atom/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:501:12)

Commands

     -1:08.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:54.6.0 core:confirm (input.hidden-input)

Non-Core Packages

ask-stack 2.2.0 
atom-beautify 0.30.5 
autocomplete-bash-builtins 0.3.5 
autocomplete-bibtex 0.7.0 
busy-signal 1.4.3 
docker 0.8.0 
intellij-idea-keymap 0.2.3 
intentions 1.1.5 
language-docker 1.1.8 
language-htaccess 0.1.1 
linter 2.2.0 
linter-chktex 1.3.1 
linter-docker 0.2.1 
linter-ui-default 1.6.8 
rsync-save 0.9.7 
title-bar-replacer 1.4.1 

File name parse error in windows while file name start with 'n'

When I use linter-chktex check my paper, a new panel will be opened when I click the warning message.
After some check, I found that occurs because the tex file has a file name begin with character 'n'. The linter must parse the '\n' to some control character and delete it, so the warning messages displayed on the Atom UI will have wrong filename.

This error may not happen on the *nix platform, I guess.

How do you get chktex to ignore certain things?

\somethingORother

followed by a linebreak is actually valid synthax. While it is understandable that the machine can not understand everything there must be an option to tell it to shut up.
I don't know if this is a problem with chktex-linter or the atom linter package in general. But other linter implementations seem to feature a dotfile with ignore lists.

Uncaught TypeError: _this.notificationEl.querySelector is not a function

[Enter steps to reproduce:]

  1. Try to install it
  2. ...

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: linter-chktex package 1.3.0

Stack Trace

Uncaught TypeError: _this.notificationEl.querySelector is not a function

At /home/eric/.atom/packages/linter-chktex/node_modules/atom-package-deps/lib/view.js:22

TypeError: _this.notificationEl.querySelector is not a function
    at /packages/linter-chktex/node_modules/atom-package-deps/lib/view.js:22:58

Commands

     -3:48.8.0 settings-view:view-installed-packages (ul.list-inline.tab-bar.inset-panel)
  7x -3:41.4.0 core:backspace (input.hidden-input)
     -1:23.2.0 core:paste (input.hidden-input)
  2x -1:21 editor:move-to-first-character-of-line (input.hidden-input)
     -1:19.1.0 core:delete (input.hidden-input)
     -1:18.7.0 editor:move-to-first-character-of-line (input.hidden-input)
     -1:18.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -1:03.6.0 core:paste (input.hidden-input)
     -0:50.1.0 fuzzy-finder:toggle-file-finder (div.package-detail.panels-item)
     -0:48.6.0 core:backspace (input.hidden-input)
     -0:48 command-palette:toggle (input.hidden-input)
  2x -0:41.9.0 core:move-down (input.hidden-input)
     -0:41.3.0 core:confirm (input.hidden-input)
     -0:41.3.0 sync-settings:restore (input.hidden-input)
     -0:29.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:21.6.0 tabs:close-other-tabs (div.title)

Non-Core Packages

atom-css-comb 3.1.0 
atom-wrap-in-tag 0.6.0 
autoclose-html 0.23.0 
busy-signal 1.3.0 
color-picker 2.2.5 
emmet 2.4.3 
file-icons 2.1.2 
intentions 1.1.2 
language-latex 1.0.0 
latex 0.43.0 
latex-autocomplete 1.0.0 
linter 2.1.2 
linter-chktex 1.3.0 
linter-htmlhint 1.3.3 
linter-javac 1.9.4 
linter-markdownlint 1.0.1 
linter-pycodestyle 2.0.2 
linter-python 3.1.1 
linter-tidy 2.3.1 
linter-ui-default 1.2.2 
markdown-writer 2.6.4 
minimap 4.27.1 
monokai 0.22.0 
seti-ui 1.7.0 
sync-settings 0.8.1 
terminal-plus 0.14.5 
vim-mode-plus 0.88.0 

NaN error from user regex warnings

When editing my ia.tex document and using linter-chktex, I saw some strange behaviour in the issues panel at the bottom of the window (if that's what you call it). The indicator showed multiple issues, but only displayed them when I clicked on the "Project" button, but the issues pointed to the file I was editing, but displayed NaN for column numbers.

screen shot 2015-11-11 at 08 21 11

After that, I toggled the linter from the command palette and toggled it back on again. This is when I saw this error.

Some empty tabs also appeared to be opened in the background with a similar name (ia.tex:163:1 as the tab name).

screen shot 2015-11-11 at 10 49 34

Please advise whether this should be reported to the linter package itself.

In the meantime, I'm suppressing user warnings (-n44 in the package setting's args).

Thanks for maintaining this package nonetheless 😊

chktex output

Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 136: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}  
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 138: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 140: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 142: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 157: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}  
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 159: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 161: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 163: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 175: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular}{| c | c |}  
^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 177: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 179: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^
Warning 44 in /Users/jonchan/Documents/ia/ia.tex line 181: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
\hline  
^^^^^^

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: linter package, v1.10.0

Stack Trace

Uncaught TypeError: Invalid Point: (25, NaN)

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (25, NaN)
  at Function.module.exports.Point.assertValid (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:980:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:968:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:693:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:982:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1215:59)
  at /Users/jonchan/.atom/packages/linter/lib/editor-linter.js:70:33
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
  at EditorLinter.addMessage (/Users/jonchan/.atom/packages/linter/lib/editor-linter.js:150:22)
  at /Users/jonchan/.atom/packages/linter/lib/linter-views.js:147:24
  at Array.forEach (native)
  at LinterViews.notifyEditorLinters (/Users/jonchan/.atom/packages/linter/lib/linter-views.js:145:13)
  at LinterViews.render (/Users/jonchan/.atom/packages/linter/lib/linter-views.js:91:12)
  at /Users/jonchan/.atom/packages/linter/lib/linter.coffee:29:14
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
  at MessageRegistry.updatePublic (/Users/jonchan/.atom/packages/linter/lib/message-registry.js:118:20)
  at UpdateMessages (/Users/jonchan/.atom/packages/linter/lib/message-registry.js:35:17)

Commands

     -0:27.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:27.4.0 linter:toggle (atom-text-editor.editor)
     -0:17.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:16.8.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:15.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:13.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:12.1.0 latex:build (atom-text-editor.editor.is-focused)
     -0:10 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:07.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:07.4.0 linter:lint (atom-text-editor.editor)
     -0:06.3.0 spell-check:correct-misspelling (atom-text-editor.editor.is-focused)
  2x -0:05.3.0 editor:split-selections-into-lines (atom-text-editor.editor.is-focused)
     -0:04.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:01.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.4.0 linter:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "projectHome": "/Users/jonchan/Developer/Private"
  },
  "linter": {}
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.3.0
auto-detect-indentation, v0.4.2
language-diff, v0.3.1
language-latex, v0.6.1
latex, v0.28.2
linter, v1.10.0
linter-chktex, v1.2.3
linter-jshint, v1.2.1
minimap, v4.16.0
set-syntax, v0.3.0

# Dev
No dev packages

Problem spawning chktex, though I have it in my PATH (on osx Yosemite)

Hi:

I get this error in Atom:

/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260 Uncaught BufferedProcessError: Failed to spawn command chktex. Make sure chktex is installed and on your PATH

although

which chktex

prints the following

/usr/texbin/chktex

The files are compiled fine... I am not sure how to solve this..

Thanks

Package.activateConfig is deprecated.

Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details

Package.activateConfig (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:247:11)
Package.activateNow (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:218:14)
<unknown> (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:203:30)
Package.measure (C:\Users\Nolen\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15)

chktex wants to replace dots for relative file paths with \ldots when using \lstinputlisting

The title says it all.

Say you have your document in workspace/latex/document/text.tex and some source code in workspace/cpp/project/src/main.cpp.

Say you want to include a part of the source code:

\lstinputlisting[linerange={4-6,8-10},frame=single]{../../cpp/project/src/main.cpp}

chktex will then give the following warning:

11:You should use \ldots to achieve an ellipsis

No such file or directory

I just installed linter-chktex and I'm getting this error while editing a .tex document:

Error: ENOENT: no such file or directory, stat ''
at Error (native)
at fs.statSync (fs.js:854:18)
at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
at /home/lars/.atom/packages/linter-chktex/lib/linter-chktex.coffee:35:24
at Object.provider.lint (/home/lars/.atom/packages/linter-chktex/lib/linter-chktex.coffee:30:20)
at Promise.then._this.emitter.emit.linter (/home/lars/.atom/packages/linter/lib/linter-registry.coffee:59:22)
at LinterRegistry.triggerLinter (/home/lars/.atom/packages/linter/lib/linter-registry.coffee:58:16)
at /home/lars/.atom/packages/linter/lib/linter-registry.coffee:52:17
at Array.map (native)
at /home/lars/.atom/packages/linter/lib/linter-registry.coffee:50:27

chktex is in my path.

Config.unobserve is deprecated.

Config::unobserve no longer does anything. Call .dispose() on the object returned by Config::observe instead.

Config.unobserve (c:\Users\Nolen\AppData\Local\atom\app-0.198.0\resources\app.asar\src\config.js:1060:19)
LinterChktex.destroy (C:\Users\Nolen\.atom\packages\linter-chktex\lib\linter-chktex.coffee:61:16)
LinterView.remove (C:\Users\Nolen\.atom\packages\linter\lib\linter-view.coffee:252:6)
<unknown> (C:\Users\Nolen\.atom\packages\linter\lib\linter-view.coffee:124:7)

Use "'" (ASCII 39) instead of "�" (ASCII 180).

When using the character ô, chktex keeps returning the following error Use "'" (ASCII 39) instead of "�" (ASCII 180).. A quick search brought me to this thread that describes the exact same bug and explains quite well what is actually happening.

It appears that it was an issue on the chktex package that has been resolved in 2015. Is linter-chktex based on a previous version? If so, would it be possible to update it? If not, any idea on how to correct/avoid that?

Environment:
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

List warning number

EDIT: I'm sorry, I overlooked the option in the settings. This issue can just be closed or deleted.

Sommer errors should be ignored, and I therefore add % chktex ## with ## being the warning number for that line. Chtex outputs this warning number in its format, but linter-chktex does not include it in its regexed output. Would it be too much trouble to enable this?

linter-chktex indicates wrong line numbers and breaks cursor navigation

I'm not sure if this is a problem with linter or linter-chktex. The problem is that I get displayed wrong line numbers for issues linter-chktex found. The column number seems to be right. Also it seems like the inline dialogs break cursor navigation: When I put the cursor at some place where I want to edit text, the editing actually happens further right from the actual position of the cursor.

Different behavior from running chktex from terminal

Compared to running chktex <file> in the terminal, it seems that in Atom:

  • The chktex run from Atom ignores any user .chktexrc, either in $HOME or the current directory. Is this because of some sandboxing?
  • I'm also getting warning 21 from \notag\\ which I'm not getting from the terminal run. This I don't understand as the warning seems valid.

executablePath not honored until some other shell command is issued

Platform: Mac OSX 10.11.6
Atom v1.9.9
linter-check 1.3.0
Other installed packages:
git-plus v5.16.2
grammar-token-limit 0.1.1
language-latex 0.6.1
latextools v0.8.2
linter 1.11.16

Have added to config.cson
'linter-chktex':
executablePath: "/Library/TeX/texbin/chktex"

I start the atom application and edit a latex file. When I go to save the file I get two alert boxes:

  1. Failed to spawn command chktex. Make sure chktex is installed and on your PATH
  2. Error: spawn chktex ENOENT
    at exports._errnoException (util.js:890:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

If I build the latex file using latextools:build, modify the file and save again the linter-chktex package behaves as expected.

BufferedProcessError

After I update all my packages occurred this error message:
BufferedProcessError: Failed to spawn command /Library/TeX/texbin/ . Make sure it's a file, not a directory and it's executable.
at /Users/IgorDiniz/.atom/packages/linter-chktex/node-modules/atom-linter/lib/helpers.coffee:50:23
at Emitter.module.exports.Emiter.emit (%%Localization%%)
at BufferedProcess.module.exports.Buffered.Process.handleError (%%Localization%%)
at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:193:26
at doNTCallback0 (node.js:419:9)
at process._tickCallback (node.js:348:13)
Can Help me?
Thanks
:)

Should not be marked as lintOnFly

Since this linter only operates on the saved copy on disk of the file and not the current buffer state it should have lintOnFly set to false. Otherwise linter will keep running it against the disk copy every lint trigger.

Suppress long-lines-error

Hi everybody,

I encounter a well-known problem with linter-chktex due to too long lines. This seems to be an issue with chktex itself (see here). chktex works fine in terminal despite the usual warning:

chktex: WARNING -- ChkTeX does not handle lines over 1021 bytes correctly. Some errors and line numbers may be wrong in this file.

Unfortunately, linter-chktex in Atom only shows this warning and stops working. I know, I could reflow the selection with Atom to shorten the lines (as suggested here), but I work together with colleagues who don't want too many line breaks. Is there any way to suppress this warning and get linter-chktex working?

Thanks a lot for your help!!

Error: ENOENT: no such file or directory, stat ''

I get this error every time that the module is used:

Error: ENOENT: no such file or directory, stat ''
    at Error (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at /home/sturgelose/.atom/packages/linter-chktex/lib/linter-chktex.coffee:43:24
    at Object.provider.lint (/home/sturgelose/.atom/packages/linter-chktex/lib/linter-chktex.coffee:38:20)
    at promises.push.Promise.then._this.emitter.emit.linter (/home/sturgelose/.atom/packages/linter/lib/linter-registry.js:63:26)
    at /home/sturgelose/.atom/packages/linter/lib/linter-registry.js:62:23
    at Set.forEach (native)
    at LinterRegistry.lint (/home/sturgelose/.atom/packages/linter/lib/linter-registry.js:60:18)
    at /home/sturgelose/.atom/packages/linter/lib/linter.coffee:88:16

It seems something related to the name of a file or folder... Any idea on how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.