[SOLVED] Agent GLPI / Macos OX x64

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
pierre.baridon
Messages: 12
Registration: Nov 14, 2020 - 10:55
Location: Clermont-Ferrand

July 23, 2025 - 12:57

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.
- Installed WAPT version (2.1.0 Enterprise)
- Server OS: Debian
- Administration/package creation machine OS: Windows 10
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 23, 2025 - 2:48 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 23, 2025 - 3:37 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
pierre.baridon
Messages: 12
Registration: Nov 14, 2020 - 10:55
Location: Clermont-Ferrand

July 24, 2025 - 4:08 PM

Hi Denis,

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

thanks

Pierre
- Installed WAPT version (2.1.0 Enterprise)
- Server OS: Debian
- Administration/package creation machine OS: Windows 10
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 24, 2025 - 6:25 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked