coala / coala-quickstart

A tool that generates an initial coala config file for you!
GNU Affero General Public License v3.0
47 stars 76 forks source link

"The default coafile '.coafile' was not found." warnings #62

Open jayvdb opened 7 years ago

jayvdb commented 7 years ago

coala-quickstart --ci is emitting lots of "The default coafile '.coafile' was not found." warnings see https://travis-ci.org/jayvdb/Aurora/builds/185683597

WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
WARNING:root:The default coafile '.coafile' was not found. You can generate a configuration file with your current options by adding the `--save` flag or suppress any use of config files with `-I`.
jack17529 commented 7 years ago

@jayvdb please assign me this.

kaustubhhiware commented 7 years ago

@jayvdb , the multiple warning occurs due to this reason : get_filtered_bears is called for each language, which results to one warning per detected language.

In order to fix this issue, ConfigurationGathering.py in coala/coalib/settings will have to be changed to (line 186) for coafile_sections, silent must be True.

Is it okay if a PR is made to coala repo, to solve this issue ? The changes that I have suggested above would close this issue.

jack17529 commented 7 years ago

And @kaustubhhiware are doing this because @jayvdb haven't responded on my comment for last 20 days :confused:

jayvdb commented 7 years ago

@kaustubhhiware, that sounds good.

@jack17529 , you had not completed your newcomer issue when this issue was assigned to @kaustubhhiware . Please find another 'low' issue to work on.

RaiVaibhav commented 6 years ago

@jayvdb @adtac @satwikkansal @Makman2 I would like to work if issue is not already solved

RaiVaibhav commented 6 years ago

are you working on this @kaustubhhiware ??

kaustubhhiware commented 6 years ago

No @RaiVaibhav

RaiVaibhav commented 6 years ago

@jayvdb @kaustubhhiware can you help me in getting the issue as i tried first to fix it by push the change coafile_sections = load_config_file(config,silent=save) but it is raising AssertionError and travis failed

shreyateeza commented 6 years ago

@jayvdb Assign this issue to me.

shreyateeza commented 6 years ago

@jayvdb Please unassign me from this issue. I am no longer working on this.