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

[Error] Unable to use APOC procedures on Colab #2

Open
mahimairaja opened this issue Oct 14, 2023 · 0 comments
Open

[Error] Unable to use APOC procedures on Colab #2

mahimairaja opened this issue Oct 14, 2023 · 0 comments

Comments

@mahimairaja
Copy link

mahimairaja commented Oct 14, 2023

I executed the code below:

from llama_index.graph_stores import Neo4jGraphStore

graph_store = Neo4jGraphStore(
    username=username,
    password=password,
    url=url,
    database=database,
)

And, I received the error:

---------------------------------------------------------------------------
ClientError                               Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/llama_index/graph_stores/neo4j.py](https://b71uypks1j-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231012-060150_RC00_572849617#) in __init__(self, username, password, url, database, node_label, **kwargs)
     67         try:
---> 68             self.refresh_schema()
     69         except neo4j.exceptions.ClientError:

17 frames
ClientError: {code: Neo.ClientError.Database.DatabaseNotFound} {message: Unable to get a routing table for database 'Instance02' because this database does not exist}

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/llama_index/graph_stores/neo4j.py](https://b71uypks1j-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20231012-060150_RC00_572849617#) in __init__(self, username, password, url, database, node_label, **kwargs)
     68             self.refresh_schema()
     69         except neo4j.exceptions.ClientError:
---> 70             raise ValueError(
     71                 "Could not use APOC procedures. "
     72                 "Please ensure the APOC plugin is installed in Neo4j and that "

ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration

Notebook Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant