Go to file
Jose M. Guisado 0c6dd12f4c sw_inventory: ignore invalid windows programs
Don't raise exception if any windows program is missing DisplayName
node in the windows registry.

This attribute/node should contain the program's name. This name is used
as the package's name in the software set (software inventory).

This patch should be considered a hotfix, python-hivex does not report
any helpful message about this error.

(2023-05-09 14:43:13) ogClient: [ERROR] - Unexpected error
Traceback (most recent call last):
[...]
RuntimeError: Success

Before this patch, image creation *might* fail because it cannot create
the software inventory associated with the image due to the previously
described error. The software inventory is part of the response payload
of the image creation command (see src/ogRest:image_create).

Fixes: 04bb35bd86 (live: rewrite software inventory)
2023-05-09 17:04:27 +02:00
cfg src: improve logging 2022-06-08 10:27:06 +02:00
src sw_inventory: ignore invalid windows programs 2023-05-09 17:04:27 +02:00
tests ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
.gitignore Create new ogClient 2020-01-19 19:50:44 +01:00
COPYING Rename LICENSE to COPYING 2020-06-18 16:45:46 +02:00
ogclient src: improve logging 2022-06-08 10:27:06 +02:00
setup.py Rename 'linux' folder and operations to 'live' 2020-12-03 13:38:43 +01:00