-
Notifications
You must be signed in to change notification settings - Fork 20
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
TypeError: 'NoneType' object is not subscriptable while generating images #18
Comments
Cannot reproduce. Does this happen every time or randomly? And can you try this prompt on https://gemini.google.com/app and see if it works? |
I happens every time. I also can produce images on https://gemini.google.com/app with the same prompt. |
I have same issue. |
Unfortunately this error never happens on my side and I'm not able to debug it without the response body you got. Guess that for some reason response structure can be different by account or region. Needs someone with basic python debugging skill to set a breakpoint here and find out the valid indexes (or simply print out and send the full Gemini-API/src/gemini_webapi/client.py Lines 386 to 403 in 871faa1
|
Fixed in #34 |
File "/gemini_webapi/client.py", line 370, in <listcomp> url=image[0][3][3], ~~~~~~~~^^^ TypeError: 'NoneType' object is not subscriptable
I receive this error while running this code:
`
`
The text was updated successfully, but these errors were encountered: