deprecation warnings. Should I be concerned?
gameuser1982 opened this issue · 10 comments
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:20: UserWarning: ddg is deprecated. Use DDGS().text() generator
warnings.warn("ddg is deprecated. Use DDGS().text() generator")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:22: UserWarning: parameter time is deprecated, use parameter timelimit
warnings.warn("parameter time is deprecated, use parameter timelimit")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:24: UserWarning: parameter page is deprecated, use DDGS().text() generator
warnings.warn("parameter page is deprecated, use DDGS().text() generator")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:26: UserWarning: parameter max_results is deprecated, use DDGS().text()
warnings.warn("parameter max_results is deprecated, use DDGS().text()")
I've experienced the same - did you find a resolution? I have reinstalled DDG. But this still comes up whenever i run autogpt and then all google searches fail.
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:20: UserWarning: ddg is deprecated. Use DDGS().text() generator
warnings.warn("ddg is deprecated. Use DDGS().text() generator")
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:24: UserWarning: parameter page is deprecated, use DDGS().text() generator
warnings.warn("parameter page is deprecated, use DDGS().text() generator")
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:26: UserWarning: parameter max_results is deprecated, use DDGS().text()
warnings.warn("parameter max_results is deprecated, use DDGS().text()")
SYSTEM: Command google returned: Error: 'NoneType' object is not iterable
No. I don't have a resolution yet
I've the same issue.
The reason it goes for duck duck go is that it can't find a google api key. so get the key and it will stop showing https://docs.agpt.co/configuration/search/
@TienShinhan-world @gameuser1982 @edumedavidb
The reason it goes for duck duck go is that it can't find a google api key. so get the key and it will stop showing https://docs.agpt.co/configuration/search/ @TienShinhan-world @gameuser1982 @edumedavidb
I see. But is the Duck Duck Go search functionality broken?
Make sure you installed DuckDuckGo Search
pip install -U duckduckgo_search
I have duckduckgo_search installed as I intended to use that search, I get the same error message. The search seems to work, but should be concerned something isn't right, or its just a warning.. ignore it for now?
we have fixed it in the new UPDATE , pls try now
Me too, same error as above.