Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Detect incompatibility and raise a relevant exception #55

Closed
sorsaffari opened this issue Jul 15, 2019 · 1 comment
Closed

Detect incompatibility and raise a relevant exception #55

sorsaffari opened this issue Jul 15, 2019 · 1 comment

Comments

@sorsaffari
Copy link
Contributor

Problem to Solve

When there is an incompatibility between Client Python and the running Grakn Server, the exception thrown by the client seems unrelated to the real cause of the problem. In fact, the error message may even be incorrect, given that the keyspace does exist with the given name.

Current Workaround

If encountering this exception for the first time, only searching the web or asking the community can lead the user to the solution.

Proposed Solution

Have Client Python to identify the incompatibility and throw an exception with a helpful message. e.g. Client Python version 1.5.3 does not support the running Grakn Core server. Please refer to the documentation of client Python to ensure compatibility.

Additional Information

N/A

@sorsaffari sorsaffari added this to the 1.5.4 milestone Jul 15, 2019
@lolski lolski removed this from the 1.5.4 milestone Sep 6, 2019
@alexjpwalker
Copy link
Member

Closing as a duplicate of typedb/typedb-driver#25 (one issue that we propagate to all clients is enough)

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

No branches or pull requests

5 participants