Jump to content

Python Data Function Temp File Not Found - Python Engine Version Change

John Lyall

Recommended Posts

Modulesimported and script has runfine previously with Pandas etc, PyDf has now stopped working.Environment variables are all set up set up.

It is possible my Python Engine has changed, i noticed before it was 3.4 and running fine, now it is 3.7.4and there is no option to revert it.

Error Message:

Could not execute function call 'outputcheck'

File not found: C:Usersw55207AppDataLocalTemptmpDD7D.stdf

at Spotfire.Dxp.Data.Import.FileDataSource..ctor(String filePath, String[] additionalFilePaths)

at SpotfirePS.DataFunctions.Python.PythonDataFunctionExcecutor.d__2.MoveNext()

at Spotfire.Dxp.Application.Extension.CustomDataFunctionExecutor.d__5.MoveNext()

at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.d__3.MoveNext()


Example Script:

from Python_Data_Function import *

# Put package imports here

# Please make sure you have the correct packages installed in your Python environment

# Attempting to output to document propertynamed dataout2

dataout2 = 'madeit'

Link to comment
Share on other sites


It was due to an Input Parameter that had not been referenced in the script.

The file not found error occurs whenever there is a mismatch between the parameters defined in Edit Script and those used in Edit Parameters.

Checking required parameter is a handy safeguard for this.


Note this is forSpotfire 10.3

There seems to be no issue with the Python Engine Version Change.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...