-
Notifications
You must be signed in to change notification settings - Fork 14
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
Access is denied colcon.exe using cmd/windows 10 #4
Comments
Is the problem reproducible / deterministic? As you already mentioned |
Yes it's reproducible. To make sure I deleted everything except for Edit: Here's
|
It seems to fail within the setup.py invocation (rather then anywhere in |
It may be a problem with the
Maybe this issue should be moved to colcon-core instead? Here's the curl --output colcon.repos https://raw.githubusercontent.com/colcon/colcon.readthedocs.org/master/colcon.repos
python -m venv env
call env/Scripts/activate
pip install -U EmPy setuptools PyYAML pywin32 coloredlogs
mkdir src
vcs import src < colcon.repos
type nul > src/colcon-argcomplete/COLCON_IGNORE
type nul > src/colcon-notification/COLCON_IGNORE
python src/colcon-core/bin/colcon build --paths src/*
call "install/prefix.bat"
colcon build |
In the first build the output of
These installed scripts are the reason why the second build then fails. |
It's not specific to curl --output colcon.repos https://raw.githubusercontent.com/colcon/colcon.readthedocs.org/master/colcon.repos
python -m venv env
call env/Scripts/activate
type nul > env/COLCON_IGNORE
pip install -U EmPy setuptools PyYAML pywin32 coloredlogs
mkdir src
vcs import src < colcon.repos
python src/colcon-core/bin/colcon build --paths src/colcon-core
call "install\setup.bat"
colcon build --paths src/colcon-core Output of last build step
|
The prefix / local_setup scripts are not used to build downstream packages. Each package has a script in its build folder which is being used: e.g. The only thing it does in this case is sourcing the |
The presence of the script in the The second problem is the permission problem. I think that may be related to the fact that the build is currently using that specific executable which can't be overwritten at the same time (on Windows). |
I created a follow up ticket for that: colcon/colcon-core#48
The initially described problem (access denied) has been addressed in colcon/colcon.readthedocs.org#10 by updating the instructions. Hence I will go ahead and close this ticket. |
Create an empty directory and save the following as
bootstrap.bat
Run
cmd
,cd
to the directory andcall bootstrab.bat
. The last command has the following output.I expected the build to succeed. It seems strange that it is looking for
colcon.exe
inside ofcolcon-notification
.The text was updated successfully, but these errors were encountered: