[Dhis2-devs] USE OF BARCODE IN TRACKER CAPTURE

2017-12-01 Thread Stanley Kalyati
Anyone with this experience?

Kindly provide insight how this is deployed.

Thanks

Stanley
___
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] [DHIS2 Android] New Release of Event Capture Android App

2017-12-01 Thread Android Team
Dear DHIS2 Community,

We are releasing today a new version of the *Event Capture Android App*.
This version is compatible with* 2.28, 2.27 *and *2.26* and comes with the
following improvements and bugs fixed:

New features:
- 2.28 servers compatibility
- Wait on login showing progress bar on initial sync (
https://jira.dhis2.org/browse/ACA-134)
- Completed events expiry days implemented (https://jira.dhis2.org/browse
/ACA-132)
- Make buddybuild version compatible with Google Play version in the same
device

Bugfixing:
- Remotely deleted events deleted locally with special button in settings
working on 2.27 & 2.28 servers (https://jira.dhis2.org/browse/ACA-15)
- If no "display in reports" option is selected, "Event date" heading still
appears with empty fields and event deletion is prevented (
https://jira.dhis2.org/browse/ACA-138)

You can install it through Google Play (Event Capture
)
or download the apk from Github (Event Capture
).

Following this link  , you will find documentation
with detailed information on the functionalities included in the App and
how they behave compare to the Web. (We recommend to download the PDF file,
internal links do not work if you open them online).This document is a tool
for implementers who need to understand if the App covers their needs and
respond to their configurations of DHIS2 in the web.

Remember that all this information is also available in the Android Section
of the DHIS2 web site !

Big thanks to the teams behind the development, testing and documentation.

Best,
Marta


*Please remember to create a Jira Issue if you find a bug or you want to
propose a new functionality!*
*[Project: Maintenance of Android Apps | Component: Event Capture]*
___
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] Error when exporting metadata throuhg metadata export

2017-12-01 Thread Adebusoye Anifalaje
Hi Vunda,

From the log you extracted, it seems like you have a duplicate UID in your org 
unit. You can check this from sqlview to identify the org units and investigate 
how this happened.


 ERROR 2017-11-16 13:33:15,502 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-10])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_riWJM on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
Caused by: org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_riwjm"
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
* ERROR 2017-11-16 13:34:00,013 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-9])
at com.sun.proxy.$Proxy76.sendSystemErrorNotification(Unknown Source)
at 
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
* INFO  2017-11-16 18:04:00,569 [Level: ERROR, category: RESOURCETABLE_UPDATE, 
time: Thu Nov 16 18:04:00 WAT 2017, message: Process failed: StatementCallback; 
SQL [create unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
* ERROR 2017-11-16 18:04:01,388 Unexpected error occurred in scheduled task. 
(TaskUtils.java [taskScheduler-6])
org.springframework.dao.DuplicateKeyException: StatementCallback; SQL [create 
unique index in_orgunitstructure_organisationunituid_ptMI8 on 
_orgunitstructure_temp(organisationunituid)]; ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
  Detail: Key (organisationunituid)=(AGZVRgGtsgm) is duplicated.; nested 
exception is org.postgresql.util.PSQLException: ERROR: could not create unique 
index "in_orgunitstructure_organisationunituid_ptmi8"
- -




Busoye Anifalaje (PhD)
Director of Services (Principal), BAO Systems
UK: +44 7901-740-757 | US: +1 682-307-0986|
 bus...@baosystems.com  | 
http://www.baosystems.com  |
Skype: busoye | 2900 K Street, Suite 406, Washington D.C. 20007

> On 1 Dec 2017, at 10:43, vunda limbe  wrote:
> 
> Hi Isaiah,
> 
> Thank you for your help, but I'm a newbie in Web API even in Restfull. I need 
> step by step to apply the script you sent me.
> Could you help?
> 
> Thanks.
> 
> On Wed, Nov 22, 2017 at 6:47 PM, Isaiah Nyabuto  > wrote:
> Hi Vunda,
> 
> I hope you were sorted out ?
> 
> You may also want to have look the following script 
>  on web APIs with dhis2 I once did. 
> You only need to construct a URL and change the credentials and you are good 
> to go. 
> 
> Best regards
> 
> 
> 
> 
> 
> 
> 
> On Fri, Nov 17, 2017 at 3:57 PM, vunda limbe  > wrote:
> Hi Everybody,
> 
> When I try to export meta data in both json or xml, I'm getting this message: 
> "
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
> Could someone tell me how to fix this? Alternativly, someone can give me a 
> script in order to export dataelement, COC, CO and Dataset using Web Api.
> 
> Your help is welcome.
> 
> Thanks.
> 
> ___
> 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 
> 
> 
> 
> 
> 
> -- 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> 

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-12-01 Thread vunda limbe
Hi Isaiah,

Thank you for your help, but I'm a newbie in Web API even in Restfull. I
need step by step to apply the script you sent me.
Could you help?

Thanks.

On Wed, Nov 22, 2017 at 6:47 PM, Isaiah Nyabuto 
wrote:

> Hi Vunda,
>
> I hope you were sorted out ?
>
> You may also want to have look the following script
>  on web APIs with dhis2 I once
> did. You only need to construct a URL and change the credentials and you
> are good to go.
>
> Best regards
>
>
>
>
>
>
>
> On Fri, Nov 17, 2017 at 3:57 PM, vunda limbe  wrote:
>
>> Hi Everybody,
>>
>> When I try to export meta data in both json or xml, I'm getting this
>> message: "
>>
>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
>>
>> Could someone tell me how to fix this? Alternativly, someone can give me a 
>> script in order to export dataelement, COC, CO and Dataset using Web Api.
>>
>> Your help is welcome.
>>
>> Thanks.
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
>
___
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