-
Notifications
You must be signed in to change notification settings - Fork 44.2k
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
SYSTEM: Command google returned: Error: 'NoneType' object is not iterable #4350
Comments
Do you set the google API key? Or just use the default without setting the key? |
Hi,
I have just used the default without setting the Google API key?
…On Mon, 22 May 2023 at 17:44, kinance ***@***.***> wrote:
Do you set the google API key? Or just use the default without setting the
key?
—
Reply to this email directly, view it on GitHub
<#4350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAAVSHRA6VKMYE3AKRXJJO3XHOCVTANCNFSM6AAAAAAYKTI7JA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Max **Qwarnström*
*Managing Partner*
p:
+46 761 64 69 86
|
I'm getting this too. It looks like google search without an API key is duckduckgo search. It looks like there is something wrong with the response from that service.
|
I have the same problem, and I'm using a valid GoogleApi key and Custom Search Engine ID |
Yes before getting the error i first encounter this "ddg is deprecated. Use DDGS().text() generator" |
*\AppData\Local\Programs\Python\Python310\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") << That one? |
Yes you're right i did get this error |
And this:
"Command browse_website returned: ("Answer gathered from website: The text
does not provide information on....."
Any ideas on how to solve these issues?
…On Tue, 23 May 2023 at 04:50, Archanadian ***@***.***> wrote:
Yes you're right i did get this error
—
Reply to this email directly, view it on GitHub
<#4350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAAVSHRUGIPY2DW47P2CHQLXHQQZDANCNFSM6AAAAAAYKTI7JA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Max **Qwarnström*
*Managing Partner*
p:
+46 761 64 69 86
|
I've the same issue. |
Same issue here... any way to resolve? |
Duplicates #813 |
Hi all, My workaround, I still have the warning but the search working :
|
@TienShinhan-world thanks for the workaround. Committed and merged to the master. |
Many thanks! Does it work for you now? I still get the google error.
…On Tue, 23 May 2023 at 17:11, Kinance ***@***.***> wrote:
@TienShinhan-world <https://github.com/TienShinhan-world> thanks for the
workaround. Committed and merged to the master.
—
Reply to this email directly, view it on GitHub
<#4350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAAVSHULUF2REQ6N3PEIGITXHTHQTANCNFSM6AAAAAAYKTI7JA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Max **Qwarnström*
*Managing Partner*
p:
+46 761 64 69 86
|
As @TienShinhan-world shared, after running these 2 commands, it still shows deprecated warning but it's now working! |
Many thanks. Anyone receiving this?
"User Warning: ddg is deprecated. Use DDGS().text() generator
warnings.warn("ddg is deprecated. Use DDGS().text() generator")"
…On Tue, 23 May 2023 at 17:36, Ong Chong Te ***@***.***> wrote:
Many thanks! Does it work for you now? I still get the google error.
… <#m_-3879716051305066959_>
On Tue, 23 May 2023 at 17:11, Kinance *@*.*> wrote: @TienShinhan-world
<https://github.com/TienShinhan-world> https://github.com/TienShinhan-world
<https://github.com/TienShinhan-world> thanks for the workaround. Committed
and merged to the master. — Reply to this email directly, view it on GitHub
<#4350 (comment)
<#4350 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAAVSHULUF2REQ6N3PEIGITXHTHQTANCNFSM6AAAAAAYKTI7JA
<https://github.com/notifications/unsubscribe-auth/BAAVSHULUF2REQ6N3PEIGITXHTHQTANCNFSM6AAAAAAYKTI7JA>
. You are receiving this because you authored the thread.Message ID: @.*>
-- *Max **Qwarnström* *Managing Partner* p: +46 761 64 69 86
As @TienShinhan-world <https://github.com/TienShinhan-world> shared,
after running these 2 commands, it still shows deprecated but it's now
working.
pip uninstall duckduckgo-search
pip install duckduckgo-search==3.0.2
—
Reply to this email directly, view it on GitHub
<#4350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAAVSHX7FVSNP6HSV6ZFZ23XHTKOBANCNFSM6AAAAAAYKTI7JA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Max **Qwarnström*
*Managing Partner*
p:
+46 761 64 69 86
|
Relates #4376 |
This PR #4383 should fix this |
Which Operating System are you using?
MacOS
Which version of Auto-GPT are you using?
Latest Release
Do you use OpenAI GPT-3 or GPT-4?
GPT-4
Which area covers your issue best?
Installation and setup
Describe your issue.
When using Auto-GPT i receive following message: SYSTEM: Command google returned: Error: 'NoneType' object is not iterable
Any ideas how to solve that?
Upload Activity Log Content
No response
Upload Error Log Content
No response
The text was updated successfully, but these errors were encountered: