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

Cannot start inferior-idris-process #460

Closed
themattchan opened this issue Sep 17, 2017 · 6 comments · Fixed by #488
Closed

Cannot start inferior-idris-process #460

themattchan opened this issue Sep 17, 2017 · 6 comments · Fixed by #488

Comments

@themattchan
Copy link

themattchan commented Sep 17, 2017

I'm trying toC-c C-l a file in emacs, but it keeps on failing with the following error:

Idris disconnected: exited abnormally with code 1
Warning from Idris: The following packages were specified but cannot be found:
- idris

Idris disconnected: exited abnormally with code 1
Warning from Idris: The following packages were specified but cannot be found:
- idris

I installed idris through brew install idris, and have set the path in emacs: (setq idris-interpreter-path "/usr/local/bin/idris"). I'm on idris v 1.1.1 and the latest version of idris-mode on MELPA.

Any help would be appreciated. Thanks!

@david-christiansen
Copy link
Member

It sounds to me like Idris is getting the argument "-p idris". Have you specified anything on idris-load-packages?

@themattchan
Copy link
Author

Nope, when I C-x C-e on idris-load-packages I get nil

@themattchan
Copy link
Author

themattchan commented Nov 2, 2017

Weird, I only get this error when I'm inside a project, e.g. 1 .. could this be some weird interaction with ipkg?

@abailly
Copy link
Contributor

abailly commented Feb 10, 2018

@themattchan is still an issue?

@gergoerdi
Copy link

gergoerdi commented Sep 4, 2018

I'm seeing a similar problem, are these related?

Warning from Idris: The following packages were specified but cannot be found:

Warning from Idris: - effects
- js
- contrib

Idris disconnected: exited abnormally with code 1

Of course, just loading the same file from the CLI with --package js --package effects --package contrib works.

Interestingly, this only seems to happen if I have idris-load-packages set in the buffer; if it is not set, the packages are correctly taken from the .ipkg file.

@jsoo1
Copy link
Contributor

jsoo1 commented Sep 20, 2018

@gergoerdi It looks like the original requester mentioned that idris-load-packages was nil. Would you mind creating a separate issue?

@themattchan I think the original issue is that idris-mode doesn't recognize all idris identifiers in package names in .ipkg packages. I opened #488 to address that issue.

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

Successfully merging a pull request may close this issue.

5 participants