Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The search is not working #1401

Open
SHELA opened this issue Oct 16, 2024 · 0 comments
Open

The search is not working #1401

SHELA opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@SHELA
Copy link

SHELA commented Oct 16, 2024

The search is not working. Got 500 code. Flower without AUTH.

Oct 16 05:52:27 workers sh[3063634]: [E 241016 05:52:27 web:1875] Uncaught exception POST /tasks/datatable (127.0.0.1)
Oct 16 05:52:27 workers sh[3063634]:     HTTPServerRequest(protocol='http', host='localhost:5566', method='POST', uri='/tasks/datatable', version='HTTP/1.1', remote_ip='1237.0.0.1')
Oct 16 05:52:27 workers sh[3063634]:     Traceback (most recent call last):
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/tornado/web.py", line 1788, in _execute
Oct 16 05:52:27 workers sh[3063634]:         result = method(*self.path_args, **self.path_kwargs)
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/tornado/web.py", line 3301, in wrapper
Oct 16 05:52:27 workers sh[3063634]:         return method(self, *args, **kwargs)
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/flower/views/tasks.py", line 95, in post
Oct 16 05:52:27 workers sh[3063634]:         return self.get()
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/tornado/web.py", line 3301, in wrapper
Oct 16 05:52:27 workers sh[3063634]:         return method(self, *args, **kwargs)
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/flower/views/tasks.py", line 62, in get
Oct 16 05:52:27 workers sh[3063634]:         sorted_tasks = sorted(
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/flower/utils/tasks.py", line 40, in iter_tasks
Oct 16 05:52:27 workers sh[3063634]:         if not satisfies_search_terms(task, search_terms):
Oct 16 05:52:27 workers sh[3063634]:       File "/root/.env/lib/python3.9/site-packages/flower/utils/search.py", line 49, in satisfies_search_terms
Oct 16 05:52:27 workers sh[3063634]:         any_value_search_term and any_value_search_term in '|'.join(
Oct 16 05:52:27 workers sh[3063634]:     TypeError: sequence item 4: expected str instance, list found
@SHELA SHELA added the bug label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant