Re: West 0.7.2 can't work


Bolivar, Marti
 

Please see https://lists.zephyrproject.org/g/announce/message/86

"FrankLi via Lists.Zephyrproject.Org"
<lgl88911=163.com@...> writes:

Dears,
After I update west to 0.7.2, the west can't work for any command, include --help. It alwasy show:
File "/home/frank/.local/bin/west", line 11, in <module>
sys.exit(main())
File "/home/frank/.local/lib/python3.6/site-packages/west/app/main.py", line 767, in main
app = WestApp()
File "/home/frank/.local/lib/python3.6/site-packages/west/app/main.py", line 64, in __init__
lst = [cls() for cls in classes]
File "/home/frank/.local/lib/python3.6/site-packages/west/app/main.py", line 64, in <listcomp>
lst = [cls() for cls in classes]
File "/home/frank/.local/lib/python3.6/site-packages/west/app/project.py", line 153, in __init__
requires_workspace=False)

When I remove the "requires_workspace=False" of __init__ in below files, the west can work normal, Maybe I miss some setting flow in 0.7.2?
.local/lib/python3.6/site-packages/west/app/project.py
.local/lib/python3.6/site-packages/west/app/main.py
.local/lib/python3.6/site-packages/west/app/config.py

Join devel@lists.zephyrproject.org to automatically receive all group messages.