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
My kafka topic has no message which leads to indexers being empty. while in this state is expected the API response for a post request to be empty but i am getting the error below
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/ali/Ali/github/SimDB/app.py", line 52, in query
result = indexer.find_NN_by_vector(rq.get("vector"), nn_article_count)
File "/Users/ali/Ali/github/SimDB/indexers/FaissIndexer.py", line 79, in find_NN_by_vector
return self.index.search(vector, n)[1][0]
AttributeError: 'NoneType' object has no attribute 'search'</textarea>
The debugger caught an exception in your WSGI application. You can now
look at the traceback which led to the error.
If you enable JavaScript you can also use additional features such as code
execution (if the evalex feature is enabled), automatic pasting of the
exceptions and much more.
Brought to you by DON'T PANIC, your
friendly Werkzeug powered traceback interpreter.
<div class="pin-prompt">
<div class="inner">
<h3>Console Locked</h3>
<p>
The console is locked and needs to be unlocked by entering the PIN.
You can find the PIN printed out on the standard output of your
shell that runs the server.
<form>
<p>PIN:
<input type=text name=pin size=14>
<input type=submit name=btn value="Confirm Pin">
</form>
</div>
</div>
The text was updated successfully, but these errors were encountered:
My kafka topic has no message which leads to indexers being empty. while in this state is expected the API response for a post request to be empty but i am getting the error below
`
<title>AttributeError: 'NoneType' object has no attribute 'search' // Werkzeug Debugger</title> <script src="?__debugger__=yes&cmd=resource&f=jquery.js"></script> <script src="?__debugger__=yes&cmd=resource&f=debugger.js"></script> <script type="text/javascript"> var TRACEBACK = 140203188669968, CONSOLE_MODE = false, EVALEX = true, EVALEX_TRUSTED = false, SECRET = "7bS2IT5ce5W23A3ZiIv7"; </script>AttributeError
AttributeError: 'NoneType' object has no attribute 'search'
Traceback (most recent call last)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/ali/anaconda3/envs/sims_engine_indexer/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/ali/Ali/github/SimDB/app.py", line 52, in query
result = indexer.find_NN_by_vector(rq.get("vector"), nn_article_count)
File "/Users/ali/Ali/github/SimDB/indexers/FaissIndexer.py", line 79, in find_NN_by_vector
return self.index.search(vector, n)[1][0]
AttributeError: 'NoneType' object has no attribute 'search'</textarea>
The debugger caught an exception in your WSGI application. You can now
look at the traceback which led to the error.
If you enable JavaScript you can also use additional features such as code
execution (if the evalex feature is enabled), automatic pasting of the
exceptions and much more.
Brought to you by DON'T PANIC, your
friendly Werkzeug powered traceback interpreter.
The text was updated successfully, but these errors were encountered: