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

[BUG]AttributeError: 'dict' object has no attribute 'lower' #80

Closed
zihao-ai opened this issue Dec 1, 2022 · 1 comment
Closed

[BUG]AttributeError: 'dict' object has no attribute 'lower' #80

zihao-ai opened this issue Dec 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@zihao-ai
Copy link

zihao-ai commented Dec 1, 2022

Traceback (most recent call last):
File "main.py", line 60, in
main()
File "main.py", line 43, in main
results = exec_search(indexes, candidates, query, mode, threshold, confs, limit)
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 179, in exec_search
results = exact_search(indexes, query, confs)
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 86, in exact_search
results = [item for item in indexes if query in item[1].lower()]
File "/home/zhuzihao/AI-Paper-Collector/searcher.py", line 86, in
results = [item for item in indexes if query in item[1].lower()]
AttributeError: 'dict' object has no attribute 'lower'

@zihao-ai zihao-ai added the bug Something isn't working label Dec 1, 2022
@Doragd
Copy link
Collaborator

Doragd commented Dec 1, 2022

ref: #67

@Doragd Doragd closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants