[Fusioninventory-user] Parse error on Mac Os X of system_profiler SPApplicationsDataType (agent 2.3.16 and 2.3.17)

Laszlo Kertesz laszlo.kertesz at gmail.com
Tue Nov 24 15:54:08 UTC 2015


When making an inventory (fusion inventory -> Glpi) on a computer with 
Mac Os X the Software list is empty and the following error is logged:
Can't use string ("Unknown") as a HASH ref while "strict refs" in use 
line 46

The system_profiler SPApplicationsDataType command works just fine on 
the computer. Also if "use strict" is commented out the list will be 
On other computers the software list is reported correctly.
The last entry in the software list is

    Trim Enabler:

      Version: 3.2.2
      Obtained from: Unknown
      Last Modified: 13/02/14 19:05
      Kind: Intel
      64-Bit (Intel): Yes
      Signed by: Mac Developer: Oskar Groth (C9Y5UE665S), Apple 
Worldwide Developer Relations Certification Authority, Apple Root CA
      Location: /Incompatible Software/Trim Enabler.app

But "Unknown" appears on other softwares too on other computers also 
but none have this issue (even have trim enabler installed). Although 
this computer seems to have an unusual high rate of "Unknown" sources.
Agent version is 2.3.16 and 2.3.17 (2.2.7 worked ok i think). 2.3.16 
and 2.3.17 were Compiled with the script at 
https://github.com/Darkomen78/Fusioninventory/. The locally generated 
xml has no softwares in it so its not a glpi issue.

Any thoughts on this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-user/attachments/20151124/c5e5b687/attachment.html>

More information about the Fusioninventory-user mailing list