Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration File issue: Want to enable tanner_report.json #386

Open
layeha9600 opened this issue May 6, 2020 · 1 comment
Open

Configuration File issue: Want to enable tanner_report.json #386

layeha9600 opened this issue May 6, 2020 · 1 comment

Comments

@layeha9600
Copy link

Hello,
I want to enable the tanner_report.json option. Can you please suggest what is the right default config file where I can change tanner_report.json to be enabled in LOCALLOG section ??
I have also tried with config.ini file with --config parameter but it is getting some error as --
_________ _ ___ ____________
/_ / | / | / / | / / / __
/ / / /| | / |/ / |/ / __/ / /
/ /
/ / / ___ |/ /| / /| / /
/ , /
/
/ /
/ |// |// |_/
___// ||

Traceback (most recent call last):
File "/usr/local/bin/tanner", line 4, in
import('pkg_resources').run_script('Tanner==0.6.0', 'tanner')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.6/dist-packages/Tanner-0.6.0-py3.6.egg/EGG-INFO/scripts/tanner", line 35, in
File "/usr/local/lib/python3.6/dist-packages/Tanner-0.6.0-py3.6.egg/EGG-INFO/scripts/tanner", line 22, in main
File "/usr/local/lib/python3.6/dist-packages/Tanner-0.6.0-py3.6.egg/tanner/config.py", line 52, in set_config
File "/usr/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/usr/lib/python3.6/configparser.py", line 1080, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'config.ini', line: 1
"{'DATA': {'db_config': '/opt/tanner/db/db_config.json',\n"

@afeena
Copy link
Collaborator

afeena commented May 11, 2020

Hi @layeha9600
Sorry for the late answer, could you please provide the config.ini file you've tried to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants