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

Parents
  • Hi Max

    Thank you for the updated information. Indeed, NONE is the correct toolchain version to use when you follow the Getting Started guide, my mistake (I'm used to the Toolchain manager for Windows). It seems your issue is that the West version you're using is rather outdated. Try upgrading it with the pip install west -- upgrade call to get the most recent version. If that doesn't help, please try moving the path to NCS one or two steps down.

    Best regards,

    Simon

Reply
  • Hi Max

    Thank you for the updated information. Indeed, NONE is the correct toolchain version to use when you follow the Getting Started guide, my mistake (I'm used to the Toolchain manager for Windows). It seems your issue is that the West version you're using is rather outdated. Try upgrading it with the pip install west -- upgrade call to get the most recent version. If that doesn't help, please try moving the path to NCS one or two steps down.

    Best regards,

    Simon

Children
No Data
Related