Page 1 of 1

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

Published: March 4, 2026 - 10:28
by Aramis
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.

Re: tis-verif-secureboot-uefi-ca-2023

Published: March 4, 2026 - 11:32
by sfonteneau
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.

Re: tis-verif-secureboot-uefi-ca-2023

Published: March 5, 2026 - 10:23
by Aramis
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,

Re: tis-verif-secureboot-uefi-ca-2023

Published: March 5, 2026 - 11:43
by sfonteneau
I modified the package to remove the typing; it should be better

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

Published: March 9, 2026 - 2:18 PM
by Aramis
The problem is resolved thanks to your fix on the users' workstations.

Thank you.

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

Published: March 9, 2026 - 4:30 PM
by dcardon
Hello Julien,
thank you for the feedback :-)
Denis