From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Executing Python Script fail with error code 2

Solved!
Go to solution

TS: 2014

Python: Anaconda3

 

On my development pc all my python scripts are executing fine.

After deploying it all python scripts fails with error code 2.

 

what does "2" mean ?

 

I have tested my scripts are working, if I execute them directly outside Teststand.

I have made a simple debug python script which is just writing a timestamp in a file. It's the same story with that one. 

 

 

Download All
0 Kudos
Message 1 of 2
(5,110 Views)
Solution
Accepted by topic author NikolajEgeskovOstergaard

problem solved.

a space in the deployment folder path "Teststand Deployment" does not work.

0 Kudos
Message 2 of 2
(5,091 Views)