Hi,
I just wanted to reinstall the nRF Connect SDK with version 1.2.0 to make sure everything is clean on my new project.
But when I am trying to clone the repository using west I am always getting this error:
C:\ncs>west init -m https://github.com/NordicPlayground/fw-nrfconnect-nrf --mr v1.2.0 === Initializing in c:\ncs --- Cloning manifest repository from https://github.com/NordicPlayground/fw-nrfconnect-nrf, rev. v1.2.0 Initialized empty Git repository in c:/ncs/.west/manifest-tmp/.git/ remote: Enumerating objects: 24920, done. remote: Total 24920 (delta 0), reused 0 (delta 0), pack-reused 24920 eceiving objects: 100% (24920/24920), 8.67 MiB | 2.Receiving objects: 100% (24920/24920), 9.52 MiB | 2.25 MiB/s, done. Resolving deltas: 100% (17254/17254), done. From https://github.com/NordicPlayground/fw-nrfconnect-nrf * tag v1.2.0 -> FETCH_HEAD * [new branch] master -> origin/master * [new branch] v1.0-branch -> origin/v1.0-branch * [new branch] v1.1-branch -> origin/v1.1-branch * [new branch] v1.2-branch -> origin/v1.2-branch * [new tag] v0.1.0 -> v0.1.0 * [new tag] v0.1.0-rc1 -> v0.1.0-rc1 * [new tag] v0.3.0 -> v0.3.0 * [new tag] v0.3.0-rc1 -> v0.3.0-rc1 * [new tag] v0.3.0-rc2 -> v0.3.0-rc2 * [new tag] v0.4.0 -> v0.4.0 * [new tag] v0.4.0-rc1 -> v0.4.0-rc1 * [new tag] v0.4.0-rc2 -> v0.4.0-rc2 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.0.0-rc1 -> v1.0.0-rc1 * [new tag] v1.0.0-rc2 -> v1.0.0-rc2 * [new tag] v1.0.0-rc3 -> v1.0.0-rc3 * [new tag] v1.0.0-rc4 -> v1.0.0-rc4 * [new tag] v1.1.0 -> v1.1.0 * [new tag] v1.1.0-rc1 -> v1.1.0-rc1 * [new tag] v1.1.0-rc2 -> v1.1.0-rc2 * [new tag] v1.1.0-rc3 -> v1.1.0-rc3 * [new tag] v1.2.0 -> v1.2.0 * [new tag] v1.2.0-rc1 -> v1.2.0-rc1 * [new tag] v1.2.0-rc2 -> v1.2.0-rc2 ba66fa045af91924500a6c5504563271e4b9aa2f refs/tags/v1.2.0 Checking out files: 100% (1498/1498), done. Note: checking out 'v1.2.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at c04db43c west.yml: v1.2.0 release Traceback (most recent call last): File "c:\python38\lib\shutil.py", line 781, in move os.rename(src, real_dst) PermissionError: [WinError 5] Zugriff verweigert: 'c:\\ncs\\.west\\manifest-tmp' -> 'c:\\ncs\\nrf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\python38\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\python38\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python38\Scripts\west.exe\__main__.py", line 9, in <module> File "c:\python38\lib\site-packages\west\app\main.py", line 768, in main app.run(argv or sys.argv[1:]) File "c:\python38\lib\site-packages\west\app\main.py", line 106, in run self.run_command(argv) File "c:\python38\lib\site-packages\west\app\main.py", line 332, in run_command cmd.run(args, unknown, self.topdir, manifest=self.manifest) File "c:\python38\lib\site-packages\west\commands.py", line 116, in run self.do_run(args, unknown) File "c:\python38\lib\site-packages\west\app\project.py", line 203, in do_run topdir = self.bootstrap(args) File "c:\python38\lib\site-packages\west\app\project.py", line 288, in bootstrap shutil.move(tempdir, manifest_abspath) File "c:\python38\lib\shutil.py", line 793, in move rmtree(src) File "c:\python38\lib\shutil.py", line 731, in rmtree return _rmtree_unsafe(path, onerror) File "c:\python38\lib\shutil.py", line 604, in _rmtree_unsafe _rmtree_unsafe(fullname, onerror) File "c:\python38\lib\shutil.py", line 604, in _rmtree_unsafe _rmtree_unsafe(fullname, onerror) File "c:\python38\lib\shutil.py", line 604, in _rmtree_unsafe _rmtree_unsafe(fullname, onerror) File "c:\python38\lib\shutil.py", line 609, in _rmtree_unsafe onerror(os.unlink, fullname, sys.exc_info()) File "c:\python38\lib\shutil.py", line 607, in _rmtree_unsafe os.unlink(fullname) PermissionError: [WinError 5] Zugriff verweigert: 'c:\\ncs\\.west\\manifest-tmp\\.git\\objects\\pack\\pack-5100d537d16510ec83b86f48bd4b991bbf4f40ba.idx'
I already reinstalled west and python, performed restarts, used different consoles always with admin rights - nothing helped.
Can you please help me?
Thanks in advance,
Manuel