zephyrproject-rtos / west

West, Zephyr's meta-tool
https://docs.zephyrproject.org/latest/guides/west/index.html
Apache License 2.0
215 stars 117 forks source link

`already defined as extension command`-error prints wrong spec #675

Closed M1cha closed 10 months ago

M1cha commented 12 months ago

Apparently it always prints the last spec ever processed instead of the one that actually caused the error. The errors seem to be logged after the fact via self.queued_io.append, maybe there's some weird python lambda scoping going on?

marc-hb commented 12 months ago

Can you please share some reproduction steps? Unfortunately this repo does not have any bug template but https://github.com/zephyrproject-rtos/zephyr/tree/main/.github/ISSUE_TEMPLATE has a good checklist if you need one. Thanks!