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

Error: Operation not permitted #34

Open
woeps opened this issue Mar 6, 2020 · 4 comments · Fixed by #37
Open

Error: Operation not permitted #34

woeps opened this issue Mar 6, 2020 · 4 comments · Fixed by #37
Labels
bug Something isn't working help wanted Extra attention is needed library issues regarding the library Refabricator

Comments

@woeps
Copy link
Owner

woeps commented Mar 6, 2020

GitHub Action yields errors when running test on mac-latest like the following: Error: /Users/runner/runners/2.165.2/work/refabricator/refabricator/generated/p2.md.html: Operation not permitted
This error seems to come from refabricator/lib/factories.file.

I don't really know why this happens. Any idea/help is appreciated.

@woeps woeps added bug Something isn't working help wanted Extra attention is needed binary issues regarding the binary bin/refabricate.exe labels Mar 6, 2020
@woeps woeps added this to the Proof of concept milestone Mar 6, 2020
@woeps woeps added library issues regarding the library Refabricator and removed binary issues regarding the binary bin/refabricate.exe labels Mar 6, 2020
@woeps
Copy link
Owner Author

woeps commented Mar 6, 2020

I got information on Ocaml Discord:

https://osxdaily.com/2018/10/09/fix-operation-not-permitted-terminal-error-macos/

This seems to be a restriction by the OS. Not sure how to circumvent this error yet.

@woeps
Copy link
Owner Author

woeps commented Mar 9, 2020

I will disable the execution of the refabricate binary for now, to finally get unblocked.

In the near future, Unit test shall be introduced.

Any advice is wellcome!

@woeps
Copy link
Owner Author

woeps commented Mar 16, 2020

@yawaramin mentioned a similar issue on discord, which he solved by splitting up compilation and execution into separate steps.

@woeps woeps reopened this Mar 16, 2020
@woeps
Copy link
Owner Author

woeps commented Apr 26, 2020

@yawaramin mentioned a similar issue on discord, which he solved by splitting up compilation and execution into separate steps.

I tested this approach on experiment/lwt-stream branch and this seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed library issues regarding the library Refabricator
Projects
None yet
1 participant