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

"No such file ..." error on run-groovy command #31

Closed
abhi18av opened this issue Nov 16, 2016 · 7 comments
Closed

"No such file ..." error on run-groovy command #31

abhi18av opened this issue Nov 16, 2016 · 7 comments

Comments

@abhi18av
Copy link

Hi @russel

I wish to use the groovy-mode and I've installed it from MELPA via package manager. Syntax-highlight etc are working fine but when I do run-groovy command the inferior groovy buffer opens up and throws the error
No such file or directory

I've have checked that the groovysh etc commands are working fine. I used brew install groovy for the installation. Is this a path config error, how to correct it?

@abhi18av
Copy link
Author

I've tried out the suggestions in #30 without any success.

@russel
Copy link
Contributor

russel commented Nov 16, 2016

On the one hand I can be smug – it works for me. On the other hand we need to make it work for you.

The problem with the error message No such file or directory it is not clear which file is being sought. If groovysh is on you PATH then perhaps the problem is that the file inf-groovy.el is not in the same directory as groovy-mode.el?

@abhi18av
Copy link
Author

No, that's not the case since it's all in the ~/.emacs.d/elpa/groovy-mode/ so that's not an issue. Still, I do notice that when the inferior-groovy shell pops up, it's initial directory is in emacs(?) which is something new for me. Normally, the directory path is set to the current directory

@russel
Copy link
Contributor

russel commented Nov 16, 2016

The only file path I can see with a quick look is the path to groovy and groovysh. The assumption is $GROOVY_HOME/bin/{groovy,groovysh} (with a .bat extension on Windows).

@abhi18av
Copy link
Author

Yeah, but do I still need to set it explicitly even if the groovysh command works. Please let me know if there's some shell-magic involved :)

@abhi18av
Copy link
Author

Okay, so I've made some progress. I just reinstalled groovy using sdkman and this time echo $GROOVY_HOME does print out the home directory.

But, the the problem is still the same in emacs inferior groovy shell. What's your say @russel ?

@russel
Copy link
Contributor

russel commented May 16, 2017

We have changed the Groovy mode from being a CC-Mode derived one to being a standalone one. We are therefore closing all issues relating to the old mode. If you try the new mode and see any problems please post a new issue.

@russel russel closed this as completed May 16, 2017
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

2 participants