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

mxpy PermissionDenied on build #223

Open
alexisdavidson opened this issue Feb 12, 2023 · 1 comment
Open

mxpy PermissionDenied on build #223

alexisdavidson opened this issue Feb 12, 2023 · 1 comment

Comments

@alexisdavidson
Copy link

alexisdavidson commented Feb 12, 2023

Finished release [optimized] target(s) in 0.38s thread 'main' panicked at 'failed to copy compiled contract to output directory: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', /home/alexis/multiversx-sdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-debug-0.34.1/src/meta/meta_wasm_build.rs:47:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace CRITICAL:cli:Build error: error code = 101, see output.

I get this error when trying to "mxpy contract build" from WSL but in a Windows path (like on the desktop). It works fine when I build in the root directory from WSL though.

I would like this to work so I can improve my workflow.

Any idea how to bypass this PermissionDenied error on building a contract?

In the output directory, the .abi file gets created successfully but the .wasm file is empty

@schimih
Copy link
Contributor

schimih commented Mar 13, 2023

Hey @alexisdavidson

Is this still a problem after mxpy v6.0.0 release?

Thanks! 🙌

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