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] When the document imported into the knowledge base exceeds 10,000 words, a Python exception terminal appears, but there is no error in DEBUG mode. #2109

Open
4 of 15 tasks
fryng opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working Waiting for reply

Comments

@fryng
Copy link

fryng commented Oct 30, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Windows

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

/

Models information

Xinference的embediing模型,zhipu_proxyllm模型

What happened

/

What you expected to happen

image
最后的输出日志为:2024-10-30 20:01:05 ZHY-PC chromadb.config[29572] DEBUG Starting component PersistentLocalHnswSegment

How to reproduce

/

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@fryng fryng added bug Something isn't working Waiting for reply labels Oct 30, 2024
@fryng
Copy link
Author

fryng commented Oct 31, 2024

通过断点调试,判断是chromadb版本问题,换了几个版本后,还是没有解决,通过windows事件查看器发现是MSVCP140.dll出现问题,前往下载最新的VC_redist.exe安装解决问题https://learn.microsoft.com/da-dk/cpp/windows/latest-supported-vc-redist?view=msvc-170
image

@Aries-ckt Aries-ckt changed the title [Bug] 知识库导入的文档上万字的时候,出现python异常终端,DEBUG模式并没有错误 [Bug] When the document imported into the knowledge base exceeds 10,000 words, a Python exception terminal appears, but there is no error in DEBUG mode. Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

1 participant