kobbled / rossum

A CMake-like build file generator for Fanuc Robotics (Karel) projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ninja build issue with ktransw

kobbled opened this issue · comments

When running ninja over numerous .kl files through ktransw some files will not build pc files and throw the following error

File "ktransw.py", line 642, in write_manifest
    for key in file_list.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
ninja: error: remove(<filename>.pc.d): Permission denied

This can be worked around by rerunning ninja until all the files are built

A patch is supplied in kobbled/ktransw_py@d44daf4 , but the actual issue was not diagnosed. Seems to be a problem with ninja concurrently calling ktransw, and ktransw trying to open and parse the .man_log yaml file.