New issue
Advanced search Search tips

Issue 869436 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

`cros lint` claims there are errors in files when it has an internal error

Project Member Reported by la...@chromium.org, Jul 31

Issue description

Confusing error message on linter failure:

ImportError: No module named common.configuration
10:28:28: ERROR: I found errors in 1 files.  I'm not even mad, just disappointed.
 
Labels: OS-Chrome
Owner: la...@chromium.org
is your tree out of date or something ?  not seeing that here and there are no references to that module in chromite.

$ git rev-parse HEAD
2c3d9c837512db5893d3b41e24a30110b70c9374
$ git grep common.configuration
<nothing>

maybe the error is part of a larger message but you've only attached the last line ?
I'm not worried about the specific error (which is a result of my local testing), just that the final logged error claims that there is something wrong with the input file.
Owner: ----
Status: Available (was: Assigned)
Summary: `cros lint` claims there are errors in files when it has an internal error (was: `cros lint` is disappointed in itself)

Sign in to add a comment