Printer FriendlyEmail Article Link

Spirent TestCenter: v5.34 - Getting "Error initializing Python STAK environment" when GUI Application is opened

Symptoms
Getting "Error initializing Python STAK environment" when GUI Application is opened.


 
 
Environment
Spirent TestCenter Application:
  • Version: 5.34.1786

PC:
  • VMWare VM

 
Explanation/Resolution
Seen on logs that user data, session data and Boost interprocess directories are set in a vmware shared folder:
 
Line 23: 2022-07-22T18:38:27.411Z INFO  9728     - fmwk.bll.init        - Application user data directory : \\vmware-host/Shared Folders/Documents/Spirent/TestCenter 5.34/
Line 25: 2022-07-22T18:38:27.413Z INFO  9728     - fmwk.bll.init        - Application session data directory : \\vmware-host/Shared Folders/Documents/Spirent/TestCenter 5.34/Logs/2022-07-22_11-38-25/
Line 36: 2022-07-22T18:38:30.326Z INFO  9728     - fmwk.bll.base.interprocess - Setting Boost interprocess shared_dir to: \\vmware-host/Shared Folders/Documents/Spirent/TestCenter 5.34/boost_interprocess/

Issue resolved by customer after removed the Shared folder settings on the VM and reinstalled the Spirent TestCenter application.

 
Root Cause
Incorrect / Unavailable folders where STC stores information: Application user data, Application session data and Boost interprocess directories.

 

Product : Windows GUI