You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the exception whenever I try executing migrate.py, exactly as given on [http://dev.grakn.ai/docs/examples/phone-calls-migration-python].
Environment
OS (where Grakn server runs): Mac OS 10
Grakn version (and platform): Grakn Core 1.6
Grakn client: client-python
Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
install Grakn and run the server
Upload the schema on grakn
run the code for migrate.py for JSON formatted dataset
as given on [http://dev.grakn.ai/docs/examples/phone-calls-migration-python]
Expected Output
Python script to execute with no errors and exceptions.
Actual Output
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 63, in init
open_session_response = self._stub.open(RequestBuilder.open_session(keyspace, self.credentials))
File "/anaconda3/lib/python3.6/site-packages/grpc/_channel.py", line 533, in call
return _end_unary_response_blocking(state, call, False, None)
File "/anaconda3/lib/python3.6/site-packages/grpc/_channel.py", line 467, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Connect Failed"
debug_error_string = "{"created":"@1582107100.501949000","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2721,"referenced_errors":[{"created":"@1582107100.501946000","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":241,"referenced_errors":[{"created":"@1582107100.501915000","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":689,"grpc_status":14,"referenced_errors":[{"created":"@1582107100.501898000","description":"Failed to connect to remote host: OS Error","errno":61,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":205,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:127.0.0.1:48555"}]}]}]}"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "migrate.py", line 223, in
build_phone_call_graph(inputs=Inputs, data_path="../../datasets/phone-calls/", keyspace_name = "phone_calls")
File "migrate.py", line 113, in build_phone_call_graph
with client.session(keyspace=keyspace_name) as session: # 2
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 23, in session
return Session(self.uri, keyspace, self._channel, self.credentials)
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 66, in init
raise GraknError('Could not obtain sessionId for keyspace "{0}", stems from: {1}'.format(keyspace, e))
grakn.exception.GraknError.GraknError: Could not obtain sessionId for keyspace "phone_calls", stems from: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Connect Failed"
debug_error_string = "{"created":"@1582107100.501949000","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2721,"referenced_errors":[{"created":"@1582107100.501946000","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":241,"referenced_errors":[{"created":"@1582107100.501915000","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":689,"grpc_status":14,"referenced_errors":[{"created":"@1582107100.501898000","description":"Failed to connect to remote host: OS Error","errno":61,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":205,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:127.0.0.1:48555"}]}]}]}" >
Additional information
I have installed Grakn manually.
The text was updated successfully, but these errors were encountered:
Description
I get the exception whenever I try executing migrate.py, exactly as given on [http://dev.grakn.ai/docs/examples/phone-calls-migration-python].
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
as given on [http://dev.grakn.ai/docs/examples/phone-calls-migration-python]
Expected Output
Python script to execute with no errors and exceptions.
Actual Output
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 63, in init
open_session_response = self._stub.open(RequestBuilder.open_session(keyspace, self.credentials))
File "/anaconda3/lib/python3.6/site-packages/grpc/_channel.py", line 533, in call
return _end_unary_response_blocking(state, call, False, None)
File "/anaconda3/lib/python3.6/site-packages/grpc/_channel.py", line 467, in _end_unary_response_blocking
raise _Rendezvous(state, None, None, deadline)
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Connect Failed"
debug_error_string = "{"created":"@1582107100.501949000","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2721,"referenced_errors":[{"created":"@1582107100.501946000","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":241,"referenced_errors":[{"created":"@1582107100.501915000","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":689,"grpc_status":14,"referenced_errors":[{"created":"@1582107100.501898000","description":"Failed to connect to remote host: OS Error","errno":61,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":205,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:127.0.0.1:48555"}]}]}]}"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "migrate.py", line 223, in
build_phone_call_graph(inputs=Inputs, data_path="../../datasets/phone-calls/", keyspace_name = "phone_calls")
File "migrate.py", line 113, in build_phone_call_graph
with client.session(keyspace=keyspace_name) as session: # 2
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 23, in session
return Session(self.uri, keyspace, self._channel, self.credentials)
File "/anaconda3/lib/python3.6/site-packages/grakn/client.py", line 66, in init
raise GraknError('Could not obtain sessionId for keyspace "{0}", stems from: {1}'.format(keyspace, e))
grakn.exception.GraknError.GraknError: Could not obtain sessionId for keyspace "phone_calls", stems from: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Connect Failed"
debug_error_string = "{"created":"@1582107100.501949000","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2721,"referenced_errors":[{"created":"@1582107100.501946000","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":241,"referenced_errors":[{"created":"@1582107100.501915000","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":689,"grpc_status":14,"referenced_errors":[{"created":"@1582107100.501898000","description":"Failed to connect to remote host: OS Error","errno":61,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":205,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:127.0.0.1:48555"}]}]}]}"
>
Additional information
I have installed Grakn manually.
The text was updated successfully, but these errors were encountered: