Description:
A user encountered an "Internal Server Error (500) - path is not a child of currently directory" error when running a TERR script via Spotfire Web Player (web browser). The script worked correctly in Spotfire Analyst client and TERR client, but failed in the web browser.
Solution:
This issue might be resolved by changing the output variable name from "aux" to a different name. Name "aux" is a reserved Microsoft Windows keyword, which is likely to cause this error when the script is executed in the Web Player environment.
To fix this issue:
- Review the TERR script and identify any variables named "aux".
- Rename the "aux" variable to a different, non-reserved name (e.g., "output" or "result").
- Update any references to the renamed variable throughout the script.
- Save the changes and re-run the script in the Spotfire web player.
By avoiding the use of reserved keywords like "aux" for variable names, the TERR script should execute successfully in both client and web player environments.
This box will be hidden from the public.
Source Case 304828