-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: NoneType object is not subscriptable with ChatOpenAI + SQLAgent #1427
Comments
🤖 Thank you for providing the detailed steps to reproduce the issue. The error message "NoneType object is not subscriptable" typically occurs when you're trying to access an item from a NoneType object, which is not possible. This could be due to a variable or object that is expected to be a certain type (like a list or a dictionary), but is actually Given the steps you've provided, it seems like the error might be occurring when the Unfortunately, I can't see the screenshot you've provided, but here are a few things you can check:
If you're still experiencing the issue after checking these, it would be helpful if you could provide more information about the error. Specifically, the full error message and stack trace, and any additional information about what you're trying to do when the error occurs. As for your question about examples from the marketplace, I'm afraid I don't have that information. However, you can check the Langflow Marketplace for available examples and templates. Please note that the availability of examples and templates may vary depending on the current state of the marketplace. I hope this helps! If you have any more questions or need further clarification, feel free to ask. Dosu Sources
|
I have the same bug. Did anyone solve this? |
Hi @scheung38 ! |
same bug, without psycopg2 |
Do we have any solution for the problem? |
same issue here, using ollama + SQLAgent |
Hello, @HShawnSun, |
I am using the newest downloadable version, and yes, it still persist.
…________________________________
发件人: anovazzi1 ***@***.***>
发送时间: 2024年7月1日 15:33
收件人: langflow-ai/langflow ***@***.***>
抄送: He SUN (20411847) ***@***.***>; Mention ***@***.***>
主题: Re: [langflow-ai/langflow] Bug: NoneType object is not subscriptable with ChatOpenAI + SQLAgent (Issue #1427)
Hello, @HShawnSun<https://github.com/HShawnSun>,
Sorry for the delay. What version are you using? Does the error still persist?
―
Reply to this email directly, view it on GitHub<#1427 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWEAEGDFZ5O57XL5VK2B2XTZKFSBZAVCNFSM6AAAAABDE2EY3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGMZDQNBUGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of The University of Nottingham Ningbo China. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with The University of Nottingham Ningbo China may be monitored as permitted by UK and Chinese legislation.
|
Thanks for the feedback! I'll take a look and fix it ASAP. |
Describe the bug
A clear and concise description of what the bug is.
Browser and Version
To Reproduce
Steps to reproduce the behavior:
SQLAgent
Entered Database URI:
postgresql+psycopg2:https://:@:5432/<DATABASE_NAME>
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Also are there examples from marketplace to use as starting templates?
The text was updated successfully, but these errors were encountered: