The debugger caught an exception in your WSGI application. Return self.view_functions(**req.view_args)įile "/monitoring/app.py", line 149, in show_broken_sourcesĪttributeError: 'Source' object has no attribute 'item_day' Response = self.make_response(self.handle_exception(e))įile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exceptionįile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_appįile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_requestįile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exceptionįile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_requestįile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request Return gi_app(environ, start_response)įile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app This led to the following error in my frontend:ĪttributeError: 'Source' object has no attribute 'schedule_day'įile "/usr/lib/python2.7/dist-packages/flask/app.py", line 1836, in _call_
The query itself is not case sensitive and runs through in SQL with a global change to upper or lower case, but an external Python function that uses the results of the SQL query cannot find the needed column anymore when it is made upper-case since it searches for a column_name in lower case. The other command "To upper case" is not SQL-intelligent, meaning it changes everything in the selection to upper case, therefore it is also not called with "SQL" in the name. When I right-click on a selected SQL query and choose "Format SQL" it changes the SQL to lower case.