TSSS returns error "analyticType must be either 'script' or 'function'."
book
Article ID: KB0083742
calendar_today
Updated On:
Products
Versions
Spotfire Statistics Services
7.5
Description
When running a data function in TSSS, the following error is returned.
===== TIBCO Spotfire Statistics Services returned an error: 'Error in function(analyticType, scriptOrFunctionName, inputs = list() : analyticType must be either 'script' or 'function''. at Spotfire.Dxp.Data.DataFunctions.Executors.RemoteFunctionClient.OnExecuting() at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.<RunFunction>d__0.MoveNext() at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.<ExecuteFunction>d__0.MoveNext() at Spotfire.Dxp.Data.Methods.TerrAggregation`1.Worker(CxxSession session, UInt64 groupCount, CxxTable tempTable, CxxReader[] dependencies, CxxWriter writer, IList`1 propertyGetters) =====
Issue/Introduction
When running a data function TSSS returns an error "analyticType must be either 'script' or 'function'."
Environment
Product: TIBCO Spotfire Statistics Services with TERR engine
Version: TSSS 7.5, TERR lower than 4.3
OS: All supported Operating Systems
Resolution
When data is being returned to an aggregation-type table, such as a Spotfire cross table, special formatting must be built in. This was added in TERR 4.3, which is included in TSSS 7.5 HF-003. Applying hotfix HF-003 or later to TIBCO Spotfire Statistics Services (TSSS) 7.5 will upgrade its built-in TIBCO Enterprise Runtime for R (TERR) statistical engine to TERR 4.3.0 or later, which will fix this issue.