We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Got this traceback:
2018-02-28 09:01:27,720 INFO: Starting ldap-passwd-webui 2.0.0 Traceback (most recent call last): File "app.py", line 144, in SimpleTemplate.defaults = dict(CONF['html']) File "/usr/lib/python3.6/configparser.py", line 959, in getitem raise KeyError(key) KeyError: 'html'
Python version: 3.6.4
The text was updated successfully, but these errors were encountered:
This (obviously) means that you don’t have [html] section in the config file.
[html]
Sorry, something went wrong.
This (also) can mean that that ConfigParser doesn't see your ini file.
ConfigParser
It really depends how you're running the app, but on alpine, this works:
alpine
# apk add ldap-passwd-webui-waitress # cd /usr/share/webapps/ldap-passwd-webui # CONF_FILE=/etc/ldap-passwd-webui.ini waitress-serve app:application
No branches or pull requests
Got this traceback:
Python version: 3.6.4
The text was updated successfully, but these errors were encountered: