Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Python config.ini problems #2

Open
mmilcic opened this issue Jan 27, 2017 · 0 comments
Open

Python config.ini problems #2

mmilcic opened this issue Jan 27, 2017 · 0 comments

Comments

@mmilcic
Copy link

mmilcic commented Jan 27, 2017

I had problems with making config.ini available

C:\Users\Kruger\firstProj>python -m glhooks config.ini
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\glhooks_main
.py", line 33, in

main()

File "C:\Python27\lib\site-packages\glhooks_main_.py", line 29, in main
server.start(configs, args["--host"], int(args["--port"]))
File "C:\Python27\lib\site-packages\glhooks\server.py", line 22, in start
configs.logger.info("GitLab webhooks server is starting...")
File "C:\Python27\lib\site-packages\glhooks\utils.py", line 20, in decorator
setattr(self, key, getter(self))
File "C:\Python27\lib\site-packages\glhooks\config.py", line 65, in logger
return self._build_logger(self["server"]["log_file"])
KeyError: u'log_file'

Can you help me set it up at localhost (my local webserver)

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

No branches or pull requests

1 participant