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

run python3 build_medicalgraph Socket is not connected #63

Open
GoToBoy opened this issue Feb 7, 2023 · 0 comments
Open

run python3 build_medicalgraph Socket is not connected #63

GoToBoy opened this issue Feb 7, 2023 · 0 comments

Comments

@GoToBoy
Copy link

GoToBoy commented Feb 7, 2023

Traceback (most recent call last): File "/QASystemOnMedicalKG-master/build_medicalgraph.py", line 276, in <module> handler.create_graphnodes() File "/QASystemOnMedicalKG-master/build_medicalgraph.py", line 190, in create_graphnodes self.create_diseases_nodes(disease_infos) File "/QASystemOnMedicalKG-master/build_medicalgraph.py", line 182, in create_diseases_nodes self.g.create(node) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2neo/database.py", line 362, in create with self.begin() as tx: File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2neo/database.py", line 353, in begin return Transaction(self, autocommit) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2neo/database.py", line 781, in __init__ self.transaction = self.connector.begin() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2neo/internal/connectors.py", line 297, in begin tx = self.pool.acquire() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/neobolt/direct.py", line 715, in acquire return self.acquire_direct(self.address) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/neobolt/direct.py", line 608, in acquire_direct connection = self.connector(address, error_handler=self.connection_error_handler) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2neo/internal/connectors.py", line 226, in connector return connect(address_, auth=cx_data["auth"], File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/neobolt/direct.py", line 972, in connect raise last_error File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/neobolt/direct.py", line 964, in connect connection = _handshake(s, address, der_encoded_server_certificate, **config) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/neobolt/direct.py", line 920, in _handshake s.shutdown(SHUT_RDWR) OSError: [Errno 57] Socket is not connected
env:
py2neo==4.3.0
docker-compose for neo4j
image

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