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
[2023-07-12 15:04:09 +0530] [78652] [ERROR] Error handling request /api/data?q=SELECT+*+from+orders
Traceback (most recent call last):
File "/home/prameela/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1408, in execute
meth = statement._execute_on_connection
AttributeError: 'str' object has no attribute '_execute_on_connection'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/prameela/.local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "/home/prameela/.local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/home/prameela/.local/lib/python3.10/site-packages/falcon/api.py", line 244, in call
responder(req, resp, **params)
File "/home/prameela/PycharmProjects/text_to_chart/sql-chart/server.py", line 17, in on_get
result = conn.execute(sql)
File "/home/prameela/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1410, in execute
raise exc.ObjectNotExecutableError(statement) from err
sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT * from orders'
The text was updated successfully, but these errors were encountered:
[2023-07-12 15:04:09 +0530] [78652] [ERROR] Error handling request /api/data?q=SELECT+*+from+orders
Traceback (most recent call last):
File "/home/prameela/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1408, in execute
meth = statement._execute_on_connection
AttributeError: 'str' object has no attribute '_execute_on_connection'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/prameela/.local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "/home/prameela/.local/lib/python3.10/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/home/prameela/.local/lib/python3.10/site-packages/falcon/api.py", line 244, in call
responder(req, resp, **params)
File "/home/prameela/PycharmProjects/text_to_chart/sql-chart/server.py", line 17, in on_get
result = conn.execute(sql)
File "/home/prameela/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1410, in execute
raise exc.ObjectNotExecutableError(statement) from err
sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT * from orders'
The text was updated successfully, but these errors were encountered: