This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Toolchain fails to install SDK v1.6.0

I am trying to install nRF Connect SDK v1.6.0. For some reason the download speed is extremely slow, and even fails without the ability to resume automatically. On two occasions Toolchain Manager v0.9.3 claimed it had successfully installed the SDK but I couldn't locate boards, projects, or even zephyr root folder in SEGGER, as if the download was incomplete. Is there a way I can manually download the necessary files and feed them to the Toolchain?

Parents
  • Hi Markus,

    Thanks for your quick reply.

    Below is the output of 'ncsmgr init-ncs':

    NCS repositories are not yet cloned here. To do so run the following command:

    ncsmgr init-ncs

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $ ncsmgr init-ncs
    Checking out NCS v1.6.0 ...FATAL ERROR: already initialized in C:\Users\( , )_( , )\ncs\v1.6.0, aborting.
    Note:
        In your environment, ZEPHYR_BASE is set to:
        C:/Users/( , )_( , )/ncs/v1.6.0/zephyr

        This forces west to search for a workspace there.
        Try unsetting ZEPHYR_BASE and re-running this command.
    HEAD is now at 7a076c22d VERSION: 1.6.0
    /C/Users/( , )_( , )/ncs/v1.6.0
    done
    Updating repos ...
    Traceback (most recent call last):
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 172, in _mpath
        path = cp.get('manifest', 'path')
      File "configparser.py", line 781, in get
      File "configparser.py", line 1149, in _unify_values
    configparser.NoSectionError: No section: 'manifest'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "runpy.py", line 193, in _run_module_as_main
      File "runpy.py", line 86, in _run_code
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
        app.run(argv or sys.argv[1:])
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
        self.run_command(argv)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
        cmd.run(args, unknown, self.topdir, manifest=self.manifest)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
        self.do_run(args, unknown)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
        self.update_all()
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
        self.manifest = Manifest.from_file(
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
        (mpath, mname) = _mpath(topdir=topdir)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 177, in _mpath
        raise MalformedConfig('no "manifest.path" config option is set') from e
    west.manifest.MalformedConfig: no "manifest.path" config option is set
    done
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'zephyr-export' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $ unset ZEPHYR_BASE && ncsmgr init-ncs
    Checking out NCS v1.6.0 ...FATAL ERROR: already initialized in C:\Users\( , )_( , )\ncs\v1.6.0, aborting.
    HEAD is now at 7a076c22d VERSION: 1.6.0
    /C/Users/( , )_( , )/ncs/v1.6.0
    done
    Updating repos ...
    Traceback (most recent call last):
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 172, in _mpath
        path = cp.get('manifest', 'path')
      File "configparser.py", line 781, in get
      File "configparser.py", line 1149, in _unify_values
    configparser.NoSectionError: No section: 'manifest'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "runpy.py", line 193, in _run_module_as_main
      File "runpy.py", line 86, in _run_code
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
        app.run(argv or sys.argv[1:])
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
        self.run_command(argv)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
        cmd.run(args, unknown, self.topdir, manifest=self.manifest)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
        self.do_run(args, unknown)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
        self.update_all()
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
        self.manifest = Manifest.from_file(
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
        (mpath, mname) = _mpath(topdir=topdir)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 177, in _mpath
        raise MalformedConfig('no "manifest.path" config option is set') from e
    west.manifest.MalformedConfig: no "manifest.path" config option is set
    done
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'zephyr-export' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $

Reply
  • Hi Markus,

    Thanks for your quick reply.

    Below is the output of 'ncsmgr init-ncs':

    NCS repositories are not yet cloned here. To do so run the following command:

    ncsmgr init-ncs

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $ ncsmgr init-ncs
    Checking out NCS v1.6.0 ...FATAL ERROR: already initialized in C:\Users\( , )_( , )\ncs\v1.6.0, aborting.
    Note:
        In your environment, ZEPHYR_BASE is set to:
        C:/Users/( , )_( , )/ncs/v1.6.0/zephyr

        This forces west to search for a workspace there.
        Try unsetting ZEPHYR_BASE and re-running this command.
    HEAD is now at 7a076c22d VERSION: 1.6.0
    /C/Users/( , )_( , )/ncs/v1.6.0
    done
    Updating repos ...
    Traceback (most recent call last):
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 172, in _mpath
        path = cp.get('manifest', 'path')
      File "configparser.py", line 781, in get
      File "configparser.py", line 1149, in _unify_values
    configparser.NoSectionError: No section: 'manifest'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "runpy.py", line 193, in _run_module_as_main
      File "runpy.py", line 86, in _run_code
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
        app.run(argv or sys.argv[1:])
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
        self.run_command(argv)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
        cmd.run(args, unknown, self.topdir, manifest=self.manifest)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
        self.do_run(args, unknown)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
        self.update_all()
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
        self.manifest = Manifest.from_file(
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
        (mpath, mname) = _mpath(topdir=topdir)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 177, in _mpath
        raise MalformedConfig('no "manifest.path" config option is set') from e
    west.manifest.MalformedConfig: no "manifest.path" config option is set
    done
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'zephyr-export' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $ unset ZEPHYR_BASE && ncsmgr init-ncs
    Checking out NCS v1.6.0 ...FATAL ERROR: already initialized in C:\Users\( , )_( , )\ncs\v1.6.0, aborting.
    HEAD is now at 7a076c22d VERSION: 1.6.0
    /C/Users/( , )_( , )/ncs/v1.6.0
    done
    Updating repos ...
    Traceback (most recent call last):
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 172, in _mpath
        path = cp.get('manifest', 'path')
      File "configparser.py", line 781, in get
      File "configparser.py", line 1149, in _unify_values
    configparser.NoSectionError: No section: 'manifest'

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "runpy.py", line 193, in _run_module_as_main
      File "runpy.py", line 86, in _run_code
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
        app.run(argv or sys.argv[1:])
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
        self.run_command(argv)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
        cmd.run(args, unknown, self.topdir, manifest=self.manifest)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
        self.do_run(args, unknown)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
        self.update_all()
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
        self.manifest = Manifest.from_file(
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
        (mpath, mname) = _mpath(topdir=topdir)
      File "C:\Users\( , )_( , )\ncs\v1.6.0\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 177, in _mpath
        raise MalformedConfig('no "manifest.path" config option is set') from e
    west.manifest.MalformedConfig: no "manifest.path" config option is set
    done
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'zephyr-export' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

    me@My-Computer MINGW64 ~/ncs/v1.6.0
    $

Children
No Data
Related