Re: [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-22 Thread Sourabh Bhardwaj
Thanks ,

Will test and let you know.

On Thu, Nov 23, 2017 at 11:56 AM, Morten Olav Hansen 
wrote:

> Hi
>
> Can you give our servers about 1 hour to build, then try again with latest
> version (I have made a fix available down to 2.27)
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Nov 23, 2017 at 12:40 PM, Sourabh Bhardwaj 
> wrote:
>
>> Hi Morten ,
>>
>> have included the log below :
>>
>> java.lang.NullPointerException
>> at org.hisp.dhis.security.acl.DefaultAclService.getAccess(Defau
>> ltAclService.java:351)
>> at org.hisp.dhis.webapi.controller.AbstractCrudController.addAc
>> cessProperties(AbstractCrudController.java:1098)
>> at org.hisp.dhis.webapi.controller.AbstractCrudController.handl
>> eLinksAndAccess(AbstractCrudController.java:1138)
>> at org.hisp.dhis.webapi.controller.AbstractCrudController.getOb
>> jectInternal(AbstractCrudController.java:517)
>> at org.hisp.dhis.webapi.controller.AbstractCrudController.getOb
>> ject(AbstractCrudController.java:261)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.springframework.web.method.support.InvocableHandlerMetho
>> d.doInvoke(InvocableHandlerMethod.java:205)
>> at org.springframework.web.method.support.InvocableHandlerMetho
>> d.invokeForRequest(InvocableHandlerMethod.java:133)
>> at org.springframework.web.servlet.mvc.method.annotation.Servle
>> tInvocableHandlerMethod.invokeAndHandle(ServletInvocableHand
>> lerMethod.java:97)
>> at org.springframework.web.servlet.mvc.method.annotation.Reques
>> tMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHan
>> dlerAdapter.java:827)
>> at org.springframework.web.servlet.mvc.method.annotation.Reques
>> tMappingHandlerAdapter.handleInternal(RequestMappingHandlerA
>> dapter.java:738)
>> at org.springframework.web.servlet.mvc.method.AbstractHandlerMe
>> thodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
>> at org.springframework.web.servlet.DispatcherServlet.doDispatch
>> (DispatcherServlet.java:967)
>> at org.springframework.web.servlet.DispatcherServlet.doService(
>> DispatcherServlet.java:901)
>> at org.springframework.web.servlet.FrameworkServlet.processRequ
>> est(FrameworkServlet.java:970)
>> at org.springframework.web.servlet.FrameworkServlet.doGet(
>> FrameworkServlet.java:861)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
>> at org.springframework.web.servlet.FrameworkServlet.service(
>> FrameworkServlet.java:846)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:292)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
>> licationFilterChain.java:207)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:317)
>> at org.springframework.security.web.access.intercept.FilterSecu
>> rityInterceptor.invoke(FilterSecurityInterceptor.java:127)
>> at org.springframework.security.web.access.intercept.FilterSecu
>> rityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:331)
>> at org.springframework.security.web.access.ExceptionTranslation
>> Filter.doFilter(ExceptionTranslationFilter.java:114)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:331)
>> at org.springframework.security.web.session.SessionManagementFi
>> lter.doFilter(SessionManagementFilter.java:137)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:331)
>> at org.springframework.security.web.authentication.AnonymousAut
>> henticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:331)
>> at org.springframework.security.web.servletapi.SecurityContextH
>> olderAwareRequestFilter.doFilter(SecurityContextHolder
>> AwareRequestFilter.java:170)
>> at org.springframework.security.web.FilterChainProxy$VirtualFil
>> terChain.doFilter(FilterChainProxy.java:331)
>> at org.springframework.security.web.savedrequest.RequestCacheAw
>> areFilter.doFilter(RequestCacheAwareFilter.java:63)
>> at 

Re: [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-22 Thread Morten Olav Hansen
Hi

Can you give our servers about 1 hour to build, then try again with latest
version (I have made a fix available down to 2.27)

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Thu, Nov 23, 2017 at 12:40 PM, Sourabh Bhardwaj 
wrote:

> Hi Morten ,
>
> have included the log below :
>
> java.lang.NullPointerException
> at org.hisp.dhis.security.acl.DefaultAclService.getAccess(
> DefaultAclService.java:351)
> at org.hisp.dhis.webapi.controller.AbstractCrudController.
> addAccessProperties(AbstractCrudController.java:1098)
> at org.hisp.dhis.webapi.controller.AbstractCrudController.
> handleLinksAndAccess(AbstractCrudController.java:1138)
> at org.hisp.dhis.webapi.controller.AbstractCrudController.
> getObjectInternal(AbstractCrudController.java:517)
> at org.hisp.dhis.webapi.controller.AbstractCrudController.getObject(
> AbstractCrudController.java:261)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(
> InvocableHandlerMethod.java:205)
> at org.springframework.web.method.support.InvocableHandlerMethod.
> invokeForRequest(InvocableHandlerMethod.java:133)
> at org.springframework.web.servlet.mvc.method.annotation.
> ServletInvocableHandlerMethod.invokeAndHandle(
> ServletInvocableHandlerMethod.java:97)
> at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.invokeHandlerMethod(
> RequestMappingHandlerAdapter.java:827)
> at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.
> java:738)
> at org.springframework.web.servlet.mvc.method.
> AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
> at org.springframework.web.servlet.DispatcherServlet.
> doDispatch(DispatcherServlet.java:967)
> at org.springframework.web.servlet.DispatcherServlet.
> doService(DispatcherServlet.java:901)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(
> FrameworkServlet.java:970)
> at org.springframework.web.servlet.FrameworkServlet.
> doGet(FrameworkServlet.java:861)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
> at org.springframework.web.servlet.FrameworkServlet.
> service(FrameworkServlet.java:846)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:292)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:207)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:240)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:207)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:317)
> at org.springframework.security.web.access.intercept.
> FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
> at org.springframework.security.web.access.intercept.
> FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.access.ExceptionTranslationFilter.
> doFilter(ExceptionTranslationFilter.java:114)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.session.SessionManagementFilter.
> doFilter(SessionManagementFilter.java:137)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.authentication.
> AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.
> java:111)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.servletapi.
> SecurityContextHolderAwareRequestFilter.doFilter(
> SecurityContextHolderAwareRequestFilter.java:170)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.
> doFilter(RequestCacheAwareFilter.java:63)
> at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:331)
> at org.springframework.security.web.authentication.www.
> BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.
> java:158)
> at 

Re: [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-22 Thread Sourabh Bhardwaj
Hi Morten ,

have included the log below :

java.lang.NullPointerException
at
org.hisp.dhis.security.acl.DefaultAclService.getAccess(DefaultAclService.java:351)
at
org.hisp.dhis.webapi.controller.AbstractCrudController.addAccessProperties(AbstractCrudController.java:1098)
at
org.hisp.dhis.webapi.controller.AbstractCrudController.handleLinksAndAccess(AbstractCrudController.java:1138)
at
org.hisp.dhis.webapi.controller.AbstractCrudController.getObjectInternal(AbstractCrudController.java:517)
at
org.hisp.dhis.webapi.controller.AbstractCrudController.getObject(AbstractCrudController.java:261)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at org.hisp.dhis.security.filter.CorsFilter.doFilter(CorsFilter.java:91)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
at

Re: [Dhis2-users] issues assigning users to org units for tracker capture

2017-11-22 Thread Elmarie Claasen
Hi Natalie,

Note for the tracker capture mobile app users must be assigned to
individual Orgunits that is also assigned to the programme and not higher
level Orgunits. Could this be the issue?
If you are able to log into tracker capture on a browser and open it for
the Orgunit then this is most likely the cause. If you can't see them in
browser either,  check that the Orgunit is assigned to the user and to the
programme.

Regards

Elmarie


On 23 Nov 2017 03:08, "Natalie Tibbels"  wrote:

Hello,
I am trying to set up my system using the tracker function and have six
data collectors with the tracker capture app installed. I have registered
them as users with the appropriate user role and assigned them to the org
unit (within the user screen under "data capture and maintenance"). We can
log in to the TC app using each of their logins, but once inside the
tracker capture app, when they click on organization unit, it says “You are
not assigned to any organization units.” I have run analytics, generated
resource tables, cleaned the browser cache, logged in and out (both as the
admin and from the app), restarted the phone, and I started created and
assigned the users more than 24 hours ago - but it’s still not working.
Anyone have theories about what I am doing wrong?
Thank you,
Natalie T



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

-- 


*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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Creating a comment like data element

2017-11-22 Thread Nayeem Al Mifthah
Dear Gerald

I don't know how you want to analyze. If those are common comments you may
create option set.

If you want to get some narrative description, you may make a data element
with long text as type.

*Nayeem Al Mifthah*
*Consultant for HSS, Health MIS, M*
Email: n.mift...@gmail.com
Cell:+8801914030574
Skype: nayeem.a.m

On Thu, Nov 23, 2017 at 6:39 AM, gerald thomas 
wrote:

> Dear All,
> I am creating a data set which needs a section on the form for
> comment. Please how can I create a comment section data element on a
> data set form.
>
> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Counts specifics events

2017-11-22 Thread Nayeem Al Mifthah
​Dear Felimone
You may use program indicator to count. After that you can make pivot table
to see program indicator beside the column of data element from aggregated
report.​

*Nayeem Al Mifthah*
*Consultant for HSS, Health MIS, M*
Email: n.mift...@gmail.com
Cell:+8801914030574
Skype: nayeem.a.m

On Thu, Nov 23, 2017 at 2:26 AM, Amone Junior. Felimone <
amone.felim...@manhica.net> wrote:

> Dear all,
>
> I have a dataset with the number of positive malaria cases, and a program
> which is filled every time a positive malaria case is found, since they are
> filled with different person i want to have a single report/dataset with
> number of positive cases in the dataset and number of events, so i can
> check if for every positive case there is a event form filled, how can i
> achieve this?
>
> Thanks
>
> --
>
> Felimone Amone Junior
>
> Data Manager
>
> Centro de Investigação em Saúde de Manhiça (CISM)
>
> Tel./Fax: (+258) 21 81 00 02/181
>
> CP 1929 Maputo - Moçambique
>
> Página Web: www.manhica.org
>
> E-mail: amone.felim...@manhica.net 
>
>
> DISCLAIMER:
>
> Esta mensagem pode conter dados confidenciais e/ou privados. Se recebeu a
> mensagem por erro, queira informar-nos respondendo a este e-mail e
> elimina-lo de seguida do seu sistema. Muito obrigado pela sua cooperação.
>
> CISM - Centro de Investigação em Saúde de Manhiça
>
> This message may contain confidential and/or privileged information. If
> you have recived this message in error, please notify us immediatly by
> respondig to this e-mail and then delete it from your system. Thank for
> your cooperation.
>
> By CISM - Centro de Investigação em Saúde de Manhiça
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] issues assigning users to org units for tracker capture

2017-11-22 Thread Natalie Tibbels
Hello,
I am trying to set up my system using the tracker function and have six data 
collectors with the tracker capture app installed. I have registered them as 
users with the appropriate user role and assigned them to the org unit (within 
the user screen under "data capture and maintenance"). We can log in to the TC 
app using each of their logins, but once inside the tracker capture app, when 
they click on organization unit, it says “You are not assigned to any 
organization units.” I have run analytics, generated resource tables, cleaned 
the browser cache, logged in and out (both as the admin and from the app), 
restarted the phone, and I started created and assigned the users more than 24 
hours ago - but it’s still not working. Anyone have theories about what I am 
doing wrong?
Thank you,
Natalie T


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


[Dhis2-users] Creating a comment like data element

2017-11-22 Thread gerald thomas
Dear All,
I am creating a data set which needs a section on the form for
comment. Please how can I create a comment section data element on a
data set form.

-- 
Regards,

Gerald

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


[Dhis2-users] Counts specifics events

2017-11-22 Thread Amone Junior. Felimone
Dear all,

I have a dataset with the number of positive malaria cases, and a program
which is filled every time a positive malaria case is found, since they are
filled with different person i want to have a single report/dataset with
number of positive cases in the dataset and number of events, so i can
check if for every positive case there is a event form filled, how can i
achieve this?

Thanks

-- 

Felimone Amone Junior

Data Manager

Centro de Investigação em Saúde de Manhiça (CISM)

Tel./Fax: (+258) 21 81 00 02/181

CP 1929 Maputo - Moçambique

Página Web: www.manhica.org

E-mail: amone.felim...@manhica.net 


DISCLAIMER:

Esta mensagem pode conter dados confidenciais e/ou privados. Se recebeu a
mensagem por erro, queira informar-nos respondendo a este e-mail e
elimina-lo de seguida do seu sistema. Muito obrigado pela sua cooperação.

CISM - Centro de Investigação em Saúde de Manhiça

This message may contain confidential and/or privileged information. If you
have recived this message in error, please notify us immediatly by
respondig to this e-mail and then delete it from your system. Thank for
your cooperation.

By CISM - Centro de Investigação em Saúde de Manhiça
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-11-22 Thread Isaiah Nyabuto
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-users@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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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

2017-11-22 Thread Knut Staring
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
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Reset DataSet completeness to zero - DHIS2 2.25

2017-11-22 Thread Raminosoa Rabemanantsoa, Tantely
Hello Jason,

Thank you for your support!

Regards,

*Tantely*

On Wed, Nov 22, 2017 at 11:39 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> If you have access to the backend database, you can just do something like
>
> DELETE FROM completedatasetregistration WHERE ... (put your conditions
> here);
>
> using one of these paramaters
>
>  datasetid  | integer | not null
>  periodid   | integer | not null
>  sourceid   | integer | not null
>  attributeoptioncomboid | integer | not null
>
>
> Otherwise, use the API for this as described here:
>
> https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_
> registrations.html#webapi_uncompleting_data_sets
>
> Regards,
> Jason
>
>
> On Wed, Nov 22, 2017 at 8:49 AM, Raminosoa Rabemanantsoa, Tantely <
> tramino...@mikolo.org> wrote:
>
>> Dear DHIS2 community,
>>
>> I would like to ask if there is a way to reset report completeness to 0
>> (zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API?
>> We know the Orgunit uid, period and DataSet uid to reset.
>>
>> Thank you already for your suggestions!
>>
>> Regards,
>>
>> Tantely.
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049 <+46%2076%20414%2070%2049>
>

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Reset DataSet completeness to zero - DHIS2 2.25

2017-11-22 Thread Jason Pickering
If you have access to the backend database, you can just do something like

DELETE FROM completedatasetregistration WHERE ... (put your conditions
here);

using one of these paramaters

 datasetid  | integer | not null
 periodid   | integer | not null
 sourceid   | integer | not null
 attributeoptioncomboid | integer | not null


Otherwise, use the API for this as described here:

https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html#webapi_uncompleting_data_sets

Regards,
Jason


On Wed, Nov 22, 2017 at 8:49 AM, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Dear DHIS2 community,
>
> I would like to ask if there is a way to reset report completeness to 0
> (zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API?
> We know the Orgunit uid, period and DataSet uid to reset.
>
> Thank you already for your suggestions!
>
> Regards,
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Complete DataSet Registration

2017-11-22 Thread Jason Pickering
This seems to work fine. I just copied the request from the data entry form
on the demo site as a curl command and modified it slightly. There are
other ways to do this as well as mentioned in the docs.  Otherwise, you
should provide the exact request you are making, the exact payload, and the
exact response from the server.

curl 'https://play.dhis2.org/demo/api/25/completeDataSetRegistrations'  \
-u admin:district \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-H 'Accept: application/json, text/javascript, */*; q=0.01' \
-H 'Connection: keep-alive' -H 'DNT: 1' \
--data 'ds=pBOMPrpg1QX=201712=ImspTQPwCqd=false' \
--compressed -v


On Wed, Nov 22, 2017 at 9:16 AM,  wrote:

> Hi Jason,
>  yeah, i have already read the documentation and i've tried it as well but
> still its not working. I don't know what the issue is. Kindly guide me.
> Thank You.
>
> Regards: Rabbia Naz Ali
>
>
> On 2017-11-22 12:51, Jason Pickering wrote:
>
>> Hi Rabia,
>>
>> Did you have chance to read our documentation about completing data
>> sets?
>>
>> https://docs.dhis2.org/master/en/developer/html/webapi_compl
>> ete_data_set_registrations.html#webapi_completing_data_sets
>> [4]
>>
>> Regards,
>> Jason
>>
>> On Wed, Nov 22, 2017 at 8:46 AM,  wrote:
>>
>> Aoa,
>>>
>>> i've inserted some data into database against dataset in dhis2 but
>>> it doesn't marked it as completed in "completedatasetregistration"
>>> this table of Database. I want to ask about how can i do this using
>>> API.
>>> I've tried this one
>>> "$url =
>>> "http://64.50.171.246:8080/api/26/completeDataSetRegistrations [1]
>>> period=201503 dataSet=Ep9cqvuYYKb organisationUnit=AMaQFVRNoaL
>>> storedBy=imported"
>>> but its not working as it shows the status as 'success' but not
>>> marked the data set.
>>>
>>> Your response will be appreciated.
>>> Thank You.
>>>
>>> Regards: Rabia Naz Ali
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users [2]
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users [2]
>>> More help : https://help.launchpad.net/ListHelp [3]
>>>
>>
>> --
>>
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>> Links:
>> --
>> [1] http://64.50.171.246:8080/api/26/completeDataSetRegistrations
>> [2] https://launchpad.net/~dhis2-users
>> [3] https://help.launchpad.net/ListHelp
>> [4]
>> https://docs.dhis2.org/master/en/developer/html/webapi_compl
>> ete_data_set_registrations.html#webapi_completing_data_sets
>>
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Complete DataSet Registration

2017-11-22 Thread rabbia

Hi Jason,
 yeah, i have already read the documentation and i've tried it as well 
but still its not working. I don't know what the issue is. Kindly guide 
me.

Thank You.

Regards: Rabbia Naz Ali


On 2017-11-22 12:51, Jason Pickering wrote:

Hi Rabia,

Did you have chance to read our documentation about completing data
sets?

https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html#webapi_completing_data_sets
[4]

Regards,
Jason

On Wed, Nov 22, 2017 at 8:46 AM,  wrote:


Aoa,

i've inserted some data into database against dataset in dhis2 but
it doesn't marked it as completed in "completedatasetregistration"
this table of Database. I want to ask about how can i do this using
API.
I've tried this one
"$url =
"http://64.50.171.246:8080/api/26/completeDataSetRegistrations [1]
period=201503 dataSet=Ep9cqvuYYKb organisationUnit=AMaQFVRNoaL
storedBy=imported"
but its not working as it shows the status as 'success' but not
marked the data set.

Your response will be appreciated.
Thank You.

Regards: Rabia Naz Ali

___
Mailing list: https://launchpad.net/~dhis2-users [2]
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users [2]
More help : https://help.launchpad.net/ListHelp [3]


--

Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049

Links:
--
[1] http://64.50.171.246:8080/api/26/completeDataSetRegistrations
[2] https://launchpad.net/~dhis2-users
[3] https://help.launchpad.net/ListHelp
[4]
https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html#webapi_completing_data_sets



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