Re: [Dhis2-devs] Error when installing dhis2 on tomcat 9 and postgres 10.4

2018-07-24 Thread Michael Mwebaze
Thanks Vladimer, this resolved my problem. On 24 July 2018 at 11:25, Michael Mwebaze wrote: > Yes I am using Java 9. Let me try this and I will give you an update. > > Thanks > > On 24 July 2018 at 11:15, Vladimer Shioshvili > wrote: > >> Are you using Java 9 o

Re: [Dhis2-devs] Error when installing dhis2 on tomcat 9 and postgres 10.4

2018-07-24 Thread Michael Mwebaze
n either add "--add-modules java.xml.bind" to JAVA_OPTS environment > variable or edit catalina.bat/catalina.sh to hard code it. But keep in mind > that --add-modules does not work in java 8 if you intend to use both jvm > versions. > > > On Tue, Jul 24, 2018 at 1

[Dhis2-devs] Error when installing dhis2 on tomcat 9 and postgres 10.4

2018-07-24 Thread Michael Mwebaze
Any ideas with this? * WARN 2018-07-24 09:53:42,048 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency

Re: [Dhis2-devs] [Dhis2-users] Linking Power BI and DHIS2

2018-03-22 Thread Michael Mwebaze
i Michael, > Do you have guide for option 2: connect through web API? > how can i find dhis1 api token key? > > On Thu, Sep 14, 2017 at 11:05 PM, Michael Mwebaze < > michael.mweb...@gmail.com> wrote: > >> Hi Stanley, >> >> you basically have two options fo

[Dhis2-devs] dhis2 docker image

2018-03-20 Thread Michael Mwebaze
Hi devs, I am trying to use the dhis2 image (docker pull dhis2/dhis2-web) off docker hub but this doesn't seem to work. I have tried using another one (docker pull jembi/dhis228) and this seems to work but is complaining throwing 'GenericJDBCException: Unable to open JDBC Connection for DDL

Re: [Dhis2-devs] [Dhis2-users] Data elements assignation

2018-01-27 Thread Michael Mwebaze
Hi Diao, Are you able to use the web api? The section in the developer's manual 'Metadata create, read, update, delete, validate' should be helpful. Regards, Michael On 27 January 2018 at 15:30, Mamadou Diao Diallo wrote: > Hi dhis2 devs, > I have to assign many data

[Dhis2-devs] DHIS2 web api version

2018-01-27 Thread Michael Mwebaze
Hello devs, Is there a web api end-point that returns the api version? I have a system that extracts analytic data from DHIS2 but it breaks when I use a new version of DHIS2. It has been working on 2.22 but when I upgraded to 2.28 it breaks because: 2.28 has the response body

Re: [Dhis2-devs] [Dhis2-users] Using DHIS2 API

2017-09-21 Thread Michael Mwebaze
Hi Diallo, from the developer's guide it doesn't look like dataelement group is a supported query parameter for dataValues end point. See link below https://docs.dhis2.org/2.23/en/developer/html/ch01s15.html You should however have more success with the analytics end point see link below

Re: [Dhis2-devs] [Dhis2-users] Linking Power BI and DHIS2

2017-09-14 Thread Michael Mwebaze
Hi Stanley, you basically have two options for this. 1. download data from dhis2 as csv and upload it to PowerBI (you will have to create a dataset for that on PowerBI) 2. make use of DHIS2 web api to pull data and push it to powerbi via its web api as well. To achieve this a number

Re: [Dhis2-devs] [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-28 Thread Michael Mwebaze
Hi Martin, do you have access to the Tomcat logs? If an exception is being thrown that would also be helpful to figure out what is happening. Regards, Michael On 28 August 2017 at 10:04, Martin Van Aken wrote: > Hi DHIS2 users & developers, > We have a relatively

[Dhis2-devs] mapLegendSet API end-point

2016-11-08 Thread Michael Mwebaze
Hi, is there a mapLegendSets end-point? I can't seem to find it as part of api/resources I am trying to embed a map and getting http://localhost:8181/dhis/api/mapLegendSets.jsonp?viewClass=detailed=false=false=Ext.data.JsonP.callback3&_dc=1478624326625 Failed to load resource: the server

Re: [Dhis2-devs] [Dhis2-users] API: dataSets.dataElements

2016-11-03 Thread Michael Mwebaze
Thanks Uwe, I have been trying to figure this out as well. On 3 November 2016 at 04:04, Uwe Wahser wrote: > just found the answer myself: it has to be > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json? > paging=false=dataSetElements[dataElement[id,code,name]] > >

Re: [Dhis2-devs] [Dhis2-users] Link to download Dhis 2.22 rev 22060

2016-10-19 Thread Michael Mwebaze
Hi Matthieu, Try the link below: http://ci.dhis2.org/job/dhis2-2.22/ Regards, Michael On 19 October 2016 at 11:04, Matthieu Pinard wrote: > Hi Guy, > > any particular reason fo you to ask for this specific rev rather than the > latest one of 222? > > Cheers, > Matthieu >

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.25 is released

2016-10-19 Thread Michael Mwebaze
Hi Brajesh, You can get the code on Github, https://github.com/dhis2/dhis2-core/ You can also get the latest builds and other information from http://ci.dhis2.org/job/dhis2-2.25/ Regards, Michael On 19 October 2016 at 01:05, Brajesh Murari wrote: > Hello Devs, >

Re: [Dhis2-devs] [Dhis2-users] Error in DHIS2

2016-08-23 Thread Michael Mwebaze
Hi Ravi, do you have the environment variable DHIS2_HOME pointing to the directory containing either hibernate.properties or dhis.conf configuration files? Below is a link to a sample configuration file and you can just limit to the section 'Database connection for PostgreSQL'

Re: [Dhis2-devs] [Dhis2-users] Step by step process of building dependencies and making them available in a local maven repo

2016-08-08 Thread Michael Mwebaze
Hi Collins, the maven repository: http://maven.dhis2.org/ isn't available. Is there a particular reason why you want to build version 2.12 and not a later version? Regards, Michael On 8 August 2016 at 06:36, Collins McAdoyo wrote: > Dear Team, > > I get the error

Re: [Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
' : 'application/json'}}) On 7 August 2016 at 12:10, Michael Mwebaze <michael.mweb...@gmail.com> wrote: > Hi Mark, > > It says 'Access to the specified resource has been forbidden' > > thanks > > On 7 August 2016 at 11:54, Mark Polak <m...@dhis2.org> wrote: > >>

Re: [Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
tore api you need to POST to /api/dataStore// > If you could share a piece of the code where you do the request, perhaps i > can give you some more detailed feedback. :) > > > On Sun, Aug 7, 2016 at 11:18 AM, Michael Mwebaze < > michael.mweb...@gmail.com> wrote: > >>

[Dhis2-devs] DHIS2 based App http.post and put (403 error)

2016-08-07 Thread Michael Mwebaze
Hi, I am developing a DHIS2 based app using AngularJS. The $http.get is successful but I am getting 403 (Forbidden) with the POST and PUT when I try to add a new item to the dataStore. Am I supposed to include Authorization: Basic base64encode(username:password) in the header as well? Is there an

Re: [Dhis2-devs] [Dhis2-users] Embedding chart in portal is blank chart

2016-07-28 Thread Michael Mwebaze
Hi Knut, No I don't have any errors in the Chrome web console. Regards, Michael On 29 July 2016 at 00:24, Knut Staring <knu...@gmail.com> wrote: > Any errors in your Chrome web console? > > Knut > > On Fri, Jul 29, 2016 at 10:48 AM, Michael Mwebaze < > micha

[Dhis2-devs] Embedding chart in portal is blank chart

2016-07-28 Thread Michael Mwebaze
Hi, I am trying to include a chart externally onto a web portal but with partial success. A blank chart appears but not the bars and whovering over the blank chart, I can see the different values. I am not have any issues with the pivot. Has anyone come across this problem before? I am using

Re: [Dhis2-devs] [Dhis2-users] Problem upgrading from 2.20 to 2.21

2016-07-22 Thread Michael Mwebaze
Hi Bob, Can you update the dataelement table on postgres by running an update query and setting the aggregationtype to 'SUM' where it is 'sum'? UPDATE dataelement set aggregationtype = 'SUM' where aggregationtype = 'sum'; Regards, Michael On 22 July 2016 at 09:09, Bob Jolliffe

Re: [Dhis2-devs] [Dhis2-users] DHIS2 SQL View - practical examples

2016-07-05 Thread Michael Mwebaze
Hi Tantely, Standard ANSI SQL can be executed easily with-in Sqlviews sub-module in DHIS2. The link below should be helpful. http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch22s06.html Regards, Michael On 5 July 2016 at 04:45, Raminosoa Rabemanantsoa, Tantely < tramino...@mikolo.org>

Re: [Dhis2-devs] [Dhis2-users] Android SMS Gateway App - Can use for large scale??

2016-06-28 Thread Michael Mwebaze
HI Harsh, for such a large implementation you are better off using an SMS gateway such as Kannel or Jasmin. The android sms gateway is for test purposes. On 28 June 2016 at 08:31, Jerome Shaguy wrote: > Hi Harsh, > What is the size of the dataset you plan to deploy? We