Re: [Dhis2-devs] [Dhis2-fr] Problem with setting indicator containing OU group

2018-01-09 Thread Knut Staring
Hi Carlos,

Please share the server log.

Regards,
Knut

On Tue, Jan 9, 2018 at 12:22 PM, Carlos Nyembwe  wrote:

> Hi Knut, I did in demo online the same problem
>
> Regards
>
> On Fri, Nov 24, 2017 at 2:48 PM, Knut Staring  wrote:
>
>> Hello Carlos,
>> Please share the server log.
>>
>> Regards,
>> Knut
>>
>> On Nov 24, 2017 3:45 PM, "Carlos Nyembwe"  wrote:
>>
>>> Hi All,
>>>
>>> No solution since now?
>>>
>>> We have big problem with our analysis
>>>
>>> Thanks for your interest
>>>
>>> On Wed, Nov 22, 2017 at 12:16 PM, Knut Staring  wrote:
>>>
 Hi Carlos,
 When the system seems to take very long, there is usually an error
 message in the server log.

 Knut

 On Nov 22, 2017 2:07 PM, "Carlos Nyembwe"  wrote:

> Hi All,
>
> I find something strange in our System and in dhis2 demo on 2.27
>
> When I set up a  indicator containing OU group, and in pivot table
> when I need to display the result, putting OU as raw, the system is 
> running
> indefinitly
>
> [image: Inline image 1]
>
>
> There is a problem or what?
>
> Regards
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381 <+243%20813%20166%20381>*
> *Find me in: | Google Plus  | 
> **Linkedin
>  | Facebook
>  | Twitter
>  |ega*
>
> --
> Mailing list: https://launchpad.net/~dhis2-fr
> Post to : dhis2...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-fr
> More help   : https://help.launchpad.net/ListHelp
>
>
>>>
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>> *Find me in: | Google Plus  | 
>>> **Linkedin
>>>  | Facebook
>>>  | Twitter
>>>  |*
>>>
>>
>
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381 <+243%20813%20166%20381>*
> *Find me in: | Google Plus  | 
> **Linkedin
>  | Facebook
>  | Twitter
>  |*
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-fr] Problem with setting indicator containing OU group

2018-01-09 Thread Carlos Nyembwe
Hi Knut, I did in demo online the same problem

Regards

On Fri, Nov 24, 2017 at 2:48 PM, Knut Staring  wrote:

> Hello Carlos,
> Please share the server log.
>
> Regards,
> Knut
>
> On Nov 24, 2017 3:45 PM, "Carlos Nyembwe"  wrote:
>
>> Hi All,
>>
>> No solution since now?
>>
>> We have big problem with our analysis
>>
>> Thanks for your interest
>>
>> On Wed, Nov 22, 2017 at 12:16 PM, Knut Staring  wrote:
>>
>>> Hi Carlos,
>>> When the system seems to take very long, there is usually an error
>>> message in the server log.
>>>
>>> Knut
>>>
>>> On Nov 22, 2017 2:07 PM, "Carlos Nyembwe"  wrote:
>>>
 Hi All,

 I find something strange in our System and in dhis2 demo on 2.27

 When I set up a  indicator containing OU group, and in pivot table when
 I need to display the result, putting OU as raw, the system is running
 indefinitly

 [image: Inline image 1]


 There is a problem or what?

 Regards

 --
 *Carlos Nyembwe*
 *I'm just a Computer Scientist*

 *Skype: carloscnk1*
 *Cell: (+243)813166381 <+243%20813%20166%20381>*
 *Find me in: | Google Plus  | 
 **Linkedin
  | Facebook
  | Twitter
  |ega*

 --
 Mailing list: https://launchpad.net/~dhis2-fr
 Post to : dhis2...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-fr
 More help   : https://help.launchpad.net/ListHelp


>>
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>> *Find me in: | Google Plus  | 
>> **Linkedin
>>  | Facebook
>>  | Twitter
>>  |*
>>
>


-- 
*Carlos Nyembwe*
*I'm just a Computer Scientist*

*Skype: carloscnk1*
*Cell: (+243)813166381*
*Find me in: | Google Plus  |
**Linkedin
 | Facebook
 | Twitter
 |*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Getting more info about why data values are ignored during import

2018-01-09 Thread Manuel Silva Gallego
Hi,

I am sending bulks of data to DHIS2 using the API specifying value, 
dataElement, catOptCombo, orgUnit and Period (attrOptionCombo is always empty). 
An example of the json payload can be found below.
{
  "dataValues": [
{
  "dataElement": "f3650e9e3b6",
  "period": "2013W01",
  "orgUnit": "098b208aabf",
  "categoryOptionCombo": "412b32f973f",
  "attrOptionCombo": "",
  "value": "5"
},
{
  "dataElement": "26d0e2dd673",
  "period": "2013W01",
  "orgUnit": "098b208aabf",
  "categoryOptionCombo": "412b32f973f",
  "attrOptionCombo": "",
  "value": "4"
},
{
  "dataElement": "e638c648d6b",
  "period": "2013W01",
  "orgUnit": "098b208aabf",
  "categoryOptionCombo": "412b32f973f",
  "attrOptionCombo": "",
  "value": "10"
},
{
  "dataElement": "f1ee1df0b4f",
  "period": "2013W01",
  "orgUnit": "098b208aabf",
  "categoryOptionCombo": "412b32f973f",
  "attrOptionCombo": "",
  "value": "3"
},
{
  "dataElement": "94448a0b819",
  "period": "2013W01",
  "orgUnit": "098b208aabf",
  "categoryOptionCombo": "412b32f973f",
  "attrOptionCombo": "",
  "value": "3"
}
  ]
}

So far I imported 10 records in DHIS2 and got 818 ignored (response below). 
I have queries to check and validate that all references used in my data values 
exist and can't find any missing reference. I also made sure there are no zero 
values... So I can't figure out the reason why those 818 records are ignored. 
In there any way to get a response from DHIS2 with more info about ignored 
records? Thanks

{
  "responseType": "ImportSummary",
  "status": "SUCCESS",
  "importOptions": {
"idSchemes": {},
"dryRun": false,
"async": false,
"importStrategy": "CREATE_AND_UPDATE",
"mergeMode": "REPLACE",
"reportMode": "FULL",
"skipExistingCheck": false,
"sharing": false,
"skipNotifications": false,
"datasetAllowsPeriods": false,
"strictPeriods": false,
"strictCategoryOptionCombos": false,
"strictAttributeOptionCombos": false,
"strictOrganisationUnits": false,
"requireCategoryOptionCombo": false,
"requireAttributeOptionCombo": false
  },
  "description": "Import process completed successfully",
  "importCount": {
"imported": 99182,
"updated": 0,
"ignored": 818,
"deleted": 0
  },
  "dataSetComplete": "false"
}



Best regards / Cordialement / Vriendelijke groeten / Atentamente,

[1470312630639_PastedImage]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp