west issue - local configuration file not found

andylevel@Andys-MacBook-Pro Projects % west init -l nrf
Traceback (most recent call last):
  File "/Users/andylevel/.pyenv/versions/3.7.3/bin/west", line 10, in <module>
    sys.exit(main())
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/app/main.py", line 786, in main
    app.run(argv or sys.argv[1:])
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/app/main.py", line 101, in run
    self.load_manifest()
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/app/main.py", line 120, in load_manifest
    config=self.config)
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/manifest.py", line 1106, in from_topdir
    importer=importer, import_flags=import_flags)
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/manifest.py", line 1378, in __init__
    import_flags)
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/manifest.py", line 1715, in _top_level_init
    manifest_path_option = get_option('manifest.path')
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/manifest.py", line 1713, in get_option
    configfile=ConfigFile.LOCAL)
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/configuration.py", line 169, in get
    return self._get(lambda cf: cf.get(option), default, configfile)
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/configuration.py", line 208, in _get
    for cf in self._whence(configfile):
  File "/Users/andylevel/.pyenv/versions/3.7.3/lib/python3.7/site-packages/west/configuration.py", line 229, in _whence
    raise RuntimeError('local configuration file not found')
RuntimeError: local configuration file not found

Hi Nordic, can you tell me what may be the issue west is having?

Parents
  • andylevel@andys-mbp nrf % pwd
    /Users/andylevel/Projects/nrf
    andylevel@andys-mbp nrf % ls
    CMakeLists.txt		cmake			samples
    CODEOWNERS		doc			scripts
    Jenkinsfile		drivers			share
    Kconfig.nrf		dts			subsys
    LICENSE			ext			test-manifests
    README.rst		include			tests
    VERSION			lib			west-test.yml
    applications		modules			west.yml
    boards			ncs_version.h.in	zephyr
    andylevel@andys-mbp nrf % 

  • This seems to be a tool issue on Macbook. 

    Can you try to use the Toolchain manager instead to install the SDK?

  • I erased my machine and installed toolchain 2.0.0 but still get the same result

  • andy-level@andys-mbp ncs % west init -m [email protected]:Calthings/sdk-nrf.git --mr level-v1.9.0
    Traceback (most recent call last):
      File "/usr/local/bin/west", line 8, in <module>
        sys.exit(main())
      File "/usr/local/lib/python3.9/site-packages/west/app/main.py", line 786, in main
        app.run(argv or sys.argv[1:])
      File "/usr/local/lib/python3.9/site-packages/west/app/main.py", line 101, in run
        self.load_manifest()
      File "/usr/local/lib/python3.9/site-packages/west/app/main.py", line 119, in load_manifest
        self.manifest = Manifest.from_topdir(topdir=self.topdir,
      File "/usr/local/lib/python3.9/site-packages/west/manifest.py", line 1105, in from_topdir
        return Manifest(topdir=topdir, config=config,
      File "/usr/local/lib/python3.9/site-packages/west/manifest.py", line 1373, in __init__
        self._ctx = self._top_level_init(source_data,
      File "/usr/local/lib/python3.9/site-packages/west/manifest.py", line 1715, in _top_level_init
        manifest_path_option = get_option('manifest.path')
      File "/usr/local/lib/python3.9/site-packages/west/manifest.py", line 1712, in get_option
        return config.get(option, default=default,
      File "/usr/local/lib/python3.9/site-packages/west/configuration.py", line 169, in get
        return self._get(lambda cf: cf.get(option), default, configfile)
      File "/usr/local/lib/python3.9/site-packages/west/configuration.py", line 208, in _get
        for cf in self._whence(configfile):
      File "/usr/local/lib/python3.9/site-packages/west/configuration.py", line 229, in _whence
        raise RuntimeError('local configuration file not found')
    RuntimeError: local configuration file not found
    andy-level@andys-mbp ncs % 
    
    

  • Have you tried this with tool chain manager? If it does not work with the toolchain manager, i need to report this to the tools team.

Reply Children
Related