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

Updating SES for v4.18 on Mac errors

Im getting this error any idea how to solve it this are configs.



Loading solution lte_ble_gateway.emProject Executing load commands /usr/local/Cellar/cmake/3.15.2/bin/cmake -GNinja -DBOARD=nrf9160_pca10090 -DBOARD_DIR=/Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/build_nrf9160_pca10090 -H/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/Cellar/ninja/1.9.0/bin/ninja -DDTC=/usr/local/Cellar/dtc/1.5.0/bin/dtc /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Users/Daniel/Documents/Nordic/NRF91/arm_segger_embedded_studio_v418_macos_x64_nordic/html/configure_nordic_project_menuconfig.py -- Using application from '/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway' Zephyr version: 1.14.99 -- Selected BOARD nrf9160_pca10090 Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage exec(line) File "", line 1, in File "", line 580, in module_from_spec AttributeError: 'NoneType' object has no attribute 'loader' Remainder of file ignored -- Cache files will be written to: /Users/Daniel/Library/Caches/zephyr -- Loading /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base -- Overlaying /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/dts/common/common.dts nrf9160_pca10090.dts.pre.tmp:271.19-277.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000) Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage exec(line) File "", line 1, in File "", line 580, in module_from_spec AttributeError: 'NoneType' object has no attribute 'loader' Remainder of file ignored Parsing Kconfig tree in /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/Kconfig Loading /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig as base Merging /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage exec(line) File "", line 1, in File "", line 580, in module_from_spec AttributeError: 'NoneType' object has no attribute 'loader' Remainder of file ignored warning: MQTT_LIB_TLS (defined at subsys/net/lib/mqtt/Kconfig:30) was assigned the value 'y' but got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the manual), or in the Kconfig reference at docs.zephyrproject.org/.../CONFIG_MQTT_LIB_TLS.html (which is updated regularly from the master branch). See the 'Setting configuration values' section of the Board Porting Guide as well. /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:13: warning: attempt to assign the value 'y' to the undefined symbol MQTT_SOCKET_LIB /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:15: warning: attempt to assign the value '2048' to the undefined symbol MQTT_MAX_PACKET_LENGTH /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:18: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:19: warning: attempt to assign the value 'n' to the undefined symbol LTE_AUTO_INIT_AND_CONNECT /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:22: warning: attempt to assign the value 'y' to the undefined symbol AT_HOST_LIBRARY /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:25: warning: attempt to assign the value 'y' to the undefined symbol BSD_LIBRARY /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:28: warning: attempt to assign the value 'n' to the undefined symbol BSD_LIBRARY_TRACE_ENABLED /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:31: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:37: warning: attempt to assign the value 'y' to the undefined symbol DK_LIBRARY /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:38: warning: attempt to assign the value 'n' to the undefined symbol DK_LIBRARY_INVERT_LEDS /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:50: warning: attempt to assign the value 'y' to the undefined symbol BT_GATT_DM /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:51: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN_FILTER_ENABLE /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:53: warning: attempt to assign the value '1' to the undefined symbol BT_SCAN_UUID_CNT /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:62: warning: attempt to assign the value '2048' to the undefined symbol GPS_SIM_THREAD_STACK_SIZE Error: Aborting due to non-whitelisted Kconfig warning '/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:13: warning: attempt to assign the value 'y' to the undefined symbol MQTT_SOCKET_LIB'. Note: If this warning doesn't point to an actual problem, you can add it to the whitelist at the top of /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/scripts/kconfig/kconfig.py. CMake Error at /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/cmake/kconfig.cmake:200 (message): command failed with return code: 1 Call Stack (most recent call first): /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/cmake/app/boilerplate.cmake:529 (include) CMakeLists.txt:20 (include) -- Configuring incomplete, errors occurred! Project load failed Reported error: solution load command failed (1)
Parents Reply Children
  • It didn't work, im sucked again with the same error:

    Loading solution lte_ble_gateway.emProject
    Executing load commands
    /usr/local/Cellar/cmake/3.15.2/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/build_nrf9160_pca10090ns -H/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/Cellar/ninja/1.9.0/bin/ninja -DDTC=/usr/local/Cellar/dtc/1.5.0/bin/dtc /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/west -DDTC_OVERLAY_FILE=/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/nrf9160_pca10090ns.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Users/Daniel/Documents/Nordic/NRF91/arm_segger_embedded_studio_v418_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
    -- Using application from '/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway'
    Zephyr version: 1.14.99
    -- Selected BOARD nrf9160_pca10090ns
    Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth:
    
      Traceback (most recent call last):
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage
          exec(line)
        File "", line 1, in 
        File "", line 580, in module_from_spec
      AttributeError: 'NoneType' object has no attribute 'loader'
    
    Remainder of file ignored
    -- Cache files will be written to: /Users/Daniel/Library/Caches/zephyr
    -- Loading /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    -- Overlaying /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/dts/common/common.dts
    -- Overlaying /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/nrf9160_pca10090ns.overlay
    nrf9160_pca10090ns.dts.pre.tmp:125.18-131.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@40000000/i2c@a000)
      also defined at nrf9160_pca10090ns.dts.pre.tmp:518.8-525.3
    nrf9160_pca10090ns.dts.pre.tmp:269.19-275.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
    Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth:
    
      Traceback (most recent call last):
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage
          exec(line)
        File "", line 1, in 
        File "", line 580, in module_from_spec
      AttributeError: 'NoneType' object has no attribute 'loader'
    
    Remainder of file ignored
    Parsing Kconfig tree in /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/Kconfig
    Loading /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig as base
    Merging /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf
    Error processing line 1 of /Users/Daniel/Library/Python/3.7/lib/python/site-packages/sphinxcontrib_devhelp-1.0.1-py3.7-nspkg.pth:
    
      Traceback (most recent call last):
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py", line 168, in addpackage
          exec(line)
        File "", line 1, in 
        File "", line 580, in module_from_spec
      AttributeError: 'NoneType' object has no attribute 'loader'
    
    Remainder of file ignored
    
    warning: MQTT_LIB_TLS (defined at subsys/net/lib/mqtt/Kconfig:30) was assigned the value 'y' but got
    the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig'
    interface (see the Application Development Primer section of the manual), or in the Kconfig
    reference at docs.zephyrproject.org/.../CONFIG_MQTT_LIB_TLS.html (which
    is updated regularly from the master branch). See the 'Setting configuration values' section of the
    Board Porting Guide as well.
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:13: warning: attempt to assign the value 'y' to the undefined symbol MQTT_SOCKET_LIB
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:15: warning: attempt to assign the value '2048' to the undefined symbol MQTT_MAX_PACKET_LENGTH
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:18: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:19: warning: attempt to assign the value 'n' to the undefined symbol LTE_AUTO_INIT_AND_CONNECT
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:22: warning: attempt to assign the value 'y' to the undefined symbol AT_HOST_LIBRARY
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:25: warning: attempt to assign the value 'y' to the undefined symbol BSD_LIBRARY
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:28: warning: attempt to assign the value 'n' to the undefined symbol BSD_LIBRARY_TRACE_ENABLED
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:31: warning: attempt to assign the value 'y' to the undefined symbol NRF_CLOUD
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:37: warning: attempt to assign the value 'y' to the undefined symbol DK_LIBRARY
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:38: warning: attempt to assign the value 'n' to the undefined symbol DK_LIBRARY_INVERT_LEDS
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:50: warning: attempt to assign the value 'y' to the undefined symbol BT_GATT_DM
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:51: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol BT_SCAN_FILTER_ENABLE
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:53: warning: attempt to assign the value '1' to the undefined symbol BT_SCAN_UUID_CNT
    
    /Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:62: warning: attempt to assign the value '2048' to the undefined symbol GPS_SIM_THREAD_STACK_SIZE
    
    Error: Aborting due to non-whitelisted Kconfig warning
    '/Users/Daniel/Documents/Nordic/NRF91/ncs/nrf/samples/nrf9160/lte_ble_gateway/prj.conf:13: warning:
    attempt to assign the value 'y' to the undefined symbol MQTT_SOCKET_LIB'. Note: If this warning
    doesn't point to an actual problem, you can add it to the whitelist at the top of
    /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/scripts/kconfig/kconfig.py.
    
    CMake Error at /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/cmake/kconfig.cmake:200 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      /Users/Daniel/Documents/Nordic/NRF91/ncs/zephyr/cmake/app/boilerplate.cmake:529 (include)
      CMakeLists.txt:20 (include)
    
    
    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)
    
  • Hi!

    Looks like there's an issue with the dependencies. Have you followed the steps in the Getting Started Assistant in nRF Connect? If not I have attached a picture of the description that can also be found here.

    Also please make sure you are using Python 3 (and pip3). 

Related