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

openBinaryFile: permission denied when calling eval command on a function #162

Open
AionDev opened this issue Mar 15, 2019 · 1 comment
Open

Comments

@AionDev
Copy link

AionDev commented Mar 15, 2019

i have this function definition that i want to evaluate in atom text editor.

keepFirstXDecimals : Int -> Float -> Float
keepFirstXDecimals howMany nr =
    (nr * 10)
        |> floor
        |> toFloat
        |> flip (/) 10

keepFirstXDecimals 1 1.9923777

I go with the cursor on the line, and when i call the emjutsu eval command from the command pallete, nothing happens.
I tried few times in a row.
After a while i got this result:

keepFirstXDecimals 1 1.9923777
elm.exe: C:\me\projects\research-exchanges\elm-stuff\0.19.0\Elm_Repl.elmi: openBinaryFile: permission denied (Permission denied)
elm.exe: <<loop>>

But this only happened once, rest of the time nothing happens.
Any insight into what is causing this? I had this feature working just fine few months back.
I'm running elmjutsu 9.10.1, just updated it, restarted atom. The issue persists. Thanks :)

@SidneyNemzer
Copy link

When trying to run the command, do you seeing any errors in the Atom dev console? (Open with command Window: Toggle Developer Tools)

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