Indent error in: .....\ncs\v3.2.4\modules\lib\matter\scripts\codegen_paths.py line 21 and 22
Indent error in: .....\ncs\v3.2.4\modules\lib\matter\scripts\codegen_paths.py line 21 and 22
Hi,
Did you modify the Matter: Contact sensor sample? If so, what is that?
What is your build target? Is it nrf54l15dk/nrf54l15/cpuapp?
Could you try to delete the build folder and build again? Also, ensure the SDK and Toolchain are the same versions.
I cannot reproduce the issue building the Matter: Contact sensor sample for rf54l15dk/nrf54l15/cpuapp with NCS v3.2.4.

Regards,
Amanda H.
No, I didn't touch the example.
west build nrf\samples\matter\contact_sensor --pristine --board nrf52840dk/nrf52840 --sysbuild
File "C:\Users\louis\projecten\ncs\v3.2.4\modules\lib\matter\scripts\codegen_paths.py", line 21
from matter.idl.generators.path_resolution import expand_path_for_idl
IndentationError: unexpected indent
Try re-initializing your NCS workspace with west update, Delete the build folder and build again.
I did it. Same problem, when I revert the updates of codegen_paths.py
I did it. Same problem, when I revert the updates of codegen_paths.py
Got it. I cannot reproduce the issue on my side, but you can keep the modification if that helps with your issue.