Incomplete installation on MacOS, file permission issue ?

Hi All,

After hours of reading this forum, I could not find a solution to an annoying issue I have with nRF Connect SDK installation on macOS Sonoma.

Please kindly note that I don't want to go through manual installation ;-)

Whenever I try to install the SDK (both via the nRF Connect for desktop App or from with Visual Studio Code):

- in my development account, the SDK directory is not populated at first and further, any attempt to "Update SDK" does not populate it neither

- in my "root" account, the SDK directory is properly populated and the visual studio environment is ready for development.

    - but when back in my account, the visual studio nRF panel, "WELCOME" zone, only allows to create a blank application: the "copy from sample" is missing.

I have redone the automatic process many times, rebooted in between, deleted the installed directories, ...

No way to succeed

Any help would be much appreciated !

Parents
  • Hi Jean,

    I am a Mac user (M1 Macboo+Sonoma) with an Admin account. There is no problem in my experience.

    nRF Connect Extension supports full management with nRF Connection SDK(installation, toolchain and so on). nRF Connect for Desktop->ToolChain Manager app is not needed anymore.

    For the problem you experienced, I also suspect it is permission-related. Could you try to assign your development account as Admin using your "root account"? then reinstall NCS and Toolchain in VS code through the nRF Connect Extension.

    Best regards,

    Charlie

  • Hi Charlie,

    Thanks for the hint.

    I have tried giving my account the Administration privileges, deleting the nRF Connect for Desktop and then reinstalling it.

    Then deleting the nordic directory and reinstalling everything under my account (not root).

    But, still the same issue !

    Any other idea ?

    TIA

Reply Children
  • Hi TIA,

    I have installed the NCS under opt/ncs folder.

    I can see and click on "Copy a sample". Do you have any screenshots or error reminders that can show?

    Best regards,

    Charlie

  • Hi Charlie,

    Yes, this is what I can see when logged in the root account after the "root installation" but when under my account and after the installation from my account, the "copy a sample" is missing

    So, still at pain on this subject

    Thank you In Advance

    JRSN

  • Hi again,

    I might have made one good move

    I have deleted the Nordic directory and then, from within VS Studio code, I have tried to install the toolchain and then the SDK

    But when trying to install the SDK, I get an error ("SDK installation failed"), the v2.5.0 directory remains empty and I get these error messages :

    ...

    ...

    Updating files: 100% (8223/8223), done.
    Traceback (most recent call last):
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/manifest.py", line 1296, in __init__
    validate(source_data)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/manifest.py", line 474, in validate
    raise ManifestVersionError(min_version_str)
    west.manifest.ManifestVersionError: ('0.13', None)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "/opt/nordic/ncs/toolchains/20d68df7e5/bin/west", line 8, in <module>
    sys.exit(main())
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/app/main.py", line 781, in main
    app.run(argv or sys.argv[1:])
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/app/main.py", line 106, in run
    self.run_command(argv)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/app/main.py", line 336, in run_command
    cmd.run(args, unknown, self.topdir, manifest=self.manifest)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/commands.py", line 140, in run
    self.do_run(args, unknown)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/app/project.py", line 198, in do_run
    topdir = self.bootstrap(args)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/app/project.py", line 286, in bootstrap
    projects = Manifest.from_file(temp_manifest,
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/manifest.py", line 1153, in from_file
    return Manifest(**kwargs)
    File "/Users/myAccount/Library/Python/3.9/lib/python/site-packages/west/manifest.py", line 1298, in __init__
    raise ManifestVersionError(mv.version, file=source_file) from mv
    west.manifest.ManifestVersionError: ('0.13', PosixPath('/opt/nordic/ncs/v2.5.99-dev1/.west/manifest-tmp/west.yml'))

    Is this of any helps for someone ?

  • Ok, could you try the following command to update to the latest version of west?

    pip3 install west

  • Hi Charlie,

    I really value your continuous interest in this issue. Thanks !

    I have tried "pip3 install west" under my, admin enabled, account, then deletion of the nordic nordic directory together with the nRF Connect for Desktop.

    However, the reinstallation from the nRF Connect for Desktop still yields in an empty v2.5.0 directory.

    And from within the VS Studio Code nRF extension, the toolchain installation seems to succeed but the SDK installation stil fails.

    I am hintless !

Related