ncg81 commented on issue #3: URL: https://github.com/apache/kibble-scanners/issues/3#issuecomment-622957506
Here's what I get now: ``` cos@ubuntu:~/temp/kibble-scanners$ python3 src/kibble-scanner.py [core]: Loaded plugins/scanners/git-sync v/0.1.2 (Sync plugin for Git repositories) [core]: Loaded plugins/scanners/git-census v/0.1.0 (Census Scanner for Git) [core]: Loaded plugins/scanners/git-sloc v/0.1.0 (SloC Counter for Git) [core]: Loaded plugins/scanners/git-evolution v/0.1.0 (Git Evolution Scanner) [core]: Loaded plugins/scanners/jira v/0.1.0 (Scanner for Atlassian JIRA) [core]: Loaded plugins/scanners/ponymail v/0.1.0 (Scanner plugin for Apache Pony Mail) [core]: Loaded plugins/scanners/ponymail-tone v/0.1.0 (Tone/Mood Scanner plugin for Apache Pony Mail) [core]: Loaded plugins/scanners/ponymail-kpe v/0.1.0 (Key Phrase Extraction plugin for Apache Pony Mail) [core]: Loaded plugins/scanners/pipermail v/0.1.0 (Scanner for GNU Mailman Pipermail) [core]: Loaded plugins/scanners/github-issues v/0.1.0 (Scanner for GitHub Issues) [core]: Loaded plugins/scanners/bugzilla v/0.1.0 (Scanner for BugZilla) [core]: Loaded plugins/scanners/gerrit v/0.1.1 (Scanner for Gerrit Code Review) [core]: Loaded plugins/scanners/jenkins v/0.1.0 (Scanner for Jenkins CI) [core]: Loaded plugins/scanners/buildbot v/0.1.0 (Scanner for Buildbot) [core]: Loaded plugins/scanners/travis v/0.1.0 (Scanner for Travis CI) [core]: Loaded plugins/scanners/discourse v/0.1.0 (Scanner for Discourse Forums) [core]: Kibble Scanner v/0.1.0 starting src/kibble-scanner.py:122: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. config = yaml.load(open(CONFIG_FILE)) [core]: Loaded YAML config from conf/config.yaml [core]: Using direct ElasticSearch broker model [core]: Connecting to ElasticSearch database at localhost:9200... [core]: Connected! [core]: This is a type-less DB, expanding database names instead. [core]: We're using ES >= 7.x, NO DOC_TYPE! Traceback (most recent call last): File "src/kibble-scanner.py", line 180, in <module> main() File "src/kibble-scanner.py", line 129, in main broker = plugins.brokers.kibbleES.Broker(config) File "/home/cos/temp/kibble-scanners/src/plugins/brokers/kibbleES.py", line 318, in __init__ apidoc = es.get(index=es_config['database'], doc_type='api', id = 'current')['_source'] File "/home/cos/temp/kibble-scanners/src/plugins/brokers/kibbleES.py", line 79, in get return self.ES.get(index = index+'_'+doc_type, id = id) File "/home/cos/.local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped return func(*args, params=params, **kwargs) TypeError: get() missing 1 required positional argument: 'doc_type' ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
