I am experiencing a strange issue for which I am unable to identify the root cause. I am wondering why this is happening, but at the same time, the issue is so severe that it is unlikely to have gone unnoticed for such a long time, so it might be just on my machine.
I have installed the latest version of oelint-adv using pipx. When I run oelint-adv on any recipe, such as meta/recipes-core/base-files/base-files_3.0.14.bb from poky, I get the following output:
oelint-adv exits with 22. AFAIK, this means that it found 22 issues. However, there are no linter messages printed, only blank lines.
After examining the code, I discovered that this line might be the problem. The get_messageformat() function appears to be returning an empty string, which is why the formatting is not being applied. I can confirm that set_messageformat() is called with the default value, however then later the get_messageformat() is called, it return just the empty string. IIRC globals do not play nicely with multiprocessing pools and need to be passed explicitly.
I am experiencing a strange issue for which I am unable to identify the root cause. I am wondering why this is happening, but at the same time, the issue is so severe that it is unlikely to have gone unnoticed for such a long time, so it might be just on my machine.
I have installed the latest version of oelint-adv using pipx. When I run oelint-adv on any recipe, such as
meta/recipes-core/base-files/base-files_3.0.14.bb
from poky, I get the following output:oelint-adv exits with 22. AFAIK, this means that it found 22 issues. However, there are no linter messages printed, only blank lines.
After examining the code, I discovered that this line might be the problem. The
get_messageformat()
function appears to be returning an empty string, which is why the formatting is not being applied. I can confirm thatset_messageformat()
is called with the default value, however then later theget_messageformat()
is called, it return just the empty string. IIRC globals do not play nicely with multiprocessing pools and need to be passed explicitly.