TIBCO BusinessEvents Application deployments using TEA Python CLI scripts fail when run with Python version 3 and with TEA Server 2.4.1

TIBCO BusinessEvents Application deployments using TEA Python CLI scripts fail when run with Python version 3 and with TEA Server 2.4.1

book

Article ID: KB0071282

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 6.x

Description

All TIBCO BusinessEvents Python deployment commands fail with error "Actual error while retrying is: OrderedDict mutated during iteration."
e.g.,

python %BE_HOME%/teagent/cli/python/pplicationsMgmt.py -u admin -p admin -t http://localhost:8777 createdeployment -d testFDCLI -c $BE_HOME/examples/standard/FraudDetection/FraudDetection/fd.cdd -e $BE_HOME/examples/standard/FraudDetection/fd.ear

Applications Management Operations CLI.
Connecting to TEA Server http://localhost:8777
INFO: Retry count: 1

WARN: Exception while logging in. If the credentials are correct, this may mean that the server is not yet ready to serve authentication.
ERROR: Actual error while retrying is: OrderedDict mutated during iteration.
...

Environment

All Operating Systems TIBCO Enterprise Administrator (TEA) 2.4.1

Resolution

The error occurs when Python scripts were executed with Python version 3.x.
TEA Server 2.4.1 was built with Python version 2.x.
To avoid the error, run the Python scripts with Python version 2.7.x.
The Python version is returned with the command:
python --version

Note:
For the deployment TEA-Server version 2.4.1HF3 or later required.
TEA-Server enhancement TEA-3686 created to support Python version 3.

Issue/Introduction

TIBCO BusinessEvents Application deployments using Python CLI fail with Python version 3 when using TEA Server 2.4.1