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

Opening a sample project throws west.manifest.ManifestVersionError :(

Hello, I followed getting starting guide, and got SDK and tools installed for nRF52-DK, I'm trying to open, build and run some examples. But when trying to open any example in SEGGER, I'm getting error:

Creating solution light_bulb.emProject
cmake -GNinja -DBOARD=nrf52dk_nrf52832 -DBOARD_DIR=/home/jeffrey/workspace_nordic/ncs/zephyr/boards/arm/nrf52dk_nrf52832 -B/home/jeffrey/workspace_nordic/ncs/nrf/samples/zigbee/light_bulb/build_nrf52dk_nrf52832 -S/home/jeffrey/workspace_nordic/ncs/nrf/samples/zigbee/light_bulb -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/home/jeffrey/Tools/arm_segger_embedded_studio_v550d_linux_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Application: /home/jeffrey/workspace_nordic/ncs/nrf/samples/zigbee/light_bulb
-- Zephyr version: 2.6.0-rc1 (/home/jeffrey/workspace_nordic/ncs/zephyr), build: v2.6.0-rc1-ncs1
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components: Interpreter
-- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): /home/jeffrey/workspace_nordic/ncs/zephyr/cmake/app/boilerplate.cmake
CMake Error at /home/jeffrey/workspace_nordic/ncs/zephyr/cmake/zephyr_module.cmake:61 (message):
Traceback (most recent call last):

File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 386, in __init__
validate(source_data)
File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 114, in validate
raise ManifestVersionError(min_version)

west.manifest.ManifestVersionError: 0.10

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

Traceback (most recent call last):

File "/home/jeffrey/workspace_nordic/ncs/zephyr/scripts/zephyr_module.py", line 378, in <module>
main()
File "/home/jeffrey/workspace_nordic/ncs/zephyr/scripts/zephyr_module.py", line 283, in main
manifest = Manifest.from_file()
File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 252, in from_file
return Manifest(**kwargs)
File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 388, in __init__
raise ManifestVersionError(mv.version, file=source_file) from mv

west.manifest.ManifestVersionError: 0.10

Call Stack (most recent call first):
/home/jeffrey/workspace_nordic/ncs/zephyr/cmake/app/boilerplate.cmake:183 (include)
/home/jeffrey/workspace_nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/home/jeffrey/workspace_nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:9 (find_package)

error: cmake failed
create_nordic_project.py failed (1)

Any suggestion on how to fix this issue? 

Thanks,

-Max

  • Hi Max

    I see that you're trying to open a Zigbee project for the nRF52832, which does not support Zigbee or Thread. Please try opening the project for a supported board (nRF52840 or nRF52833 for instance) or open a project supported by the nRF52832 (BLE example for instance).

    Best regards,

    Simon

  • Hi Simon, I'm getting same exact error, when opening Bluetooth project, or even a Button or a Blinky projects. Here is what I try:

    This is error output:

    Creating solution mesh_demo.emProject
    cmake -GNinja -DBOARD=nrf52dk_nrf52832 -DBOARD_DIR=/home/jeffrey/workspace_nordic/ncs/zephyr/boards/arm/nrf52dk_nrf52832 -B/home/jeffrey/workspace_nordic/ncs/zephyr/samples/bluetooth/mesh_demo/build_nrf52dk_nrf52832 -S/home/jeffrey/workspace_nordic/ncs/zephyr/samples/bluetooth/mesh_demo -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/home/jeffrey/Tools/arm_segger_embedded_studio_v550d_linux_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Application: /home/jeffrey/workspace_nordic/ncs/zephyr/samples/bluetooth/mesh_demo
    -- Zephyr version: 2.6.0-rc1 (/home/jeffrey/workspace_nordic/ncs/zephyr), build: v2.6.0-rc1-ncs1
    -- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components: Interpreter
    -- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
    -- Configuring incomplete, errors occurred!
    Including boilerplate (Zephyr base): /home/jeffrey/workspace_nordic/ncs/zephyr/cmake/app/boilerplate.cmake
    CMake Error at /home/jeffrey/workspace_nordic/ncs/zephyr/cmake/zephyr_module.cmake:61 (message):
    Traceback (most recent call last):

    File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 386, in __init__
    validate(source_data)
    File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 114, in validate
    raise ManifestVersionError(min_version)

    west.manifest.ManifestVersionError: 0.10

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

    Traceback (most recent call last):

    File "/home/jeffrey/workspace_nordic/ncs/zephyr/scripts/zephyr_module.py", line 378, in <module>
    main()
    File "/home/jeffrey/workspace_nordic/ncs/zephyr/scripts/zephyr_module.py", line 283, in main
    manifest = Manifest.from_file()
    File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 252, in from_file
    return Manifest(**kwargs)
    File "/home/jeffrey/.local/lib/python3.6/site-packages/west/manifest.py", line 388, in __init__
    raise ManifestVersionError(mv.version, file=source_file) from mv

    west.manifest.ManifestVersionError: 0.10

    Call Stack (most recent call first):
    /home/jeffrey/workspace_nordic/ncs/zephyr/cmake/app/boilerplate.cmake:183 (include)
    /home/jeffrey/workspace_nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
    /home/jeffrey/workspace_nordic/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
    CMakeLists.txt:6 (find_package)

    error: cmake failed
    create_nordic_project.py failed (1)

  • Hi

    Try setting nRFConnect Toolchain Version to 1.6.0 instead of NONE, as well as try checking the Clean Build Directory box.

    What OS are you using, and what method did you try to get started? On Linux or macOS you need to use the Getting Started Assistant to get everything set up correctly. What is the path you have installed NCS onto? If possible, can you try moving it up a few steps so that the path to NCS is as short as possible?

    Best regards,

    Simon

  • NONE is the only option I get in the Dropdown with toolchain selection, even thou I followed installation instructions to a letter :(  I'm using Ubuntu 18.04.

    I did used getting started assistant, and went thought every step. 

    NCS is located on /home/jeffrey/workspace_nordic/ncs

    Do you think changing the path will help in any way???

  • Simon, also NONE as a Toolchain is suggested by the Getting Started Assistant:

Related