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] [Module Name] can not connect neo4j 5.0+ #1535

Open
3 of 15 tasks
dusens opened this issue May 17, 2024 · 0 comments
Open
3 of 15 tasks

[Bug] [Module Name] can not connect neo4j 5.0+ #1535

dusens opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working Waiting for reply

Comments

@dusens
Copy link
Contributor

dusens commented May 17, 2024

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

2080ti x 4

Models information

llama3-8b-instruct

What happened

connector = <dbgpt.datasource.conn_tugraph.TuGraphConnector object at 0x7f47d868ab50>

def test_get_table_names(connector):
    """Test retrieving table names from the graph database."""
  table_names = connector.get_table_names()

test_conn_tugraph.py:27:


../../../dbgpt/datasource/conn_tugraph.py:63: in get_table_names
v_result = session.run("CALL db.vertexLabels()").data()
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/work/session.py:313: in run
self._auto_result._run(
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/work/result.py:181: in _run
self._attach()
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/work/result.py:301: in _attach
self._connection.fetch_message()
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/io/_common.py:178: in inner
func(*args, **kwargs)
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/io/_bolt.py:850: in fetch_message
res = self._process_message(tag, fields)
/root/anaconda3/envs/dbgpt_env/lib/python3.11/site-packages/neo4j/_sync/io/_bolt5.py:369: in _process_message
response.on_failure(summary_metadata or {})


self = <neo4j._sync.io._common.Response object at 0x7f45ad519510>
metadata = {'code': 'Neo.ClientError.Procedure.ProcedureNotFound', 'message': "There is no procedure with the name `db.vertexLabe...base instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed."}

What you expected to happen

使用 连接测试文件报错

How to reproduce

界面连接发现失败 使用内部的 test_connect_tugraph 发现也连不上

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@dusens dusens added bug Something isn't working Waiting for reply labels May 17, 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