# Python overflow error found when importing yaml module

**URL:** <https://forum.opentap.io/t/python-overflow-error-found-when-importing-yaml-module/2692>\
**Category:** General\
**Created:** [July 27, 2026, 11:20am UTC](https://forum.opentap.io/t/python-overflow-error-found-when-importing-yaml-module/2692 "2026-07-27T11:20:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![everthuijben](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@everthuijben](https://forum.opentap.io/u/everthuijben)\
**Post date:** [July 27, 2026, 11:20am UTC](https://forum.opentap.io/t/python-overflow-error-found-when-importing-yaml-module/2692/1 "2026-07-27T11:20:09Z")

</div>

When you use the 32 bit OpenTAP environment and want to create a python result listener,  
An error is found when you import the yaml module:  
C:\Program Files (x86)\Test Automation\>tap  
**Caught exception loading Test.Issue\_yaml: Arithmetic operation resulted in an overflow**.

This is my python code:

import opentap  
from opentap import \*

import OpenTap

import yaml

The ‘Import yaml’ is causing the mentioned error when running tap.exe  
At least at 9.33 and 9.34 this issue is found. I am using python 3.8 32 bit and 6.0.3 from pyyaml package. It seems that somehow OpenTAP or the Python package is not able to deal with this package.

Does someone have any clue what might be wrong or any suggestions for further investigation?

Regards, Evert Huijben
