atom-language-idris icon indicating copy to clipboard operation
atom-language-idris copied to clipboard

Error -4058 can't find idris executable

Open GSmithApps opened this issue 7 years ago • 13 comments

I'm getting error message -4058 that says it can't find the idris executable. I have the right file path in my package settings, so I don't know what the error is. Here's the message:

Thanks!

image

GSmithApps avatar Nov 05 '18 11:11 GSmithApps

I have never worked on Windows - could you try to specify the path including the .exe ending?

justjoheinz avatar Nov 06 '18 15:11 justjoheinz

That's a good idea. I'm pretty sure I tried it, and it didn't work. But I'll try again and let you know. Thank you!

GSmithApps avatar Nov 06 '18 15:11 GSmithApps

Or play around with the slashes, like C:\... or C:\\... ?

justjoheinz avatar Nov 06 '18 16:11 justjoheinz

I originally just went to the file's properties and copied the whole file path. I assumed that was kind of a foolproof method. I'll try messing with the slashes

GSmithApps avatar Nov 06 '18 16:11 GSmithApps

yeah I just tried and it didn't work:(

GSmithApps avatar Nov 06 '18 16:11 GSmithApps

Can you invoke idris from the terminal?

justjoheinz avatar Nov 06 '18 20:11 justjoheinz

Or a Anti Virus software denies to spawn the idris process?

justjoheinz avatar Nov 06 '18 20:11 justjoheinz

Let me check. Those are good ideas! Thank you very much for helping

GSmithApps avatar Nov 06 '18 20:11 GSmithApps

yeah i can invoke it from the prompt. I'll look at the antivirus thing

GSmithApps avatar Nov 06 '18 20:11 GSmithApps

still not working

GSmithApps avatar Nov 06 '18 20:11 GSmithApps

I run it on Windows, and I don't see this.

melted avatar Nov 07 '18 09:11 melted

@melted Could you post the exact entry of your idris path setting for reference please?

justjoheinz avatar Nov 07 '18 10:11 justjoheinz

I'm seeing the same on ubuntu 18.04 but with error code -2. idris is installed at ~/.cabal/bin/idris and runs fine in the terminal

EDIT if I put idris on the PATH via ~/.profile, I can then just use the default of idris as the location. Didn't fix the original problem but things are working now at least.

Thanks for the atom plugin

joelberkeley avatar Mar 08 '20 16:03 joelberkeley