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

Parents
  • Hello Shu,

    Could you tell me more about this project you are trying to build? Does the project open in SES?

    Regards,

    Elfving

  • 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.

  • 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

Reply
  • 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

Children
No Data
Related