went over my config again. Now after login it shows "Internal server error"
Raspbian command window show
pi@raspberrypi:~/domoboard $ python server.py -c domob.conf
* Running on
http://192.168.1.127:8090/ (Press CTRL+C to quit)
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:17] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "POST /login/ HTTP/1.1" 200 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:36] "GET /login/static/js/moment.min.js HTTP/1.1" 404 -
192.168.1.111 - - [10/Jan/2017 13:26:47] "POST /login/ HTTP/1.1" 302 -
[2017-01-10 13:26:47,354] ERROR in app: Exception on /dashboard [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/Flask_Auth-0.85-py2.7.egg/flaskext/auth/auth.py", line 186, in decorator
return func(*args, **kwargs)
File "server.py", line 48, in generatePage
_csrf_token = session['_csrf_token'])
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/Flask-0.12-py2.7.egg/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/domoboard/templates/index.html", line 7, in top-level template code
{% include k + ".html" ignore missing %}
File "/home/pi/domoboard/templates/line_charts.html", line 29, in top-level template code
{% for k, v in blockArray[count]["line_charts"].iteritems() %}
File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.9.3-py2.7.egg/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
UndefinedError: 'dict object' has no attribute 'line_charts'
192.168.1.111 - - [10/Jan/2017 13:26:47] "GET /dashboard HTTP/1.1" 500 -
Is it normal for it to show a different IP?
John