ogclient/src
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
..
linux Revert "#1065 linux: add systray icon" 2022-02-03 10:33:37 +01:00
live live: rewrite reboot operation 2023-05-09 13:09:07 +02:00
utils sw_inventory: ignore invalid windows programs 2023-05-09 17:04:27 +02:00
virtual src: improve logging 2022-06-08 10:27:06 +02:00
windows #1065 windows: use shutdown for poweroff and reboot operations 2021-12-10 12:56:50 +01:00
__init__.py ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
log.py src: add missing copyright notices 2023-04-18 17:26:40 +02:00
ogClient.py src: improve logging 2022-06-08 10:27:06 +02:00
ogRest.py live: rewrite hardware inventory command 2023-04-18 17:15:57 +02:00
restRequest.py src: improve logging 2022-06-08 10:27:06 +02:00