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

asset_tracker.emProject is reported invalid

I am running on a Windows 10 PC.

I've downloaded and installed all the tools for the nRF9160 DK using nRF Connect.

After installing the Segger Embedded Studio, I followed the instructions for "Open nRF Connect SDK Project" and I got a message stating ".../ncs/nrf/samples/nrf9160/asset_tracker/build/asset_trcker.emProject is invalid.  The reported error is 'solution load command failed (1)'

  • Hi Craig, are you able to do any of the sample projects in Segger Embedded Studio?  I don’t see an emproject file for any of the samples.

  • Hi.

    Another user had the similar issue, but on MacOSX.

    He was able to fix it by running thest two commands from the ncs folder:

    pip3 install -r zephyr/scripts/requirements.txt
    pip3 install -r nrf/scripts/requirements.txt

    Could you try that? :-)

    Best regards,

    Andreas

  • Running the two pip3 commands did not fix this issue.

    I will try running other sample projects later today.

  • Hi Andreas, 

    I gave those commands a try again but they didn't make any difference. What do those commands do?  Another question I have is in the "Getting Started Assistant", there is a requirement for a folder on the right called "sourceroot_code". This path was blank and empty the entire time I was doing the steps.  Should it have been filled in, and if so, what is the root directory?

  • Hi.

    Those two commands are pip commands, they run and install the content of requirements.txt

    The requirement.txt file in the zephyr/scripts folder looks like this:

    wheel==0.30.0
    breathe==4.9.1
    sphinx==1.7.5
    docutils==0.14
    sphinx_rtd_theme
    sphinxcontrib-svg2pdfconverter
    junit2html
    PyYAML>=3.12
    ply==3.10
    hub==2.0
    gitlint
    pyelftools==0.24
    pyocd==0.12.0
    pyserial
    pykwalify
    # "win32" is used for 64-bit Windows as well
    windows-curses; sys_platform == "win32"
    colorama
    Pillow
    intelhex

    The requirement.txt file in the ncs/scripts folder looks like this:

    recommonmark==0.4.0
    git+https://github.com/carlescufi/mscgen.git@python3
    ecdsa

    And pip will install all of these.

    Could you try to save these two code snippets and run pip3 install -r <name_of_the_saved_file.txt> and see if that works?

    wischmi2 said:
    nother question I have is in the "Getting Started Assistant", there is a requirement for a folder on the right called "sourceroot_code".

     This should not affect the outcome of the installation.

    Also, which version of cmake do you have? (check with cmake --version)

    Best regards,

    Andreas

Related