[SOLVED] tis-verif-secureboot-uefi-ca-2023

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
Aramis
Messages: 17
Registration: July 16, 2024 - 11:48
Location: Lille

March 4, 2026 - 10:28

Good morning,

Some machines in our network are reporting the following error with the package:

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4190, in install_wapt
    setup = import_setup(setup_filename)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1610, in import_setup
    py_mod = imp.load_source(modulename, setupfilename)
  File "imp.py", line 171, in load_source
  File "<frozen importlib._bootstrap>", line 711, in _load
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "C:\WINDOWS\TEMP\waptp0czq81z\setup.py", line 134, in <module>
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Does anyone have any ideas on how to solve this?

THANKS.
Last edited by Aramis on March 9, 2026 - 2:18 PM, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 4, 2026 - 11:32

Hello,

could you please specify your WAPT version? (Forum rules)

I suspect a problem with an older Python version that doesn't support package typing.
Aramis
Messages: 17
Registration: July 16, 2024 - 11:48
Location: Lille

March 5, 2026 - 10:23

Hello,

This concerns WAPT version 2.6 Enterprise under Linux Debian.

WAPT Server version: 2.6.1.17576
WAPT Agent version: 2.6.1.17576
WAPT Setup version: 2.6.1.17576
WAPT Deploy version: 2.6.1.17576
DB status: OK
Disk space: 56.26% free

Regards,
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 5, 2026 - 11:43

I modified the package to remove the typing; it should be better
Aramis
Messages: 17
Registration: July 16, 2024 - 11:48
Location: Lille

March 9, 2026 - 2:18 PM

The problem is resolved thanks to your fix on the users' workstations.

Thank you.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 9, 2026 - 4:30 PM

Hello Julien,
thank you for the feedback :-)
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