It says, “File not found” on line 25 in the getRecipes function.
Look at line 25 in the app.api Python module in the RMS project.
See what file the getRecipes function is trying to access on line 25 of the app.api Python module. Then check if the file exists. If it doesn’t exist then that is the problem.
If the file path to the file is a variable then is the variable being set to the correct file path? You can add logging or print statements to the app.api.getRecipes function to see what the file path is being set to. Check out this blog post to learn more about debugging and testing gateway scripts: perfectabstractions.com/blog … nt-scripts
And by the way, the script works if we use the server address where we’ve got RMS project. But when we’ve changed the server address to ours, it shows that kind of error. Is there anything we need to add or create in our gateway like modules, connection, etc.
Thank you for your support, I’ve also worked with other guys where the project came from. They recommended to install the Rest Script Interface module in our server. After that, the execution of script works well. Again thank you for your response.
By the way, why the RSI module is not in the online store? is it only by request?
The REST Script Interface Module is a private module developed for a specific company - I assume you got it from guys from within your company. It is not available publicly.