bblanchon / SublimeText-HighlightBuildErrors

👻 A plugin for Sublime Text 3 that highlights the lines that caused errors in the build
https://sublime.wbond.net/packages/Highlight%20Build%20Errors
MIT License
12 stars 7 forks source link

This keeps poping up: AssertionError: regex must capture filename,line,[column,]message #24

Closed evandrocoan closed 8 years ago

evandrocoan commented 8 years ago
Running sh D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Packages/SublimeBuildSystem/Octave.sh sistemas.m
Traceback (most recent call last):
  File "HighlightBuildErrors in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Highlight Build Errors.sublime-package", line 173, in finish
  File "HighlightBuildErrors in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Highlight Build Errors.sublime-package", line 155, in doHighlighting
  File "HighlightBuildErrors in D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\Data\Installed Packages\Highlight Build Errors.sublime-package", line 147, in __init__
AssertionError: regex must capture filename,line,[column,]message
bblanchon commented 8 years ago

This was supposed to be a hint to help you fix the file_regex in your build system. I admit it was not very clear :sweat_smile:

Starting with version 3.0.1, it should display the following message:

Highlight Build Errors plugin warning: invalid configuration
The regular expression must capture filename,line,[column,]message
Please fix the 'file_regex' in build system configuration.
evandrocoan commented 8 years ago

Thank you @bblanchon

Anyone else, may see http://stackoverflow.com/questions/17407895/how-to-configure-sublimes-build-system-to-capture-file-and-line-from-such-error for the file_regex setting.