You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2018-12-31 05:10:15,784] ERROR in app: Exception on /sendGraph [POST]
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/src/hyperboria-map/web/web.py", line 37, in page_sendGraph
ret = insert_graph_data(ip=get_ip(), config=app.config, data=data, mail=mail, version=version)
File "/src/hyperboria-map/web/graphData.py", line 17, in insert_graph_data
with open(config['LOG'], 'a') as f:
KeyError: 'LOG'
Original
web/graphData.py
with open(config['LOG'], 'a') as f:
f.write(log + '\n')
Temporary Fix
web/graphData.py
#with open(config['LOG'], 'a') as f:
#f.write(log + '\n')
The text was updated successfully, but these errors were encountered:
ERROR
Original
web/graphData.py
Temporary Fix
web/graphData.py
The text was updated successfully, but these errors were encountered: