Cargo generate Error: access denied (os error 5) - rust

I have no strength left.
I try to use command:
cargo generate --git https://github.com/rustwasm/wasm-pack-template
To create project template, but i get some error
Access is denied. (os error 5)
Has anyone perhaps encountered this problem?
Thanks

I can replicate the same problem using Windows 11 with the latest cargo generate version (0.14.0).
I've fixed the problem using an older cargo generate release (0.13.1)

Related

How to solve "plugin failed code 127" compiling with nanopb

I am trying to compile a c++ code in an conan enviroment, here are details:
Ubuntu 18.04 WSL x86-64
Windowns 10 x64
python 3.7.5
protoc 3.19.4
The project is located at /mnt/c/project
The build directory is located at /mnt/c/build
The build occurs without any errors but when I try to compile with "ninja" it throws an error related to protoc-gen-nanopb, as you can see attached image.
I tried to install a new protobuf from its c++ source, i added the LD_LIBRARY_PATH that was missing, and I have also tried to clean everything and erase all the files and build again. Everything seems to fail. I believe it's related to compatibility between protobuf and my python version, but I am not sure.
Could someone help me understand how to solve it? I am new to ubuntu and stackoverflow and i am sorry if some information is missing. In this case, just ask.
Error 127

Couldn't build release version of iOS project with hosted mac agent Azure pipeline

Getting these two errors when I try to build the iOS project with hosted mac agent.
lipo : error : unable to find utility "lipo", not a developer tool or in PATH [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj]
MTOUCH : error MT5306: Failed to create the a fat library. Please review the build log. [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj]
Have selected the xcode version 10.2.1
I changed this based on the solution given in this reference,
https://forums.xamarin.com/discussion/31493/mtouchtask-error-mt5206-failed-to-create-the-a-fat-library-please-review-the-build-log-mt5206
Some other links suggest this could be due to the license and tried sudo xcodebuild -license accept Still it doesn't work. Any leads?
Update:
After selecting the xcode 11.1, lipo : error : unable to find utility "lipo", not a developer tool or in PATH [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj] error is resolved.
Running the command in a bash script task resolved my problem.
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
Basically it selects the xcode version 10.3.

Error installing feeder/feedr library in python

I am trying to run a code which uses feeder (feedr on git repository) library. I am getting error while installing it. I have tried pip, cloning git, and previous versions but still getting same error on all PC. Please tell how to solve it or any alternative for feeder. Original code link is https://github.com/nashory/DeLF-pytorch/tree/master/notebook enter image description here
feedr uses infi.docopt_completion==0.2.1 which in turn uses distribute which is so old (last release in 2013) that it could hardly be installed in modern Python. I failed to install it in Python 2.7.
In short: the project feedr is old, outdated and abandoned. Forget about it. Or try to update in manually to use newer versions of dependencies. You can send pull request(s) to the author.

using Xcode 10 for python, gets a launch error

I want to use Xcode to create python applications and I am testing it and every time I want to run the project I get the following error:
There is a problem launching using posix_spawn (error code: 8).
And Xcode also said build succeeded.
what can I do to resolve this problem?
try change executable interpreter to /usr/bin/pythonw

Ubuntu/Darling - dyld: Failed to load native library: libSimpleWebKit.so

I'm attempting to use Darling directly built from source on Github, I ran in to a few issues with building and dependencies, but with the help of apt-file I got through all the little problems. Now, I'm trying to run Sourcetree From Atlassian (as Wine can't seem to handle the windows version) and am getting the following error. Would anyone happen to have an idea on why? Currently running Ubuntu 13.04 64bit.
dyld: Cannot execute binary file: Failed to load native library: libSimpleWebKit.so: cannot open shared object file: No such file or directory
I just had this error myself. The error message tells you already everything you need to know: The appropriate library - libsimplewebkit - was not found and needs to be installed. Just search for simplewebkit with your distros package manager and install the appropriate package. If it doesn't find anything you will need to compile it yourself.

Resources