nabeel-oz / qlik-py-tools

Data Science algorithms for Qlik implemented as a Python Server Side Extension (SSE).
https://nabeel-oz.github.io/qlik-py-tools/
MIT License
185 stars 87 forks source link

Forecasting Road Accidents #110

Open rkarr5 opened 3 years ago

rkarr5 commented 3 years ago

Function Prophet

Describe the bug I am trying to select the accident year , road name, region and then trying to execute the app but it is throwing the error. I am able to execute the script for the first time without any filters. but when I select the filter, it is throwing LS failed, Hessian reset and the error in Qlik app is ' Error, The operation was cancelled.

Environment:

Additional context Add any other context about the problem here.

nabeel-oz commented 3 years ago

Hi Ravi,

The "operation was cancelled" error will appear if you take any action in Qlik before the call to Python has been completed. This can happen accidentally if you click on the green tick mark to confirm a selection. This is the current behavior in Qlik Sense and so I've placed buttons in the app that can be used to enable or disable the call to Python.

The 'LS failed' message is just a normal log output from Prophet. I couldn't suppress the log, but it can be safely ignored.