DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Bug] [ChatExcel] IsADirectoryError: [Errno 21] Is a directory:

Open springga opened this issue 9 months ago • 0 comments

Search before asking

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

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • [ ] Chat Data
  • [X] Chat Excel
  • [ ] Chat DB
  • [ ] Chat Knowledge
  • [ ] Model Management
  • [ ] Dashboard
  • [ ] Plugins

Installation Information

Device information

Device: GPU

Models information

LLM: tongyi-proxyllm

What happened

after uploading excel file in Chat Excel, no response for an input. console prints: IsADirectoryError: [Errno 21] Is a directory:

What you expected to happen

file_path passing to excel_reader.py is wrong

How to reproduce

  1. chat excel
  2. upload file
  3. start chat

Additional context

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

springga avatar May 22 '24 17:05 springga