This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Open nrf sdk project failed,SyntaxEroor :uable to parse json string.how to solve it?

When i try to use SES to build my project.there is error.The enviroment i confige as descrblied. them i use toochainmanger in nrf connect tools,the error is as the same as the prior.

![1](https://gitee.com/swz2732207831/swz/raw/master/img/202204011610727.png)

picture link is here.https://gitee.com/swz2732207831/swz/raw/master/img/202204011610727.png

  • Hi!

    I have the same problem. I reinstalled everything: NCS, SES, SDK.

    Also removed folders: .nrfconnect-apps, appdata\local\SEGGER, appdata\roaming\nrfconnect.

    The problem still here

  • I'm having the exact same problem.

    I'm using SES Nordic Edition V5.68 64-bit for Windows, python 3.9.12, CMake 3.23.0.

    I'm on the main branch of the sdk-nrf repository, and have performed a west update command to update all manifest repos. 

    I also made sure I have all latest zephyr, nrf, and mcuboot python requirements. I am getting the SyntaxError: Unable to parse JSON string any time I use the File->Open nRF Connect SDK Project...

    If I go back to the v1.9.0 tag on the sdk-nrf repository, I can open projects fine without this error occurring.

  • is a problem about NCS?or  it may be their design problem.i update  all my zeophyr project.before i instal l the Zephyr as it's website describle ,i can use the SES to build my project about  direction Rx and  Tx.when i download the Zephyr in Zephyr get started.the link is here.i think the problem may be here.may be enviroment problem.or other else.do you try as this?

    the picture is my latest zephyr version  not by NCS .

    theZephyr has no toolchain,may be i want to install it.and i can't get full tool about it .i use the command line tool to build my project.i think it may more comvience.but it can't to change the source code by gui.

    In other words,i think is cmake or ninja configuration problem.I notice that there is nop NCS revision an dNCS toolchain.It may be the most problem.

  • ok i west dpdate as you.there are two NCS version that i have,one is NCS 1.9 0 and another is NCS 1.9.1.I download NCS 1.9.0  from pan of baidu.it is a zip file.i can unzip the file to my  folder .then you can open the file of toolchain,you can use SES or command line tool to buildf you r project.it can use d a week ago.but now it can be used by me.

    do you try west update ?yes i do.i install the Zephyr 3.0.9 in my computer.because i think derection inRX and Rx is't used by NCS latest version.trhere i insatll cmake and ninjia.it may this problem.but NORDIC don't give ,e the awser about it.what is the problem of it?

  • I found solution:

    The issue became after west zepfyr-export command.

    It added two records to the registry:

    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\Zephyr

    HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\ZephyrUnittest

    Just delete the records and Open NRF project will work again

Related