As a result, kh_update no longer works, because it assumes projects end in *.pro:
18:37:36] E:/Code/Farpatch> C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts\kh_update
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts\kh_update.exe\__main__.py", line 7, in <module>
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\fastcore\script.py", line 112, in _f
tfunc(**merge(args, args_from_prog(func, xtra)))
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\kicad_helpers\actions.py", line 177, in update_project
update_templates(v=v, overwrite=overwrite, root=root)
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\kicad_helpers\actions.py", line 32, in update_templates
metadata = get_project_metadata(root)
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\kicad_helpers\utilities.py", line 87, in get_project_metadata
metadata["project_name"]=get_project_name(root)
File "C:\Users\sean\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\kicad_helpers\utilities.py", line 65, in get_project_name
return os.path.splitext(os.path.split(glob.glob(os.path.join(root, "*.pro"))[0])[1])[0]
IndexError: list index out of range
[18:37:47] E:/Code/Farpatch>
As of Kicad6, it looks like the file extension has changed:
As a result,
kh_update
no longer works, because it assumes projects end in*.pro
: