Skip to content
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

Maxes out at 147 Errors #8

Open
eeeeevan opened this issue Oct 2, 2017 · 0 comments
Open

Maxes out at 147 Errors #8

eeeeevan opened this issue Oct 2, 2017 · 0 comments

Comments

@eeeeevan
Copy link

eeeeevan commented Oct 2, 2017

Stumbled upon this today, and just wanted to throw it out there.

A project I'm working on has started with me creating some html 'modules' and copy pasting them a bunch of times into the same file, and then doing individual tweaks from there.

Most of these modules have the same id for now right after the mass pasting, so they would get flagged as being bad html. I noticed at some point that I was no longer getting flags for these, and after testing discovered that I was not getting any more flags at all.

In my testing, I discovered that htmlhint seems to max out at 147 flagged errors in my file. If there are any more than that, I get an error in my console:

SublimeLinter: error in SublimeLinter daemon: 
SublimeLinter: -------------------- 
SublimeLinter: Traceback (most recent call last):
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/queue.py", line 57, in loop
    item = self.q.get(block=True, timeout=self.MIN_DELAY)
  File "./python3.3/queue.py", line 175, in get
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/queue.py", line 65, in loop
    self.lint(view_id, timestamp)
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/queue.py", line 111, in lint
    self.callback(view_id, timestamp)
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/sublimelinter.py", line 120, in lint
    Linter.lint_view(view, filename, code, hit_time, callback)
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/linter.py", line 929, in lint_view
    linter.lint(hit_time)
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/node_linter.py", line 77, in lint
    super(NodeLinter, self).lint(hit_time)
  File "/Users/EvanCampbell/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/linter.py", line 1410, in lint
    for match, line, col, error, warning, message, near in self.find_errors(output):
  File "linter in /Users/EvanCampbell/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter-contrib-htmlhint.sublime-package", line 38, in find_errors
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 215, in decode_value
    raise ValueError(err)
ValueError: Error trying to decode value: Unexpected character, expected a comma or closing bracket in (data):1:65538
 
SublimeLinter: -------------------- 

Normally, a user wouldn't have this many errors in a project. Just the circumstance of what I'm working on allowed it to surface. Hope it's of some use!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant