ERROR loading indicators in custom reports(MVIS Health Coordinator and CHW reports)

Hi guys,

Please help.

I downloaded indicators from a domain on commcare live and uploaded on my
local commcare instance. However while I already have some data that should
show in the reports, both reports are blank (I have attached a screenshot
of the MVIS Health Coordinator page).

Below is part of the stack trace on django console for the MVIS report:

2014-10-30 06:13:35,765 INFO Could not grab indicator num_births_occured
in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator num_births_recorded
in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator maternal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator neonatal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator infant_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator under5_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator over5_deaths in
domain mvp-sauri

A variation of the above error on CHW manager report is:

2014-10-30 06:29:49,866 ERROR could not load indicator household_num_ec
2014-10-30 06:29:49,911 ERROR could not load indicator
family_planning_proportion

2014-10-30 06:29:49,960 ERROR could not load indicator num_births_occured
2014-10-30 06:29:50,012 ERROR could not load indicator num_births_recorded
2014-10-30 06:29:50,070 ERROR could not load indicator maternal_deaths
2014-10-30 06:29:50,118 ERROR could not load indicator neonatal_deaths
2014-10-30 06:29:50,165 ERROR could not load indicator infant_deaths
2014-10-30 06:29:50,211 ERROR could not load indicator under5_deaths
2014-10-30 06:29:50,257 ERROR could not load indicator over5_deaths
2014-10-30 06:29:50,302 ERROR could not load indicator
days_since_last_transmission

Is there something I have not done or should be done after uploading the
indicators from the json file for the reports to show?

Thanks in advance.

Hi Simon,

You are the man!

./manage.py mvp_make_indicators has worked like charm.

Thank you!

··· On Thursday, October 30, 2014 9:41:45 AM UTC+3, Josiah Njuki wrote: > > Hi guys, > > Please help. > > I downloaded indicators from a domain on commcare live and uploaded on my > local commcare instance. However while I already have some data that should > show in the reports, both reports are blank (I have attached a screenshot > of the MVIS Health Coordinator page). > > Below is part of the stack trace on django console for the MVIS report: > > *2014-10-30 06:13:35,765 INFO Could not grab indicator num_births_occured > in domain mvp-sauri* > *2014-10-30 06:13:35,802 INFO Could not grab indicator num_births_recorded > in domain mvp-sauri* > *2014-10-30 06:13:35,802 INFO Could not grab indicator maternal_deaths in > domain mvp-sauri* > *2014-10-30 06:13:35,802 INFO Could not grab indicator neonatal_deaths in > domain mvp-sauri* > *2014-10-30 06:13:35,803 INFO Could not grab indicator infant_deaths in > domain mvp-sauri* > *2014-10-30 06:13:35,803 INFO Could not grab indicator under5_deaths in > domain mvp-sauri* > *2014-10-30 06:13:35,803 INFO Could not grab indicator over5_deaths in > domain mvp-sauri* > > A variation of the above error on CHW manager report is: > > *2014-10-30 06:29:49,866 ERROR could not load indicator household_num_ec* > *2014-10-30 06:29:49,911 ERROR could not load indicator > family_planning_proportion* > *2014-10-30 06:29:49,960 ERROR could not load indicator num_births_occured* > *2014-10-30 06:29:50,012 ERROR could not load indicator > num_births_recorded* > *2014-10-30 06:29:50,070 ERROR could not load indicator maternal_deaths* > *2014-10-30 06:29:50,118 ERROR could not load indicator neonatal_deaths* > *2014-10-30 06:29:50,165 ERROR could not load indicator infant_deaths* > *2014-10-30 06:29:50,211 ERROR could not load indicator under5_deaths* > *2014-10-30 06:29:50,257 ERROR could not load indicator over5_deaths* > *2014-10-30 06:29:50,302 ERROR could not load indicator > days_since_last_transmission* > > Is there something I have not done or should be done after uploading the > indicators from the json file for the reports to show? > > > Thanks in advance. > > > > > > >

Hi Josiah

I don’t know much about how those reports work but there is some info in
this readme:

I also notice that there are two management commands that look like they
should probably be run:

··· - https://github.com/dimagi/commcare-hq/blob/master/custom/_legacy/mvp/management/commands/mvp_make_couch_indicators.py - https://github.com/dimagi/commcare-hq/blob/master/custom/_legacy/mvp/management/commands/mvp_make_indicators.py

Judging by the log you included I think running those two command should
sort it out.

On 30 October 2014 08:41, Josiah Njuki jnjuki103@gmail.com wrote:

Hi guys,

Please help.

I downloaded indicators from a domain on commcare live and uploaded on my
local commcare instance. However while I already have some data that should
show in the reports, both reports are blank (I have attached a screenshot
of the MVIS Health Coordinator page).

Below is part of the stack trace on django console for the MVIS report:

2014-10-30 06:13:35,765 INFO Could not grab indicator num_births_occured
in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator num_births_recorded
in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator maternal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator neonatal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator infant_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator under5_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator over5_deaths in
domain mvp-sauri

A variation of the above error on CHW manager report is:

2014-10-30 06:29:49,866 ERROR could not load indicator household_num_ec
2014-10-30 06:29:49,911 ERROR could not load indicator
family_planning_proportion

2014-10-30 06:29:49,960 ERROR could not load indicator num_births_occured
2014-10-30 06:29:50,012 ERROR could not load indicator
num_births_recorded

2014-10-30 06:29:50,070 ERROR could not load indicator maternal_deaths
2014-10-30 06:29:50,118 ERROR could not load indicator neonatal_deaths
2014-10-30 06:29:50,165 ERROR could not load indicator infant_deaths
2014-10-30 06:29:50,211 ERROR could not load indicator under5_deaths
2014-10-30 06:29:50,257 ERROR could not load indicator over5_deaths
2014-10-30 06:29:50,302 ERROR could not load indicator
days_since_last_transmission

Is there something I have not done or should be done after uploading the
indicators from the json file for the reports to show?

Thanks in advance.


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

Sure, no problem.

··· On 30 October 2014 12:21, Josiah Njuki wrote:

Hi Simon,

You are the man!

./manage.py mvp_make_indicators has worked like charm.

Thank you!

On Thursday, October 30, 2014 9:41:45 AM UTC+3, Josiah Njuki wrote:

Hi guys,

Please help.

I downloaded indicators from a domain on commcare live and uploaded on my
local commcare instance. However while I already have some data that should
show in the reports, both reports are blank (I have attached a screenshot
of the MVIS Health Coordinator page).

Below is part of the stack trace on django console for the MVIS report:

2014-10-30 06:13:35,765 INFO Could not grab indicator num_births_occured
in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator
num_births_recorded in domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator maternal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,802 INFO Could not grab indicator neonatal_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator infant_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator under5_deaths in
domain mvp-sauri

2014-10-30 06:13:35,803 INFO Could not grab indicator over5_deaths in
domain mvp-sauri

A variation of the above error on CHW manager report is:

2014-10-30 06:29:49,866 ERROR could not load indicator household_num_ec
2014-10-30 06:29:49,911 ERROR could not load indicator
family_planning_proportion

2014-10-30 06:29:49,960 ERROR could not load indicator
num_births_occured

2014-10-30 06:29:50,012 ERROR could not load indicator
num_births_recorded

2014-10-30 06:29:50,070 ERROR could not load indicator maternal_deaths
2014-10-30 06:29:50,118 ERROR could not load indicator neonatal_deaths
2014-10-30 06:29:50,165 ERROR could not load indicator infant_deaths
2014-10-30 06:29:50,211 ERROR could not load indicator under5_deaths
2014-10-30 06:29:50,257 ERROR could not load indicator over5_deaths
2014-10-30 06:29:50,302 ERROR could not load indicator
days_since_last_transmission

Is there something I have not done or should be done after uploading the
indicators from the json file for the reports to show?

Thanks in advance.


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa