Page 1 of 1

[SOLVED] Agent GLPI / Macos OX x64

Published: July 23, 2025 - 12:57 PM
by Pierre Baridon
Good morning,

I am trying to install the GLPI (agent) package for macOS Intel/x64
(MacOS 15.5)


I'm getting this error during installation:

Code: Select all

Traceback (most recent call last):
  File "/opt/wapt/common.py", line 4454, in install_wapt
    exitstatus = setup.install()
  File "/tmp/wapte_3q4feu/setup.py", line 7, in install
  File "/opt/wapt/setuphelpers_macos.py", line 619, in installed_softwares
    pkg = get_pkg_info(pkgentry)
  File "/opt/wapt/setuphelpers_macos.py", line 313, in get_pkg_info
    pkginfo_str = run('pkgutil --pkg-info-plist {0}'.format(pkg_id))
  File "/opt/wapt/waptutils.py", line 2263, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command b'pkgutil --pkg-info-plist com.plogue.ARIA Player.ARIA Playerau.pkg' returned non-zero exit status 1.
Output:No receipt for 'com.plogue.ARIA' found at '/'.


CalledProcessErrorOutput: Command b'pkgutil --pkg-info-plist com.plogue.ARIA Player.ARIA Playerau.pkg' returned non-zero exit status 1.
Output:No receipt for 'com.plogue.ARIA' found at '/'.
Do you have any idea?

No problems with the "arm" package though.

Re: GLPI Agent / macOS OX x64

Published: July 23, 2025 - 2:48 PM
by dcardon
Hello Pierre,

Did you download the package from the Wapt store? I just installed it without any problems.
com.plogue.ARIA Player.ARIA Playerau.pkg


Did you create the package yourself from another package? Could you possibly have two PKG files in the same package?

Sincerely,

Denis

Re: GLPI Agent / macOS OX x64

Published: July 23, 2025 - 3:37 PM
by dcardon
After discussing it with Simon, the problem isn't with the tis-glpi-agent package, but with the fact that you have "com.plogue.ARIA Player.ARIA Playerau.pkg" installed on the machine in question, and there's a space character in the pkgid string name... I didn't know that was possible; in any case, it's not very clean of the Aria editor...

Could you try modifying the following line 313 of the /opt/wapt/setuphelpers_macos.py file, and replace

Code: Select all

pkginfo_str = run('pkgutil --pkg-info-plist {0}'.format(pkg_id))
by

Code: Select all

pkginfo_str = run('pkgutil --pkg-info-plist "{0}"'.format(pkg_id))
Sincerely,

Denis

Re: GLPI Agent / macOS OX x64

Published: July 24, 2025 - 4:08 PM
by Pierre Baridon
Hi Denis,

I can confirm, with this modification it works, :-)

thanks

Pierre

Re: GLPI Agent / macOS OX x64

Published: July 24, 2025 - 6:25 PM
by dcardon
Hi Pierre,

the patch has been cherry-picked and will be included in the next release, 2.6.0.

Thanks for reporting the bug. I'm marking this topic as resolved.

Regards,

Denis