You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the sonar-project.properties file, the following line is defined:
sonar.python.pylint_config=.pylintrc
However, there is no .pylintrc in the root of repository, so sonar-runner fails with the exception:
Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.util
s.SonarException: Cannot analyse the file 'C:\temp\sample_sonar_python\src\badfortune.py', det
ails: 'org.sonar.api.utils.SonarException: Cannot find the pylint configuration file: c:\temp
sample_sonar_python.pylintrc'
at org.sonar.runner.Runner.delegateExecution(Runner.java:189)
at org.sonar.runner.Runner.execute(Runner.java:78)
at org.sonar.runner.Main.main(Main.java:61)
Caused by: org.sonar.api.utils.SonarException: Cannot analyse the file 'C:\temp\sample_sonar_p
ython\src\badfortune.py', details: 'org.sonar.api.utils.SonarException: Cannot find the pylint
configuration file: c:\temp\sample_sonar_python.pylintrc'
at org.sonar.plugins.python.PythonSensor.analyse(PythonSensor.java:48)
at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
at org.sonar.batch.phases.Phases.execute(Phases.java:93)
at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111)
..........
The text was updated successfully, but these errors were encountered:
In the sonar-project.properties file, the following line is defined:
sonar.python.pylint_config=.pylintrc
However, there is no .pylintrc in the root of repository, so sonar-runner
fails with the exception:
Youre right. I'll fix it. You can either disable the property or use "mvn
sonar:sonar" in the meanwhile.
Exception in thread "main"
org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.util
s.SonarException: Cannot analyse the file
'C:\temp\sample_sonar_python\src\badfortune.py', det
ails: 'org.sonar.api.utils.SonarException: Cannot find the pylint
configuration file: c:\temp
sample_sonar_python.pylintrc'
at org.sonar.runner.Runner.delegateExecution(Runner.java:189)
at org.sonar.runner.Runner.execute(Runner.java:78)
at org.sonar.runner.Main.main(Main.java:61)
Caused by: org.sonar.api.utils.SonarException: Cannot analyse the file
'C:\temp\sample_sonar_p
ython\src\badfortune.py', details: 'org.sonar.api.utils.SonarException:
Cannot find the pylint
configuration file: c:\temp\sample_sonar_python.pylintrc'
at
org.sonar.plugins.python.PythonSensor.analyse(PythonSensor.java:48)
at
org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
at org.sonar.batch.phases.Phases.execute(Phases.java:93)
at
org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at
org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111)
..........
Reply to this email directly or view it on GitHub: #1
In the sonar-project.properties file, the following line is defined:
sonar.python.pylint_config=.pylintrc
However, there is no .pylintrc in the root of repository, so sonar-runner fails with the exception:
Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.util
s.SonarException: Cannot analyse the file 'C:\temp\sample_sonar_python\src\badfortune.py', det
ails: 'org.sonar.api.utils.SonarException: Cannot find the pylint configuration file: c:\temp
sample_sonar_python.pylintrc'
at org.sonar.runner.Runner.delegateExecution(Runner.java:189)
at org.sonar.runner.Runner.execute(Runner.java:78)
at org.sonar.runner.Main.main(Main.java:61)
Caused by: org.sonar.api.utils.SonarException: Cannot analyse the file 'C:\temp\sample_sonar_p
ython\src\badfortune.py', details: 'org.sonar.api.utils.SonarException: Cannot find the pylint
configuration file: c:\temp\sample_sonar_python.pylintrc'
at org.sonar.plugins.python.PythonSensor.analyse(PythonSensor.java:48)
at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)
at org.sonar.batch.phases.Phases.execute(Phases.java:93)
at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
at org.sonar.batch.bootstrap.Module.start(Module.java:83)
at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:111)
..........
The text was updated successfully, but these errors were encountered: