Skip to content

no such file or directory at first time gpython repl #62

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

Closed
mattheusv opened this issue Jul 18, 2019 · 2 comments · Fixed by #63
Closed

no such file or directory at first time gpython repl #62

mattheusv opened this issue Jul 18, 2019 · 2 comments · Fixed by #63
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mattheusv
Copy link

mattheusv commented Jul 18, 2019

I installed gpython with the command go get github.com/go-python/gpython and when I run in the first time in repl I get the next message error:
Failed to open history: open /home/matheus/.gpyhistory: no such file or directory
the repl do not stop working, and not presented no problem at first, but should be nice dont show this kind of error since that this does not hassles the gpython experience repl

@ncw
Copy link
Collaborator

ncw commented Jul 22, 2019

I think this would be quite easy to fix - fancy having a go?

@ncw ncw added bug Something isn't working good first issue Good for newcomers labels Jul 22, 2019
@mattheusv
Copy link
Author

Yeah, I can do this

mattheusv added a commit to mattheusv/gpython that referenced this issue Jul 22, 2019
Now when the ~/.gpyhistory file does not exist, do not show the error
message in the repl, as long as this does not disrupt the experience in the repl.

Fixes go-python#62.
@ncw ncw closed this as completed in #63 Jul 22, 2019
ncw pushed a commit that referenced this issue Jul 22, 2019
Now when the ~/.gpyhistory file does not exist, do not show the error
message in the repl, as long as this does not disrupt the experience in the repl.

Fixes #62.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants