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

Zephyr Base not set and "Open IDE" not present in Toolchain Manager

Hi there,

We are trying to download and install the nRF Connect SDK v1.5.1, which seems to be the latest version on Toolchain Manager.

However, after installation, the "Open IDE" button is not present. I thus manually open SEGGER embedded studio from within the SDK install directory. However, I then get the following "Zephyr base not set" issue:

Looks as if the installation was not successful at all, below is the installation log:

11:48:05.932
Finished downloading version v1.5.1 of the toolchain after approximately 6 minute(s)
11:48:05.933
Unpacking toolchain v1.5.1
11:49:07.500
Finished unpacking version v1.5.1; win32; ia32 of the toolchain after approximately 1 minute(s)
11:49:07.500
Update config file
11:49:07.508
Cloning nRF Connect SDK v1.5.1
11:49:07.526
Initializing environment for v1.5.1
11:49:09.458
Finished cloning version v1.5.1 of the nRF Connect SDK after approximately 0 minute(s)
I do not have a VPN enabled, I always disabled the antivirus as well as the network firewall, and no success. Please advise as soon as possible as we are on a tight timeline to decide on hardware.
Thanks,
Kind regards,
Frikkie Badenhorst
  • Hi, Vin!

    Try the method Frikkie just added. If that doesn't work, please open a new ticket for the issue.

    Best regards,
    Carl Richard

  • Hi Carl,

    I've executed everything as mentioned above, but the "Open IDE" is still missing. Here are the loggings from the bash terminal (I have replaced my user name with $user$ here). Can you please advice?

    $ ncsmgr init-ncs
    Checking out NCS v1.6.1 ...=== Initializing in C:\Users\$user$\ncs\v1.6.1
    --- Cloning manifest repository from github.com/.../sdk-nrf, rev. v1.6.1
    Initialized empty Git repository in C:/Users/$user$/ncs/v1.6.1/.west/manifest-tmp/.git/
    remote: Enumerating objects: 80236, done.
    remote: Counting objects: 100% (31/31), done.
    remote: Compressing objects: 100% (22/22), done.
    remote: Total 80236 (delta 13), reused 17 (delta 8), pack-reused 80205
    Receiving objects: 100% (80236/80236), 44.61 MiB | 6.83 MiB/s, done.
    Resolving deltas: 100% (58674/58674), done.
    From github.com/.../sdk-nrf
    * tag v1.6.1 -> FETCH_HEAD
    * [new branch] backport-4558-to-v1.5-branch -> origin/backport-4558-to-v1.5-branch
    * [new branch] backport-5019-to-v1.6-branch -> origin/backport-5019-to-v1.6-branch
    * [new branch] doc/working-thingy53 -> origin/doc/working-thingy53
    * [new branch] master -> origin/master
    * [new branch] sdc_supports_nrf21540_gpio -> origin/sdc_supports_nrf21540_gpio
    * [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 branch] v1.3-branch -> origin/v1.3-branch
    * [new branch] v1.4-branch -> origin/v1.4-branch
    * [new branch] v1.5-branch -> origin/v1.5-branch
    * [new branch] v1.6-branch -> origin/v1.6-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
    * [new tag] v1.2.1 -> v1.2.1
    * [new tag] v1.2.99-dev1 -> v1.2.99-dev1
    * [new tag] v1.3.0 -> v1.3.0
    * [new tag] v1.3.0-rc1 -> v1.3.0-rc1
    * [new tag] v1.3.0-rc2 -> v1.3.0-rc2
    * [new tag] v1.3.0-rc3 -> v1.3.0-rc3
    * [new tag] v1.3.1 -> v1.3.1
    * [new tag] v1.3.2 -> v1.3.2
    * [new tag] v1.3.2-rc1 -> v1.3.2-rc1
    * [new tag] v1.4.0 -> v1.4.0
    * [new tag] v1.4.0-rc1 -> v1.4.0-rc1
    * [new tag] v1.4.0-rc2 -> v1.4.0-rc2
    * [new tag] v1.4.1 -> v1.4.1
    * [new tag] v1.4.1-rc1 -> v1.4.1-rc1
    * [new tag] v1.4.2 -> v1.4.2
    * [new tag] v1.4.99-dev1 -> v1.4.99-dev1
    * [new tag] v1.5.0 -> v1.5.0
    * [new tag] v1.5.0-rc1 -> v1.5.0-rc1
    * [new tag] v1.5.1 -> v1.5.1
    * [new tag] v1.5.1-rc1 -> v1.5.1-rc1
    * [new tag] v1.6.0 -> v1.6.0
    * [new tag] v1.6.0-rc1 -> v1.6.0-rc1
    * [new tag] v1.6.0-rc2 -> v1.6.0-rc2
    * [new tag] v1.6.0-rc3 -> v1.6.0-rc3
    * [new tag] v1.6.1 -> v1.6.1
    * [new tag] v1.7.0-rc1 -> v1.7.0-rc1
    af7a24bd89fc0cd134232975aceaa1c176b23b6f refs/tags/v1.6.1
    Updating files: 100% (4280/4280), done.
    Note: switching to 'v1.6.1'.

    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 switching back to a branch.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -c with the switch command. Example:

    git switch -c <new-branch-name>

    Or undo this operation with:

    git switch -

    Turn off this advice by setting config variable advice.detachedHead to false

    HEAD is now at 651d785a0 version: Update VERSION to 1.6.1
    FATAL ERROR: Destination path 'C:\Users\$user$\ncs\v1.6.1\nrf\manifest-tmp' already exists
    HEAD is now at 651d785a0 version: Update VERSION to 1.6.1
    /C/Users/$user$/ncs/v1.6.1
    done
    Updating repos ...
    Traceback (most recent call last):
    File "C:\Users\$user$\ncs\v1.6.1\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\$user$\ncs\v1.6.1\toolchain\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 779, in main
    app.run(argv or sys.argv[1:])
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
    self.run_command(argv)
    File "C:\Users\$user$\ncs\v1.6.1\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\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\commands.py", line 132, in run
    self.do_run(args, unknown)
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 806, in do_run
    self.update_all()
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\app\project.py", line 860, in update_all
    self.manifest = Manifest.from_file(
    File "C:\Users\$user$\ncs\v1.6.1\toolchain\opt\bin\Lib\site-packages\west\manifest.py", line 1103, in from_file
    (mpath, mname) = _mpath(topdir=topdir)
    File "C:\Users\$user$\ncs\v1.6.1\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')

    Best regards,

    Tomislav

Related