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][Chat Dashboard]Qwen Dashboard analysis error. #2293

Open
3 of 15 tasks
zhaopengfeigithup opened this issue Jan 10, 2025 · 0 comments
Open
3 of 15 tasks

[Bug][Chat Dashboard]Qwen Dashboard analysis error. #2293

zhaopengfeigithup opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working Waiting for reply

Comments

@zhaopengfeigithup
Copy link

zhaopengfeigithup commented Jan 10, 2025

Search before asking

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

Operating system information

Linux

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

通义大模型代理

What happened

报表分析代理通义千问,其他功能正常,报表分析报错

What you expected to happen

报表分析代理通义千问,其他功能正常,报表分析报错

How to reproduce

INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'}
2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0>
2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed!

报表分析代理通义千问,其他功能正常,报表分析报错,INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'} 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0> 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed! 报表分析代理通义千问,其他功能正常,报表分析报错,INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'} 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0> 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed!Traceback (most recent call last): File "/mnt/d/DB-GPT/dbgpt/app/openapi/api_v1/editor/api_editor_v1.py", line 286, in editor_chart_run colunms, sql_result = db_conn.query_ex(sql, timeout=30) TypeError: RDBMSConnector.query_ex() got an unexpected keyword argument 'timeout' 3 days ago

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@zhaopengfeigithup zhaopengfeigithup added bug Something isn't working Waiting for reply labels Jan 10, 2025
@zhaopengfeigithup zhaopengfeigithup changed the title 报表分析代理通义千问,其他功能正常,报表分析报错,INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'} 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0> 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed! 报表分析代理通义千问,其他功能正常,报表分析报错,INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'} 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0> 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed!Traceback (most recent call last): File "/mnt/d/DB-GPT/dbgpt/app/openapi/api_v1/editor/api_editor_v1.py", line 286, in editor_chart_run colunms, sql_result = db_conn.query_ex(sql, timeout=30) TypeError: RDBMSConnector.query_ex() got an unexpected keyword argument 'timeout' Jan 10, 2025
@Aries-ckt Aries-ckt changed the title 报表分析代理通义千问,其他功能正常,报表分析报错,INFO editor_chart_run:{'db_name': 'case_1_student_manager', 'sql': 'SELECT\n c.course_name\nFROM\n courses c\nGROUP BY\n c.course_id\nORDER BY\n c.course_name;', 'chart_type': '使用柱状图(BarChart)来展示每个维度的数据,这样可以直观地比较不同课程之间的差异。'} 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.datasource.manages.connect_config_db[1772] INFO Result: <sqlalchemy.engine.cursor.CursorResult object at 0x7ff6f02dfac0> 2025-01-10 10:02:42 LAPTOP-9AI05STR dbgpt.app.openapi.api_v1.editor.api_editor_v1[1772] ERROR Chart sql run failed!Traceback (most recent call last): File "/mnt/d/DB-GPT/dbgpt/app/openapi/api_v1/editor/api_editor_v1.py", line 286, in editor_chart_run colunms, sql_result = db_conn.query_ex(sql, timeout=30) TypeError: RDBMSConnector.query_ex() got an unexpected keyword argument 'timeout' [Bug][Chat Dashboard]Qwen Dashboard analysis error. Jan 12, 2025
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