Modeling App Issue: ValueError: No data in dataset DataSet({})

Good day

I am experiencing a persistent issue with the DHIS2 (v2.41.4.2) Modeling App (v 3.1.1) where jobs fail during execution despite passing validation and dry run checks. I attached a google drive link of a screen recording that shows the full workflow from evaluation creation to job failure.

Current failure

ValueError: No data in dataset DataSet({})

This occurs even though:

  • Data is visible in Inspect dataset
  • Periods and values resolve correctly
  • The same configuration passes dry run validation

Hi @Reanne.Jean

It’s possible that the some of the checks are only performed during execution; however, this value could be a result of either a configuration problem or that some of the required data is missing.

Could you please check that the data elements has values that are not zeros nor nulls for the selected OUs within the training period? Even though ‘Inspect dataset’ shows data is visible, what matters most is the training portion period. The issue could be because the values exist in the periods that are excluded from the training hence the returned error ValueError: No data in dataset DataSet({})

Did you link the screen recording? I can’t see the link. This might be because the first training split of the data is missing some data, but I’ll know more once I see the screencast

1 Like

@Knut_Dagestad_Rand My apologies. Here is the link: https://drive.google.com/file/d/1mCihIhsp_WZFJiTo2JEzTrJ_N3h_ZvsV/view

1 Like

Good, it seems like there only 3 weeks in the dataset. It should be 2 years at a minimum, so it should work if you include more. Sorry about the uninformative error messages, it is supposed to give more informative messages, but we’ve changed some of the validation logic recently so some data errors slip through the cracks

1 Like

Ah! Thank you, I will try it out to see if that works.

1 Like

@Knut_Dagestad_Rand I added more data over a 2 year span and it works now. Thanks again!

2 Likes

Jira issue created: Jira

1 Like