- 127.0.0.1 - - [29/Sep/2022 19:58:47] "GET /get/agents HTTP/1.1" 500 -
- Traceback (most recent call last):
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2548, in __call__
- return self.wsgi_app(environ, start_response)
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2528, in wsgi_app
- response = self.handle_exception(e)
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2525, in wsgi_app
- response = self.full_dispatch_request()
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1822, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1820, in full_dispatch_request
- rv = self.dispatch_request()
- File "C:\Users\xinyi\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1796, in dispatch_request
- return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
- File "C:\Users\xinyi\simulation\PrototypeGettingData.py", line 27, in index
- rows=query_db("select * from agents")
- File "C:\Users\xinyi\simulation\PrototypeGettingData.py", line 15, in query_db
- cur=get_db().cursor().execute(query, args)
- sqlite3.OperationalError: no such table: agents
[text] BugReport
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: