ich habe hier ein Notebook mit Win 10 auf dem seit einiger zeit sich das swaudit nicht mehr aktualisiert, bzw. installieren lässt
Hier der Log Auszug ...
Code: Alles auswählen
[1] [2026-05-28 11:34:39.732] [swaudit] DEU - System default locale
[1] [2026-05-28 11:34:39.732] [swaudit] MS Windows 10.0 (10.0) 64 Bit, Release: 22H2, Edition: PRODUCT_PROFESSIONAL
[1] [2026-05-28 11:34:39.737] [swaudit] opsi service version : 4 (4.3.51.4)
[1] [2026-05-28 11:34:39.737] [swaudit]
[5] [2026-05-28 11:34:39.766] [swaudit] Imported all functions from file: p:\swaudit\swauditlib_gen.opsiscript
[5] [2026-05-28 11:34:39.787] [swaudit] Imported all functions from file: p:\swaudit\swauditlib_win.opsiscript
[5] [2026-05-28 11:34:39.803] [swaudit] Imported all functions from file: p:\swaudit\swauditlib_lin.opsiscript
[5] [2026-05-28 11:34:39.822] [swaudit] Imported all functions from file: p:\swaudit\swauditlib_mac.opsiscript
[5] [2026-05-28 11:34:39.829] [swaudit] message Running software audit...
[5] [2026-05-28 11:34:39.863] [swaudit] comment: Detect if we run in opsi service mode
[5] [2026-05-28 11:34:39.864] [swaudit] message Collecting Windows OS info ...
[5] [2026-05-28 11:34:39.908] [swaudit] message Collecting 64 Bit products ...
[5] [2026-05-28 11:34:39.913] [swaudit] message Collecting 64 Bit product details ...
[5] [2026-05-28 11:34:43.313] [swaudit] message Collecting 32 Bit product details ...
[5] [2026-05-28 11:34:47.567] [swaudit] PowershellCall: Get-AppxPackage /? (mode: sysnative)
[5] [2026-05-28 11:34:50.710] [swaudit] message Collecting Appx / Msix product details ...(takes a while)
[5] [2026-05-28 11:34:59.172] [swaudit] message Collecting hotfixes ...
[5] [2026-05-28 11:35:00.990] [swaudit] comment: Convert object list to json array ...
[3] [2026-05-28 11:35:01.004] [swaudit] Error at jsonStringListToJsonArray
[3] [2026-05-28 11:35:01.024] [swaudit] Error at jsonStringListToJsonArray
[5] [2026-05-28 11:35:01.026] [swaudit] message Sending results to service ...
[5] [2026-05-28 11:35:01.033] [swaudit] comment: Mask single quotes by double single quotes before sending ....
[5] [2026-05-28 11:35:01.036] [swaudit] Execution of: opsiservicecall_auditSoftwareOnClient_setObsolete
[5] [2026-05-28 11:35:01.059] [swaudit] Execution of: opsiservicecall_auditSoftware_createObjects
[3] [2026-05-28 11:35:01.064] [swaudit] Error: retrieveJSONObject --- opsi service problem ----> {"message":"string indices must be integers, not 'str'","details":null,"class":"TypeError"}
[3] [2026-05-28 11:35:01.064] [swaudit] Received (first 512): {"id":1,"error":{"message":"string indices must be integers, not 'str'","class":"TypeError","details":null},"result":null}
[3] [2026-05-28 11:35:01.064] [swaudit] Error: -> {"message":"string indices must be integers, not 'str'","details":null,"class":"TypeError"}
[2] [2026-05-28 11:35:01.064] [swaudit] Error level set to fatal
[1] [2026-05-28 11:35:01.064] [swaudit] ___________________
[1] [2026-05-28 11:35:01.064] [swaudit] script finished: failed
[1] [2026-05-28 11:35:01.064] [swaudit] 5 errors
[1] [2026-05-28 11:35:01.064] [swaudit] 0 warnings
[1] [2026-05-28 11:35:01.064] [swaudit] Exitcode will be: 1
[1] [2026-05-28 11:35:01.064] [swaudit]
[1] [2026-05-28 11:35:01.064] [swaudit] handled product: swaudit Version: 4.3.2.3-1
[1] [2026-05-28 11:35:01.064] [swaudit]
[5] [2026-05-28 11:35:01.064] [swaudit] We do not look for a update script, because the setup script is failed
[5] [2026-05-28 11:35:01.082] [] -------- submitted part of log file ends here, see the rest of log file on client ----------