-
Notifications
You must be signed in to change notification settings - Fork 17
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
Graql shell crashes if a user doesn't have a home directory #7
Comments
This comment was originally posted by @haikalpribadi on 2018-04-14 18:13:48+02:00. I think we should catch this exception and tell the user they need to fix it (through an error message). @lolski @kasper-piskorski |
This comment was originally posted by @lolski on 2018-04-14 23:59:36+02:00. Agreed @haikalpribadi |
This comment was originally posted by @kasper-piskorski on 2018-04-16 18:02:03+02:00. @lolski @haikalpribadi tell user to fix it? what's wrong with having no home directory? shouldn't we instead make the history file optional? |
This comment was originally posted by @haikalpribadi on 2018-04-27 23:54:15+02:00. @kasper-piskorski If we don't need to fix it, I don't have a problem with that, Kasper. But is it possible to make the |
This comment was originally posted by @lolski on 2018-05-08 11:33:14+02:00. Yes, it should be possible. Shall I create a ticket for that? |
## What is the goal of this PR? Fix #7 Previously, Grakn Console would crash in case history file could not be created (possible reasons are user's home directory being non-present or mounted read-only) ## What are the changes implemented in this PR? - Bump `@graknlabs_protocol` version - Make an adapter class which allows to `.flush()` history object regardless of whether it's backed by `FileHistory` or `MemoryHistory` - Resort to using in-memory history in case history file could not be created
# Why is this PR needed? Fixes typedb#5 So we are able to use `client-nodejs` with the latest `@graknlabs_grakn_core` # What does the PR do? - Upgrades commit hash of `@graknlabs_grakn_core` - Fixes the client to comply with new API # Does it break backwards compatibility? — # List of future improvements not on this PR —
This issue was originally posted by @kasper-piskorski on 2018-01-26 12:11.
NB: not sure if we should fix that, just logging it here so that we know
I believe the cause is this:
If a user doesn't have a home directory it throws an exception on file creation.
The text was updated successfully, but these errors were encountered: