conan icon indicating copy to clipboard operation
conan copied to clipboard

[bug] Conan config install fails

Open bethmal opened this issue 4 months ago • 3 comments

Describe the bug

Windows10 version 22H2. conan 1.58.0

Description: "conan config install" always fails with below error message.

Conan Infor: [Begin]conan config install git@myconan_config.git [Out]DEBUG :conan_api.py [176]: INIT: Using config 'd:\myfolder\.conan\conan.conf' [2024-04-17 11:43:03,100] [Out]DEBUG :tracer.py [156]: CONAN_API: config_install(source_folder=None,target_folder=None) [2024-04-17 11:43:03,102] [Out]Trying to clone repo: git@myconan_config.git [Out]INFO :runners.py [87]: Calling command: git -c http.sslVerify=true clone "git@myconan_config.git" . > "C:\Users\xxxxxx\AppData\Local\Temp\tmpcg26thq1\output" [2024-04-17 11:43:03,123] [Out]INFO :runners.py [90]: Return code: 0 [2024-04-17 11:43:08,088] [Out]INFO :runners.py [98]: Output: in file: stdout: None stderr:b"Cloning into '.'...\n" [2024-04-17 11:43:08,088] [Out]Repo cloned! [Out]Copying file conan-config.bat to d:\myfolder\.conan. [Out]Processing conan.conf [Out]Copying file EXPORT.yml to d:\myfolder\.conan. [Out]Copying file LICENSE to d:\myfolder\.conan. [Out]Skip README.md Defining remotes from remotes.txt [Out]Installing settings.yml [Out]Copying file simulator.profile to d:\myfolder\.conan\profiles [Out]Copying file websimulator.profile to d:\myfolder\.conan\profiles [Out]ERROR: Failed conan config install: Cannot change permissions for D:\myfolder\.conan\tmp_config_install! Exception info: (<class 'PermissionError'>, PermissionError(13, 'The process cannot access the file because it is being used by another process'), <traceback object at 0x000001F052CB8280>) [Failed] conan config install git@myconan_config.git

How to reproduce it

No response

bethmal avatar Apr 17 '24 06:04 bethmal