• Support
  • FATAL ERROR: can't import from project golioth

Hi Everyone,

I recently purchased an nRF9160 Featherboard. I’m in the processing of setting up the SDK on my MacBook Pro M1 (see https://docs.jaredwolff.com/nrf9160-sdk-setup-mac.html). Here’s what I’ve done so far:

  1. Installed the VSCode extension
  2. Ran brew install git python3
  3. Inside VSCode I ran Zephyr Tools: Setup
  4. Inside VSCode I ran Zephyr Tools: Init Repo. I chose an empty directory and selected the following repo: https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers.git

During step 4 I get the following error message in the VSCode terminal window:

FATAL ERROR: can't import from project golioth
  Expected to import from west.yml at revision cc65be097d269d8938e4c91222cea63f8099aefb
  Hint: possible manifest file fixes for golioth:
          - set "revision:" to a git ref with this file at URL https://github.com/golioth/zephyr-sdk.git
          - remove the "import:"
        Use "west -vvv update" to debug.

A full transcript of the terminal window can be found at https://drive.google.com/file/d/1WxD4-j8QFa3gnAwEDQmEMJTtl-3TpfHt/view?usp=sharing.

Any suggestions on how to solve the above problem would be appreciated.

Peter

I may have claimed victory a little too early.

By making changes to the file /Users/petermurphy/circuitdojo_repo_v2/.west/config per the recommendation on https://blog.golioth.io/golioth-zephyr-sdk-gets-a-name-change-and-looks-to-the-future, I was able to get the Zephyr Tools: Init Repo command to successfully run.

However, in the very next step when I run Zephyr Tools: Build, I encounter a problem. Specifically, after running Zephyr Tools: Build as expected I’m asked to choose a board. I chose circuitdojo_feather_ns. Then (as expected) I’m asked to select a project. The problem is that I’m not able to select the at_client project. This link is a screenshot of the choices available. You can see I’m only able to choose projects within the /Users/petermurphy/work/phywireless/circuitdojo_repo_v2/modules/lib/golioth/samples folder.

Anyone run into this problem?

    @peter_murphy so it sounds like you’re trying to use the samples that are included with the Golioth repo? They’re documentation/setup isn’t quite compatible with the VSCode plugin. If you can give me an idea of which sample you’d like to use I can likely guide you to the fastest way of getting it to work.

    Ahh I see the problem in the log:

    === Initializing in /Users/petermurphy/work/phywireless/circuitdojo_repo_v2
    --- Cloning manifest repository from https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers.git
    Cloning into '/Users/petermurphy/work/phywireless/circuitdojo_repo_v2/.west/manifest-tmp'...
    remote: Enumerating objects: 1022, done.
    remote: Counting objects: 100% (80/80), done.
    remote: Compressing objects: 100% (21/21), done.
    remote: Total 1022 (delta 60), reused 63 (delta 58), pack-reused 942
    Receiving objects: 100% (1022/1022), 6.73 MiB | 9.27 MiB/s, done.
    Resolving deltas: 100% (536/536), done.
    --- setting manifest.path to nfed
    === Initialized. Now run "west update" inside /Users/petermurphy/work/phywireless/circuitdojo_repo_v2.
    
    Terminal will be reused by tasks, press any key to close it.
    
    > Executing task: west update <
    
    === updating nrf (nrf):
    --- nrf: initializing
    Initialized empty Git repository in /Users/petermurphy/work/phywireless/circuitdojo_repo_v2/nrf/.git/
    --- nrf: fetching, need revision v1.7.1
    remote: Enumerating objects: 107857, done.
    remote: Total 107857 (delta 0), reused 0 (delta 0), pack-reused 107857
    Receiving objects: 100% (107857/107857), 60.84 MiB | 453.00 KiB/s, done.
    Resolving deltas: 100% (79905/79905), done.
    From https://github.com/nrfconnect/sdk-nrf
     * tag                   v1.7.1       -> FETCH_HEAD
     * [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.5.2       -> v1.5.2
     * [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       -> v1.7.0
     * [new tag]             v1.7.0-rc1   -> v1.7.0-rc1
     * [new tag]             v1.7.0-rc2   -> v1.7.0-rc2
     * [new tag]             v1.7.1       -> v1.7.1
     * [new tag]             v1.8.0       -> v1.8.0
     * [new tag]             v1.8.0-rc1   -> v1.8.0-rc1
     * [new tag]             v1.8.0-rc2   -> v1.8.0-rc2
     * [new tag]             v1.9.0       -> v1.9.0
     * [new tag]             v1.9.0-rc1   -> v1.9.0-rc1
     * [new tag]             v1.9.0-rc2   -> v1.9.0-rc2
     * [new tag]             v1.9.1       -> v1.9.1
     * [new tag]             v1.9.99-dev1 -> v1.9.99-dev1
    HEAD is now at 290c67a38 manifest: Update manifest file with 1.7.1 tags
    HEAD is now at 290c67a38 manifest: Update manifest file with 1.7.1 tags
    === updating zephyr (zephyr):
    --- zephyr: initializing
    Initialized empty Git repository in /Users/petermurphy/work/phywireless/circuitdojo_repo_v2/zephyr/.git/
    --- zephyr: fetching, need revision v2.6.99-ncs1-1
    remote: Enumerating objects: 643744, done.
    remote: Total 643744 (delta 0), reused 0 (delta 0), pack-reused 643744
    Receiving objects: 100% (643744/643744), 408.91 MiB | 32.63 MiB/s, done.
    Resolving deltas: 100% (495427/495427), done.
    From https://github.com/nrfconnect/sdk-zephyr
     * tag                     v2.6.99-ncs1-1            -> FETCH_HEAD
     * [new tag]               v1.13.99-ncs1             -> v1.13.99-ncs1
     * [new tag]               v1.13.99-ncs1-rc1         -> v1.13.99-ncs1-rc1
     * [new tag]               v1.13.99-ncs2             -> v1.13.99-ncs2
     * [new tag]               v1.13.99-ncs2-rc1         -> v1.13.99-ncs2-rc1
     * [new tag]               v1.13.99-ncs2-rc2         -> v1.13.99-ncs2-rc2
     * [new tag]               v1.14.99-ncs1             -> v1.14.99-ncs1
     * [new tag]               v1.14.99-ncs1-rc1         -> v1.14.99-ncs1-rc1
     * [new tag]               v1.14.99-ncs1-rc2         -> v1.14.99-ncs1-rc2
     * [new tag]               v1.14.99-ncs2             -> v1.14.99-ncs2
     * [new tag]               v1.14.99-ncs2-rc1         -> v1.14.99-ncs2-rc1
     * [new tag]               v1.14.99-ncs2-rc2         -> v1.14.99-ncs2-rc2
     * [new tag]               v1.14.99-ncs2-rc3         -> v1.14.99-ncs2-rc3
     * [new tag]               v1.14.99-ncs2-rc4         -> v1.14.99-ncs2-rc4
     * [new tag]               v1.14.99-ncs3-snapshot1   -> v1.14.99-ncs3-snapshot1
     * [new tag]               v1.14.99-ncs3-snapshot2   -> v1.14.99-ncs3-snapshot2
     * [new tag]               v2.0.99-ncs1              -> v2.0.99-ncs1
     * [new tag]               v2.0.99-ncs1-rc1          -> v2.0.99-ncs1-rc1
     * [new tag]               v2.0.99-ncs1-rc2          -> v2.0.99-ncs1-rc2
     * [new tag]               v2.0.99-ncs1-rc3          -> v2.0.99-ncs1-rc3
     * [new tag]               v2.0.99-ncs1-snapshot1    -> v2.0.99-ncs1-snapshot1
     * [new tag]               v2.1.0-ncs1-snapshot1     -> v2.1.0-ncs1-snapshot1
     * [new tag]               v2.1.99-ncs1              -> v2.1.99-ncs1
     * [new tag]               v2.1.99-ncs1-rc1          -> v2.1.99-ncs1-rc1
     * [new tag]               v2.1.99-ncs1-rc2          -> v2.1.99-ncs1-rc2
     * [new tag]               v2.1.99-ncs1-snapshot1    -> v2.1.99-ncs1-snapshot1
     * [new tag]               v2.3.0-rc1-ncs1           -> v2.3.0-rc1-ncs1
     * [new tag]               v2.3.0-rc1-ncs1-rc1       -> v2.3.0-rc1-ncs1-rc1
     * [new tag]               v2.3.0-rc1-ncs1-rc2       -> v2.3.0-rc1-ncs1-rc2
     * [new tag]               v2.3.0-rc1-ncs1-rc3       -> v2.3.0-rc1-ncs1-rc3
     * [new tag]               v2.3.0-rc1-ncs1-snapshot1 -> v2.3.0-rc1-ncs1-snapshot1
     * [new tag]               v2.3.0-rc1-ncs2           -> v2.3.0-rc1-ncs2
     * [new tag]               v2.3.0-rc1-ncs3           -> v2.3.0-rc1-ncs3
     * [new tag]               v2.4.0-ncs1               -> v2.4.0-ncs1
     * [new tag]               v2.4.0-ncs1-rc1           -> v2.4.0-ncs1-rc1
     * [new tag]               v2.4.0-ncs1-rc2           -> v2.4.0-ncs1-rc2
     * [new tag]               v2.4.0-ncs1-snapshot1     -> v2.4.0-ncs1-snapshot1
     * [new tag]               v2.4.0-ncs2               -> v2.4.0-ncs2
     * [new tag]               v2.4.0-ncs2-rc1           -> v2.4.0-ncs2-rc1
     * [new tag]               v2.4.99-ncs1              -> v2.4.99-ncs1
     * [new tag]               v2.4.99-ncs1-rc1          -> v2.4.99-ncs1-rc1
     * [new tag]               v2.4.99-ncs1-snapshot1    -> v2.4.99-ncs1-snapshot1
     * [new tag]               v2.4.99-ncs2              -> v2.4.99-ncs2
     * [new tag]               v2.4.99-ncs2-1            -> v2.4.99-ncs2-1
     * [new tag]               v2.4.99-ncs2-rc1          -> v2.4.99-ncs2-rc1
     * [new tag]               v2.6.0-ncs1-rc3           -> v2.6.0-ncs1-rc3
     * [new tag]               v2.6.0-rc1-ncs1           -> v2.6.0-rc1-ncs1
     * [new tag]               v2.6.0-rc1-ncs1-rc1       -> v2.6.0-rc1-ncs1-rc1
     * [new tag]               v2.6.0-rc1-ncs1-snapshot1 -> v2.6.0-rc1-ncs1-snapshot1
     * [new tag]               v2.6.99-ncs1              -> v2.6.99-ncs1
     * [new tag]               v2.6.99-ncs1-1            -> v2.6.99-ncs1-1
     * [new tag]               v2.6.99-ncs1-rc1          -> v2.6.99-ncs1-rc1
     * [new tag]               v2.6.99-ncs1-rc2          -> v2.6.99-ncs1-rc2
     * [new tag]               v2.6.99-ncs1-snapshot1    -> v2.6.99-ncs1-snapshot1
     * [new tag]               v2.7.0-ncs1               -> v2.7.0-ncs1
     * [new tag]               v2.7.0-ncs1-rc1           -> v2.7.0-ncs1-rc1
     * [new tag]               v2.7.0-ncs1-rc2           -> v2.7.0-ncs1-rc2
     * [new tag]               v2.7.0-ncs1-snapshot1     -> v2.7.0-ncs1-snapshot1
     * [new tag]               v2.7.0-ncs1-snapshot2     -> v2.7.0-ncs1-snapshot2
     * [new tag]               v2.7.99-ncs1              -> v2.7.99-ncs1
     * [new tag]               v2.7.99-ncs1-1            -> v2.7.99-ncs1-1
     * [new tag]               v2.7.99-ncs1-rc1          -> v2.7.99-ncs1-rc1
     * [new tag]               v2.7.99-ncs1-rc2          -> v2.7.99-ncs1-rc2
    Updating files: 100% (16981/16981), done.
    HEAD is now at 18e072b032 [nrf fromtree] Bluetooth: host: Cancel limited adv timeout when advertising stopped
    HEAD is now at 18e072b032 [nrf fromtree] Bluetooth: host: Cancel limited adv timeout when advertising stopped
    === updating golioth (modules/lib/golioth):
    --- golioth: initializing
    Initialized empty Git repository in /Users/petermurphy/work/phywireless/circuitdojo_repo_v2/modules/lib/golioth/.git/
    --- golioth: fetching, need revision main
    remote: Enumerating objects: 2018, done.
    remote: Counting objects: 100% (813/813), done.
    remote: Compressing objects: 100% (234/234), done.
    remote: Total 2018 (delta 632), reused 640 (delta 574), pack-reused 1205
    Receiving objects: 100% (2018/2018), 394.15 KiB | 5.05 MiB/s, done.
    Resolving deltas: 100% (1232/1232), done.
    From https://github.com/golioth/zephyr-sdk
     * branch            main               -> FETCH_HEAD
     * [new tag]         unsupported_boards -> unsupported_boards
     * [new tag]         v0.1.0             -> v0.1.0
    HEAD is now at cc65be0 release: v0.1.0
    HEAD is now at cc65be0 release: v0.1.0
    FATAL ERROR: can't import from project golioth
      Expected to import from west.yml at revision cc65be097d269d8938e4c91222cea63f8099aefb
      Hint: possible manifest file fixes for golioth:
              - set "revision:" to a git ref with this file at URL https://github.com/golioth/zephyr-sdk.git
              - remove the "import:"
            Use "west -vvv update" to debug.
    The terminal process "zsh '-c', 'west update'" terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.

    Your note about the repo address seems to be correct. Typically though you’ll need to update west.yml not anything else. Let me see if I can tweak it here.

    Ok! Sorry for the delay peter_murphy muffe. I thought you had resolved this that’s why I didn’t look into it much. Turns out they changed the way they organize their manifest files. I have pushed a change to NFED which fixes that issue. You’ll have to change directories to the nfed directory and git pull.

    You can then either run west update in the command line or run Zephyr Tools: Update Dependencies. If you never finished the complete init process then you’ll have to run Zephyr Tools: Init Repo one more time. It will continue where it left off.

    Terms and Conditions | Privacy Policy