Page 1 of 1

[RESOLVED] 2.7.0.19597 macOS Agent: waptservice fails to start – ModuleNotFoundError: No module named 'six'

Published: October 7, 2026 - 10:49 AM
by massimo
Version : 2.7.0.19597 (server, agent, console)
Edition: Enterprise
Server : Debian 12
Positions: macOS 15.7 and 26.6 / 26.7 (Apple Silicon)

Good morning,

After updating the macOS agent to 2.7.0.19597, the waptservice crashes on startup: the Mac no longer shows up in the console.

Error in /var/log/waptservice.log

Code: Select all

File "/opt/wapt/lib/python3.11/site-packages/pam/__init__.py", line 9, in <module>
    from .__internals import PAM_ACCT_EXPIRED
  File "/opt/wapt/lib/python3.11/site-packages/pa[code][code]
[/code]m/__internals.py", line 2, in<module>
import six
ModuleNotFoundError: No module named 'six'[/code]

launchctl list shows the service without PID (it.tranquil.waptservice not started).

Workaround applied

Code: Select all

sudo /opt/wapt/bin/python3 -m pip install --target /opt/wapt/lib/python3.11/site-packages six
sudo launchctl kickstart -k system/it.tranquil.waptservice
After that, the service starts, reconnects to the server and reappears in the console.

Module six appears to be missing from the macOS build of the agent. Is a fix planned?

THANKS,

Re: [2.7.0.19597] macOS Agent: waptservice fails to start – ModuleNotFoundError: No module named 'six'

Published: October 7, 2026 - 3:35 PM
by dcardon
Hi Maxime,

you can download version https://wapt.tranquil.it/releases/wapt- ... -b35845cd/ , it's fixed. It was related to the python-pam module which had removed the six dependency even though it still needed it...

Best regards,

Denis

Re: [2.7.0.19597] macOS Agent: waptservice fails to start – ModuleNotFoundError: No module named 'six'

Published: October 7, 2026 - 4:03 PM
by massimo
Hello Denis,

The package works perfectly.

Thank you for your quick response!