microsoft / Templates-For-Dynamics-365-Supply-Chain-Management-Demand-Forecasting-With-Azure-Machine-Learning

Samples, templates and setup guides in order to run demand forecasting in Azure Machine Learning Service and integrate with Dynamics 365 SCM
MIT License
12 stars 16 forks source link

DemandForecastGeneration_TriggerScript failing from last three weeks #15

Open maheshambati410 opened 6 months ago

maheshambati410 commented 6 months ago

We are getting below error, from last three weeks (this issue appearing when creating new pipeline or running existing from Demand forecast), any one come across this issue?

Error: Expected a StepRun object but received <class 'azureml.core.run.Run'> instead. This usually indicates a package conflict with one of the dependencies of azureml-core or azureml-pipeline-core. Please check for package conflicts in your python environment Elapsed time: 0:14:03.650006 Cleaning up all outstanding Run operations, waiting 300.0 seconds 3 items cleaning up... Cleanup took 0.235382080078125 seconds Traceback (most recent call last): File "/azureml-envs/azureml_f3f7e6c5fb83d94df23933000bf02da3/lib/python3.8/site-packages/azureml/pipeline/core/run.py", line 295, in wait_for_completion step_run.wait_for_completion(timeout_seconds=timeout_seconds - time_elapsed, TypeError: wait_for_completion() got an unexpected keyword argument 'timeout_seconds'

JERPU2 commented 5 months ago

@maheshambati410 I am getting the same error when I attempt to build the pipeline and have not been able to figure out what is going on yet. I am completely new to Azure ML, so if you happen to find a solution, please share with me!

maheshambati410 commented 5 months ago

@JERPU2 Microsoft support team shared workaround to this issue. Fix attached here Fix from MS_060324.zip