[Dhis2-devs] Fw: Org unit not loading in the data entry section

2018-03-01 Thread Absolom MURAMIRA
 Dear All,
Can someone please advise me on how to resolve this issue? We are stuck and 
cannot do any data entry. Thank you.
Absolom

   - Forwarded Message - From: Absolom MURAMIRA 
To: DHIS 2 Developers List 
; DHIS 2 Users List 
Sent: Wednesday, February 28, 2018, 12:23:59 
PM GMT+2Subject: Org unit not loading in the data entry section
 Dear Colleagues,
I am being challenged by my system whereby when i open the data entry app and 
click on the org unit name, it does not load in the data entry section to 
enable me select the dataset for entering data. Has anyone experienced this 
before and can advise me? I am using v2.28 build c953ce1.
I have also attached a copy of the log file.
Thank you
Absolom



  

log28022018
Description: Binary data
___
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] [Dhis-devs][DHIS 2.27]Discrepancy in distribution of data in monthly reports as per EPI weeks

2018-03-01 Thread Preeti Ajgaonkar
Apologies, the figures for expected and actual values for the months of Nov
and Dec 2017 should be as follows

*Expected*
November 2017 - 495
December 2017 - 361

*Actual*
November 2017 - 398
December 2017 - 458

Thanks
Preeti A


On Fri, Mar 2, 2018 at 12:08 PM, Preeti Ajgaonkar 
wrote:

> Hi team,
>
> Ever since we have upgraded to DHIS 2.27 and started using EPI weeks for
> distribution of data in any reports, we have noticed a discrepancy in the
> data for the months starting on a Friday.
>
> For e.g. data for W44 to W48 should be attributed to Nov 2017 as per the
> EPI week rule, but W48 data it is attributed to Dec 2017 (which starts on a
> Friday). See screenshots below
>
> Monthly
> [image: Inline image 1]
>
> Weekly
> [image: Inline image 3]
>
> *Expected*
> November 2017 - 398
> December 2017 - 458
>
> *Actual*
> November 2017 - 495
> December 2017 - 361
>
> Similar issue is observed from W31 - W35 where the data should for W35
> should be counted as part of Aug 2017 but it appears in Sep 2017(which also
> starts on a Friday).
>
> Monthly
> [image: Inline image 1]
>
>
> Weekly
> [image: Inline image 4]
>
> *Expected*
> August 2017 - 614
> September 2017 - 452
>
> *Actual*
> August 2017 - 499
> September 2017 - 567
>
> I am expecting the same thing to happen in Apr-May 2018.
>
> Any leads on this would be appreciated.
>
> --
> Thanks
> Preeti Ajgaonkar
>



-- 
Thanks
Preeti Ajgaonkar
___
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] [Dhis-devs][DHIS 2.27]Discrepancy in distribution of data in monthly reports as per EPI weeks

2018-03-01 Thread Preeti Ajgaonkar
Hi team,

Ever since we have upgraded to DHIS 2.27 and started using EPI weeks for
distribution of data in any reports, we have noticed a discrepancy in the
data for the months starting on a Friday.

For e.g. data for W44 to W48 should be attributed to Nov 2017 as per the
EPI week rule, but W48 data it is attributed to Dec 2017 (which starts on a
Friday). See screenshots below

Monthly
[image: Inline image 1]

Weekly
[image: Inline image 3]

*Expected*
November 2017 - 398
December 2017 - 458

*Actual*
November 2017 - 495
December 2017 - 361

Similar issue is observed from W31 - W35 where the data should for W35
should be counted as part of Aug 2017 but it appears in Sep 2017(which also
starts on a Friday).

Monthly
[image: Inline image 1]


Weekly
[image: Inline image 4]

*Expected*
August 2017 - 614
September 2017 - 452

*Actual*
August 2017 - 499
September 2017 - 567

I am expecting the same thing to happen in Apr-May 2018.

Any leads on this would be appreciated.

-- 
Thanks
Preeti Ajgaonkar
___
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-users] Push analysis causes analytics to fail

2018-03-01 Thread Lars Helge Øverland
Hi Elmarie,

I don't think this is related to push analysis. I think this issue has been
fixed. Can you please updated to the latest 2.28 build and try again.

regards,

Lars



On 1 March 2018 at 17:00, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> We have been testing push analysis and set up one push analysis of a
> dashboard to a usergroup but it causes analytics to fail with the following
> message.
>
> The instance is on 2.28.
>
> We unable to test on Sierra Leone to replicate.
>
>
>
> The log file shows the following error:
>
>
>
> * ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled
> task. (TaskUtils.java [taskScheduler-16])
>
> java.lang.NullPointerException
>
> ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled task.
> (TaskUtils.java [taskScheduler-16])
>
> java.lang.NullPointerException
>
> at org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(
> ConcurrentUtils.java:53)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.
> applyAggregationLevels(DefaultAnalyticsTableService.java:242)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.
> update(DefaultAnalyticsTableService.java:137)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator
> .generateTables(DefaultAnalyticsTableGenerator.java:112)
>
> at org.hisp.dhis.webapi.controller.ResourceTableController.
> lambda$analytics$0(ResourceTableController.java:112)
>
> at org.springframework.scheduling.support.
> DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnabl
> e.java:54)
>
> at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
> at java.lang.Thread.run(Thread.java:748)
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
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] Push analysis causes analytics to fail

2018-03-01 Thread Elmarie Claasen
Hi all,



We have been testing push analysis and set up one push analysis of a
dashboard to a usergroup but it causes analytics to fail with the following
message.

The instance is on 2.28.

We unable to test on Sierra Leone to replicate.



The log file shows the following error:



* ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled
task. (TaskUtils.java [taskScheduler-16])

java.lang.NullPointerException

ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled task.
(TaskUtils.java [taskScheduler-16])

java.lang.NullPointerException

at
org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(ConcurrentUtils.java:53)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.applyAggregationLevels(DefaultAnalyticsTableService.java:242)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.update(DefaultAnalyticsTableService.java:137)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator.generateTables(DefaultAnalyticsTableGenerator.java:112)

at
org.hisp.dhis.webapi.controller.ResourceTableController.lambda$analytics$0(ResourceTableController.java:112)

at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)

at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
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] Custom colors for pivot and charts

2018-03-01 Thread Bernard Sadaka (IM Advisor)
Hello All,

Is it possible to customize the color of the pivot table rows as well as the
charts?

What I would like to achieve is provide pivot table and charts that match
colors: e.g. the target data in blue and the actual data in green both in
the pivot rows/columns as well as in the chart.

Advice appreciated.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org







---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
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] Need to modify or regenerate the default categoryOptionCombo

2018-03-01 Thread Lars Helge Øverland
Hi Mike,

this was an unfortunate bug which existed in the API at some point which
caused some trouble in various databases. Cleaning it up is a bit involved
if you have data for both default option combos and want to merge it. We
have an SQL script here with various commands which is helpful:

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/fix-duplicate-default-category-option-combos.sql

regards,

Lars


On 1 March 2018 at 04:47, Mike Johnson  wrote:

> I have an instance on 2.27, but it was originally built in 2.24 and
> upgraded to 2.25 and 2.26.
>
>
>
> I need to regenerate my default categoryCombo. Somehow I have two
> categoryOptionCombos associated with the default categoryCombo (default,
> and “Cured”, which is an unrelated disaggregation from another
> categoryCombo).
>
>
>
> The only way I noticed this was that I was using the HISP Touch app, and I
> was seeing two input fields for each data element with default category
> combo.
>
>
>
> I have regenerated category option combos in the data administration app,
> I have cleared the app cache, changed public access to “rw--“,
> restarted the server, and pulled a few other things, but nothing seems to
> work. Is there any other way to manually remove this extraneous category
> option combo from the “default” category combo?
>
>
>
> Below is the metadata, if anyone is curious to take a look.
>
>
>
> Thank you!
>
> Mike
>
>
>
> *Mike Johnson, MSc* | MEQ Manager
>
> Monitoring, Evaluation & Quality Improvement | Partners In Health
>
> Email: mjohn...@pih.org
>
> Mobile: +1 857-206-5246 <+1%20857-206-5246>
>
> Submit an MEQ data request
> 
>
>
>
>
>
> http://dhis2.org/schema/dxf/2.0;
> created="2015-11-04T12:56:52.922" lastUpdated="2018-02-
> 28T22:11:57.151" name="default" href="https://___
> /dhis/api/categoryCombos/gWY___" id="gWY___">
>
> DISAGGREGATION
>
> default
>
> rw--
>
> false
>
> true
>
> false
>
> 
>
> 
>
> true
>
> true
>
> true
>
> true
>
> true
>
> true
>
> 
>
> 
>
> 
>
>   ## This is default
>
>   ## This is “Cured”, which I want to
> remove
>
> 
>
>
>
> 
>
>   # This is default
>
> 
>
> 
>
>
>
> ___
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
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] FW: External Dashboard URL

2018-03-01 Thread Bernard Sadaka (IM Advisor)
Hello All,

Since I didn’t get any answer for the bellow on the users list, I am
forwarding to the developers list in the hope to get an answer.

Thank you in advance.

All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail: lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website: https://www.pu-ami.org 





From: Bernard Sadaka (IM Advisor) [mailto:lib@pu-ami.org]
Sent: Monday, February 26, 2018 4:53 PM
To: 'dhis2-users' 
Subject: External Dashboard URL



Dear All,

I created a dashboard and made it available externally. How can I find the
URL for that Dashboard?

Does the dashboard itself becomes available for the external viewers? Or
only via the API?

I tried to use the URLs:

* /dhis-web-dashboard-integration/index.html?id=QrdYXtKt2e6

* /api/dashboards/QrdYXtKt2e6

* /api/dashboards/QrdYXtKt2e6.json

I can share the individual items of the dashboard using:
/api/26/charts/gk5bXuhH7DL/data.html+css but then shouldn’t there be a
similar url for the dashboard?

I can also try and create an external html page with each of the charts’
external URL, but I do believe that the share dashboard externally should
allow this, no? please correct me if I am wrong.



Thank you for your help in advance.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail: lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website: https://www.pu-ami.org 







---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
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