Re: [Dhis2-devs] [Dhis2-users] Installation of dhis2 on docker

2018-09-05 Thread Alex Tumwesigye
Hello Gerald,

Look at the exec command
https://docs.docker.com/engine/reference/commandline/exec/#examples
e.g

docker exec -it container_name "psql -U postgres -d template1 -c 'drop
database dhis;create database dhis with owner dhis'"docker exec -it
container_name "psql -U dhis -d dhis -f dumpfile"

Alex

On Wed, Sep 5, 2018 at 10:27 AM Paulo Grácio  wrote:

> Hi Geral, with the current docker setup you can generate your own docker
> image and use that one instead of sierra-leone.
>
> All you need to do is:
>
> 1. comment this line
> https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60
> 2. have a file named *dhis2-db.sql.gz* that contains your database dump.
> 3. run ./docker-build.sh -v 2.30 -d my-database
> 4. update docker-compose do use the nee image.
>
> give it a try.
>
>
> On Tue, Aug 28, 2018 at 12:16 PM gerald thomas 
> wrote:
>
>> Hi all,
>> I got it docker using postgresql is fixed now but i need to drop the
>> current database and import another database. Please can anyone help?
>>
>> On Mon, Aug 27, 2018 at 2:55 PM gerald thomas 
>> wrote:
>>
>>> Dan,
>>> I am using my laptop which is mac pro where i had already installed
>>> docker and now i want to install an Ubuntu DHIS2 instance on it.
>>>
>>> On Mon, Aug 27, 2018 at 2:32 PM Dan Cocos  wrote:
>>>
>>>> Hi Gerald,
>>>>
>>>> You can also try this for local dev.
>>>> https://github.com/baosystems/dhis2-centos
>>>>
>>>> Cheers,
>>>> Dan
>>>>
>>>>
>>>> Dan Cocos
>>>> Principal, BAO Systems
>>>> dco...@baosystems.com | http://www.baosystems.com |  2900 K Street,
>>>> Suite 507, Washington D.C. 20007
>>>> <https://maps.google.com/?q=2900+K+Street,+Suite+507,+Washington+D.C.+20007=gmail=g>
>>>>
>>>>
>>>> On Aug 27, 2018, at 3:52 AM, Gerald Thomas 
>>>> wrote:
>>>>
>>>> Dear Paulo,
>>>> Can i only have mysql database for this instance?
>>>>
>>>> On Aug 27, 2018, at 5:58 AM, Paulo Grácio 
>>>> wrote:
>>>>
>>>> https://github.com/pgracio/dhis2-docker
>>>>
>>>> Hasn’t been updated for a while so not sure if there is a better way.
>>>>
>>>> On 27 Aug 2018, at 00:35, gerald thomas  wrote:
>>>>
>>>> Dear all,
>>>> I am trying to do a dhis2 instance using docker on my laptop. Please
>>>> can anyone help with the procedures; this is my first time to do it on
>>>> docker
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Gerald
>>>>
>>>> ___
>>>> 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
>>>>
>>>>
>>>> ___
>>>> 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
>>>>
>>>>
>>>>
>>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
> ___
> 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
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Fwd: Difficulty editing + creating new programs

2018-07-16 Thread Alex Tumwesigye
Hi Viljar,

This issue is related to new version of tomcat (Romain reported last week)
and  is fixed in two ways.
1- DHIS2 should start encoding all api calls.
2- Add relaxedQueryChars="[]" to tomcat http connector

Alex

On Monday, July 16, 2018, Viljar Bakken  wrote:

> -- Forwarded message --
> From: Viljar Bakken 
> Date: Thu, Jul 12, 2018 at 6:21 PM
> Subject: Re: [Dhis2-users] Fwd: Difficulty editing + creating new programs
> To: Stian Sandvold 
>
>
> Hello Stian, thank you for the quick reply.
>
> The noresponse.PNG shows a screenshot of the unresponsive webpage
> after we try to edit a program.
>
> The error.PNG  shows what the console message is saying after the
> webpage fails to load.
>
>
>
> On Thu, Jul 12, 2018 at 3:33 PM, Stian Sandvold  wrote:
> > Hi Viljar,
> >
> > I am assuming your problems are related to the maintenance app in DHIS 2?
> > This is where you create or edit metadata, including programs.
> >
> > You say the form is not visible when you edit or create a program - does
> > that mean someone else have created the programs you want to edit? Could
> you
> > elaborate on what you mean the form is not visible? Screenshots would be
> > appreciated.
> >
> > When you are looking at the page where you encounter the problem, could
> you
> > open the developer tools in your browser and attach a screenshot of the
> > messages listed (if any)? Most browsers has this option, for example in
> > chrome or firefox, you can right click on the page you are on, and choose
> > "inspect". You will get a window with multiple tabs, and the information
> I
> > am interested in can be found under "console".
> >
> >
> >
> > On Thu, Jul 12, 2018 at 3:09 PM, Viljar Bakken 
> > wrote:
> >>
> >> -- Forwarded message --
> >> From: Kristina Ishimwe 
> >> Date: Thu, Jul 12, 2018 at 3:00 PM
> >> Subject: Fwd: Difficulty editing + creating new programs
> >> To: Viljar Bakken 
> >>
> >>
> >> Hi!
> >>  Trying to edit programs but forms not visible ..same effect trying to
> >> create new programs.
> >>
> >> Platform currently running on Tomcat 7 + (log attached) PostgreSQL 10
> >> + newest WAR-file on the DHIS2 website. (Using the Sierra Leone test
> >> data for now ...running on Windows 10 x64 version.)
> >>
> >> Tomcat log file:
> >>
> >>
> >> https://cdn.fbsbx.com/v/t59.2708-21/36611084_10204811029353030_
> 2000401054134435840_n.log/catalina.2018-07-10.log?_nc_cat=0=
> 6da4441a6ce1de6edd0e7df7b1831154=5B493D87=1
> >>
> >>
> >> 3 error msgs so far:
> >>
> >> Job 'File resource clean up' failed
> >> Message: could not execute statement; SQL [n/a]; constraint
> >> [fk_document_fileresourceid]; nested exception is
> >> org.hibernate.exception.ConstraintViolationException: could not
> >> execute statement
> >>
> >> Cause: org.hibernate.exception.ConstraintViolationException: could not
> >> execute statement
> >>
> >> at
> >> org.hibernate.exception.internal.SQLStateConversionDelegate.convert(
> SQLStateConversionDelegate.java:112)
> >>
> >> The error message continues with many exceptions down the line.
> >>
> >> Job 'Dataset notification' failed
> >>
> >> Job 'Data statistics' failed
> >>
> >> Any insight much appreciated.
> >> Thanks!
> >> >
> >> >
> >>
> >> Sent from my iPhone
> >>
> >> ___
> >> 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
> >
> >
> >
> >
> > --
> > Stian Sandvold
> > Software developer, DHIS2
> > University of Oslo
> > http://www.dhis2.org
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] How to access earlier builds of e.g. 2.29

2018-07-01 Thread Alex Tumwesigye
Hi Calle,

Get the code from github and revert to an earlier commit and rebuild your
own war file until you have known that the bug is fixed. Then you can use
the latest again.


Alex

On Sunday, July 1, 2018, Calle Hedberg  wrote:

> Hi,
>
> I just discovered that the latest build(s) of 2.29 has broken vital
> functionality, but I regrettably - once again - forgot to make a backup of
> the previous war file from around 2 weeks ago, and I'm stuck.
>
> The continuous integration server used to have the last couple of builds
> available, but I cannot see anything else than the latest build now.
>
> Is there a repository of previous builds somewhere?
>
> Regards
> Calle
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>

-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Tracker Capture User roles

2018-05-16 Thread Alex Tumwesigye
Hi Prosper,
They dont work.
I did setup one and tried to get authorities from old versions. But it does
not work.
Alex

On Wednesday, May 16, 2018, Prosper BT <ptb3...@gmail.com> wrote:

> Dear Carlos,
>
> Did you add the authority "Add/update tracked entity data value" you can
> also check the online demo of all authorities assigned to a tracker capture
> role
>
> https://play.dhis2.org/2.29/dhis-web-maintenance-user/
> showUpdateRoleForm.action?id=1150443
>
> Regards
>
>
> Prosper Behumbiize, MPH
> DHIS2 Implementation Adviser| HISP Uganda
> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
> prospertb
>
> On Wed, May 16, 2018 at 1:21 AM, Carlos Nyembwe <nyem...@gmail.com> wrote:
>
>> Hi All,
>>
>> I set up a tracker program but, I don't know exactly which user roles is
>> usefull for tracker capture.
>>
>> I tried many but, Look the message I get:
>>
>>
>>
>>
>>
>> What can I put as user roles?
>>
>> Regards
>>
>> Carlos
>> DRC
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381*
>> *Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | 
>> **Linkedin
>> <http://www.linkedin.com/in/carloscnk> | Facebook
>> <https://www.facebook.com/carloscnksys> | Twitter
>> <https://twitter.com/Carlos_CNK> |*
>>
>> ___
>> 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
>>
>>
>

-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Error generating resource tables

2018-04-06 Thread Alex Tumwesigye
har(230), "FXNomXmYwDs"
> character(11), "Masculino e feminino" varchar(230), "hNokUJLD8cQ"
> character(11), "JUNTAS - Nr de grupos e participantes" varchar(230),
> "fdqeMRYklLp" character(11), "Tipos de violência" varchar(230),
> "oWht4qXBWzo" character(11), "Preservativos" varchar(230), "ANs3RhPHmmG"
> character(11), "Idades (10-14,15-19, >19)" varchar(230), "HgyNiJmUwpq"
> character(11), "Grupo etário (10-14,15-19)" varchar(230), "g5pexYgVjMI"
> character(11), "Nome - Activista escolar" varchar(230), "ZtFRPLoRiNU"
> character(11), "Linhas de inserção de dados" varchar(230), "FdiamoDTNk6"
> character(11), "Quero - Referência feita ES" varchar(230), "NWewoFlzaKN"
> character(11), "Quero - Tipo de participantes ES" varchar(230),
> "JBL5ONo06wI" character(11), "Publicação de Spot's " varchar(230),
> "i4Miq6JdOqO" character(11), "Língua do SPOT Publicado" varchar(230),
> "TJfZ8NVsxr9" character(11), "# De programas Emitidos" varchar(230),
> "USUHznXcT5F" character(11), "Programa de Rádio "QUERO VIDA"" varchar(230),
> "HySAKxTrldw" character(11), "Programa de Rádio "QUERO VIDA" 1"
> varchar(230), "Dq4zcZXsvUa" character(11), "Rapazes e Raparigas"
> varchar(230), "ifeqAZ6jGj7" character(11), "Juntas- Tipo de participantes
> ES" varchar(230), "shtog5J11rv" character(11), "Juntas - Língua do SPOT
> Publicado" varchar(230), "SQjf885Ec5H" character(11), "Juntas - # De
> programas Emitidos" varchar(230), "AOaPokeLCVa" character(11), "Juntas -
> Tipo de participantes EE" varchar(230), "bSRWsL5IlFQ" character(11),
> "Idades (<10, 10-14,15-19, >19)" varchar(230), "VF13qWuqTJ2" character(11),
> "Juntas - Tipo de Crime/Caso" varchar(230), "Snjzk4gC81t" character(11),
> "Juntas - Encaminhados da:" varchar(230), "IlbJ7canGDx" character(11),
> "Juntas - Encaminhamento para:" varchar(230), "UIkWzw9bDqc" character(11),
> "Pontuação CPC" varchar(230), "d4fHDWhFCjI" character(11), "Resultado do
> Teste HIV" varchar(230), "qaydV342x3u" character(11), "Tipos de violência
> 2" varchar(230), "JYtTPHChi6H" character(11), "Faixa (0-11 m,1-4 A,5-9
> A,10-14 A,15-19 A,20-24 A,25-49 A,50-54 A,55- 59 A,+ 60 A)" varchar(230),
> "XvJu6JYLJq7" character(11), "Vitimas de violência sexual que receberam
> cuidados Iniciais Pós VBG" varchar(230), "Tw3U3BJNnKQ" character(11), "
> Vitimas - outras formas de VBG (Fisica, Outros) que receberam cuidados
> iniciais pós VBG" varchar(230), "sstXoDUagAh" character(11), "Líderes
> comunitários" varchar(230), "LZKfGaQ7EJg" character(11), "default"
> varchar(230), "AIyKLYwYxfK" character(11), primary key
> (categoryoptioncomboid))]; nested exception is 
> org.postgresql.util.PSQLException:
> ERROR: syntax error at or near "VIDA" Position: 4403
> 2018-04-06 09:14:47 Generating resource tables
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Using population accross health programs

2018-03-18 Thread Alex Tumwesigye
Hi Diao,

Create an indicator using your annual data element and tick Annualized on
the indicator. Go to the pivot and choose monthly period, it should work.

Alex

On Sunday, March 18, 2018, Mamadou Diao Diallo <diao_dia...@gn.jsi.com>
wrote:

> Hi Community,
> I have a problem using population accross health programs,
>
> In fact we are collecting population annualy in a separate form, but a
> specific health program would like to see the population in their monthly
> report.
> I don't want to let them collect it monthly.
>
> Is there a technical solution to show this annual population in a monthly
> report?
> When I call the dataElement the real value is not coming.
>
> Do you have any advices about it?
>
> Hope it's clear.
>
> Thanks in advance.
>
> Diao
>
> --
> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
> Health Information Software )*
>
>
> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
> *Phone : 623909413 | 662256106*
> *Skype : diawwdiallo*
> www.jsi.com
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Substract Days in program Rules

2018-03-18 Thread Alex Tumwesigye
Add negative days

Alex

On Sunday, March 18, 2018, DJIBRIL Hakim <djib.ha...@gmail.com> wrote:

> Hi,
> PLEASE how to do a substract Days from a date in program Rule, The
> resultat must be a date of course , I saw in documentation a D2:addDays()
> function. is there another for substractDays. if not what is the work
> around.
> Best.
>


-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Dashboard Development

2018-03-12 Thread Alex Tumwesigye
Hi Olaleke,

We have done some dashboard apps which supports a dhis2 master facility.
Highly customizable.

Please visit https://dhis2.jsi.com/dhis2mfr

If it interests you, you can reach me.

Alex

On Monday, March 12, 2018, J. Paul Mutali <mut...@gmail.com> wrote:

> Hi Leke,
>
> you can get more information on how to create an app with DHIS by
> enrolling to this DHIS2 Web Apps Development course: https://training.
> dhis2.org/course/view.php?id=91
>
>
> But for a quick one as others suggested you can try the dashboard app in
> 2.29 or the Interactive web portal app from the App Store.
>
> Hope that will be helpful.
>
>
>
> On Sun, Mar 11, 2018 at 11:42 PM, Olaleke Seweje <sewejeolal...@gmail.com>
> wrote:
>
>> Hi All,
>>
>>
>> I have just started using DHIS and I want to develop a dashboard based on
>> DHIS2 data, something like https://data.pepfar.net/. Notice that the
>> dashboard does not have the usual DHIS look and feel.
>>
>>
>> I have been told that DHIS has a built in facility for doing this but I
>> have not come across it in the DHIS documentation or any training materials.
>>
>>
>> I need advise on how I can go about this please. Any helpful
>> documentation or training materials that can help with this will be
>> appreciated as well.
>>
>>
>> Thanks all.
>>
>>
>> --
>> Regards,
>> Leke Seweje
>>
>> ___
>> 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
>>
>>
>
> *-*
>
> *JEAN PAUL MUTALI*
>
> HISP Rwanda
>
> KG 113 St, Kigali- Rwanda
>
>
>
>

-- 
Alex Tumwesigye

Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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 web api version

2018-01-28 Thread Alex Tumwesigye
api/system/info.json

Look for the version key

Alex

On Sunday, January 28, 2018, Michael Mwebaze <michael.mweb...@gmail.com>
wrote:

> 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
>
> ['metaData']['dimensions']['pe']
>
> while 2.22 has the following
>
> ['metaData']['pe']
>
>
> Regards,
>
> Michael
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Fast/bulk delete of events

2018-01-24 Thread Alex Tumwesigye
Hi,
The easier way is to use the api/events endpoint and query for events uids
you want to delete. Once you have them, you can send http delete method via
curl or nodejs or python or php,etc and loop through each to delete them
via api/events/uid.

Alex

On Wednesday, January 24, 2018, Petar Jovanovic <pe...@essi.upc.edu> wrote:

> Hi,
>
> We want to quickly (in groups) delete events related to a specific program
> and/or to a specific org unit (or list of org units). In DHIS2, we only
> managed to go one by one in the event capture app.
>
> Can anyone recommend us any other convenient and faster way to do this, or
> if you are aware of an app that may help us?
>
> We have also checked if it is possible to do it through the database, but
> we did not find easy to locate the table where the event data are stored
> and it is safe to delete them without loosing references to other objects.
>
>
> Thank you!
>
>
> Best,
> Petar
>
> --
> _
> Petar Jovanovic
> Department of Service and Information System Engineering (ESSI)
> Universitat Politècnica de Catalunya, BarcelonaTech
> Barcelona, Spain
> _ http://www.essi.upc.edu/~petar/ ___
>
>
> ___
> 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
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] 2.28 analytics - problem with validation result

2017-12-17 Thread Alex Tumwesigye
nerator
> .generateTables(DefaultAnalyticsTableGenerator.java:112)
> at org.hisp.dhis.webapi.controller.ResourceTableController.
> lambda$analytics$0(ResourceTableController.java:112)
> at org.springframework.scheduling.support.DelegatingErrorHandlingRunnabl
> e.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:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> * INFO  2017-12-17 19:18:02,357 Email sent using host: smtp.gmail.com:587
> with TLS: true (EmailMessageSender.java [taskScheduler-13])
> * INFO  2017-12-17 19:18:03,049 Email sent using host: smtp.gmail.com:587
> with TLS: true (EmailMessageSender.java [taskScheduler-11])
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Incoming SMS not working for DHIS2 2.26 and above

2017-11-08 Thread Alex Tumwesigye
Dear Ocaya,

Use the sms/inbound endpoint. You will need the message and originator
parameters.
https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#d11178e11888

If you are using the sms.war file?
I did a modification for 2.27 support. You can get it from here
https://github.com/talexie/dhis-sms-in

If you are using kannel as a SMS gateway, just use the api end point. It
will just work with any SMS Command you set. This is preferred if you are
using SMPP protocol on the telecom end.

Alex


On Wed, Nov 8, 2017 at 3:45 PM, Ocaya Stephen <stepho...@gmail.com> wrote:

> Dear All,
>
> We did an upgrade of the DHIS2 from 2.25 to 2.26 and now 2.27 but it seems
> the SMS capability to get incoming SMS reports is failing.
>
> Refer to the attached and provide guidance on how to fix the issue.
>
>
>
> --
>
> *You can do anything, but not everything.*
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Calculation of Months of stock challenge

2017-09-23 Thread Alex Tumwesigye
Hello Peter,

Use a program rule with assign value if you are using tracker or an
indicator if you are using the aggregate. Is this logistics use case?

Alex

On Saturday, September 23, 2017, Peter D Lubambi <pluba...@gmail.com> wrote:

> Dear Team,
> Any idea on this?
> Regards,
>
> Peter Dotto Lubambi,
> Skype: plubambi
> Mobile: +255 786 087 087
>
> On Wed, Sep 13, 2017 at 1:17 PM, Peter D Lubambi <pluba...@gmail.com
> <javascript:_e(%7B%7D,'cvml','pluba...@gmail.com');>> wrote:
>
>> Dear All,
>> Has any one done something around calculating months of stock (MOS) for
>> each reporting entity.
>> I am having challenge calculating MOS indicator which is calculated as
>>
>> Stock on hand (reported monthly) / average monthly consumption (entered
>> annually - constant throughout months in the year)
>>
>>
>>- The Average monthly consumption (AMC) is constant throughout the
>>year, so i set the data set for entering AMC data annual
>>- Can not apply annualized indicator, as this different from target
>>which can be distributed in the 12 months
>>
>> Any quick guidance will be very much appreciated
>> Regards,
>>
>> Peter Dotto Lubambi,
>> Skype: plubambi
>> Mobile: +255 786 087 087 <0786%20087%20087>
>>
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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- Developers API

2017-09-11 Thread Alex Tumwesigye
Hello Omer,

Please look at this.
https://docs.dhis2.org/2.26/en/developer/html/webapi_complete_data_set_registrations.html


Alex

On Thursday, September 7, 2017, Jesus Solano-Roman <
asol...@broadinstitute.org> wrote:

> Hello Omer.
>
> Your original question is hard to understand. Could you please try to
> explain better what you need?
>
> Also, please note that this is a community of people who voluntarily
> donate their time and expertise to help others (for free). This is not a
> paid customer service email list and therefore I think you should be more
> patient when waiting for an answer. Sometimes it can take days for someone
> to reply.
>
> A good starting point for getting answers quickly is describing your
> question or problem with good detail.
>
> Best regards,
>
> Antonio.
>
>
> On Thu, Sep 7, 2017 at 6:26 AM Omer Butt <omerbutt2...@gmail.com
> <javascript:_e(%7B%7D,'cvml','omerbutt2...@gmail.com');>> wrote:
>
>> Kindly Response .
>> Waiting.
>>
>> On Thu, Sep 7, 2017 at 9:25 AM, Omer Butt <omerbutt2...@gmail.com
>> <javascript:_e(%7B%7D,'cvml','omerbutt2...@gmail.com');>> wrote:
>>
>>> Hi,
>>>
>>> *for Example:*
>>> *Jan , Feb ,  March etc.*
>>> *I want to get status of the month for Data Entry Of Data Sets ?*
>>>
>>> Thanks
>>>
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> <javascript:_e(%7B%7D,'cvml','dhis2-devs@lists.launchpad.net');>
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Event favourites not loading

2017-09-11 Thread Alex Tumwesigye
Hi Timothy,

Im facing the same issue on 2.26. Some eventreportplugin is not defined.

Alex

On Friday, September 8, 2017, Timothy Kiyemba <tkiye...@gmail.com> wrote:

> Dear Prosper,
>
> I am using DHIS2 2.26 version 2090607. The one released on 7th September
> 2017. I have not yet upgraded to 2.27. Perhaps I should consider an
> upgrade. How stable is it now?
>
> Kind regards
>
> Timothy
>
> On Fri, Sep 8, 2017 at 1:04 PM, Prosper BT <ptb3...@gmail.com
> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');>> wrote:
>
>> Dear Timothy,
>>
>> What version are you running? We experienced the same at one point but
>> because we keep upgrading to the latest build of 2.27, it was later no
>> more. I cant remember the exact build number.
>>
>> But try upgrading to the latest build and see.
>>
>> Regards
>>
>> Prosper Behumbiize, MPH
>> DHIS2 Implementation| HISP Uganda
>> pros...@hispuganda.org
>> <javascript:_e(%7B%7D,'cvml','ptb3...@gmail.com');> | pros...@dhis2.org
>> <javascript:_e(%7B%7D,'cvml','pros...@dhis2.org');> | Skype: prospertb
>>
>> On Thu, Sep 7, 2017 at 8:55 PM, Timothy Kiyemba <tkiye...@gmail.com
>> <javascript:_e(%7B%7D,'cvml','tkiye...@gmail.com');>> wrote:
>>
>>> Anyone faced this challenge before? Please help
>>>
>>> On Thu, Sep 7, 2017 at 11:45 AM, Timothy Kiyemba <tkiye...@gmail.com
>>> <javascript:_e(%7B%7D,'cvml','tkiye...@gmail.com');>> wrote:
>>>
>>>> Dear all,
>>>>
>>>> Anyone faced this challenge before, none of my events reports can be
>>>> loaded on the dashboard. I get this error message and the favourites never
>>>> loads.
>>>>
>>>> Please help
>>>>
>>>> Timothy
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> <javascript:_e(%7B%7D,'cvml','dhis2-us...@lists.launchpad.net');>
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Regarding Program Notifications in Language other than English.

2017-08-30 Thread Alex Tumwesigye
Hi Sourabh,
We reported this issue of adding % to text.Its not a sms gateway issue.

Hope it will be fixed soon.

Alex

On Wednesday, August 30, 2017, Sourabh Bhardwaj <bsourabh...@gmail.com>
wrote:

> Hi Gaurav,
>
> Gateway Actually supports Unicode format , If we are sending message
> directly using http request provides by gateway  , it is working fine
> there.
>
> Thanks for the reply.
>
> On 30-Aug-2017 1:51 PM, "Gaurav Kumar" <gkumar@
> internationalmedicalcorps.org
> <javascript:_e(%7B%7D,'cvml','gku...@internationalmedicalcorps.org');>>
> wrote:
>
> Hi Sourabh,
>
>
>
> I don’t think DHIS2 is at fault here, it should be the SMS gateway that
> should handle the decoding of the message string. You will also need to
> consider the charset of the outgoing text and parameterize it to the
> gateway (most gateways will default to UTF-8 encoding, unless specified
> otherwise).
>
>
>
> I would advise you to refer the SMS gateway documentation to sort out the
> details.
>
>
>
> Hope this helps.
>
>
>
> Regards,
>
> GAURAV
>
>
>
>
>
> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+gkumar
> <javascript:_e(%7B%7D,'cvml','dhis2-devs-bounces%2Bgkumar');>=
> internationalmedicalcorps@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','internationalmedicalcorps@lists.launchpad.net');>]
> *On Behalf Of *Sourabh Bhardwaj
> *Sent:* Wednesday, August 30, 2017 11:26 AM
> *To:* dhis2-devs <dhis2-devs@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-devs@lists.launchpad.net');>>
> *Cc:* dhis2-users <dhis2-us...@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-us...@lists.launchpad.net');>>
> *Subject:* [Dhis2-devs] Regarding Program Notifications in Language other
> than English.
>
>
>
> Hi All,
>
>
>
> Has anyone used the Program Notifications for any regional language.
>
>
>
> We have a Use case to send program notifications in Hindi , The gateway we
> are using supports Unicode sms service. But if we are trying to send same
> Text from Dhis2 it converts it to special characters.
>
>
>
> i.e: Unicode for नमस्ते:  %26%232344%3B%26%232350%3B%26
> %232360%3B%26%232381%3B%26%232340%3B%26%232375%3B
>
>
>
> Have tried with both normal Hindi text and Unicode Text. Both are not
> currently supported. Using version 2.26 , build revision 44ec074.
>
>
>
> Please share your experience.
>
>
>
> Thanks in advance.
>
> Sourabh Bhardwaj
>
> Hisp India
>
>
>
>
>
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Setting "zeroissignificant" column from csv file import does not work -- DHIS2 2.25

2017-05-25 Thread Alex Tumwesigye
Dear Raminosoa,

U can update the dataelement table directly and set the zeroissignificant
to true for all after update for dataelement created that day. Then go to
data administration->maintenance and the clear application cache.
That works too.
Sql script looks like

Update dataelement set zeroissignificant = true where created::date
='2017-05-25'

Note that the created helps not to update all dataelements, you can choose
any other filter e.g a starting string.

Alex


On Thursday, May 25, 2017, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Dear DHIS2 community,
>
>
> When doing data elements upload from csv file (both add new or edit
> existing) we are using the following csv file structure:
>
>
> *Name, uid, code, shortname, description, formname, domaintype, valuetype,
> aggregationtype, **zeroissignificant*
>
>
> The last field is set to *true* for numeric data element as we would like
> to store zero data values. As shown in the image below, the checkbox still
> has to be checked manually.
>
>
> Is there some step that I am missing, or should I use another syntax for
> this last column. I have to update hundreds of data elements.
>
>
> Your suggestions are welcome!
>
>
> 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.*



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Error creation new stage on 2.26

2017-05-16 Thread Alex Tumwesigye
Dear Pepe,

Go to the Program Stage and tick repeatable so that it allows you to enter
more than one event.

Alex

On Tue, May 16, 2017 at 1:37 AM, Pepe Ken Mvulu <pepeken...@gmail.com>
wrote:

> Hi Markus,
>
> Thank you for your prompt response. The program I used involves 8 steps.
> For this example, the TEI is in the 5th step. When I click on the
> "Scheduled New" to add the stage 6, I have this screen (in appendix). Now,
> when I select the 6th stage and click on "Save", the error message appears.
>
>
>
> In principle if all the stages exist, the system signals it through the
> following message (Error : All the expected events are already present,
> cannot create more events.)
>
> Regards !
>
>
>
>
>
>
>
>
>
>
>
> *De :* Markus Bekken [mailto:mar...@dhis2.org]
> *Envoyé :* lundi 15 mai 2017 21:34
> *À :* Pepe Ken Mvulu
> *Cc :* DHIS 2 Developers list; DHIS 2 Users list
> *Objet :* Re: [Dhis2-devs] Error creation new stage on 2.26
>
>
>
> Hi There Pepe,
>
> Are you able to reproduce this issue on the demo server?
> https://play.dhis2.org/demo/
>
>
>
> How are you adding the event? The error message you are getting seems to
> indicate that you are trying to create more than one event in
> non-repeatable program stage. This should not be possible in the Tracker
> Capture user Interface, as the Tracker should make sure only one event is
> added in non-repeatable program stages.
>
>
>
> Markus
>
>
>
>
>
> 15. mai 2017 kl. 23.23 skrev Pepe Ken Mvulu <pepeken...@gmail.com>:
>
>
>
> Hi Dev team,
>
> I use version 2.26 of the DHIS2. Build 1c9a347
>
> I use a Tracker program with multiple events. When I want to add a new
> "Stage", I get this error message.
>
> Error
>
> Error in event creation
> One more conflicts encountered, please check import summary.
>
> Response from the server.
>
> [{"responseType":"ImportSummary","status":"ERROR","importOptions":{"
> idSchemes":{},"dryRun":false,"async":false,"importStrategy":
> "CREATE","mergeMode":"REPLACE","skipExistingCheck":false,"sharing":false,"
> skipNotifications":false,"datasetAllowsPeriods":false,"
> strictPeriods":false,"strictCategoryOptionCombos":false,"
> strictAttributeOptionCombos":false,"strictOrganisationUnits":false,"
> requireCategoryOptionCombo":false,"requireAttributeOptionCombo":false},"description":"Program
> stage is not repeatable and an event already exists","importCount":{"
> imported":0,"updated":0,"ignored":1,"deleted":0}}]
>
> Does anyone have an idea to help?
>
> Regards
>
>
>
> Pepe Ken Mvulu
> Responsable M
> Programme Village Assaini
> Direction de l'Hygiène
> Ministère de la Santé Publique/RDC
> Tél: +243 811515878 <+243%20811%20515%20878>
> Skype: pepe.ken.mvulu
>
> ___
> 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
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] User Authorities and Dashboards

2017-05-03 Thread Alex Tumwesigye
Dear Georgi,

The solution is Sharing and User Groups

Implement the same sharing on each report/chart/gis map as you did on the
dashboard.
That is Set Public to *None *and then add the Investor User Group (which is
has access) and set sharing to *View*

*Alex*

On Wed, May 3, 2017 at 7:27 PM, Georgi Chakarov <geo...@logicaloutcomes.net>
wrote:

> Hello all,
>
>
>
> I have a big problem setting up the correct authorities so that users see
> what I need them to.
>
> In brief, I am reporting on financial data. I have a few investors for
> whom I have prepared personal dashboards with pivots on how much return
> they have earned. I DO NOT want investors to be able to see each other’s
> data.
>
>
>
> This is what I have done:
>
> 1)  User Authorities:
>
> -  See dashboards
>
> -  See browser cache
>
> -  See pivot table module
>
> *IMPORTANT:* If I remove the “See pivot table module” the users are not
> able to see the saved pivot tables on their dashboard! So I need this
> authority.
>
>
>
> 2)  Dashboards
>
> -  Created personal dashboard for each investor
>
> -  Shared the dashboard only with the respective investor
>
>
>
> Every investor is able to see only their dashboard. Here comes the *BIG
> PROBLEM: *When an investor clicks “Explore” pivot table from the
> dashboard it takes him to the Pivot table app. From there, they can go to
> Favorites and open a saved report for any of the other investors and see
> data.
>
>
>
> Two questions here:
>
> 1)  Is there a way for user to see pivots on a dashboard without
> necessarily having access to the Pivot reporting module?
>
> 2)  If not, is there a way to restrict user of opening reports saved
> as favorites in the Pivot reporting module?
>
>
>
>
>
> Your comments are highly appreciated!
>
> Georgi
>
>
>
>
>
>
>
>
>
>
> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x 104
> <(647)%20478-5634> | LogicalOutcomes c/o Centre for Social Innovation,
> 720 Bathurst Street, Toronto Canada M5S 2R4 | *You may unsubscribe from
> receiving commercial electronic messages from LogicalOutcomes by emailing *
> *i...@logicaloutcomes.net* <i...@logicaloutcomes.net>
>
>
>
> _______
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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 2 tracker 2.25 only storing attributes

2017-04-11 Thread Alex Tumwesigye
Bridget,
Is analytics running properly?

Also check your optionsets and options.


Alex

On Monday, April 10, 2017, Bridget Magoba <bridgetmag...@mifumi.org> wrote:

> Dear all,frf 43rd eddd3
>
> Am running DHIS2 Tracker 2.25 but when I enter test data in both
> attributes and data elements, only data for attributes is stored.
>
>
>
> What could be the problem?
>
>
>
> Am also using DHIS2 mobile application but data synchronized to the server
> cannot be reflected on the web/event reports. What could be the problem?
>
>
>
> Thanks
>
>
>
> Magoba Bridget
>
> Database Manager
>
> MIFUMI
>
> Mobile: +256 774659892
>
> Tel: +256 414666946/392174242
>
> P.O Box 274, Tororo
>
> Plot 13, Martyrs’ Drive, Ntinda
>
> Kampala
>
> www.mifumi.org
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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 version 2.26 is released

2017-02-03 Thread Alex Tumwesigye
iled login attempts. This is useful to
> prevent brute-force authentication attacks.
>
> Docs
> <https://docs.dhis2.org/master/en/user/html/system_settings.html#system_access_settings>
>
>
> Configurable session timeout: The session timeout can now be configured
> from the dhis.conf configuration file. This is useful to comply with
> specific security regulations.
>
> Docs
> <https://docs.dhis2.org/master/en/implementer/html/install_dhis2_configuration_reference.html>
>
>
>
> WEB API FEATURES
>
> ---
>
> Analytics raw data: A new resource for retrieving analytical data without
> aggregation is introduced at /api/analytics/rawData. This resource lets
> you retrieve raw data denormalized across any data dimension. This is
> useful when integrating third-party BI / analytics tools, as you will get
> data values with all data dimensions “flattened out” without any
> pre-aggregation, allowing the external tool to perform the aggregation and
> filtering.
>
> Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_analytics.html#webapi_analytics_raw_data>
>
>
> Pre-aggregation measures in analytics: The analytics API lets you specify
> measure criteria to be applied before data aggregation takes place. This
> allows for better filtering of data before aggregating.
>
> Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_analytics.html#webapi_analytics_query_parameters>
>
>
> Filter operators in SQL views: You can now use the fields filtering
> syntax known from the metadata API on SQL views. This allows you to fetch
> only the fields (columns) you are interested in from large SQL views.
>
> Demo
> <https://play.dhis2.org/demo/api/sqlViews/tw3A6ZXOdbA/data.json?fields=name,code,valuetype,aggregationtype>
> | Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_sql_views.html#d0e8557>
>
>
> Prune data element: Data elements with corresponding data and audit
> values can be pruned using the /api/maintenance/dataPruning resource.
>
> Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_maintenance.html>
>
>
> Data set completeness exchange: The API resource for import and export of
> data set completeness records has been rewritten and is now a lot more
> scalable and supports more features for controlling what to exchange.
>
> Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html#webapi_reading_complete_data_sets>
>
>
> Soft event delete: Events are now deleted “softly”, meaning marked as
> deleted instead of being removed in the database. The events resource can
> include deleted events in the response, allowing clients to handle events
> which have been deleted on the server.
>
> Demo
> <https://play.dhis2.org/demo/api/26/events.json?orgUnit=GjWQK6UA4FO=q04UBOqq3rp=true>
> | Docs
> <https://docs.dhis2.org/master/en/developer/html/webapi_events.html#webapi_querying_reading_events>
>
>
>
> TESTIMONIALS
>
> ---
>
> Contribution to this release was made by PSI <http://www.psi.org/>
> (interpretations app) and BAO Systems <https://baosystems.com/>
> (translations app). Thank you!
>
>
>
> RELEASE INFO
>
> 
>
> Get the release here:
>
> https://www.dhis2.org/downloads
>
>
> You will find documentation and Javadocs here:
>
> https://www.dhis2.org/documentation
>
>
> You can read the upgrade notes and find upgrade script here:
>
> https://www.dhis2.org/226-upgrade
>
>
> The details about each feature on JIRA here:
>
> https://jira.dhis2.org/issues/?filter=10251
>
>
> You can find the source code on Github here:
>
> https://github.com/dhis2
>
>
> The demo instance can be found here:
>
> https://play.dhis2.org/demo
>
>
> Instructions for signing up for the DHIS 2 mailing lists here:
>
> https://www.dhis2.org/contact
>
>
>
> Enjoy the new release.
>
>
> best regards,
>
> the DHIS 2 development team
>
>
>
>
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Organisational Unit Merge Function in Build 2.24

2017-01-21 Thread Alex Tumwesigye
Barnabas,
This feature was dropped.
Look at github, there are scripts you can use to achieve that.

Alex

On Saturday, January 21, 2017, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hello All,
>
> We have just updated our instance to the 2.24 build with the hope of
> getting the Merge Organisational Unit function which was removed in 2.22
> and 2.23 but not sure of where to locate it in the 2.24 build.
> The feature is very useful for merging duplicate organisational units
> (Facilities).
>
> Can any one help?
>
> Regards
>
> --
>
> Barnabas AKUMBA
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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 clarification about some features

2016-12-26 Thread Alex Tumwesigye
Dear Archana,

Predictors replaced surveillance rules in data quality app. They have
exactly the same functionality as surveillance rules. They are still under
development since they are meant to be persisted and uniquely identified.
They are used in the idsr for threshold calculations.

Alex

On Monday, December 26, 2016, Archana Chillala <archa...@thoughtworks.com>
wrote:

> Hi,
>
> We are using latest revision of DHIS 2.25. We find a new metadata entity
> called "*Predictors*" in the 'others' module of maintenance app. We have
> also gone through the documentation about Predictors and it tells what it
> is and how we can configure it, explaining all its properties. But we are
> not clear as to where they can be used or where could we look for its
> predicted values on the UI and which particular app to look at for the
> same. Could you please let us know, how and where can the predictors
> functionality be leveraged?
>
> While testing 2.25 version, we observed that, we’re able to save a
> category without assigning any category options to it. We're able to save a
> dataset without assigning any data elments to it. So is the case with most
> of the metadata entities in maintenance app. This wasn't the behavior in
> earlier versions of DHIS like 2.20, 2.21. Not sure, but probably, it's been
> like this ever since maintenance app was introduced. Is this the expected
> behavior? Or is it a bug?
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> <javascript:_e(%7B%7D,'cvml','archa...@thoughtworks.com');>
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature_medium=email_source=thoughtworks-email-signature-generator>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] UID issues when loading dataentry module or user management

2016-10-21 Thread Alex Tumwesigye
This was an issue in old versions. You need to replace all uids that begin
with a number.

Alex

On Thursday, October 20, 2016, Ocaya Stephen <stepho...@gmail.com> wrote:

> Dear All,
>
> You could have noted after upgrading DHIS2 from lower version to 2.24 or
> so, the organisationunits may not load when opening data entry module or
> user managerment so you can't attach any user to any orgunit.
>
> We noted that the issue is brought about by a Token Error on uid. All the
> orgunits with uid starting with a number will cause this to fail in dhis2
> 2.24 or so. To resolve, we managed to write an SQL query to update the uids
> as below.
>
> UPDATE organisationunit SET uid = (
>  CASE
> WHEN (substring(uid FROM 1 FOR 1)) = '0'
> THEN 'o' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '1'
> THEN 'a' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '2'
> THEN 'b' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '3'
> THEN 'c' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '4'
> THEN 'd' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '5'
> THEN 'e' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '6'
> THEN 'f' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '7'
> THEN 'g' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '8'
> THEN 'h' || substring(uid FROM 2)
> WHEN (substring(uid FROM 1 FOR 1)) = '9'
> THEN 'i' || substring(uid FROM 2)
> ELSE
> uid
> END
>   )
> WHERE uid ~ '^[0-9]';
>
> Replacing the starting number with a letter random.
>
> Hope this helps
>
> --
>
> *You can do anything, but not everything.*
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Event Capture 0.5.x - programs not showing up if they have program rules

2016-10-19 Thread Alex Tumwesigye
Dear Araz,

So do you mean that only one user per organisation units can enter data?
How about if I am assigned to the highest level say a district and I am
entering maternal audit events for many facilities (I may be the only one
authorized to access and enter those events since they are sensitive)? In
this case does it mean I need X users for X organisation Units?

Alex

On Wed, Oct 19, 2016 at 11:21 AM, Araz Abishov <a...@dhis2.org> wrote:

> Hi Knut, Mugisha
>
> It seems gmail does not allow to send .apk files as attachments (it was
> filtered out in my previous email). I have pushed new release to GitHub,
> where you can download latest .apk file.
>
> Release: https://github.com/dhis2/dhis2-android-
> eventcapture/releases/tag/0.5.6
>
> Mugisha,
>
> That behaviour is intentional. We download only those organization units
> to which user is directly assigned to.
>
> Please, let me know if you have any issues.
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On October 19, 2016 at 12:22:40 AM, Mugisha, Jean F. (
> jm4...@cumc.columbia.edu) wrote:
>
> Hi Araz,
>
> Thank you for the information.
>
> We have had similar issues as described by Sam (program rules). Could you
> please share the updated version with us as well? When will it be released
> on GitHub?
>
> 2nd Issue: I only have access to District Org Units (as options) even
> though my user settings allow access to all sub-district units (facility
> level). Sam have you experienced this issue? Araz is this a known bug?
>
> Please let me know if you have any questions.
>
> Best regards,
>
> Jean Fabius Mugisha
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
>
>
> On 10/18/16, 9:43 AM, "Dhis2-devs on behalf of Araz Abishov"
> <dhis2-devs-bounces+jm4283=columbia@lists.launchpad.net on behalf of
> a...@dhis2.org> wrote:
>
> >Hi Sam,
> >
> >Could you please test updated version of event capture which I have
> >attached to this email?
> >
> >Please, let me know if it does not work for you.
> >
> >Best regards,
> >
> >‹
> >Araz Abishov,
> >Android developer, DHIS 2
> >University of Oslo
> >https://www.dhis2.org/
> >
> >On October 18, 2016 at 12:39:41 PM, Sam Johnson
> >(samuel.john...@qebo.co.uk) wrote:
> >
> >Hi Araz,
> >
> >
> >
> >That¹s great news, many thanks ­ I look forward to testing it as soon as
> >it¹s released. J
> >
> >
> >
> >Cheers, Sam.
> >
> >
> >
> >
> >
> >From: Araz Abishov <a...@dhis2.org>
> >Date: Tuesday, 18 October 2016 at 09:34
> >To: Sam Johnson <samuel.john...@qebo.co.uk>, Alex Tumwesigye
> ><atumwesi...@gmail.com>, DHIS2 Developers <dhis2-devs@lists.launchpad.net>
>
> >Subject: Re: [Dhis2-devs] Event Capture 0.5.x - programs not showing up
> >if they have program rules
> >
> >
> >
> >Hi Sam,
> >
> >
> >
> >My apologies for slow response.
> >
> >
> >
> >We have already fixed compatibility issues with 2.25 and will release an
> >update today. I will update you as soon as it will be available on
> >GitHub.
> >
> >
> >
> >Best regards,
> >
> >
> >
> >‹
> >
> >Araz Abishov,
> >
> >Android developer, DHIS 2
> >
> >University of Oslo
> >
> >https://www.dhis2.org/
> >
> >
> >
> >On October 18, 2016 at 2:11:20 AM, Sam Johnson
> >(samuel.john...@qebo.co.uk) wrote:
> >
> >Hi Araz/Developers,
> >
> >
> >
> >Just following up on my query below. As per Alex¹s recommendation, I¹ve
> >just had a play with Android Event Capture 0.5.5, and it looks great ­
> >is there a timeline for fixing it (or any version, for that matter) to
> >work with 2.25?
> >
> >
> >
> >Regards, Sam.
> >
> >
> >
> >
> >
> >From: Dhis2-devs
> ><dhis2-devs-bounces+samuel.johnson=qebo.co...@lists.launchpad.net> on
> >behalf of Sam Johnson <samuel.john...@qebo.co.uk>
> >Date: Friday, 14 October 2016 at 12:25
> >To: Alex Tumwesigye <atumwesi...@gmail.com>, "a...@dhis2.org"
> ><a...@dhis2.org>, DHIS2 Developers <dhis2-devs@lists.launchpad.net>
> >Subject: [Dhis2-devs] Event Capture 0.5.x - programs not showing up if
> >they have program rules
> >
> >
> >
> >This sender failed our f

Re: [Dhis2-devs] Event Capture - option set not working

2016-10-13 Thread Alex Tumwesigye
Dear Sam,

The 0.5.x are far better than the google play release. We have been trying
them here in Uganda and they should considered as an option.

The known issue currently is that the app does not show up the program if
the program has program rules unless that bug is fixed. But the 0.5.x
version is worth trying.

Alex

On Friday, October 14, 2016, Sam Johnson <samuel.john...@qebo.co.uk> wrote:

> Hi all,
>
>
>
> Is there a version of the Event Capture app that works with 2.25?  I’ve
> just tested the official Event Capture Android app (0.3.4-2.22) that’s on
> Google Play, and it looks like it still has the option set bug that Simon
> and Laura reported below.  Has anyone come across a workaround for this?
>
>
>
> If not, given that the 0.5.x releases are still in alpha, would it be at
> all possible to get a fix for this bug backported to the official Google
> Play version of the Android app?  We’re planning to use it for field survey
> work, so need a very stable version.
>
>
>
> Many thanks,
>
>
>
> Sam
>
>
>
> *From: *Dhis2-devs <dhis2-devs-bounces+samuel.johnson=qebo.co.uk@lists.
> launchpad.net
> <javascript:_e(%7B%7D,'cvml','qebo.co...@lists.launchpad.net');>> on
> behalf of Erling Fjelstad <erl...@dhis2.org
> <javascript:_e(%7B%7D,'cvml','erl...@dhis2.org');>>
> *Date: *Thursday, 1 September 2016 at 13:45
> *To: *"Laura E. Lincks" <laura.lin...@icap.columbia.edu
> <javascript:_e(%7B%7D,'cvml','laura.lin...@icap.columbia.edu');>>
> *Cc: *DHIS 2 Users list <dhis2-us...@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-us...@lists.launchpad.net');>>, Simon
> Muyambo <smmuya...@gmail.com
> <javascript:_e(%7B%7D,'cvml','smmuya...@gmail.com');>>, DHIS2 Developers <
> dhis2-devs@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-devs@lists.launchpad.net');>>
> *Subject: *Re: [Dhis2-devs] Event Capture - option set not working
>
>
>
> Hello Simon & Laura,
>
> You can try out the new Event Capture. Note that it is still in beta and
> doesn't have all the functionality as the old one yet. You can find it
> here: https://github.com/dhis2/dhis2-android-eventcapture/
> releases/download/0.5.1/event-capture-0.5.1.apk
>
> Regards,
>
> Erling - DHIS2 Android Team
>
>
>
> On Mon, Aug 29, 2016 at 6:57 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu
> <javascript:_e(%7B%7D,'cvml','laura.lin...@icap.columbia.edu');>> wrote:
>
> Yes, we're experiencing the same problem.
>
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
>
>
> On Mon, Aug 29, 2016 at 9:32 AM, Simon Muyambo <smmuya...@gmail.com
> <javascript:_e(%7B%7D,'cvml','smmuya...@gmail.com');>> wrote:
>
> I am using the latest event capture from google play and Version:2.24
> Build revision: 23585
>
> Option Set on the event capture showing as text even on programs that used
> to work on 2.22.
>
>
>
> Has anyone come across this?
>
>
>
> Regards
>
> Simon Muyambo
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-devs@lists.launchpad.net');>
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> <javascript:_e(%7B%7D,'cvml','dhis2-devs@lists.launchpad.net');>
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] dhis version 2.25 is released

2016-10-13 Thread Alex Tumwesigye
bility of the database read operation
>>> capacity. Each read replica must be specified in the dhis.conf
>>> configuration file.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_read_replica_configuration.html>
>>>
>>>
>>>
>>> WEB API FEATURES
>>>
>>> ---
>>>
>>> API versioning: The Web API is now versioned. The versioning is defined
>>> through the request URL with a version number. For example
>>> /api/25/dataElements will return version 25 of the data elements
>>> resource. If you omit the version part of the URL, the system will use the
>>> current API version. The last three versions of the API will be supported.
>>>
>>> Docs
>>> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_browsing_the_web_api.html#webapi_api_versions>
>>>
>>>
>>> Indicator analytics: The numerator, denominator and factor components
>>> of indicator values can be included separately in analytics responses by
>>> setting the includeNumDen parameter to true.
>>>
>>> Docs
>>> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_analytics.html#webapi_analytics_query_parameters>
>>>
>>>
>>> Translation in metadata export: Object translations can now be included
>>> in the metadata export payload by setting the translate parameter to
>>> true.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_export.html>
>>>
>>>
>>> Async metadata import: Metadata imports can now be performed
>>> asynchronously by setting the async parameter to true, which is useful
>>> for large metadata imports.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_import.html>
>>>
>>>
>>> Logical operators: You can now specify whether to use the AND or OR
>>> logical operators for filters while using the metadata export resources.
>>>
>>> Docs
>>> <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_object_filter.html#webapi_metadata_logical_operator>
>>>
>>>
>>>
>>>
>>> RELEASE INFO
>>>
>>> 
>>>
>>> You can download Live package, WAR file, sample data and source code
>>> here:
>>>
>>> https://www.dhis2.org/downloads
>>>
>>>
>>> You will find documentation and Javadocs here:
>>>
>>> https://www.dhis2.org/documentation
>>>
>>>
>>> You can read the upgrade notes and find upgrade script here:
>>>
>>> https://www.dhis2.org/225-upgrade
>>>
>>>
>>> You can find the *source code* on Github here:
>>>
>>> https://github.com/dhis2
>>>
>>>
>>> The demo application can be found here:
>>>
>>> https://play.dhis2.org/demo
>>>
>>>
>>> Full list of features can be found at the Launchpad page:
>>>
>>> https://launchpad.net/dhis2/+milestone/2.25
>>>
>>>
>>> Instructions for signing up for the DHIS 2 mailing lists here:
>>>
>>> https://www.dhis2.org/contact
>>>
>>>
>>>
>>> TESTIMONIALS
>>> ---
>>>
>>> Thanks goes to EyeSeeTea <http://eyeseetea.com/> for contribution to
>>> this release.
>>>
>>>
>>>
>>>
>>> best regards,
>>>
>>>
>>> the DHIS 2 development team
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>> ___
>> 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
>>
>>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile  :073 246 2992
> Landline:   021 851 2216
> Skype:  gregory_rowles
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] custom form in Tracker Capture

2016-10-12 Thread Alex Tumwesigye
Dear Channara,

See an example of building a custom form.

**
* $(document).ready(function(){*
* var scope = getScope('RegistrationController'); //Get scope from
registration controller*
* var orgUnitName = angular.element($("#orgUnitTree .selected")).text(); *
* if(scope.registrationMode === 'REGISTRATION'){*

* scope.$on('teienrolled',function(){*
* console.log("TEI enrolled");*
* });*
* }*
* if(scope.registrationMode === 'PROFILE'){*
* scope.$on('teiupdated',function(){*
* console.log("TEI updated");*
* });*
* } *
* //var myForm = document.querySelector('d2-custom-form');*
* //var $scope = angular.element(myForm).scope();*
* // control birth date and date of consultation*
* // Attribute Birth Date has a uid = A31FfrjPqyp*

* scope.$watch('selectedTei.A31FfrjPqyp',function(newDOBValue,oldDOBValue){*
* if(scope.interacted(scope.outerForm.A31FfrjPqyp) === true){*
* if(newDOBValue >= scope.selectedEnrollment.enrollmentDate){ *
* alert("Date of Birth should not be later than Date of Consultation,
correct the Date of Birth."); *
* scope.$applyAsync(function(){*
* scope.selectedTei.A31FfrjPqyp = ''; //Assign date to null*
* scope.outerForm.$dirty;*
* });*
* //angular.element($('[attributeid="A31FfrjPqyp"]')).focus().select(); *
* }*
* if(scope.selectedEnrollment.incidentDate <
scope.selectedTei.A31FfrjPqyp){ *
* alert("Date of onset of symptoms has to be later than or equal to Date of
Birth , correct the Date of Birth.");*
* scope.$applyAsync(function(){*
* scope.selectedTei.A31FfrjPqyp = '';  //Assign date to null*
* scope.outerForm.$dirty;*
* });*
* }*
* }*
* },true)*
* });*
**

Alex

On Sun, Oct 9, 2016 at 4:23 PM, channara rin <rin.chann...@gmail.com> wrote:

> Dear alex,
> thank you alot :-)
> But could you give example one attribute for me? i don't know how to use
> that script...
>
> On Thu, Oct 6, 2016 at 5:36 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Channara,
>>
>> Use angular $watch to watch the models changes.
>>
>>
>> Attribute model is $scope.selectedTei.uid
>> event model is $scope.currentEvent.uid
>>
>> For Jquery,
>> use $(selectedTei.uid).val("Your value").trigger('input');
>>
>> For angular,
>> This $scope.selectedTei.uid will pick your value, however, you will need
>> $watch to watch for changes.
>>
>>  Note uid is the dhis2 11 character identifier.
>>
>> Alex
>>
>> On Thu, Oct 6, 2016 at 12:47 PM, channara rin <rin.chann...@gmail.com>
>> wrote:
>>
>>> Dear all,
>>> do you know any jquery script for tracker capture custom form to catch
>>> require attributes fields and unique attribute field?
>>>
>>> for example, when i edit client's profile in tracker capture. if i do
>>> some things wrong format of attribute fields, when i click update/save. i
>>> didn't see any popup message what i did wrong. but when i look console. i
>>> saw error of jax to use "PUT" on 404 message.
>>>
>>> thank you
>>> channara
>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Alex Tumwesigye
>>
>> Technical Advisor - DHIS2 (Consultant),
>> Ministry of Health/AFENET  | HISP Uganda
>> Kampala
>> Uganda
>> +256 774149 775, + 256 759 800161
>> Skype ID: talexie
>>
>> IT Consultant (Servers, Networks and Security, Health Information Systems
>> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>>
>>
>> "I don't want to be anything other than what I have been - one tree hill "
>>
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] custom form in Tracker Capture

2016-10-06 Thread Alex Tumwesigye
Dear Channara,

Use angular $watch to watch the models changes.


Attribute model is $scope.selectedTei.uid
event model is $scope.currentEvent.uid

For Jquery,
use $(selectedTei.uid).val("Your value").trigger('input');

For angular,
This $scope.selectedTei.uid will pick your value, however, you will need
$watch to watch for changes.

 Note uid is the dhis2 11 character identifier.

Alex

On Thu, Oct 6, 2016 at 12:47 PM, channara rin <rin.chann...@gmail.com>
wrote:

> Dear all,
> do you know any jquery script for tracker capture custom form to catch
> require attributes fields and unique attribute field?
>
> for example, when i edit client's profile in tracker capture. if i do some
> things wrong format of attribute fields, when i click update/save. i didn't
> see any popup message what i did wrong. but when i look console. i saw
> error of jax to use "PUT" on 404 message.
>
> thank you
> channara
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Datasets for Approval in Reports Module are limited to 50 (page 1) due to the api query used

2016-10-06 Thread Alex Tumwesigye
Dear Devs,


Datasets for Approval in Reports Module are limited to 50 (page 1) due to
the api query used
"
*..api/dataSets.json?fields=id,displayName,periodType,workflow,categoryCombo[id,displayName]"*

This line needs to be changed to

".
*./api/dataSets.json?fields=id,displayName,periodType,workflow,categoryCombo[id,displayName]*
=false"

I have submitted the bug on the github.

Thanks.
-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Default form swap between row and column

2016-10-05 Thread Alex Tumwesigye
Nayeem,

Then you don't have a choice for now. You have to do a custom form for the
whole dataset.

Alex

On Wed, Oct 5, 2016 at 9:08 AM, Nayeem Al Mifthah <n.mift...@gmail.com>
wrote:

> Dear Alex
> I know the concept and good practice. but from program perspective it is
> necessary to make it under one... as this form is related with budget
> allocation with completeness of this dataset.
>
> *Nayeem Al Mifthah*
> *Consultant for HSS, Health MIS, M*
> Email: n.mift...@gmail.com
> Cell:+8801914030574
> Skype: nayeem.a.m
>
> On Wed, Oct 5, 2016 at 12:03 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Nayeem,
>>
>> You can create multiple datasets from that one long dataset.
>> Then you can make one dataset a custom form and then the other as a
>> section.
>> It is also not a good idea to have long datasets (aka forms) in form
>> design.
>>
>> Alex
>>
>> On Wed, Oct 5, 2016 at 6:16 AM, Nayeem Al Mifthah <n.mift...@gmail.com>
>> wrote:
>>
>>> Dear All
>>> If the above mention functionality will take long time to develop, is it
>>> possible to add "Design data entry form" option under section of dataset.
>>>
>>> Actually, we have large category combo (with long list of category
>>> option combo) for one section of a dataset, which make the default data
>>> entry form large in horizontal side for that section. The same dataset have
>>> another section with some elements with no category combo which looks good
>>> in default form.
>>>
>>> It will be great, if I can design one section and leave another as
>>> default. I can design the full dataset in custom form, but how much design
>>> i have inserted it takes long time to load in low resource settings. And
>>> you all know, Bangladesh is implementing a large database of DHIS2 with
>>> limited bandwidth in central and end user level.
>>>
>>> *Nayeem Al Mifthah*
>>> *Consultant for HSS, Health MIS, M*
>>> Email: n.mift...@gmail.com
>>> Cell:+8801914030574
>>> Skype: nayeem.a.m
>>>
>>> On Tue, Oct 4, 2016 at 6:19 PM, Nayeem Al Mifthah <n.mift...@gmail.com>
>>> wrote:
>>>
>>>> Dear Lars
>>>> Thanks for your clarification.
>>>>
>>>> Could it go under near future development plan.
>>>>
>>>> *Nayeem Al Mifthah*
>>>> *Consultant for HSS, Health MIS, M*
>>>> Email: n.mift...@gmail.com
>>>> Cell:+8801914030574
>>>> Skype: nayeem.a.m
>>>>
>>>> On Tue, Oct 4, 2016 at 5:22 PM, Lars Helge Øverland <l...@dhis2.org>
>>>> wrote:
>>>>
>>>>> Hi Nayeem,
>>>>>
>>>>> I agree that would be useful. There are no immediate plans for this
>>>>> unfortunately. For now you will have to resort to a custom form.
>>>>>
>>>>> best regards,
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>> On Tue, Oct 4, 2016 at 10:57 AM, Nayeem Al Mifthah <
>>>>> n.mift...@gmail.com> wrote:
>>>>>
>>>>>> Dear All
>>>>>> Is there any plan to give an option in Dataset edit to swap
>>>>>> (transpose) row and column in default form.
>>>>>>
>>>>>> In some of our forms, there are a number of category option which
>>>>>> will be better to see as row, and it will better if we can see data
>>>>>> elements in column. It may improve the view and print facility from 
>>>>>> dataset
>>>>>> report and data entry screen.
>>>>>>
>>>>>> It will be great if the option can be added in section management. So
>>>>>> that each section can view differently.
>>>>>>
>>>>>>
>>>>>> *Nayeem Al Mifthah*
>>>>>> *Consultant for HSS, Health MIS, M*
>>>>>> Email: n.mift...@gmail.com
>>>>>> Cell:+8801914030574
>>>>>> Skype: nayeem.a.m
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lars Helge Øverland
>>>>> Lead developer, DHIS 2
>>>>> University of Oslo
>>>>> Skype: larshelgeoverland
>>>>> l...@dhis2.org
>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>
>>>>>
>

Re: [Dhis2-devs] Default form swap between row and column

2016-10-05 Thread Alex Tumwesigye
Dear Nayeem,

You can create multiple datasets from that one long dataset.
Then you can make one dataset a custom form and then the other as a section.
It is also not a good idea to have long datasets (aka forms) in form design.

Alex

On Wed, Oct 5, 2016 at 6:16 AM, Nayeem Al Mifthah <n.mift...@gmail.com>
wrote:

> Dear All
> If the above mention functionality will take long time to develop, is it
> possible to add "Design data entry form" option under section of dataset.
>
> Actually, we have large category combo (with long list of category option
> combo) for one section of a dataset, which make the default data entry form
> large in horizontal side for that section. The same dataset have another
> section with some elements with no category combo which looks good in
> default form.
>
> It will be great, if I can design one section and leave another as
> default. I can design the full dataset in custom form, but how much design
> i have inserted it takes long time to load in low resource settings. And
> you all know, Bangladesh is implementing a large database of DHIS2 with
> limited bandwidth in central and end user level.
>
> *Nayeem Al Mifthah*
> *Consultant for HSS, Health MIS, M*
> Email: n.mift...@gmail.com
> Cell:+8801914030574
> Skype: nayeem.a.m
>
> On Tue, Oct 4, 2016 at 6:19 PM, Nayeem Al Mifthah <n.mift...@gmail.com>
> wrote:
>
>> Dear Lars
>> Thanks for your clarification.
>>
>> Could it go under near future development plan.
>>
>> *Nayeem Al Mifthah*
>> *Consultant for HSS, Health MIS, M*
>> Email: n.mift...@gmail.com
>> Cell:+8801914030574
>> Skype: nayeem.a.m
>>
>> On Tue, Oct 4, 2016 at 5:22 PM, Lars Helge Øverland <l...@dhis2.org>
>> wrote:
>>
>>> Hi Nayeem,
>>>
>>> I agree that would be useful. There are no immediate plans for this
>>> unfortunately. For now you will have to resort to a custom form.
>>>
>>> best regards,
>>>
>>> Lars
>>>
>>>
>>> On Tue, Oct 4, 2016 at 10:57 AM, Nayeem Al Mifthah <n.mift...@gmail.com>
>>> wrote:
>>>
>>>> Dear All
>>>> Is there any plan to give an option in Dataset edit to swap (transpose)
>>>> row and column in default form.
>>>>
>>>> In some of our forms, there are a number of category option which will
>>>> be better to see as row, and it will better if we can see data elements in
>>>> column. It may improve the view and print facility from dataset report and
>>>> data entry screen.
>>>>
>>>> It will be great if the option can be added in section management. So
>>>> that each section can view differently.
>>>>
>>>>
>>>> *Nayeem Al Mifthah*
>>>> *Consultant for HSS, Health MIS, M*
>>>> Email: n.mift...@gmail.com
>>>> Cell:+8801914030574
>>>> Skype: nayeem.a.m
>>>>
>>>
>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org <https://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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1625181] Re: Organisation Unit Data Lost After Restarting Web Server

2016-09-19 Thread Alex Tumwesigye
Dear Murari,

The correct dhis.conf is
connection.dialect = org.hibernate.dialect.PostgreSQLDialect
connection.driver_class = org.postgresql.Driver
connection.url = jdbc:postgresql:dhis2
connection.username = dhis
connection.password = dhis
connection.schema = update

See below.
http://dhis2.github.io/dhis2-docs/2.24/en/implementer/html/dhis2_implementation_guide_full.html#d5274e948

Alex

On Mon, Sep 19, 2016 at 6:02 PM, Brajesh Murari <1625...@bugs.launchpad.net>
wrote:

> Yes i replaced one line in dhis.conf
>
> hibernate.connection.schema = update
> by
> hibernate.hbm2ddl.auto = update
>
> and its working
>
> Thanks Knut
>
> On Mon, Sep 19, 2016 at 7:18 PM, Knut Staring <knu...@gmail.com> wrote:
>
> > Try this in your dhis.conf:
> >
> > hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
> > hibernate.connection.driver_class = org.postgresql.Driver
> > hibernate.connection.url = jdbc:postgresql:dhis2
> > hibernate.connection.username = dhis
> > hibernate.connection.password = dhis
> > hibernate.hbm2ddl.auto = update
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1625181
> >
> > Title:
> >   Organisation Unit Data Lost After Restarting Web Server
> >
> > Status in DHIS:
> >   Invalid
> >
> > Bug description:
> >   When i am trying to create organisation unit hierarchy in new empty
> >   database, and after some time later when i am getting loged out and
> >   restarting server, it loses all organization unit hierarchy in
> >   database organisation unit table in database in spite of i have
> >   assigned value
> >
> >   hibernate.connection.schema = update
> >
> >   in "dhis.conf" file in "DHIS2_HOME" system environment variable.
> >
> >   I think this is a very serious bug in dhis trunk and in dhis2.24
> >   branch.
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dhis2/+bug/1625181/+subscriptions
> >
> > Launchpad-Notification-Type: bug
> > Launchpad-Bug: product=dhis2; status=Invalid; importance=Undecided;
> > assignee=None;
> > Launchpad-Bug-Information-Type: Public
> > Launchpad-Bug-Private: no
> > Launchpad-Bug-Security-Vulnerability: no
> > Launchpad-Bug-Commenters: brajesh-murari knutst
> > Launchpad-Bug-Reporter: Brajesh Murari (brajesh-murari)
> > Launchpad-Bug-Modifier: Knut Staring (knutst)
> > Launchpad-Message-Rationale: Subscriber
> > Launchpad-Message-For: brajesh-murari
> >
>
>
> --
> Thanks and Regards
>
> Brajesh Murari
> | Senior Technical Annalist | www.sdrc.co.in | Ph.:(+91)-9430124938 |
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1625181
>
> Title:
>   Organisation Unit Data Lost After Restarting Web Server
>
> Status in DHIS:
>   Invalid
>
> Bug description:
>   When i am trying to create organisation unit hierarchy in new empty
>   database, and after some time later when i am getting loged out and
>   restarting server, it loses all organization unit hierarchy in
>   database organisation unit table in database in spite of i have
>   assigned value
>
>   hibernate.connection.schema = update
>
>   in "dhis.conf" file in "DHIS2_HOME" system environment variable.
>
>   I think this is a very serious bug in dhis trunk and in dhis2.24
>   branch.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1625181/+subscriptions
>
> ___
> 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
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] DHIS2 Network Out

2016-09-13 Thread Alex Tumwesigye
Dear Raminosoa,

I faced a similar problem sometime a year ago.
This problem is attributed to SQL queries that take long to finish.
Consider installing pgtop
You may need to increase your shared_buffers a bit and effective_cache_size
or connections parameters until you get the best optimal settings. You can
also allocate more memory (-Xmx7500m) to tomcat process if you have more.
Note that if you increase your postgres connections, pay attention to
memory settings you set as you can easily run out of memory too.

Alex


On Mon, Sep 12, 2016 at 6:13 PM, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Hi Halvdan,
>
> We have already restarted the server and it has solved temporarily the
> problem. We are going to try the command you mentioned and see what is
> happening. Thank you.
>
> Regards,
>
> Tantely.
>
> Le 12 sept. 2016 5:55 PM, "Halvdan Hoem Grelland" <halv...@dhis2.org> a
> écrit :
>
>> You should probably look into what specific processes on the server are
>> hogging the CPU. Try using 'htop' from the console (or similar). The logs
>> you've provided unfortunately do not provide any useful information.
>>
>> Also, does a simple server reboot solve the issue? If so, does it
>> re-occur?
>>
>> On Mon, Sep 12, 2016 at 4:37 PM, Raminosoa Rabemanantsoa, Tantely <
>> tramino...@mikolo.org> wrote:
>>
>>> Hi All,
>>>
>>> We are using DHIS2 2.19 and it was working really fine for several
>>> months.
>>> We have followed the HISP recommendations for the JVM parameters and the
>>> PostgreSQL memory tunning. We noticed few days ago a slow access to our
>>> DHIS2 server on Amazon from web version as well as from data capture.
>>> When
>>> checking the status, the server CPU is constantly running at 100%. We
>>> would
>>> like to have your advice on the possible sources of the errors. I note
>>> that
>>> Amazon has upgraded the Linux system to a newer version (2016.03). Does
>>> this change have impact on the installation of Tomact and postgreSQL? I
>>> am
>>> attaching the DHIS2 log file which is containing several errors.
>>>
>>> We are stuck, your help are welcome!
>>>
>>> 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-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Halvdan Hoem Grelland
>> Software developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
> *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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Render Sections as Tab option in program/stage

2016-09-12 Thread Alex Tumwesigye
Dear Nayeem,

Try the Tabular Widget. It has similar functionality. You can turn it on
from the Tracker Dashboard (Default is DataEntry Widget)

Alex

On Sun, Sep 11, 2016 at 8:54 AM, Nayeem Al Mifthah <n.mift...@gmail.com>
wrote:

> Dear Developers
>
> It would be very helpful if you could add "Render sections as tab"
> function in program stage management. It will enable to view sections in
> tab on the time of tracker capture and event capture data entry.
>
> It is available for aggregated dataset management.
>
>
> *Nayeem Al Mifthah*
> *Consultant for HSS, Health MIS, M*
> Email: n.mift...@gmail.com
> Cell:+8801914030574
> Skype: nayeem.a.m
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1621512] [NEW] DHIS2 malfunctioning (Apps, API, and webpages)

2016-09-08 Thread Alex Tumwesigye
Please point your api to
https://hiskenya.org/dhis/api/indicators/fJ7CyT97iJC

Note the change in url. There is a redirection.
This is not a bug.

Alex
On Thursday, September 8, 2016, Halvdan Hoem Grelland <halv...@dhis2.org>
wrote:

> You will need to contact the administrators of the instance. The front
> page cites the following link http://servicedesk.health.go.ke/portal
>
> ** Changed in: dhis2
>Status: New => Invalid
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1621512
>
> Title:
>   DHIS2 malfunctioning (Apps, API, and webpages)
>
> Status in DHIS:
>   Invalid
>
> Bug description:
>   Hello,
>
>   I'm having trouble using Kenya's dhis server. The Pivot table apps
>   loads but doesn't populate tables, the API is not working (trying to
>   connect through R) and none of the XML pages I've accessed previously
>   are loading (example:
>   https://hiskenya.org/api/indicators/fJ7CyT97iJC).
>
>   I've tried restarting my computer, using different browsers, and using
>   a different wireless to no avail. I also had colleagues in the States
>   check and it doesn't work for them either. The Pivot table app in
>   particular stopped working yesterday and I thought it was just a
>   momentary disruption, but it persists today.
>
>   Here is the relevant info from the About page on my account:
>
>   Web API:
>   Browse it here
>   Current user:
>   ericpgreen
>   Version:
>   2.23
>   Build revision:
>   c038c69
>   Build date:
>   2016-09-07 06:54
>   Jasper reports version:
>   6.1.0
>   User agent:
>   Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0)
> Gecko/20100101 Firefox/48.0
>   Server date:
>   2016-09-08 17:43
>   Last analytics table generation:
>   2016-09-08 00:41
>   Time since last analytics table generation:
>   17 h, 2 m, 6 s
>   Last analytics table runtime:
>   1 h, 25 m, 22 s
>   Environment variable:
>   DHIS2_HOME
>
>   Please let me know if you need additional information!
>
>   Thanks
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1621512/+subscriptions
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net <javascript:;>
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [HISPUg] DHIS2 2.24 Tracker

2016-08-30 Thread Alex Tumwesigye
Andrew,

Please clear your nginx cache.

Run this command
sudo rm -rf /var/cache/nginx

And then run this one too

sudo service nginx restart

Alex

On Tue, Aug 30, 2016 at 2:30 PM, Andrew Kiguba <andrewkig...@gmail.com>
wrote:

> Dear Team.
> I have recently installed a fresh version of DHIS2 2.24 on my local
> Instance but it doesn't display any Tracker Programs I create
> and shows the screenshot below. Is anyone having a solution?
> Thanks.
> *Health Information Systems Program-UG*
>
> --
> Regards, HISPUg
> ---
> You received this message because you are subscribed to the Google Groups
> "HISP UGANDA" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hispug+unsubscr...@googlegroups.com.
> To post to this group, send email to his...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/hispug/CAMEnhjgNTVgOwJoAVNScNwBJ%2Bo28thtHnyocpr6axZpfurc%2BBQ%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/hispug/CAMEnhjgNTVgOwJoAVNScNwBJ%2Bo28thtHnyocpr6axZpfurc%2BBQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Date Time Format change

2016-08-28 Thread Alex Tumwesigye
Dear Sam,

Quick fix is to reformat the date-time string to your own format e.g
-mm-dd hh-mm-ss

Alex

On Sunday, August 28, 2016, Sampath Jayasinghe <sampathgay...@gmail.com>
wrote:

> Hello Friends,
>
> I'm working on an android app that interacts with DHIS2. It is a
> government project. This is one of the projects that Health officials are
> really concerned about. They are looking forward to demo this next week.
>
> Recently we have downloaded the new #124 build of dhis.war. Our well
> tested and app seamed crashing on retrieving Events from Events API and we
> did a thorough investigation since that part of the code was tested by
> several hundreds of users and approved.
>
> Our findings are as below.
>
> -* previous Format*
>
> "programStage": "wS2i9c9hXXz",
>   "orgUnit": "cRv4S3vBoIK",
>   "program": "MmGml1Gyb7K",
>   "trackedEntityInstance": "yNSwSLV7zlN",
>   "enrollment": "iclnhtQ00gr",
>   "enrollmentStatus": "ACTIVE",
>   "href": "http:///nss/api/events/FWvWE950yZf
> <http://dhis.pgim.cmb.ac.lk/nss/api/events/FWvWE950yZf>",
>   "event": "FWvWE950yZf",
>   "status": "ACTIVE",
>   *"eventDate": "2016-01-13T18:30:00.000+",*
>   "orgUnitName": "Ambagahawella",
>   "created": "2016-03-14T13:36:03.956+",
>   "lastUpdated": "2016-03-14T13:36:03.956+",
>   "followup": false,
>   "dataValues":
>
> -* Current Format*
>
> "programStage": "wS2i9c9hXXz",
>   "orgUnit": "cRv4S3vBoIK",
>   "dueDate": "2016-06-15T16:08:01.665",
>   "program": "MmGml1Gyb7K",
>   "trackedEntityInstance": "luBswqwIXi0",
>   "enrollment": "gyEbBkDubZb",
>   "enrollmentStatus": "ACTIVE",
>   "href": "http://l/nss/api/events/Tq1eNtA7l6R
> <http://lankanets.info:8080/nss/api/events/Tq1eNtA7l6R>",
>   "event": "Tq1eNtA7l6R",
>   "status": "ACTIVE",
>  * "eventDate": "2016-06-15T16:02:33.455",*
>   "orgUnitName": "Ambagahawella",
>   "attributeCategoryOptions": "ZJyvKtqS7Kx",
>   "created": "2016-06-15T16:08:01.683",
>   "lastUpdated": "2016-06-15T16:08:01.683",
>   "followup": false,
>   "coordinate": {
> "latitude": 0.0,
> "longitude": 0.0
>   },
>   "dataValues":
>
>
> Please note that the older version and latest version has a difference
> when it comes to DateTime formats such as *eventDate*. This change seams
> to be deadly to us. Our app has so many time based dependencies.
>
> How can we address these kind of sudden changes? Specially when we don't
> have a development team, we may not be able to customize these builds once
> apps finished.
>
> Please provide your valuable thoughts.
>
> Thank you all in advance. Appreciate the efforts on this great course as
> well.
>
> Sam
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Read only field on custom form

2016-08-22 Thread Alex Tumwesigye
Dear Elmarie,

Please try



Alex

On Sun, Aug 21, 2016 at 11:27 PM, Elmarie Claasen <elma...@hisp.org> wrote:

> Hi all,
>
>
>
> I am using 2.23 revision 23051 2016-08-03 17:41
>
>
>
> I have a custom form for which I want data element value to be read-only.
>
>
>
> I have tried various ways but cannot seem to find the exact fit. Current
> source code is like this:
>
>
>
>  title="HTwM8OvNS49
> - Inpatient discharges - total (finyear) - T450li7DyUU - default - NUMBER"
> value="[ Inpatient discharges - total (finyear) default ]" />
>
>  
>
>
>
> Also tried readonly=”true” which does seem to work halfway because it
> still allows the removal and editing of the value but does not store the
> changed value and then gives a “Data stored offline” message in the UI and
> asking if you want to sync the offline data. If you say yes it just runs
> and runs. Only way to clear the message is to clear browser cache. We don’t
> really want to use this option because then we need to teach them to clear
> browser cache when they still have data stored offline to get rid of that
> message which is contrary to usual training.
>
>
>
> Can anyone assist with the code to make the data element value read only
> on a custom form please?
>
>
>
> 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.
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Overlapping text in DHIS2 UI

2016-08-11 Thread Alex Tumwesigye
>
> ***
>
>
>
>
> ___
> 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
>
>
>
>
>
> --
>
> Knut Staring
>
> Dept. of Informatics, University of Oslo
>
> Norway: +4791880522
>
> Skype: knutstar
>
> http://dhis2.org
>
>
>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [HISPUg] Re: Expected reports based on org unit opening and closed date in 2.24

2016-08-05 Thread Alex Tumwesigye
Dear Lars and Prosper,

Thanks for sharing this issue.
I agree with you Prosper, closing dates and opening dates will not work
since you keep facilities open even if the dataset is detached. May be if
we track when the dataset was detached or assigned by status and timestamp
(where by timestamp is equivalent to closing dates/opening dates of the
dataset), then we may fix it.

Thanks.

Alex



On Fri, Aug 5, 2016 at 5:36 PM, Lars Helge Øverland <l...@dhis2.org> wrote:

> Hi Prosper,
>
> yes you are right and this something I've been thinking about for a while.
> I agree it must be addressed at some point.
>
> regards,
>
> Lars
>
>
> On Fri, Aug 5, 2016 at 4:32 PM, Prosper BT <ptb3...@gmail.com> wrote:
>
>> Dear Team,
>>
>> Thanks team for this inclusion of this long awaited functionality,
>> however we have just been analyzing the functionality at HISP Uganda and
>> realized it solves the big problem national implementations have been
>> facing but not all.
>>
>> It solves the addition on new and closing facilities moving forward in
>> implementation and expansion, but not the problem of upgrading and down
>> grading facilities. For example when a facility is upgraded say in terms of
>> services, it will be added an extra dataset that will affect reporting
>> rates before and when its down graded it will affect reporting rates going
>> forward and will be more than 100%.
>>
>> May be we may have to think around time stamp for dataset
>> editing/assignment and removal.
>>
>> Regards
>>
>> --
>> Prosper Behumbiize, MPH
>> Global DHIS2 Implementation| HISP Uganda/University Of Oslo
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
>> prospertb
>>
>> ___
>> 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 <https://www.dhis2.org/>
>
> --
> Regards, HISPUg
> ---
> You received this message because you are subscribed to the Google Groups
> "HISP UGANDA" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hispug+unsubscr...@googlegroups.com.
> To post to this group, send email to his...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/hispug/CAD_DPKwWS6AWNWeE7hHYkTL97AU8j72KmkZ8EiF-%2Bt_PQpH41g%40mail.
> gmail.com
> <https://groups.google.com/d/msgid/hispug/CAD_DPKwWS6AWNWeE7hHYkTL97AU8j72KmkZ8EiF-%2Bt_PQpH41g%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] NGINX ERROR-HELP

2016-07-27 Thread Alex Tumwesigye
Dear Stanley,

Please increase or add  your client_max_body_size 10M; parameter in
nginx.conf, I recently had to increase mine to 20M to upload of apps to
work. This error was the same.

Alex

On Wed, Jul 27, 2016 at 12:58 PM, Stanley Kalyati <skaly...@gmail.com>
wrote:

> DHISiers,
>
> What does this error mean?
>
> Thank you
>
> 414 Request-URI Too Large
> --
> nginx
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1604589] [NEW] events API endpoint with program specified gives eventDate less by 1

2016-07-19 Thread Alex Tumwesigye
Public bug reported:

/api/events?program=ProgramUID=true=true=event,status,eventDate,created,lastUpdated,program,programStage,orgUnit,dataValues[dataElement,value]
 generates eventDates with one day less.
If the eventDate was 2016-07-19, then a date of 2016-07-18 is generated.

The api/events/eventUID endpoint works fine.

This affects 2.23 build 
23044

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.23 dhis2

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1604589

Title:
  events API endpoint with program specified gives eventDate less by 1

Status in DHIS:
  New

Bug description:
  
/api/events?program=ProgramUID=true=true=event,status,eventDate,created,lastUpdated,program,programStage,orgUnit,dataValues[dataElement,value]
 generates eventDates with one day less.
  If the eventDate was 2016-07-19, then a date of 2016-07-18 is generated.

  The api/events/eventUID endpoint works fine.

  This affects 2.23 build 
  23044

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1604589/+subscriptions

___
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] log in into an instance fail and no error message

2016-07-17 Thread Alex Tumwesigye
Hi JP,

Kindly check the number of connections to the DB server.You must be running
out of connections since all instances share the same DB server. Bob can
assist.


Alex

On Saturday, July 16, 2016, J. Paul Mutali <mut...@gmail.com> wrote:

> Hi there,
>
> we are having issues on our instances where users can login to instances,
>
> when you restart the server , everything works for few hours and then no
> user cant enter again and the instance does not give any  error message.
>
> here is the log form one instance:
>
>  INFO  2016-07-16 02:00:02,302 'system-process' create
> org.hisp.dhis.datastatistics.DataStatistics, uid: xry0yKYJwrm
> (AuditLogUtil.java [taskScheduler-7])
> * INFO  2016-07-16 02:00:02,926 Saved data statistics snapshot
> (DataStatisticsTask.java [taskScheduler-7])
> * WARN  2016-07-16 10:22:31,761 Authentication event
> AuthenticationSuccessEvent:randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@166c8:
> RemoteIpAddress: 10.0.3.2; SessionId: 0B0B9001C894367D4297E8EEC87D
> (LoggerListener.java [tomcat-http-2])
> * WARN  2016-07-16 10:22:31,888 Authentication event
> SessionFixationProtectionEvent: randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@166c8:
> RemoteIpAddress: 10.0.3.2; SessionId: 0B0B9001C894367D4297E8EEC87D
> (LoggerListener.java [tomcat-http-2])
> * WARN  2016-07-16 10:22:31,888 Authentication event
> InteractiveAuthenticationSuccessEvent: randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@166c8:
> RemoteIpAddress: 10.0.3.2; SessionId: 0B0B9001C894367D4297E8EEC87D
> (LoggerListener.java [tomcat-http-2])
> * INFO  2016-07-16 10:22:32,199 'randy' update
> org.hisp.dhis.user.UserCredentials, name: Randy Wilson, uid: Wqd844HmPt5
> (AuditLogUtil.java [tomcat-http-2])
> * WARN  2016-07-16 10:22:37,404 Authentication event
> AuthenticationSuccessEvent:randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@4c9c:
> RemoteIpAddress: 10.0.3.2; SessionId: F1CF7C76C0C4359EBB9759A9295D3AC3
> (LoggerListener.java [tomcat-http-1])
> * WARN  2016-07-16 10:22:37,405 Authentication event
> SessionFixationProtectionEvent: randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@4c9c:
> RemoteIpAddress: 10.0.3.2; SessionId: F1CF7C76C0C4359EBB9759A9295D3AC3
> (LoggerListener.java [tomcat-http-1])
> * WARN  2016-07-16 10:22:37,405 Authentication event
> InteractiveAuthenticationSuccessEvent: randy; details:
> org.springframework.security.web.authentication.WebAuthenticationDetails@4c9c:
> RemoteIpAddress: 10.0.3.2; SessionId: F1CF7C76C0C4359EBB9759A9295D3AC3
> (LoggerListener.java [tomcat-http-1])
> * INFO  2016-07-16 10:22:37,413 'randy' update
> org.hisp.dhis.user.UserCredentials, name: Randy Wilson, uid: Wqd844HmPt5
> (AuditLogUtil.java [tomcat-http-1])
>
>
> any hint?
>
> 10.0.3.2 is our proxy server (nginx)
>
>
> Thanks
>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Program indicators - nested d2:condition()?

2016-07-08 Thread Alex Tumwesigye
Dear Olav,

Good. Let me know if it works.

Alex

On Fri, Jul 8, 2016 at 2:47 PM, Olav Poppe <olav.po...@me.com> wrote:

> BTW, I see now that my initial formula was completely messed up, but the
> bug is still there…
>
> Olav
>
>
>
>
> 8. jul. 2016 kl. 13.43 skrev Olav Poppe <olav.po...@me.com>:
>
> Thanks Alex, after a bit more digging I think I’ve identified a bug in
> d2:condition which might be causing this by messing up the quotes in the
> SQL that is generated (I might still need the brackets though):
>
> This simple d2:condition():
> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'MONTHS', true, false)
>
> Is translated into this SQL:
> select count(distinct psi) as value,"yearly" from
> analytics_event_2016_jo4aktbheqq where Yearly in ('2016') and (uidlevel1 =
> 'M4nRM5O3mH8' ) and (case when *(FlzVuMSdC2F" = 'MONTHS)* then true else
> false end) group by "yearly" limit 21
>
> Which
> 1) is missing a " before FlzVuMSdC2F, AND
> 2) has stripped off the ‘ after MONTHS
>
> I’ll report it as a bug.
>
> Regards
> Olav
>
>
>
>
>
>
>
>
> 8. jul. 2016 kl. 13.07 skrev Alex Tumwesigye <atumwesi...@gmail.com>:
>
> Olav,
>
> I have not tried it, how about using brackets? e.g
> d2:condition(x1,(d2:condition(x2,(d2:condition(x3,x3true,x3false),x2false),x1false)
>
> I am not sure if the brackets are supported but it will keep it in the
> same format.
>
> Alex
>
> On Fri, Jul 8, 2016 at 1:55 PM, Olav Poppe <olav.po...@me.com> wrote:
>
>> Hi devs,
>> I’m trying to set up a program indicator that counts events within age
>> groups. Age is collected with two different methods:
>> - Date of birth and date of death
>> - Estimated age (when DoB is not available), using one «periodtype» field
>> and one «period count» field, e.g. 4 and Months in two different data
>> elements.
>>
>> Based on this, I wanted to calculated a few indicators, including «age in
>> years» for individual events, and counting number of events by age groups
>> (0-4 years etc). I figured I could do this by having multiple
>> d2:condition() functions (see below), but that gives «Illegal arguments,
>> expected 3 arguments: condition, true-value, false-value». Can someone
>> confirm whether or not nesting d2:condition() is supported or not, and
>> advice on alternative approaches?
>>
>> Regards
>> Olav
>>
>>
>> d2:condition(#{wmSb9TmevMn.UoL9vGPT0qF} is not null,
>> d2:daysBetween(#{wmSb9TmevMn.UoL9vGPT0qF},V{execution_date}) < 1825,
>> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'YEARS',
>> #{wmSb9TmevMn.Zp1elSUYpwI} < 5,
>> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'MONTHS',
>> #{wmSb9TmevMn.Zp1elSUYpwI} < 60
>> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'WEEKS',
>>  #{wmSb9TmevMn.Zp1elSUYpwI} < 260,
>>  d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'DAYS',
>>  #{wmSb9TmevMn.Zp1elSUYpwI} < 1825,
>>  d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} ==
>> 'DAYS',
>>  #{wmSb9TmevMn.Zp1elSUYpwI} < 43800,
>>  false)
>>  )
>>   )
>>  )
>> )
>> )
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET  | HISP Uganda
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information Systems
> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>
>
> ___
> 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
>
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Program indicators - nested d2:condition()?

2016-07-08 Thread Alex Tumwesigye
Olav,

I have not tried it, how about using brackets? e.g
d2:condition(x1,(d2:condition(x2,(d2:condition(x3,x3true,x3false),x2false),x1false)

I am not sure if the brackets are supported but it will keep it in the same
format.

Alex

On Fri, Jul 8, 2016 at 1:55 PM, Olav Poppe <olav.po...@me.com> wrote:

> Hi devs,
> I’m trying to set up a program indicator that counts events within age
> groups. Age is collected with two different methods:
> - Date of birth and date of death
> - Estimated age (when DoB is not available), using one «periodtype» field
> and one «period count» field, e.g. 4 and Months in two different data
> elements.
>
> Based on this, I wanted to calculated a few indicators, including «age in
> years» for individual events, and counting number of events by age groups
> (0-4 years etc). I figured I could do this by having multiple
> d2:condition() functions (see below), but that gives «Illegal arguments,
> expected 3 arguments: condition, true-value, false-value». Can someone
> confirm whether or not nesting d2:condition() is supported or not, and
> advice on alternative approaches?
>
> Regards
> Olav
>
>
> d2:condition(#{wmSb9TmevMn.UoL9vGPT0qF} is not null,
> d2:daysBetween(#{wmSb9TmevMn.UoL9vGPT0qF},V{execution_date}) < 1825,
> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'YEARS',
> #{wmSb9TmevMn.Zp1elSUYpwI} < 5,
> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'MONTHS',
> #{wmSb9TmevMn.Zp1elSUYpwI} < 60
> d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'WEEKS',
>  #{wmSb9TmevMn.Zp1elSUYpwI} < 260,
>  d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'DAYS',
>  #{wmSb9TmevMn.Zp1elSUYpwI} < 1825,
>  d2:condition(#{wmSb9TmevMn.FlzVuMSdC2F} == 'DAYS',
>  #{wmSb9TmevMn.Zp1elSUYpwI} < 43800,
>  false)
>  )
>   )
>  )
> )
> )
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] dhis version 2.24 is released

2016-07-05 Thread Alex Tumwesigye
Dear Lars,

Please add the WHO RMNCH Tracker program to the standard user role for
admin account. It will not be visible in the Tracker capture for demo
purposes.
I had to create my own user role with access to that program to see the
system generated identifiers.

Thanks.

Alex

On Tue, Jul 5, 2016 at 2:16 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Thanks Lars and Dev Team.
>
> Looking forward to test the data predictors!!
>
> Alex
>
> On Tue, Jul 5, 2016 at 12:27 PM, Elmarie Claasen <elma...@hisp.org> wrote:
>
>> HI all,
>>
>>
>>
>> This looks exciting.
>>
>> Lars, can I ask if the reporting rates based on opening and closing dates
>> is also permeated to respect opening and closing dates in other features
>> within DHIS2 e.g. if you select a orgunitgroup as a denominator in an
>> indicator does it only use open facilities for the period in the
>> calculation? If not how do we add this?
>>
>>
>>
>> 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.
>>
>>
>>
>> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+elmarie=
>> hisp@lists.launchpad.net] *On Behalf Of *Seth Okeyo
>> *Sent:* 04 July 2016 11:08 PM
>> *To:* Lars Helge Øverland; DHIS 2 Developers list; DHIS 2 Users list
>> *Subject:* Re: [Dhis2-devs] [Dhis2-users] dhis version 2.24 is released
>>
>>
>>
>> This is great!
>>
>>
>>
>>
>>
>> Sent from Samsung Mobile
>>
>>
>>
>>  Original message 
>>
>> From: Lars Helge Øverland
>>
>> Date:04/07/2016 11:34 PM (GMT+03:00)
>>
>> To: DHIS 2 Developers list , DHIS 2 Users list
>>
>> Subject: [Dhis2-users] dhis version 2.24 is released
>>
>>
>>
>> Hi all,
>>
>>
>>
>> DHIS version 2.24 is out with a lot of improvements and new features.
>>
>>
>>
>> *Log in with admin/district on the **demo* <http://play.dhis2.org/demo/>*
>> system.*
>>
>>
>>
>>
>>
>> ANALYTICS FEATURES
>>
>> ---
>>
>>
>>
>> *GIS layers for elevation, population density and nighttime lights*:
>> DHIS 2 now supports map layers from Google Earth Engine
>> <https://earthengine.google.com/>, which includes more than thirty years
>> of historical imagery and scientific datasets, updated and expanded daily.
>> So far we support three datasets, but more layers will be added in the
>> months to come. You find the Earth Engine layers in the top menu, next to
>> the boundary layers. The *elevation* layer can be used to visualise the
>> risk of Mosquito-borne disease. Select a color scale, minimum and maximum
>> elevation, and the number of steps to divide your range in. The same
>> options are available for the *population* and *nighttime lights*
>> layers, which is also an indicator of where people live.
>>
>>
>>
>> Screenshot 1 <https://www.dhis2.org/images/224/gis-ee-elevation.png> | 2
>> <https://www.dhis2.org/images/224/gis-ee-population-fic.png> | 3
>> <https://www.dhis2.org/images/224/dashboard-gis-ee.png> | 4
>> <https://www.dhis2.org/images/224/gis-ee-elevation-malaria.png> | Demo 1
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=rumxQc94V2p>
>> | 2
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=msMkiByWGeM>
>> | 3
>> <https://play.dhis2.org/demo/dhis-web-mapping/index.html?id=AHWtSmx21sx>
>> | Docs
>> <http://dhis2.github.io/dhis2-docs/master/en/user/html/ch14s08.html>
>>
>>
>>
>> *Place search in GIS: *You can now search for places and regions on the
>> GIS app. Click on the magnifier icon and type the name of the pl

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

2016-07-05 Thread Alex Tumwesigye
nd more.
> We will provide a UI for this and more info in version 2.25.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s73.html>
>
>
>
> *Program messages:* The Web API now features a new concept for program
> messages, which allows you to send messages to tracked entity instances,
> emails and SMS. This can be useful e.g. in order to send reminders about
> upcoming visits and notifications for awareness programs to people.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s46.html>
>
>
>
>
>
> RELEASE INFO
>
> 
>
>
>
> You can *download* Live package, WAR file, sample data and source code
> here:
>
>
>
> https://www.dhis2.org/downloads
>
>
>
> You will find *documentation* and Javadocs here:
>
>
>
> https://www.dhis2.org/documentation
>
>
>
> You can read the *upgrade notes* and find upgrade script here:
>
>
>
> https://www.dhis2.org/224-upgrade
>
>
>
> The *demo* application can be found here:
>
>
>
> https://play.dhis2.org/demo
>
>
>
> Full list of features can be found at the *Launchpad* page:
>
>
>
> https://launchpad.net/dhis2/+milestone/2.24
>
>
>
> Instructions for signing up for the DHIS 2 *mailing lists* here:
>
>
>
> https://www.dhis2.org/contact
>
>
>
>
>
> TESTIMONIALS
>
> ---
>
>
>
> A big thanks goes to MSF <http://www.msf.org/> and Thoughtworks
> <https://www.thoughtworks.com/> for contribution to this release.
>
>
>
>
>
>
> Enjoy the new features.
>
>
>
> best regards,
>
>
>
>
>
> the DHIS 2 development team
>
>
>
>
>
>
>
>
>
> --
>
> Lars Helge Øverland
>
> Lead developer, DHIS 2
>
> University of Oslo
>
> Skype: larshelgeoverland
>
> l...@dhis2.org
>
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1595272] [NEW] DHIS2 sms tracker Re-import

2016-07-02 Thread Alex Tumwesigye
Dear Zubair,

This has been reported many times and can be solved by turning on the
setting "user can assign thier own objects" in the settings app

Alex

On Wednesday, June 29, 2016, isidoreadje <isidorea...@yahoo.fr> wrote:

> Hi Zubair Asghar
> Thanks for answering;
> I just want to precise that I have already registered all SMS sender users
> and associated their phone  numbers  into the  system (DHIS 2) but the
> status "FAILED/UNHANDLED/INCOMING" and "Re-import" still remain. I also
> restarted several times DHIS 2 instance but nothing has been done.
> So could Anyone give me another method please?
>
> Bellow the error attachment file
>
> Thanks
>
> ** Attachment added: "DHIS2 sms.JPG"
>
> https://bugs.launchpad.net/dhis2/+bug/1595272/+attachment/4692474/+files/DHIS2%20sms.JPG
>
> --
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1595272
>
> Title:
>   DHIS2 sms tracker Re-import
>
> Status in DHIS:
>   New
>
> Bug description:
>
>   Hi
>   I’m using dhis 2 mobile configuration sms command to fill my tracker
> program form (Tracker capture with registration). But after sending the
> message into the system, I realized that I must click on the “Re-import”
> button before getting the message into dhis 2 tracker dashboard.
>   So what can I do to get my sms be imported automatically. Or what can I
> do to see automatically the tracker message that has been sent into the
> system via sms on my tracker dashboard without clicking on the “Re-import
> button”.
>
>   Please any help
>   Best Regard
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1595272/+subscriptions
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net <javascript:;>
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Bugs in DHIS new importer.

2016-06-24 Thread Alex Tumwesigye
Dear Morten,

Yes, I have the same issues but I wanted to clearly document them as a bug.
This happens when you extract the program metadata and then try to import
it to an existing similar program (same uid but in production).
The following fails to be imported correctly
 - Option values are not imported in process
 - message reminder templates are not imported
 - programTrackedEntityAttributes are not imported (seems they are imported
before attributes or viceversa, need to confirm this)
 - data entry stage custom forms are not imported

Will document well and submit the bug (after testing against the new
release).

Thanks.

Alex

On Fri, Jun 24, 2016 at 2:32 PM, Morten Olav Hansen <mor...@dhis2.org>
wrote:

> Hi
>
> I will try and look into these issues, please be aware that I have done a
> lot of fixes to the importer in the last 2 days, so if this is from before
> that.. probably you need to re-test.
>
> Will go over them on Monday and see what can be fixed for release.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Jun 23, 2016 at 7:28 PM, Nalinikanth Meesala <
> nali...@thoughtworks.com> wrote:
>
>> Hi Lars & Morten,
>>
>> I am working for MSF-OCA project from ThoughtWorks. As you are aware that
>> we are building a metadata synchronisation. We had a bug bash recently and
>> below are the bugs we found in new importer. We did the bug bash on trunk.
>>
>> I am attaching a file with payloads and logs which might help you.
>>
>>
>> - Sharing settings will sync only if you change any metadata of that
>> particular element along with change in sharing settings.
>>
>> - When we create Custom attributes and make them mandatory and assign to
>> a data set (for example) and sync them to local instance, we get a run time
>> exception stating that attribute for dataset not given any value. This is
>> because even if it is mandatory we are not changing the dataset to set the
>> value to attribute.
>>
>> - Data set - when updated with a data approval workflow - does not sync
>> to local. Everything syncs and association is not syncing
>>
>> - when we updated the existing program with adding combination of
>> categories and synched.
>>
>> - while updating attributes in the program with registration.
>> * ERROR 2016-06-21 21:23:24,325 ERROR: duplicate key value violates
>> unique constraint ""programtrackedentityattribute_unique_key""
>>   Detail: Key (programid, trackedentityattributeid)=(255, 240) already
>> exists. (SqlExceptionHelper.java [taskScheduler-6])
>> * ERROR 2016-06-21 21:23:24,385 Exception occurred while trying to import
>> the metadata. could not execute statement (MetadataImportHandler.java
>> [taskScheduler-6])
>> org.hibernate.exception.ConstraintViolationException: could not execute
>> statement at
>> org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:112)"Error
>> on Edit Program Stage page. Press cancel and exception is thrown. Analytics
>> Export Error. Process failed. null.
>>
>> - Charts, pivot tables, Report Table/ Pivot Table, Event Report, Event
>> Chart, Validation Rule
>> Metadata Sync failed for the above metadata With the below runtime
>> exception.
>> --- Exception occurred while trying to import the metadata. object
>> references an unsaved transient instance - save the transient instance
>> before flushing: org.hisp.dhis.dataelement.DataElement
>> (MetadataSyncTask.java [taskScheduler-9])
>>
>>
>> - Admin user when added to dashboard item is not syncing with metadat
>> sync.
>>
>> - When deleted a legend at HQ and synced to local. The legend at Local
>> also is deleted on UI (exists in DB). Also, legend is getting duplicated
>> with a different UID in DB.
>>
>> - Metadata Filter (Import-Export --> Metadata Detailed Export)
>> modification to properties like name, description is successfully synced
>> but the selection is not synced, the payload also have the details of the
>> updated data when synced.
>>
>> - custom forms are synced properly when created, but while Updation of
>> custom form not reflecting on UI. However, payload has the full information
>> of updates.
>>
>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Nalinikanth M
>> Quality Analyst
>> Email nali...@thoughtworks.com
>> Telephone +91 9052234588 <+91+9052234588>
>> [image: ThoughtWorks]
>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-sig

[Dhis2-devs] [Bug 1595101] [NEW] Event Capture App displays incident date less by one (1) in the UI

2016-06-22 Thread Alex Tumwesigye
Public bug reported:

Event Capture App displays incident date less by one (1) in the UI.
For example, if the real incident date is 2016-06-22, then the event Capture 
App displays it as 2016-06-21. 

The Web API for events displays the correct eventDate and created dates.

This affects 2.23 build rev:23015 and above.

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.23 2.24 capture events

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1595101

Title:
  Event Capture App displays incident date less by one (1) in the UI

Status in DHIS:
  New

Bug description:
  Event Capture App displays incident date less by one (1) in the UI.
  For example, if the real incident date is 2016-06-22, then the event Capture 
App displays it as 2016-06-21. 

  The Web API for events displays the correct eventDate and created
  dates.

  This affects 2.23 build rev:23015 and above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1595101/+subscriptions

___
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] Missing Message Template reminders on Event Without Registration

2016-06-22 Thread Alex Tumwesigye
Hello Lars,

I am trying to configure message notifications for IDSR using user groups.
However, there is no message template reminders on the program of type
Event without registration.
Is this by design or a bug? I am configuring 2.23.

For IDSR, we need to trigger outbreak/epidemic alerts by SMS/email for new
events registered using custom message templates for different user groups.

Thanks.

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Tracker capture app not loading on dhis2.23

2016-06-17 Thread Alex Tumwesigye
Dear Ant/Adolphe,

There is a known issue which stops the upgrade to work well. It results in
the systemsSettings not loading.

The fix is to directly remove SMS_CONFIG row or any similar rows from the
systemsetting table by issuing
delete from systemsetting where name='SMS_CONFIG';

NB: Do the above query with care and first backup your SMS configurations
as they will be deleted.
You may need to crosscheck the Apps->Settings is loading well. Once it
loads, the app will load well.

Alex

On Fri, Jun 17, 2016 at 9:30 AM, Ant Snyman <a...@hisp.org> wrote:

> Dear Adolphe,
> We have the same issue and I have reported a bug - 1593574. The problem
> can be replicated in play.dhis2.org and Markus Bekken is aware of the
> issue and attending to it.
> Regards
> Ant
>
> On 16 June 2016 at 19:21, Kamugunga Adolphe <kaa...@gmail.com> wrote:
>
>> Dear all,
>>
>> I am upgrading my local instance on ubuntu 14.04LTS from dhis2.22 to
>> 2.23. The server seems to start correctly , i can use other apps  but when
>> i  tried to access tracker capture app it stops and doesn't show anything
>> up.
>>
>> Checking from Developer tools  here is what it displays this error
>> message from console:
>>
>> angular.js:35 Uncaught Error: [$injector:modulerr]
>> http://errors.angularjs.org/1.3.15/$injector/modulerr?p0=trackerCapture=
>> …divid23%2Fdhis-web-commons%2Fjavascripts%2Fangular%2Fangular.js%3A17%3A381)
>>
>> could you advise on what went wrong and how i can go about it?
>>
>>
>> *Adolphe Kamugunga*
>> *MIS Technical Advisor*
>> Mobile: +250 788 740 578
>> Email:kaa...@gmail.com
>> Skype: ka.adolphe
>>
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
>
> *Ant Snyman*
>
> *Cell: 0824910449*
>
> *Landline: 028 2713242*
>
>
> Health Information Systems Program - SA
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1591697] Re: Feedback and Sending Messages via api/messageConversations fails with Null Pointer

2016-06-16 Thread Alex Tumwesigye
Here is a quick fix. There is need for an SMS gateway to be set for all the 
conditions for sending messages/SMS to be true.
Just go to Mobile Configuration and add a fake generic http gateway (does not 
need to be real).
See line 47 of this file:
http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.23/view/head:/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/MessageSender.java

That is it.

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1591697

Title:
  Feedback and Sending Messages via api/messageConversations fails with
  Null Pointer

Status in DHIS:
  New

Bug description:
  Sending Feedback to Usergroups and Sending Messages via
  api/messageConversations fails with Null Pointer exception.

  For feedback, you can send messages/feedback to some user groups
  successfully but as you add more users to the user group, it then
  fails with the Null Pointer exception.

  For sending messages via the api/messageConversations fails for some user 
groups and completely for organisation Units.
  This is the json message template that is failing
  {
"subject": "Death Notification",
"text": "A patient has died",
"users": [
  {
"id": "pojd66hgayy"
  }
],
"userGroups": [
  {
"id": "Ynyw1MPeIJV"
  }
],
"organisationUnits": [
  {
"id": "BPZcHDS6OP0"
  },
  {
"id": "hDsNksdRJyK"
  }
]
  }

  Attached is the error log.
  This affects build 22991 version 2.23.

  I have checked users but nothing strange for users when added fails
  the process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1591697/+subscriptions

___
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] [Bug 1588797] Re: messageConversations api not sending email per user

2016-06-16 Thread Alex Tumwesigye
Dear Lars/ Mike,

I have found a quick fix. There is need for an SMS gateway to be set for
all the conditions for sending messages/SMS to be true.
Just go to Mobile Configuration and add a fake generic http gateway (does
not need to be real).
See line 47 of this file:
http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.23/view/head:/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/MessageSender.java

That is it.

Alex

On Mon, Jun 13, 2016 at 2:45 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

> Hi Lars,
>
>
> Thanks. I reported it. See https://bugs.launchpad.net/dhis2/+bug/1591697
>
> Thanks and looking forward to the fix as the IDSR notifications can not be
> tested.
>
> Alex
>
> On Mon, Jun 13, 2016 at 2:39 PM, Mike Nelushi <mikeevolut...@gmail.com>
> wrote:
>
>> Hi Lars,
>>
>> Where you able to look at this issue? I saw similar bug report*([Dhis2-devs]
>> [Bug 1591697] [NEW] Feedback and Sending Messages via
>> api/messageConversations fails with Null Pointer*
>> *). *
>>
>> Please advice,
>>
>> Regards,
>> Mike
>>
>> On Wed, Jun 8, 2016 at 10:41 PM, Mike Nelushi <mikeevolut...@gmail.com>
>> wrote:
>>
>>> Hi Lars,
>>>
>>> url: localhost:8080/dhis/api/messageConversations
>>> json: {"subject": subject, "text": message, "users": users}; //POST
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>> On Sun, Jun 5, 2016 at 9:02 PM, Lars Helge Øverland <l...@dhis2.org>
>>> wrote:
>>>
>>>> Okay thanks.
>>>>
>>>> Are you able to reproduce on demo?
>>>>
>>>> Can you post the exact URL and payload you used??
>>>> On Jun 5, 2016 1:01 PM, "Mike Nelushi" <mikeevolut...@gmail.com> wrote:
>>>>
>>>> Hi Lars,
>>>>
>>>> We are using 2.23(Build #101 (Jun 2, 2016 5:43:26 PM))
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sun, Jun 5, 2016 at 6:11 PM, Lars Helge Øverland <l...@dhis2.org>
>>>> wrote:
>>>>
>>>> > Which DHIS 2 version is this?
>>>> >
>>>> > Can you reproduce against the play demo instance?
>>>> >
>>>> > --
>>>> > You received this bug notification because you are subscribed to the
>>>> bug
>>>> > report.
>>>> > https://bugs.launchpad.net/bugs/1588797
>>>> >
>>>> > Title:
>>>> >   messageConversations api not sending email per user
>>>> >
>>>> > Status in DHIS:
>>>> >   New
>>>> >
>>>> > Bug description:
>>>> >   Hi All,
>>>> >
>>>> >   The messageConversations web-api is still a big issue because we
>>>> need
>>>> >   to send each user specific information to their e-mails.
>>>> >
>>>> >   1. Using  {"subject": subject, "text": message, "users": user}  json
>>>> >   object, the mail gets stored on DHIS2 mail and does not send it to
>>>> the
>>>> >   user e-mail.
>>>> >
>>>> >   LogUtil.java [http-apr-8080-exec-3])
>>>> >   * INFO  2016-05-29 14:14:52,484 Invoking message sender: $Proxy53
>>>> > (DefaultMessageService.java [http-apr-8080-exec-3])
>>>> >   * INFO  2016-05-29 14:14:52,529 Invoking message sender:
>>>> > SmsMessageSender (DefaultMessageService.java [http-apr-8080-exec-3])
>>>> >   * ERROR 2016-05-29 14:14:52,579 Unexpected error occurred invoking
>>>> async
>>>> > method 'public java.lang.String
>>>> >
>>>> org.hisp.dhis.message.EmailMessageSender.sendMessage(java.lang.String,java.lang.String,jav
>>>> >   a.lang.String,org.hisp.dhis.user.User,java.util.Set,boolean)'.
>>>> > (SimpleAsyncUncaughtExceptionHandler.java [taskScheduler-7])
>>>> >   org.hibernate.LazyInitializationException: failed to lazily
>>>> initialize a
>>>> > collection of role: org.hisp.dhis.user.User.organisationUnits, could
>>>> not
>>>> > initialize proxy - no Session
>>>> >   at
>>>> >
>>>> org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.jav

Re: [Dhis2-devs] [Bug 1588797] Re: messageConversations api not sending email per user

2016-06-13 Thread Alex Tumwesigye
(PersistentSet.java:156)
>>>   at
>>> org.hisp.dhis.common.IdentifiableObjectUtils.join(IdentifiableObjectUtils.java:76)
>>>   at
>>> org.hisp.dhis.user.User.getOrganisationUnitsName(User.java:288)
>>>   at
>>> org.hisp.dhis.message.EmailMessageSender.renderPlainContent(EmailMessageSender.java:188)
>>>   at
>>> org.hisp.dhis.message.EmailMessageSender.sendMessage(EmailMessageSender.java:115)
>>>   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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
>>>   at
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>>>   at
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>>>   at
>>> org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:108)
>>>   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:1142)
>>>   at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>   at java.lang.Thread.run(Thread.java:745)
>>>
>>>
>>>
>>>   2, Using {"subject": subject, "text": message, "users": users,
>>>   "organisationUnits": organisationUnits}, sends email to everyone in
>>>   the Orgunit and we want to send to individuals.
>>>
>>>   Please advice.
>>>
>>>   Regards,
>>>   Mike
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1588797/+subscriptions
>>>
>>> ___
>>> 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
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1591697] [NEW] Feedback and Sending Messages via api/messageConversations fails with Null Pointer

2016-06-12 Thread Alex Tumwesigye
Public bug reported:

Sending Feedback to Usergroups and Sending Messages via
api/messageConversations fails with Null Pointer exception.

For feedback, you can send messages/feedback to some user groups
successfully but as you add more users to the user group, it then fails
with the Null Pointer exception.

For sending messages via the api/messageConversations fails for some user 
groups and completely for organisation Units.
This is the json message template that is failing
{
  "subject": "Death Notification",
  "text": "A patient has died",
  "users": [
{
  "id": "pojd66hgayy"
}
  ],
  "userGroups": [
{
  "id": "Ynyw1MPeIJV"
}
  ],
  "organisationUnits": [
{
  "id": "BPZcHDS6OP0"
},
{
  "id": "hDsNksdRJyK"
}
  ]
}

Attached is the error log.
This affects build 22991 version 2.23.

I have checked users but nothing strange for users when added fails the
process.

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.23 feedback messaging webapi

** Attachment added: "This is the error log"
   
https://bugs.launchpad.net/bugs/1591697/+attachment/4682216/+files/smsfailed%20with%20userGroups%20and%20organisationUnits.txt

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1591697

Title:
  Feedback and Sending Messages via api/messageConversations fails with
  Null Pointer

Status in DHIS:
  New

Bug description:
  Sending Feedback to Usergroups and Sending Messages via
  api/messageConversations fails with Null Pointer exception.

  For feedback, you can send messages/feedback to some user groups
  successfully but as you add more users to the user group, it then
  fails with the Null Pointer exception.

  For sending messages via the api/messageConversations fails for some user 
groups and completely for organisation Units.
  This is the json message template that is failing
  {
"subject": "Death Notification",
"text": "A patient has died",
"users": [
  {
"id": "pojd66hgayy"
  }
],
"userGroups": [
  {
"id": "Ynyw1MPeIJV"
  }
],
"organisationUnits": [
  {
"id": "BPZcHDS6OP0"
  },
  {
"id": "hDsNksdRJyK"
  }
]
  }

  Attached is the error log.
  This affects build 22991 version 2.23.

  I have checked users but nothing strange for users when added fails
  the process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1591697/+subscriptions

___
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] [Bug 1589539] [NEW] Importing program tracked entity attributes fails on dimensionItem

2016-06-06 Thread Alex Tumwesigye
Public bug reported:


Importing program tracked entity attributes from 
url/api/programs/uid/metadata.json fails on dimensionItem with the error below.

Validation Violations: [ErrorReport{message=Maximum length of property
"id"is 11, but given length was 23., errorCode=E4001, mainKlass=class
org.hisp.dhis.program.ProgramTrackedEntityAttribute, errorKlass=class
java.lang.String, value=null}]

The dimensionItem value is ProgramUid.AttributeUid which makes a total
of 23 (2 x two uids + full stop).

This causes the program metadata import fail.

This affects 2.23.

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.23 import metadata programs

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1589539

Title:
  Importing program tracked entity attributes fails on dimensionItem

Status in DHIS:
  New

Bug description:
  
  Importing program tracked entity attributes from 
url/api/programs/uid/metadata.json fails on dimensionItem with the error below.

  Validation Violations: [ErrorReport{message=Maximum length of property
  "id"is 11, but given length was 23., errorCode=E4001, mainKlass=class
  org.hisp.dhis.program.ProgramTrackedEntityAttribute, errorKlass=class
  java.lang.String, value=null}]

  The dimensionItem value is ProgramUid.AttributeUid which makes a total
  of 23 (2 x two uids + full stop).

  This causes the program metadata import fail.

  This affects 2.23.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1589539/+subscriptions

___
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] ouwt Tree

2016-06-03 Thread Alex Tumwesigye
Dear Morten,

Thanks for giving us a pointer to the d2-ui library. I have been facing the
same challenge while doing the scorecard application. idsr custom apps.

Thanks.

Alex

On Fri, Jun 3, 2016 at 6:50 AM, Morten Olav Hansen <mor...@dhis2.org> wrote:

> Hi Eric
>
> Have you had a look at our d2-ui library? the ouwt widget is kinda flaky,
> and should probably not be used in new applications if you don't have to..
>
> We have a new tree widget from 2.23 I believe it is, Mark can fill you in
> on the details
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Jun 3, 2016 at 10:47 AM, eric mourin <ericmou...@hotmail.com>
> wrote:
>
>> Hi again,
>>
>> Sorry for the rapid succession of mails but I wanted to report a bug with
>> the multiple selection on the tree where
>>
>> the orgUnits are not removed correctly when multiple selection is set to
>> true, around line 530:
>>
>> "dhis2.array.remove(selected, idx, idx);" is not working and could be
>> replaced by "selected.splice(idx, 1);"
>>
>> I attached a file with the changes on ouwt.js in case you are interested
>>
>> Cheers!
>>
>> Eric
>> --
>> From: ericmou...@hotmail.com
>> To: dhis2-devs@lists.launchpad.net
>> Subject: ouwt Tree
>> Date: Fri, 3 Jun 2016 04:53:34 +0200
>>
>>
>> Hi devs,
>>
>> I've been working to have the orgUnit tree working on a custom app, but
>> I've seen that on the first line of code that the dhis2
>> base URL is defined as:
>>
>> var dhis2BaseUrl = "..";
>>
>> Could this be changed to var dhis2BaseUrl = dhis2.settings.baseUrl; ?
>>
>> Right now I have to change the code of the ouwt.js file if I want the
>> images to load correctly and with every dhis2 update it
>> would need maintenance to keep it working correctly,  using that
>> variable I believe that everything should work correctly and
>> it would be available to any user using the code snippet provided in the
>> documentation:
>>
>> 
>> window.dhis2 = window.dhis2 || {};
>> dhis2.settings = dhis2.settings || {};
>> dhis2.settings.baseUrl = '';
>> 
>>
>> Something similar happens with the "treeview-gray-line.gif", but I
>> couldn't find where this image is requested as it seems to  use another
>> baseUrl.
>>
>> I'm looking forward to hearing from you
>>
>> Have a nice day
>>
>> Eric
>>
>> ___
>> 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
>>
>>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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 Deleting TEI with WebAPI in 2.22

2016-05-06 Thread Alex Tumwesigye
Dear Sam,

Please specify  trackedEntity in your json.

Alex

On Fri, May 6, 2016 at 5:49 PM, Sam Kasozi <kaso...@gmail.com> wrote:

> I want to delete a TEI in 2.22 with the following details
> (trackedEntity="XV3kldsZq0H" & trackedEntityInstance="an1MP0brTkC") using
>
> curl -X POST -d "{\"trackedEntityInstances\":
> [{\"trackedEntityInstance\":\"an1MP0brTkC\"}]}" -H "Content-Type:
> application/json" -u sam:*** "https:// ...
> /api/trackedEntityInstances?importStrategy=DELETE"
>
> However it returns the following Error message:
>
> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An
> error occurred, please check import summary.",
>
> "response":{"responseType":"ImportSummary","status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},
> "conflicts":[{"object":"TrackedEntityInstance.trackedEntity","value":"Missing
> required property trackedEntity"}]}
>
> Is something wrong in the Json syntax?
>
> Regards,
>
> Sam Kasozi
> +256 788 993565 | Skype: sam.kasoziug
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] dhis version 2.23 is released

2016-04-25 Thread Alex Tumwesigye
Great stuff Dev Team.

Alex

On Mon, Apr 25, 2016 at 4:05 PM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Lars,
>
> Thanks - it is downloading
>
> One initial question re GIS area calculations: what projection is used for
> the calculation?
>
> regards
> calle
>
> On 25 April 2016 at 14:53, Lars Helge Øverland <l...@dhis2.org> wrote:
>
>>
>>
>> On Mon, Apr 25, 2016 at 2:39 PM, Calle Hedberg <calle.hedb...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Good stuff - will go through it in more detail, but please note that
>>> trying to download the 2.23 demo database gives an error (file not found).
>>>
>>> regards
>>> Calle
>>>
>>
>>
>> Right - fixed now.
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> *******
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET  | HISP Uganda
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] DELETING FACILITIES WITH DATA FROM THE DHIS

2016-04-13 Thread Alex Tumwesigye
Dear Mohamed,

Untag them from datasets. They will not affect your reporting rates and
completeness.

If you delete them, you will be deleting historical data (which I think you
want).
How I have solved this problem in Uganda, I always tag them as closed or
Non functional using an organisation Unit Group Set.

Alex

On Wed, Apr 13, 2016 at 2:24 PM, Mohamed Bangura <mbang...@gmail.com> wrote:

> Hi all,
>
> We are currently trying to delete old facilities from our main server
> but nothing seems to be happening since these facilities already have
> data.Is there a way one can do this or disable the facilities as this
> is currently affecting the completeness of our data.
>
> I need your help please.
>
> ___
> 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
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Channara,

The issue is related to timezone and was fixed. Upgrade to at least 2.20 or
2.21 but you have to first remove the duplicate period.

Alex

On Thu, Apr 7, 2016 at 7:08 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Channara,
>
> It seems to me that the problem is that the _dateperiodstructure table
> has not been dropped (not sure why).
>
> Then when you try to regenerate it, it tries to insert the same values,
> starting from 1975-01-01 (which is the first row in the table)
>
> On Thu, Apr 7, 2016 at 6:01 PM, channara rin <rin.chann...@gmail.com>
> wrote:
>
>> dear Alex,
>> what you mean was fixed? i currently using:
>> Version:2.19Build revision:19251Build date:2015-07-01 02:04
>>
>> On Thu, Apr 7, 2016 at 10:46 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>> wrote:
>>
>>> Dear Channara,
>>>
>>> I think this bug was fixed.
>>> The date "1975-01-01" is duplicated.
>>> check your period table for any anomaly for that date.
>>>
>>> Alex
>>>
>>> On Thu, Apr 7, 2016 at 6:02 PM, channara rin <rin.chann...@gmail.com>
>>> wrote:
>>>
>>>> Dear friend,
>>>> when i run analytic, i always got error like below. how to fix this
>>>> problem?
>>>>
>>>> ==
>>>> Resource table process failed
>>>> Resource table process failed, please check the logs. Time:
>>>> 2016-04-07T21:45:16.145+07:00. Message: PreparedStatementCallback; SQL
>>>> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
>>>> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
>>>> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>>> unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
>>>> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>>> unique constraint "_dateperiodstructure_pkey"
>>>> Detail: Key (dateperiod)=(1975-01-01) already exists.
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>>>>
>>>> at
>>>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>>>>
>>>> at
>>>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>>>>
>>>> at
>>>> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>>>>
>>>> at
>>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>>>>
>>>> at
>>>> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>>>>
>>>> at
>>>> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>>>>
>>>> at sun.reflect.GeneratedMethodAccessor906.invoke(Unknown Source)
>>>>
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>
>>>> at java.lang.reflect.Method.invoke(Unknown Sourc

Re: [Dhis2-devs] [Dhis2-users] Resource Table error

2016-04-07 Thread Alex Tumwesigye
Dear Channara,

I think this bug was fixed.
The date "1975-01-01" is duplicated.
check your period table for any anomaly for that date.

Alex

On Thu, Apr 7, 2016 at 6:02 PM, channara rin <rin.chann...@gmail.com> wrote:

> Dear friend,
> when i run analytic, i always got error like below. how to fix this
> problem?
>
> ==
> Resource table process failed
> Resource table process failed, please check the logs. Time:
> 2016-04-07T21:45:16.145+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception is
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>
> at
> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>
> at
> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>
> at
> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>
> at
> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>
> at sun.reflect.GeneratedMethodAccessor906.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
>
> at com.sun.proxy.$Proxy262.generateDatePeriodTable(Unknown Source)
>
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
>
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
>
> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
>
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
>
> at
> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
>
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
>
> at java.util.concurrent.FutureTask.run(Unknown Source)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
> Source)
>
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>
> at java.lang.Thread.run(Unknown Source)
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Co

Re: [Dhis2-devs] [Dhis2-users] resource table process failed

2016-03-30 Thread Alex Tumwesigye
Dear Channara,

This date is '1975-01-01' duplicated in your period table.
Look out for the same date from the period table with wrong (or mutliple)
periodTypeId e.g 1975-01-01 as startdate and 1975-01-01 as enddate with
periodTypeId of 3 (yet 3 is monthly).

Alex

On Wed, Mar 30, 2016 at 11:07 AM, channara rin <rin.chann...@gmail.com>
wrote:

> Dear all,
> I got this error in console. Could you help me how to fix this problem?
>
> Thank you
> Channara
>
> ::Console
> > Resource table process failed, please check the logs. Time:
> 2016-03-30T07:30:17.405+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> > Detail: Key (dateperiod)=(1975-01-01) already exists.
> > at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
> QueryExecutorImpl.java:2198)
> > at org.postgresql.core.v3.QueryExecutorImpl.processResults(
> QueryExecutorImpl.java:1927)
> > at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(
> QueryExecutorImpl.java:1130)
> > at org.postgresql.core.v3.QueryExecutorImpl.execute(
> QueryExecutorImpl.java:396)
> > at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(
> AbstractJdbc2Statement.java:2892)
> > at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(
> NewProxyPreparedStatement.java:1723)
> > at org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(
> JdbcTemplate.java:1005)
> > at org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(
> JdbcTemplate.java:989)
> > at org.springframework.jdbc.core.JdbcTemplate.execute(
> JdbcTemplate.java:644)
> > at org.springframework.jdbc.core.JdbcTemplate.execute(
> JdbcTemplate.java:673)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:989)
> > at org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(
> BatchUpdateUtils.java:32)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:1039)
> > at org.springframework.jdbc.core.JdbcTemplate.batchUpdate(
> JdbcTemplate.java:1034)
> > at org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(
> JdbcResourceTableStore.java:101)
> > at org.hisp.dhis.resourcetable.DefaultResourceTableService.
> generateDatePeriodTable(DefaultResourceTableService.java:456)
> > at sun.reflect.GeneratedMethodAccessor903.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:317)
> > at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:201)
> > at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
> > at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.
> generateAll(ResourceTableTask.java:121)
> > at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.
> run(ResourceTableTask.java:85)
> > at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
> > at org.springframework.scheduling.support.DelegatingErrorHandlingRunnabl
> e.run(DelegatingErrorHandlingRunnable.java:54)
> > at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(
> ReschedulingRunnable.java:81)
> > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> > at java.util.concurrent.FutureTask.run(Unknown Source)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$201(Unknown Source)
> > at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> > at java.lang.Thread.run(Unknown Source)
> >
> >
> >
>
> ___
> 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
>
>


-- 
Alex Tumwes

[Dhis2-devs] [Bug 1560104] [NEW] Including both incident and enrollment date in custom form in tracker capture gives error

2016-03-21 Thread Alex Tumwesigye
Public bug reported:

Including both incident and enrollment date in custom form in tracker
capture gives an error below in the console.

angular.js:102 SyntaxError: Unexpected token )
at zf 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:106:167)
at ib.identifier 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:193:204)
at ib.fieldAccess 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:198:6)
at ib.primary 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:191:78)
at ib.unary 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:478)
at ib.multiplicative 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:205)
at ib.additive 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:63)
at ib.relational 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:435)
at ib.equality 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:291)
at ib.logicalAND 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:167) 
(anonymous function) @ angular.js:102


The above changes the incident date field into a dropdown if specified before 
the enrollmentDate.
If the incidentDate is inserted after enrollmentDate, it duplicates the 
enrollmentDate.

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.22

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1560104

Title:
  Including both incident and enrollment date in custom form in tracker
  capture gives error

Status in DHIS:
  New

Bug description:
  Including both incident and enrollment date in custom form in tracker
  capture gives an error below in the console.

  angular.js:102 SyntaxError: Unexpected token )
  at zf 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:106:167)
  at ib.identifier 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:193:204)
  at ib.fieldAccess 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:198:6)
  at ib.primary 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:191:78)
  at ib.unary 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:478)
  at ib.multiplicative 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:205)
  at ib.additive 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:197:63)
  at ib.relational 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:435)
  at ib.equality 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:291)
  at ib.logicalAND 
(https://idsr/idsr/dhis-web-commons/javascripts/angular/angular.js:196:167) 
(anonymous function) @ angular.js:102

  
  The above changes the incident date field into a dropdown if specified before 
the enrollmentDate.
  If the incidentDate is inserted after enrollmentDate, it duplicates the 
enrollmentDate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1560104/+subscriptions

___
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] Scripting in Custom forms for Tracker Capture

2016-03-21 Thread Alex Tumwesigye
Dear Sam,

The  custom forms are working well with my IDSR instance. I recently
upgraded from individual records to Tracker capture and everything works
well.

You need to think 'AngularJS' not JQuery/JavaScript otherwise the
developers enabled it.

Alex

On Mon, Mar 21, 2016 at 1:36 PM, Sam Kasozi <kaso...@gmail.com> wrote:

> Dear developers,
>
> JavaScript that used to work in the custom form with Individual Records
> fails to work in the Tracker capture. I have been wondering if the
> environment has been enabled for Tracker capture with different syntax
> convention as it is with the aggregate custom forms. And also whether there
> is documentation to refer too.
>
> http://dhis2.github.io/dhis2-docs/2.22/en/user/html/ch06s02.html#d5e1369
>
> regards,
>
> Sam Kasozi
> +256 788-993-565
> Skype: sam.kasoziug
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] See Data elements/indicators authority dropped in 2.22

2016-03-16 Thread Alex Tumwesigye
Dear Team,

Same for me for all instances running on 2.22. You need the 'ALL' to see
the module.

Alex

On Wed, Mar 16, 2016 at 3:26 AM, Juan Manuel Alcantara Acosta <
jmalcanta...@gmail.com> wrote:

> Hello Team
> We also noticed this in the Latam academy. The users had the suoeradmin
> role from the demo database and could not see the data elements and
> indicators module, we had to add “ALL” to the role. Is there a fix coming?
> Best regards,
> JM
>
>
> El 11/03/2016, a las 1:48 p.m., Prosper BT <ptb3...@gmail.com> escribió:
>
> Dear Team,
>
> Seems the see Data elements/indicators authority was dropped in 2.22 and
> now only roles with "All" are the only one that can see this app.
>
> Is this a bug or the name was changed
>
> Regards
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
> prospertb
> ___
> 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
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Alex Tumwesigye
org/sendsms.php?UserName=MyUser=**=MyUser=%2B467=DHIS%3A+No+command+found
> PasserelleGSM (SimplisticHttpGetGateWay.java [Thread-26])
> * ERROR 2016-02-02 20:07:25,680 Batch update returned unexpected row count
> from update [0]; actual row count: 0; expected: 1; nested exception is
> org.hibernate.StaleStateException: Batch update returned unexpected row
> count from update [0]; actual row count: 0; expected: 1 (SmsPublisher.java
> [Thread-26])
> * INFO  2016-02-02 20:07:35,680 Received SMS: SMS testing.
> (SmsPublisher.java [Thread-26])
>
>
> Sincerely,
>
> =
> EKANI Guy
>
>
>
>
>
>
>
> Le Lundi 14 mars 2016 13h31, Zubair Asghar Raja <zub...@dhis2.org> a
> écrit :
>
>
> Hi Guy,
> I am responsible for SMS related stuff. Can you share the logs ?
>
> Regards
> Zubair
>
>
>
> On 14 Mar 2016, at 1:14 PM, "Lars Helge Øverland" <l...@dhis2.org> wrote:
>
> Thanks Guy. We will have a developer reach out to you.
>
> Since nobody have reported to be using the local SMS gateway modem, we
> will remove it for version 2.23.
>
> regards,
>
> Lars
>
>
> On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani <constyek...@yahoo.fr> wrote:
>
> Hello Lars,
>
> Thank's for information,
>
> We are trying to use SMS funtionnality with  a SMS gateway provided by an
> external operator (Genreric HTTP Gateway) with DHIS 2.21 Build revision:
> 20998
>
> But we have two problems :
> - The received SMS are not imported automatically,
> - When we manually import a received SMS, it's make a loop that send a
> thousand of SMS to a specific Phone number
>
> Please, could you help us to solve this issue that's drained our SMS
> Credit ?
>
> Sincerely
>
> =
> EKANI Guy
>
>
>
>
>
>
>
> Le Mardi 8 mars 2016 11h22, Lars Helge Øverland <l...@dhis2.org> a écrit :
>
>
> Hi all,
>
> we are rewriting much of the functionality for sending outgoing SMS in
> DHIS 2. In that regard we were wondering if anyone is using the current
> function for sending SMS using a local SMS modem / gateway?
>
> In production setups one should in any case use a network-based SMS
> gateway provided by an external operator (bulksms, clickatell).
>
> The library we use (smslib <http://smslib.org/>) is deprected as well. We
> were thinking to end support for local SMS modems in 2.23.
>
> regards,
>
> Lars
>
>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
> ___
> 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
> http://www.dhis2.org <https://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
>
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems -
DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant


"I don't want to be anything other than what I have been - one tree hill "
___
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] Error generating _periodstructure

2016-02-05 Thread Alex Tumwesigye
Dear Greg,

The issue is a result of the same date range (startdate - enddate) but
different periodTypes. Look for that.

Alex

On Fri, Feb 5, 2016 at 3:05 PM, Knut Staring <knu...@gmail.com> wrote:

> April 9 exists twice, it seems. Which version?
>
> On Fri, Feb 5, 2016 at 1:03 PM, Greg Rowles <greg.row...@gmail.com> wrote:
>
>> Hi Devs
>>
>> Our analytics process is failing with the following error:
>>
>> [image: Inline image 1]
>>
>> Any suggestions? This is a production DHIS2 instance which hasn't
>> refreshed analytics for 4 days. Please help...
>>
>> Kind Regards,
>> Greg
>>
>> --
>> *Health Information Systems Program - South Africa*
>> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
>> - *
>> Mobile  :073 246 2992
>> Landline:   021 851 2216
>> Skype:  gregory_rowles
>>
>> ___
>> 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
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Problem opening settings app after updating to 2.22

2016-01-24 Thread Alex Tumwesigye
Hi,

The SQL statement required is:

delete from systemsetting where name='SMS_CONFIG' or name='keySmsConfig';

Alex

On Mon, Jan 25, 2016 at 9:53 AM, Ola Hodne Titlestad <ol...@ifi.uio.no>
wrote:

> Hi,
>
> I just heard from Alex and Prosper in Uganda that this problem is caused
> by a change in the sms gateway configuration in 2.22, so most likely
> affects all instances that make use of this feature.
>
> Manually deleting the existing sms gateway configuration in the database
> before upgrading to 2.22 seems to do the trick.
>
> Alex, maybe you could add the sql statement here?
>
> Ola
> On 25 Jan 2016 07:38, "Elmarie Claasen" <elma...@hisp.org> wrote:
>
>> Hi Morten,
>>
>>
>>
>> Here is the log file from the error we got from starting up the instance
>> on 2.22 and going into Settings App.
>>
>> Hope this can assist to identify the error. We have no problem opening
>> settings in 2.19, 2.20 and 2.21 for the same instance.
>>
>>
>>
>> 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.
>>
>>
>>
>> *From:* Morten Olav Hansen [mailto:morte...@gmail.com]
>> *Sent:* 22 January 2016 06:11 AM
>> *To:* Alex Tumwesigye
>> *Cc:* Elmarie Claasen; bren...@hisp.org; DHIS 2 developers
>> *Subject:* Re: [Dhis2-devs] Problem opening settings app after updating
>> to 2.22
>>
>>
>>
>> Hi
>>
>>
>>
>> This seems to be linked to a wrong configuration in your database..
>>
>> http://pec.dhis.dhmis.org/staging/api/configuration [HTTP/1.1 500
>> Internal Server Error 503ms]
>>
>>
>>
>> There should have been a stack trace on the server side as part of this
>> 500 error, could you provide that? did you by any chance have SMS gateway
>> configured before you upgraded? (there have been some config errors linked
>> to this)
>>
>>
>> --
>> Morten
>>
>>
>>
>> On Thu, Jan 21, 2016 at 7:17 PM, Alex Tumwesigye <atumwesi...@gmail.com>
>> wrote:
>>
>> Dear Elmarie/Knut,
>>
>>
>>
>> We experienced the same. We (Prosper and I) have shared with Markus the
>> error.
>>
>>
>>
>> Alex
>>
>>
>>
>> On Thu, Jan 21, 2016 at 2:51 PM, Elmarie Claasen <elma...@hisp.org>
>> wrote:
>>
>> Hi Knut,
>>
>>
>>
>> Thanks, this seems to be the main error on the browser console – can you
>> assist with what the problem could be?
>>
>>
>>
>> Failed to load system settings: Object { readyState: 4,
>> getResponseHeader: .ajax/v.getResponseHeader(), getAllResponseHeaders:
>> .ajax/v.getAllResponseHeaders(), setRequestHeader:
>> .ajax/v.setRequestHeader(), overrideMimeType: .ajax/v.overrideMimeType(),
>> statusCode: .ajax/v.statusCode(), abort: .ajax/v.abort(), state:
>> .Deferred/d.state(), always: .Deferred/d.always(), promise:
>> .Deferred/d.promise(), 10 more… }
>>
>>
>>
>> The full browser console message is attached.
>>
>>
>>
>>
>>
>> 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

Re: [Dhis2-devs] Problem opening settings app after updating to 2.22

2016-01-24 Thread Alex Tumwesigye
Dear Elmarie,
Quick fix is to backup your SMS configuration settings. Then delete the
SMS_CONIFG or keySmsConfig row in the systemsettings table, restart the
instance and then restore your settings.


Alex

On Mon, Jan 25, 2016 at 9:38 AM, Elmarie Claasen <elma...@hisp.org> wrote:

> Hi Morten,
>
>
>
> Here is the log file from the error we got from starting up the instance
> on 2.22 and going into Settings App.
>
> Hope this can assist to identify the error. We have no problem opening
> settings in 2.19, 2.20 and 2.21 for the same instance.
>
>
>
> 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.
>
>
>
> *From:* Morten Olav Hansen [mailto:morte...@gmail.com]
> *Sent:* 22 January 2016 06:11 AM
> *To:* Alex Tumwesigye
> *Cc:* Elmarie Claasen; bren...@hisp.org; DHIS 2 developers
>
> *Subject:* Re: [Dhis2-devs] Problem opening settings app after updating
> to 2.22
>
>
>
> Hi
>
>
>
> This seems to be linked to a wrong configuration in your database..
>
> http://pec.dhis.dhmis.org/staging/api/configuration [HTTP/1.1 500
> Internal Server Error 503ms]
>
>
>
> There should have been a stack trace on the server side as part of this
> 500 error, could you provide that? did you by any chance have SMS gateway
> configured before you upgraded? (there have been some config errors linked
> to this)
>
>
> --
> Morten
>
>
>
> On Thu, Jan 21, 2016 at 7:17 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
> Dear Elmarie/Knut,
>
>
>
> We experienced the same. We (Prosper and I) have shared with Markus the
> error.
>
>
>
> Alex
>
>
>
> On Thu, Jan 21, 2016 at 2:51 PM, Elmarie Claasen <elma...@hisp.org> wrote:
>
> Hi Knut,
>
>
>
> Thanks, this seems to be the main error on the browser console – can you
> assist with what the problem could be?
>
>
>
> Failed to load system settings: Object { readyState: 4, getResponseHeader:
> .ajax/v.getResponseHeader(), getAllResponseHeaders:
> .ajax/v.getAllResponseHeaders(), setRequestHeader:
> .ajax/v.setRequestHeader(), overrideMimeType: .ajax/v.overrideMimeType(),
> statusCode: .ajax/v.statusCode(), abort: .ajax/v.abort(), state:
> .Deferred/d.state(), always: .Deferred/d.always(), promise:
> .Deferred/d.promise(), 10 more… }
>
>
>
> The full browser console message is attached.
>
>
>
>
>
> 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.
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* 21 January 2016 01:34 PM
> *To:* Elmarie Claasen
> *Cc:* DHIS 2 developers; bren...@hisp.org
> *Subject:* Re: [Dhis2-devs] Problem opening settings app after updating
> to 2.22
>
>
>
> Whenever the GUI seems to be hanging/spinning, it is helpful if you open
> the browser console and look for errors there.
>
>
>
> Knut
>
>
>
> On Thu, Jan 21, 2016 at 12:14 PM, Elmarie Claasen <elma...@hisp.org>
> wrote:
>
> Hi all,
>
>
>
> Please see the email below from our ICT specialist J
>
> Can you please assist with possible cause of this problem or is it a bug
> although I do see that the Settings page open on the SL Demo.
>
>
>
> Thanks
>

Re: [Dhis2-devs] Problem opening settings app after updating to 2.22

2016-01-21 Thread Alex Tumwesigye
 *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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.*
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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
>
>
>
>
>
> --
>
> Knut Staring
>
> Dept. of Informatics, University of Oslo
>
> Norway: +4791880522
>
> Skype: knutstar
>
> http://dhis2.org
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <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
> <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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] dhis version 2.22 is released

2016-01-17 Thread Alex Tumwesigye
or deleting data values
> is supported in order to make it easier to delete bulks of data.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
> | Screenshot
> <https://www.dhis2.org/images/222/data-value-delete-strategy.png>
>
>
>
> *Analytical object deletion handling:* Associations to pivots, charts and
> maps will be removed when deleting data elements, indicators, data sets and
> organisation units.
>
>
>
> Screenshot
> <https://www.dhis2.org/images/222/analytical-object-deletion-handling.png>
>
>
>
> *User replication authority:* The ability to replicate users can be
> granted through a new authority “Replicate user”.
>
>
>
> Screenshot <https://www.dhis2.org/images/222/user-replication.png>
>
>
>
>
> WEB API FEATURES
>
> --
>
>
>
> *ADX data export:* You can now export data in the ADX format natively
> using the *dataValueSets* Web API resource with content type
> *application/xml+adx*.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s14.html#d5e1781>
>
>
>
> *Dynamic identifier schemes:* For data imports you can now specify unique
> meta-data attributes as identifier schemes. This implies that DHIS 2 can be
> used to store any number of sets of identifiers and map data to those
> during import. This is useful when DHIS 2 is used to integrate data from a
> large number of systems and each have their own sets of identifiers.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> *SMS:* SMS can now be completely managed through the Web API, with new
> resources for sending and receiving SMS, starting and stopping the SMS
> service and configuration of SMS gateways. The system has now built-in
> support for five popular SMS gateway providers. The SMS services have been
> revamped and made more scalable.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s38.html>
>
>
>
> *App store:* The contents of the DHIS 2 app store is available at the
> *appStore* resource, which also allows you to install apps from the app
> store with a POST request.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s61.html>
>
>
>
> *Field filter operators:* A range of new field filter operators has been
> added, such as *^(like/ilike)* to match from start of string and
> *$(like/ilike)* to match from end.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s08.html>
>
>
>
> *Tracker bulk deletion:* Bulk deletion of events, enrollments and tracked
> entity instances are now supported through a new *delete* import strategy.
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s53.html>
>
>
>
> *Async data value import:* Data values can now be imported asynchronously
> through a new *async* parameter, meaning you can post a large import file
> and poll for the results rather than having the response block until the
> process is done.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> *Data pruning by org unit:* Data, complete data set registrations and
> approvals can be removed by organisation unit through the
> *maintenance/dataPruning* resource.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s34.html>
>
>
>
> *Typed user settings:* You can now set all user settings through the
> userSettings resource, including those of complex types.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s42.html>
>
>
>
> *Data value deletion:* Data values can now more easily be deleted through
> a new *delete* import strategy, which lets you indicate explicitly that
> the posted data values should be deleted.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s13.html#d5e1390>
>
>
>
> SERVER MANAGEMENT FEATURES
>
> --
>
>
>
> *System read-only mode:* You can now set the system to start in read-only
> mode which means that no database write-operations will be executed when
> the system starts and when people are loggging in. This is useful in order
> to run DHIS 2 on read-only database replicas for horizontal scaling
> purposes.
>
>
>
> Docs
> <http://dhis2.github.io/dhis2-docs/master/en/implementer/html/ch08s07.html>
>
>
>
> *General configuration file:* The DHIS 2 config

Re: [Dhis2-devs] [Dhis2-users] Changed CSV-Format for OrgUnits

2015-12-17 Thread Alex Tumwesigye
Dear Uwe,

See the documentation on github.
http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual_full.html#d4934e800

Alex



On Thu, Dec 17, 2015 at 8:23 AM, Uwe Wahser <u...@wahser.de> wrote:

> Dear all,
>
> according to a previous post on the users list there have obviously been
> changes
> in the CSV-format for importing OrgUnits. Some have been documented,
> others not
> (or might be bugs):
>
> - feature format seems to be mandatory now. I don't know whether that makes
> sense, if it does, please indicate that in the docs, too.
> - If you decide to change the docs on that, please also add a column with
> the
> technical names to be included in the header line of the csv - the names
> in the
> example differ from the names in the format specification. (or indicate,
> whether
> the header line is optional)
> - the import summary records a funny error message. Don't know whether
> it's new,
> but it seems to be wrong: Validation Violations:
> [ValidationViolation{property='id', message='Allowed range for length [11,
> 11],
> length is 7', value=NAIROBI}]
>
> I could have posted this as bug-report, but I wasn't sure, whether those
> are
> bugs or features ...
>
> Regards,
>
> Uwe
>
> ___
> 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
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1523879] [NEW] Generating system identifiers using the api limits itself to one (1)

2015-12-08 Thread Alex Tumwesigye
Public bug reported:

Generating system identifiers using the api limits itself to one (1)
when the api/system resource is used.

For example, the link below only generates one UID instead of 10.

https://play.dhis2.org/dev/api/system/id.json?n=10

This affects the versions below

Build: 20953
Verison:2.21

Build: 21367
Version: 2.22 -SNAPSHOT

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: api identifier system uid

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1523879

Title:
  Generating system identifiers using the api limits itself to one (1)

Status in DHIS:
  New

Bug description:
  Generating system identifiers using the api limits itself to one (1)
  when the api/system resource is used.

  For example, the link below only generates one UID instead of 10.

  https://play.dhis2.org/dev/api/system/id.json?n=10

  This affects the versions below

  Build: 20953
  Verison:2.21

  Build: 21367
  Version: 2.22 -SNAPSHOT

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1523879/+subscriptions

___
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] Category combination set to default won't let me change it

2015-12-08 Thread Alex Tumwesigye
Dear Knut,

Attached is the use case and comments of how it is implemented.


Alex

On Wed, Dec 9, 2015 at 9:33 AM, Knut Staring <knu...@gmail.com> wrote:

> Hi Alex,
> Could you provide the details of your use case?
> Knut
> On 9 Dec 2015 07:09, "Alex Tumwesigye" <atumwesi...@gmail.com> wrote:
>
>> Dear Knut,
>>
>> Thanks for this insight.
>>  I agree with Crizelle, I am building an Inventory System using the
>> tracker (2.21) and I am facing the same challenge. There is need to see how
>> we can achieve similar "category Options - categories" functionality for
>> events to avoid unnecessary hacks to the system.
>>
>> Thanks.
>>
>> Alex
>>
>> On Tue, Dec 8, 2015 at 9:40 PM, Knut Staring <knu...@gmail.com> wrote:
>>
>>> Hi Crizelle,
>>> It could be quite instructive if you could share the details of this
>>> example with us.
>>>
>>> Knut
>>> On 8 Dec 2015 7:09 pm, "Crizelle Nel" <crizelle...@gmail.com> wrote:
>>>
>>>> Hi Knut,
>>>>
>>>> (1) If unable to use use Categories for Event data elements then yes,
>>>> we have to be able to save each data value against a separate data element
>>>> for analysis. The ability to reuse Category Options though (i.e assigning
>>>> them to multiple Categories), greatly reduces the database configuration
>>>> work required. For the current database I'm configuring I would have needed
>>>> 24 Category Options, 4 Categories and 4 Cat Combos to enable each "Yes'
>>>> data value to be uniquely stored for analysis. Because Categories cannot be
>>>> used for Event data elements, I had to create 93 Data Elements instead.
>>>>
>>>> (2) If we have to live without Categories for Events, then it would be
>>>> great to have a grouping feature beyond sections like the multiple
>>>> selection box you suggested.
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Crizelle Nel
>>>>
>>>> [image: HISP_Logo_sm]
>>>> Software Development and Information Systems
>>>>
>>>>
>>>> *Health Information Systems Program (HISP) -
>>>> SA--*
>>>> Email:   crize...@hisp.org <crizelle...@gmail.com>
>>>> Cell:  +27 84 580 3342
>>>> Fax:  0866 509 502
>>>> Skype:  crizelle_nel
>>>> Website:   http://www.hisp.org
>>>>
>>>> 66 Rigel Avenue North, Waterkloof Ridge
>>>> Pretoria, 0181, South Africa
>>>> E -25.7847787 S 28.2347984
>>>>
>>>>
>>>> On Tue, Dec 8, 2015 at 3:46 PM, Knut Staring <knu...@gmail.com> wrote:
>>>>
>>>>> Isn't this two different things?
>>>>>
>>>>> 1) We need to register Yes (or Yes/No) for each selected item in order
>>>>> to analyse on each of them, thus we need a number of data elements
>>>>>
>>>>> 2) It would be nice to have a way of grouping data elements in the
>>>>> user interface even beyond sections, i.e. to use one widget for multiple
>>>>> data elements, like a multiple selection list box:
>>>>> http://www.dummies.com/how-to/content/how-to-create-a-multiple-selection-list-box-in-jav.html
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 8, 2015 at 2:40 PM, Crizelle Nel <crizelle...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Lars,
>>>>>>
>>>>>> Thanks for the quick response.
>>>>>>
>>>>>> Noted that multiple selections within an option set won't be
>>>>>> supported.
>>>>>>
>>>>>> It would make sense to include "Event" as a separate option for the
>>>>>> "Domain Type". Would categories then possibly be supported for Events if
>>>>>> then not for Tracker?
>>>>>>
>>>>>> The only other alternative is to create multiple Data Elements with
>>>>>> Data Type "Yes Only" and possbly add some Program Sections to make it 
>>>>>> more
>>>>>> user-friendly. This is OK, but really lengthens and clutters the data 
>>>>>> entry
>>>>>> form.
>>>>>>
>>>>>

Re: [Dhis2-devs] [Bug 1523879] [NEW] Generating system identifiers using the api limits itself to one (1)

2015-12-08 Thread Alex Tumwesigye
Thanks Morten,

I should have looked deep in code first.

Alex

On Tue, Dec 8, 2015 at 3:06 PM, Morten Olav Hansen <
1523...@bugs.launchpad.net> wrote:

> Hi
>
> This parameter name has changed, its now limit. Will update docs later.
>
> --
> Morten
>
> On Tue, Dec 8, 2015 at 6:12 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
> > Public bug reported:
> >
> > Generating system identifiers using the api limits itself to one (1)
> > when the api/system resource is used.
> >
> > For example, the link below only generates one UID instead of 10.
> >
> > https://play.dhis2.org/dev/api/system/id.json?n=10
> >
> > This affects the versions below
> >
> > Build: 20953
> > Verison:2.21
> >
> > Build: 21367
> > Version: 2.22 -SNAPSHOT
> >
> > ** Affects: dhis2
> >  Importance: Undecided
> >  Status: New
> >
> >
> > ** Tags: api identifier system uid
> >
> > --
> > You received this bug notification because you are subscribed to DHIS.
> > https://bugs.launchpad.net/bugs/1523879
> >
> > Title:
> >   Generating system identifiers using the api limits itself to one (1)
> >
> > Status in DHIS:
> >   New
> >
> > Bug description:
> >   Generating system identifiers using the api limits itself to one (1)
> >   when the api/system resource is used.
> >
> >   For example, the link below only generates one UID instead of 10.
> >
> >   https://play.dhis2.org/dev/api/system/id.json?n=10
> >
> >   This affects the versions below
> >
> >   Build: 20953
> >   Verison:2.21
> >
> >   Build: 21367
> >   Version: 2.22 -SNAPSHOT
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/dhis2/+bug/1523879/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1523879
>
> Title:
>   Generating system identifiers using the api limits itself to one (1)
>
> Status in DHIS:
>   New
>
> Bug description:
>   Generating system identifiers using the api limits itself to one (1)
>   when the api/system resource is used.
>
>   For example, the link below only generates one UID instead of 10.
>
>   https://play.dhis2.org/dev/api/system/id.json?n=10
>
>   This affects the versions below
>
>   Build: 20953
>   Verison:2.21
>
>   Build: 21367
>   Version: 2.22 -SNAPSHOT
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1523879/+subscriptions
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill
"

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1523879

Title:
  Generating system identifiers using the api limits itself to one (1)

Status in DHIS:
  New

Bug description:
  Generating system identifiers using the api limits itself to one (1)
  when the api/system resource is used.

  For example, the link below only generates one UID instead of 10.

  https://play.dhis2.org/dev/api/system/id.json?n=10

  This affects the versions below

  Build: 20953
  Verison:2.21

  Build: 21367
  Version: 2.22 -SNAPSHOT

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1523879/+subscriptions

___
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] Category combination set to default won't let me change it

2015-12-08 Thread Alex Tumwesigye
;> Thanks for your prompt answer,
>>>>>>>> unfortunately i don't have access to date in future,see attached
>>>>>>>> picture.
>>>>>>>> 
>>>>>>>> On 25 Nov 2014, at 12:00, Abyot Gizaw <aby...@gmail.com> wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> To enable capturing of future dates, go to your Program --> View
>>>>>>>> program stages --> Edit then check "Date in future" for those data 
>>>>>>>> elements
>>>>>>>> you wanted to capture future date.
>>>>>>>>
>>>>>>>> I am not sure what you mean by "to be able to edit some fields
>>>>>>>> names" ?
>>>>>>>>
>>>>>>>> If you are in default form, field name is data element "Form name"
>>>>>>>> (if you have set this one) or "Name" and it is always possible to edit
>>>>>>>> this. If you are in custom form, you can put whatever name you want in 
>>>>>>>> your
>>>>>>>> form - both data element "Form name" and "Name" have no effect.
>>>>>>>>
>>>>>>>>
>>>>>>>> ---
>>>>>>>> Thank you,
>>>>>>>> Abyot.
>>>>>>>>
>>>>>>>> On Tue, Nov 25, 2014 at 10:43 AM, Anne Grace <
>>>>>>>> missannegr...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Dear Admin,
>>>>>>>>>
>>>>>>>>> I am a new devoloper in DHIS.
>>>>>>>>> I need to make changes on an existing "new event form" I need to
>>>>>>>>> allow
>>>>>>>>> future dates and years also to be able to edit some fields names .
>>>>>>>>>
>>>>>>>>> Please help me out and guide me through.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> 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
>>>>> http://www.dhis2.org <https://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
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1516354] [NEW] Clear analytics in data administration fails due to illegal instant (timezone related)

2015-11-15 Thread Alex Tumwesigye
Public bug reported:

When you attempt to clear analytics through Data Administration ->
Maintenance, the process takes forever in the UI.

Checking the logs gives the error below

* ERROR 2015-11-15 12:09:15,064 Error while executing action 
(ExceptionInterceptor.java [tomcat-http-4])
org.joda.time.IllegalInstantException: Illegal instant due to time zone offset 
transition (daylight savings time 'gap'): 1940-01-01T00:00:00.000 
(Africa/Kampala)
at 
org.joda.time.chrono.ZonedChronology.localToUTC(ZonedChronology.java:143)
at 
org.joda.time.chrono.ZonedChronology.getDateTimeMillis(ZonedChronology.java:118)
at 
org.joda.time.chrono.AssembledChronology.getDateTimeMillis(AssembledChronology.java:133)
at org.joda.time.base.BaseDateTime.(BaseDateTime.java:258)
at org.joda.time.DateTime.(DateTime.java:373)


This affects 
 version 2.20, build 19986

This should be affecting even 2.21


Alex

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.20 analytics maintanence

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1516354

Title:
  Clear analytics in data administration fails due to illegal instant
  (timezone related)

Status in DHIS:
  New

Bug description:
  When you attempt to clear analytics through Data Administration ->
  Maintenance, the process takes forever in the UI.

  Checking the logs gives the error below

  * ERROR 2015-11-15 12:09:15,064 Error while executing action 
(ExceptionInterceptor.java [tomcat-http-4])
  org.joda.time.IllegalInstantException: Illegal instant due to time zone 
offset transition (daylight savings time 'gap'): 1940-01-01T00:00:00.000 
(Africa/Kampala)
  at 
org.joda.time.chrono.ZonedChronology.localToUTC(ZonedChronology.java:143)
  at 
org.joda.time.chrono.ZonedChronology.getDateTimeMillis(ZonedChronology.java:118)
  at 
org.joda.time.chrono.AssembledChronology.getDateTimeMillis(AssembledChronology.java:133)
  at org.joda.time.base.BaseDateTime.(BaseDateTime.java:258)
  at org.joda.time.DateTime.(DateTime.java:373)

  
  This affects 
   version 2.20, build 19986

  This should be affecting even 2.21

  
  Alex

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1516354/+subscriptions

___
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] [Bug 1515617] [NEW] Editing/Updating Program Stage makes message reminder templates disappear

2015-11-12 Thread Alex Tumwesigye
Public bug reported:

When you edit or update a Program Stage in a prgram, on saving message
reminder templates disappear.

To replicate it, go to programs, 
create a program with registration,
create a program stage
Create a message reminder template

Edit/update program stage, the reminder templates disappears.

When you check in the database tables (trackedentityinstancereminder),
the programstageid is null after updating the programstage.

Manual fix: Update trackedentityinstancereminder table with the
necessary programstageid for reminder templates.

This affects 2.20, 2.21
Builds: all

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: 2.20 2.21 program stage

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1515617

Title:
  Editing/Updating Program Stage makes message reminder templates
  disappear

Status in DHIS:
  New

Bug description:
  When you edit or update a Program Stage in a prgram, on saving message
  reminder templates disappear.

  To replicate it, go to programs, 
  create a program with registration,
  create a program stage
  Create a message reminder template

  Edit/update program stage, the reminder templates disappears.

  When you check in the database tables (trackedentityinstancereminder),
  the programstageid is null after updating the programstage.

  Manual fix: Update trackedentityinstancereminder table with the
  necessary programstageid for reminder templates.

  This affects 2.20, 2.21
  Builds: all

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1515617/+subscriptions

___
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] Org Unit count

2015-11-10 Thread Alex Tumwesigye
Dear Harold,

Sounds like it counts the root/parent organisation unit.

Alex

On Tue, Nov 10, 2015 at 12:31 PM, Mugeni Harold <hmug...@gmail.com> wrote:

> Hallo everyone,
>
>
>
> I am working on some indicators that require number of org units under a
> given org unit e.g. number of health facilities under a district. I am
> using the org unit count under the indicator numerator or denominator
> section, but I have noticed that the count returned is always with an extra
> one i.e. where I expect 22 facilities, it is giving me 23. Is this a bug or
> something to do with the hierarchy?
>
>
>
> Thank you,
>
> Harold
>
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] We have developed Logistics System and MiddleWare Application in DHIS2

2015-11-08 Thread Alex Tumwesigye
gt; exporting and external dashboard development.
>>
>> But we have a little bit of problem on calculating AMC and MNC in client
>> side. We have overcome this constraint by exporting data and calculating it
>> in the server side and showing dashboard.
>>
>> For logistics calculation, I have developed a middle ware application
>> named "DHIS2 MiddleWare Application". Features of this apps:
>>
>> 1. Exporting all dataset values of a specific dataset or all dataset.
>> 2. Exporting all Organization Units/ Datasets/ Dataset elements group/
>> Dataset elements.
>> 3. All kinds of Logistics  calculations like AMC, MNC, Stock etc.
>> 4. Raw data analysis and data presentation both tabular and graphical
>> 4. Lots of Reports like:
>> a. National Stock Status of Priority MNCH Medicines
>> b. Consumption History of Priorty MNCH Medicines
>> c. Stockout Status By Facilities
>> d. Medicines Availability By Facility
>> e. Stock Status at Different Levels
>> f. Non Reported Facilitates
>> g. Timeliness Status By Health Facility
>> h. Data Upload Statistics
>> i. Health Facility's Performance
>> j. Percent of Facilitie's that have All Medicines
>> 5. Calculated data pushing in DHIS2 specific dataset and generate
>> dashboard
>> 6. Modules of this apps:
>> a. System Admin Management
>> b. Organization/Facility Managemment
>> c. Data Management
>> d. Medicine Management
>> e. Complain Management
>> f. Entered Data Analysis(Reports)
>> g. Dashboard
>> 7. Easy plug in with other software.
>>
>> Technology:
>>
>> In version-1: I have used PHP Laravel Framework and PostGreSQL Database
>> In version-2: Java and PostgreSQl database(Under Development)
>>
>> Here I have attached DHIS2 LMIS Data Entry Screen and "DHIS2 MiddleWare
>> Application" layout. You may visit our dashboard that generated by this
>> application: http://69.39.239.111/~scipmp/index.php/elmis-dashboard
>>
>> If you need any kind of support or suggestion about LMIS implementation
>> in DHIS2 please let me know.
>>
>> Best Regrds
>> Julhas Sujan
>> Java Consultant
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>>
>>
>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to: dhis2-us...@lists.launchpad.net
>> <javascript:_e(%7B%7D,'cvml','dhis2-us...@lists.launchpad.net');>
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help  : https://help.launchpad.net/ListHelp
>>
>>
>>
>

-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Getting timeliness rates?

2015-11-04 Thread Alex Tumwesigye
+1

Alex

On Wed, Nov 4, 2015 at 12:44 PM, Ime Asangansi <imeasanga...@gmail.com>
wrote:

> My +1 for this as well.
>
>
>
> Thanks,
>
> Ime
>
>
>
>
>
> *From:* Dhis2-devs [mailto:dhis2-devs-bounces+imeasangansi=
> gmail@lists.launchpad.net] *On Behalf Of *Greg Rowles
> *Sent:* Wednesday, November 4, 2015 9:10 AM
> *To:* Olav Poppe
> *Cc:* Jens Johan Kaasbøll; dhis2-devs@lists.launchpad.net
> *Subject:* Re: [Dhis2-devs] Getting timeliness rates?
>
>
>
> Hi All
>
>
>
> We are relying more and more on these DQ metrics in South Africa (for
> providing feedback to health on policy adherence). Having access to DQ data
> under analytics is super important for us too! But I know this is a massive
> piece of work so we are waiting patiently :)
>
>
>
>
>
> On Wed, Nov 4, 2015 at 11:01 AM, Olav Poppe <olav.po...@me.com> wrote:
>
> Hi Johan,
> I don’t have a solution for you, since as you have noticed timeliness is
> not available through the analytics API (and thus not in pivot tables etc).
>
> I’m not sure if the data is really available anywhere through the API, but
> hopefully some of the developers can answer to that. I just wanted to add
> that I really think adding support for timeliness in analytics is important
> (and it has been requested several time before). Same for exposing the raw
> data ("actual reports" and "expected reports"), which together with "count
> of datavalues" aggregation would let you do a lot of interesting
> completeness analysis.
>
> Olav
>
>
>
>
>
> > 4. nov. 2015 kl. 09.49 skrev Johan Ivar Sæbø <joha...@ifi.uio.no>:
> >
> > Hi,
> >
> > we are working on a league table/scorecard app, and manage to get
> indicators and completeness rates into it. However, users also want to be
> able to use the timeliness rates. We don't see them in the pivot tables
> either, so not much help in looking at how that is done there. How can we
> get this information?
> >
> > Johan
> >
> > ___
> > 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
>
>
> ___
> 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
>
>
>
>
>
> --
>
> *Health Information Systems Program - South Africa*
>
> *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
>
> Mobile  :073 246 2992
> Landline:   021 554 3130
>
> Fax:  086 733 8432
>
> Skype:  gregory_rowles
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1512098] [NEW] IN operator in trackedEntityInstances Web API endpoint not working

2015-11-01 Thread Alex Tumwesigye
Public bug reported:


IN operator in trackedEntityInstances Web API endpoint not working in tracker 
module

When I used the web request below,


https://domain.name/demo/api/trackedEntityInstances.json?ou=WmxhguWbumu=orgUnit,trackedEntityInstance,attributes[displayName,attribute,value]=VPd258dmpNi:IN:1;2

I get this response,

HTTP Status 500 - Request processing failed; nested exception is
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST
node: ( near line 1, column 342 [select distinct tei from
org.hisp.dhis.trackedentity.TrackedEntityInstance tei left join fetch
tei.attributeValues where tei.organisationUnit.uid in ('WmxhguWbumu')
and exists (from
org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue
teav where teav.entityInstance=tei and teav.attribute.uid='VPd258dmpNi'
and teav.valuein('1','2'))]

And looking at the error, it seams this "...and teav.valuein( .."
should be  "and teav.value in(..."

 This affects 2.21
Build 20850

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Screenshot showing error returned"
   
https://bugs.launchpad.net/bugs/1512098/+attachment/4510350/+files/IN%20operator%20not%20working%20in%20trackedEntityInstances%20API%20endpoint.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1512098

Title:
  IN operator in trackedEntityInstances Web API endpoint not working

Status in DHIS:
  New

Bug description:
  
  IN operator in trackedEntityInstances Web API endpoint not working in tracker 
module

  When I used the web request below,

  
  
https://domain.name/demo/api/trackedEntityInstances.json?ou=WmxhguWbumu=orgUnit,trackedEntityInstance,attributes[displayName,attribute,value]=VPd258dmpNi:IN:1;2

  I get this response,

  HTTP Status 500 - Request processing failed; nested exception is
  org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected AST
  node: ( near line 1, column 342 [select distinct tei from
  org.hisp.dhis.trackedentity.TrackedEntityInstance tei left join fetch
  tei.attributeValues where tei.organisationUnit.uid in ('WmxhguWbumu')
  and exists (from
  org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue
  teav where teav.entityInstance=tei and
  teav.attribute.uid='VPd258dmpNi' and teav.valuein('1','2'))]

  And looking at the error, it seams this "...and teav.valuein( .."
  should be  "and teav.value in(..."

   This affects 2.21
  Build 20850

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1512098/+subscriptions

___
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] [Bug 1511314] [NEW] View recieved Sms page does not load

2015-10-29 Thread Alex Tumwesigye
Public bug reported:

In Apps -> Mobile configuration, when you access View Recieved SMS page,
it gives the error below

HTTP Status 404 - There is no Action mapped for namespace [/dhis-web-
maintenance-mobile] and action name [show_receive_sms_form] associated
with context path [/demo].

In short, there is no action mapped.

It have tested on demo.
Build 20854
version: 2.21

It also affects 2.20.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1511314

Title:
  View recieved Sms page does not load

Status in DHIS:
  New

Bug description:
  In Apps -> Mobile configuration, when you access View Recieved SMS
  page, it gives the error below

  HTTP Status 404 - There is no Action mapped for namespace [/dhis-web-
  maintenance-mobile] and action name [show_receive_sms_form] associated
  with context path [/demo].

  In short, there is no action mapped.

  It have tested on demo.
  Build 20854
  version: 2.21

  It also affects 2.20.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1511314/+subscriptions

___
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] [Bug 1479858] Re: Relative periods (Reporting Month, month this year) in Standard Reports returns wrong periods

2015-10-27 Thread Alex Tumwesigye
Dear John,

Thanks for fixing this.
Is it backported to 2.20 too?

Alex

On Tue, Oct 27, 2015 at 11:57 AM, John Francis Mukulu <
1479...@bugs.launchpad.net> wrote:

> Bug introduced on release of  This relative period on version 2.19,
> Standard report parameters where saved to last relative period causing
> choices to be dated back by one period.
>
> On release of 2.21 Change of Report enum type "html" to "HTML" caused html
> report to be redirected pdf generation.
> Both issues fixed.
>
> ** Changed in: dhis2
>Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1479858
>
> Title:
>   Relative periods (Reporting Month, month this year) in Standard
>   Reports returns wrong periods
>
> Status in DHIS:
>   Fix Committed
>
> Bug description:
>   Relative periods (Reporting Month, month this year) in Standard
>   Reports returns wrong periods.
>
>   For example:
> When you edit a standard report, tick reporting month and save. When
> you run the report, it returns the chosen period minus one e.g July 2015
> will return data of June 2015 (201506 as a period when using the web
> browser console).
>   Also the relative period save on return to edit the report is unchecked.
>
>
>   Checking analytics, everything works as expected.
>   I went ahead check the database for relative periods table
> "relativeperiods", many new relativeperiodsids are generated instead of
> using the existing ones and are set null instead of either true or false.
>
>   This affects version 2.19, tested on dhis2 demo, on my own
>   test/production server build revision 19266 and several build
>   revisions below.
>
>
>   The reports tested with a HTML reports.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1479858/+subscriptions
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill
"

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1479858

Title:
  Relative periods (Reporting Month, month this year) in Standard
  Reports returns wrong periods

Status in DHIS:
  Fix Committed

Bug description:
  Relative periods (Reporting Month, month this year) in Standard
  Reports returns wrong periods.

  For example:
When you edit a standard report, tick reporting month and save. When you 
run the report, it returns the chosen period minus one e.g July 2015 will 
return data of June 2015 (201506 as a period when using the web browser 
console). 
  Also the relative period save on return to edit the report is unchecked.

  
  Checking analytics, everything works as expected.
  I went ahead check the database for relative periods table "relativeperiods", 
many new relativeperiodsids are generated instead of using the existing ones 
and are set null instead of either true or false.

  This affects version 2.19, tested on dhis2 demo, on my own
  test/production server build revision 19266 and several build
  revisions below.

  
  The reports tested with a HTML reports.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1479858/+subscriptions

___
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] HTML Standard Report selected period

2015-10-16 Thread Alex Tumwesigye
Dear Ismail,

I reported it as a bug but it has not been fixed.

Alex

On Friday, October 16, 2015, Ismail Yusuf <ismailkolel...@gmail.com> wrote:

> Hello Devs,
>
> I have noticed HTML Standard Reports passes previous period from what has
> been selected by user. For instance if Jan 2015 is selected, Dec 2014 will
> by passed for report generation. This applied for all period type (like
> monthly, quarterly, Yearly etc).
>
> This behavior is on DHIS 2.19 & 2.20, while in DHIS 2.18 and earlier it
> returns the same quarter as one selected by user.
>
> I am wondering if this change intentional or it is a bug?
>
> --
> Ismail Yusuf Koleleni,
> Computer Science and Engineering Department
> College of Information and Communication Technology (CoICT)
> University of Dar es Salaam
> Skype: e_smile1
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Import TrackedEntityInstances through api

2015-10-15 Thread Alex Tumwesigye
Dear Morten,

Yes. You are right. One of the attribute was unique "program within
organisationunit".

I just disabled it and it worked. I will re-enable after import.

Alex

On Thu, Oct 15, 2015 at 12:33 PM, Morten Olav Hansen <morte...@gmail.com>
wrote:

> Hi
>
> One of the attributes you are sending in is using scope = program, which
> means it needs to know which program this belongs to.. since you are just
> creating a TEI without doing enrollment etc.. maybe its a misconfiguration?
> probably the scope is wrong?
>
> --
> Morten
>
> On Thu, Oct 15, 2015 at 4:29 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Tracker Team,
>>
>> I am trying to import trackedEntityInstances (json file) for HISP Uganda
>> demo.
>>
>> When I send the json file, I get an error below.
>>
>> * Connection #0 to host tracker.hispuganda.org left intact
>> {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"program
>> is required for program scope"}Done
>>
>>
>> Below is the json I am sending
>>
>>
>> {"lastUpdated":"2014-09-02
>> 13:40:25.845","trackedEntity":"lq6b0EbvbWJ","created":"2014-09-02
>> 13:40:25.416","orgUnit":"V5XvX1wr1kF","trackedEntityInstance":"qqPocsUTn0D","relationships":[],"attributes":[{"displayName":"Gravida","valueType":"NUMBER","attribute":"UuNwH6pSBfT","value":"1"},{"displayName":"ANC
>> Client
>> Number","valueType":"TEXT","attribute":"XS1hnJSUhJR","value":"18887X8YP2015"},{"displayName":"Para
>> (>7
>> months)","valueType":"NUMBER","attribute":"rKqAjEn6zrS","value":"0"},{"displayName":"Para
>> (miscarriages < 7
>> months)","valueType":"NUMBER","attribute":"pRgEk4Ao5CO","value":"0"},{"displayName":"Age","valueType":"NUMBER","attribute":"j7gaoJddiXp","value":"22"}]}
>>
>> What is the right endpoint for trackedEntityInstances while respecting
>> the programScope.
>>
>> I am using 2.21 snapshot build 20702
>> I  believe it is the same with 2.20. We need this to meet the deadline.
>>
>> Alex
>>
>> Thanks.
>>
>>
>>
>> --
>> Alex Tumwesigye
>>
>> Technical Advisor - DHIS2 (Consultant),
>> Ministry of Health/AFENET
>> Kampala
>> Uganda
>>
>> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>>
>> IT Specialist (Servers, Networks and Security, Health Information Systems
>> - DHIS2 ) & Solar Consultant
>>
>> +256 774149 775, + 256 759 800161
>>
>> "I don't want to be anything other than what I have been - one tree hill "
>>
>> ___
>> 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
>>
>>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Import TrackedEntityInstances through api

2015-10-15 Thread Alex Tumwesigye
Dear Tracker Team,

I am trying to import trackedEntityInstances (json file) for HISP Uganda
demo.

When I send the json file, I get an error below.

* Connection #0 to host tracker.hispuganda.org left intact
{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"program
is required for program scope"}Done


Below is the json I am sending


{"lastUpdated":"2014-09-02
13:40:25.845","trackedEntity":"lq6b0EbvbWJ","created":"2014-09-02
13:40:25.416","orgUnit":"V5XvX1wr1kF","trackedEntityInstance":"qqPocsUTn0D","relationships":[],"attributes":[{"displayName":"Gravida","valueType":"NUMBER","attribute":"UuNwH6pSBfT","value":"1"},{"displayName":"ANC
Client
Number","valueType":"TEXT","attribute":"XS1hnJSUhJR","value":"18887X8YP2015"},{"displayName":"Para
(>7
months)","valueType":"NUMBER","attribute":"rKqAjEn6zrS","value":"0"},{"displayName":"Para
(miscarriages < 7
months)","valueType":"NUMBER","attribute":"pRgEk4Ao5CO","value":"0"},{"displayName":"Age","valueType":"NUMBER","attribute":"j7gaoJddiXp","value":"22"}]}

What is the right endpoint for trackedEntityInstances while respecting the
programScope.

I am using 2.21 snapshot build 20702
I  believe it is the same with 2.20. We need this to meet the deadline.

Alex

Thanks.



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] sending email notification with attachment from dhis messages

2015-10-10 Thread Alex Tumwesigye
Dear Ramdhani,

If it is very urgent, you can in the mean time use a bash script that
downloads the png/jpg (pivot table), then use the curl to send the message
with your attachment via DHIS2 messaging platform.

Alex

On Sat, Oct 10, 2015 at 7:59 AM, Furqonuddin Ramdhani <furqo...@gmail.com>
wrote:

> Okay, thx Lars.
>
> On Fri, Oct 9, 2015 at 6:17 PM, Lars Helge Øverland <larshe...@gmail.com>
> wrote:
>
>> Hi Furqonuddin,
>>
>> sorry at the moment this is not possible.
>>
>> We do have a blueprint for attachments in messages here:
>>
>> https://blueprints.launchpad.net/dhis2/+spec/message-attachments
>>
>> regards,
>>
>> Lars
>>
>>
>> On Fri, Oct 9, 2015 at 4:23 AM, Furqonuddin Ramdhani <furqo...@gmail.com>
>> wrote:
>>
>>> yes, send email to users. is it possible to take our reports/charts from
>>> pivot table(xls/pdf) or data visualizer(png/jpg) as a link (url)  so we can
>>> include the url in our messages  ?
>>>
>>> Regards,
>>> Dhani
>>>
>>> On Fri, Oct 9, 2015 at 6:45 AM, Knut Staring <knu...@gmail.com> wrote:
>>>
>>>> You want to send email to users? Could it be just a link (url)?
>>>>
>>>> Knut
>>>>
>>>> On Fri, Oct 9, 2015 at 1:41 AM, Furqonuddin Ramdhani <
>>>> furqo...@gmail.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> is it possible to send notification with attachment from dihis
>>>>> messages, for example I want to send output of my pivot table report in
>>>>> xls/pdf ?
>>>>> If not possible , any suggestion how to do it ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> Best Regards
>>>>> *Furqonuddin Ramdhani*
>>>>>
>>>>> ___
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Knut Staring
>>>> Dept. of Informatics, University of Oslo
>>>> Norway: +4791880522
>>>> Skype: knutstar
>>>> http://dhis2.org
>>>>
>>>
>>>
>>>
>>> --
>>> Salam
>>> *Furqonuddin Ramdhani*
>>>
>>> ___
>>> 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
>> http://www.dhis2.org <https://www.dhis2.org>
>>
>>
>
>
> --
> Salam
> *Furqonuddin Ramdhani*
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] error after run analystic

2015-10-05 Thread Alex Tumwesigye
Dear Channara,

Which version are you running? This bug was fixed. It is related to
timezone I f I remember very well.
If you check your period table, there are invalid ranges for 1975-01-01.
Just delete the invalid ranges and you will be fine.


Alex

On Mon, Oct 5, 2015 at 12:14 PM, channara rin <rin.chann...@gmail.com>
wrote:

> Hi DHIS2 member,
> i got the message from DHIS2 system like below. can you help me how to fix
> this problem?
>
> =
> Resource table process failed, please check the logs. Time:
> 2015-10-05T00:00:08.388+07:00. Message: PreparedStatementCallback; SQL
> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception is
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
> unique constraint "_dateperiodstructure_pkey"
> Detail: Key (dateperiod)=(1975-01-01) already exists.
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
> at
> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
> at
> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
> at
> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
> at
> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
> at
> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
> at
> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
> at
> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
> at sun.reflect.GeneratedMethodAccessor2260.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
> at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
> at
> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
> at
> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
> Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Informati

Re: [Dhis2-devs] error after run analystic

2015-10-05 Thread Alex Tumwesigye
period table but make sure you delete only that row.

Alex

On Mon, Oct 5, 2015 at 12:33 PM, channara rin <rin.chann...@gmail.com>
wrote:

> so you mean, i can delete row from table? which table should i can delete
> that row?
>
> On Mon, Oct 5, 2015 at 4:20 PM, Alex Tumwesigye <atumwesi...@gmail.com>
> wrote:
>
>> Dear Channara,
>>
>> Which version are you running? This bug was fixed. It is related to
>> timezone I f I remember very well.
>> If you check your period table, there are invalid ranges for 1975-01-01.
>> Just delete the invalid ranges and you will be fine.
>>
>>
>> Alex
>>
>> On Mon, Oct 5, 2015 at 12:14 PM, channara rin <rin.chann...@gmail.com>
>> wrote:
>>
>>> Hi DHIS2 member,
>>> i got the message from DHIS2 system like below. can you help me how to
>>> fix this problem?
>>>
>>> =
>>> Resource table process failed, please check the logs. Time:
>>> 2015-10-05T00:00:08.388+07:00. Message: PreparedStatementCallback; SQL
>>> [insert into _dateperiodstructure values (?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR:
>>> duplicate key value violates unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists.; nested exception
>>> is org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>> unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists. Cause:
>>> org.postgresql.util.PSQLException: ERROR: duplicate key value violates
>>> unique constraint "_dateperiodstructure_pkey"
>>> Detail: Key (dateperiod)=(1975-01-01) already exists.
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1130)
>>> at
>>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:396)
>>> at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2892)
>>> at
>>> com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:1005)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:989)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:644)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:673)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:989)
>>> at
>>> org.springframework.jdbc.core.BatchUpdateUtils.executeBatchUpdate(BatchUpdateUtils.java:32)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1039)
>>> at
>>> org.springframework.jdbc.core.JdbcTemplate.batchUpdate(JdbcTemplate.java:1034)
>>> at
>>> org.hisp.dhis.resourcetable.jdbc.JdbcResourceTableStore.batchUpdate(JdbcResourceTableStore.java:101)
>>> at
>>> org.hisp.dhis.resourcetable.DefaultResourceTableService.generateDatePeriodTable(DefaultResourceTableService.java:456)
>>> at sun.reflect.GeneratedMethodAccessor2260.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at
>>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>>> at
>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
>>> at com.sun.proxy.$Proxy104.generateDatePeriodTable(Unknown Source)
>>> at
>>> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(ResourceTableTask.java:121)
>>> at
>>> org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(ResourceTableTask.java:85)
>>> at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
>>> at
>>> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
>>> at
>>> org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
>>> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown S

Re: [Dhis2-devs] Upgrading from 2.5 to 2.20 using dhis-live

2015-10-02 Thread Alex Tumwesigye
Dear Gerald,

Please see this link http://dhis2.org/download/releases/2.X/dhis.war where
X is the version.

I managed to get from 2.7 onwards.

Alex

On Sat, Sep 26, 2015 at 11:29 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Dear All,
> Where can i download old DHIS 2 live (2.7 or 2.9 or
> 2.102.19). I am trying to see if that will help me analyze
> my issues properly.
>
> Please help me.
>
> On 9/26/15, gerald thomas <gerald17...@gmail.com> wrote:
> > Dear Alex,
> > From the link you shared i am only seeing 2.10 to 2.20. I can't find
> > 2.6 to 2.9. Please help me and don't forget i am using dhis2-live for
> > my test case.
> >
> > On 9/26/15, Alex Tumwesigye <atumwesi...@gmail.com> wrote:
> >> Dear Thomas,
> >>
> >> 2.5 is a very old version. There has been many changes till 2.20.
> >> I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to
> >> 2.8..2.20.
> >> It is a simple process you need to stop the tomcat server, then dump the
> >> war file and start the server again for each version.for version 2.13 to
> >> 2.20.you may need to run upgrade scripts before dumping the war file.
> >>
> >> You can get war files from https://apps.dhis2.org/ci
> >>
> >> Good luck.
> >>
> >> Alex
> >>
> >> On Friday, September 25, 2015, gerald thomas <gerald17...@gmail.com>
> >> wrote:
> >>
> >>> Dear All,
> >>> I am trying to upgrade one of our local (standalone server) instances
> >>> of dhis2 which was running on version 2.5. I exported the database and
> >>> import  the database into a dhis2-live version 2.20.
> >>> The application is running on windows and my database is PostgreSQL
> >>> 9.3.9. The upgrade was successful but when i ran "Data Set Report" for
> >>> a particular Data Set; i am getting a blank report.
> >>>
> >>> I tried to do "Analytic and Data Mart" but i am getting error. Please
> >>> find the attached log files.
> >>>
> >>>
> >>> Please can someone help?
> >>>
> >>> --
> >>> Regards,
> >>>
> >>> Gerald
> >>>
> >>
> >>
> >> --
> >> Alex Tumwesigye
> >>
> >> Technical Advisor - DHIS2 (Consultant),
> >> Ministry of Health/AFENET
> >> Kampala
> >> Uganda
> >>
> >> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
> >>
> >> IT Specialist (Servers, Networks and Security, Health Information
> Systems
> >> -
> >> DHIS2 ) & Solar Consultant
> >>
> >> +256 774149 775, + 256 759 800161
> >>
> >> "I don't want to be anything other than what I have been - one tree hill
> >> "
> >>
> >
> >
> > --
> > Regards,
> >
> > Gerald
> >
>
>
> --
> Regards,
>
> Gerald
>



-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Upgrading from 2.5 to 2.20 using dhis-live

2015-09-26 Thread Alex Tumwesigye
Dear Thomas,

2.5 is a very old version. There has been many changes till 2.20.
I would suggest that you do a systematic upgrade 2.5 to 2.6 to 2.7 to
2.8..2.20.
It is a simple process you need to stop the tomcat server, then dump the
war file and start the server again for each version.for version 2.13 to
2.20.you may need to run upgrade scripts before dumping the war file.

You can get war files from https://apps.dhis2.org/ci

Good luck.

Alex

On Friday, September 25, 2015, gerald thomas <gerald17...@gmail.com> wrote:

> Dear All,
> I am trying to upgrade one of our local (standalone server) instances
> of dhis2 which was running on version 2.5. I exported the database and
> import  the database into a dhis2-live version 2.20.
> The application is running on windows and my database is PostgreSQL
> 9.3.9. The upgrade was successful but when i ran "Data Set Report" for
> a particular Data Set; i am getting a blank report.
>
> I tried to do "Analytic and Data Mart" but i am getting error. Please
> find the attached log files.
>
>
> Please can someone help?
>
> --
> Regards,
>
> Gerald
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] [Bug 1496631] [NEW] Program Rules and Validation Criteria does not work in Tracker Capture

2015-09-16 Thread Alex Tumwesigye
Public bug reported:

When you go to a program, create a validation criteria to restrict
enrollment of females only (gender = Female), then register a person in
the tracker capture. It does not show the pop up error. Instead, it
registers and enroll the male person to the program.

When you try to enroll the same person in the individual records, it
works as expected. In other words, it does not allow you to enroll a
male to PMTCT program

The above apply for program rules too.

** Affects: dhis2
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1496631

Title:
  Program Rules and Validation Criteria does not work in Tracker Capture

Status in DHIS:
  New

Bug description:
  When you go to a program, create a validation criteria to restrict
  enrollment of females only (gender = Female), then register a person
  in the tracker capture. It does not show the pop up error. Instead, it
  registers and enroll the male person to the program.

  When you try to enroll the same person in the individual records, it
  works as expected. In other words, it does not allow you to enroll a
  male to PMTCT program

  The above apply for program rules too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1496631/+subscriptions

___
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] [Bug 1496631] Re: Program Rules and Validation Criteria does not work in Tracker Capture

2015-09-16 Thread Alex Tumwesigye
Build revision:19865
version:2.20

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1496631

Title:
  Program Rules and Validation Criteria does not work in Tracker Capture

Status in DHIS:
  New

Bug description:
  When you go to a program, create a validation criteria to restrict
  enrollment of females only (gender = Female), then register a person
  in the tracker capture. It does not show the pop up error. Instead, it
  registers and enroll the male person to the program.

  When you try to enroll the same person in the individual records, it
  works as expected. In other words, it does not allow you to enroll a
  male to PMTCT program

  The above apply for program rules too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1496631/+subscriptions

___
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] Convert Excel to xml and to json

2015-09-01 Thread Alex Tumwesigye
Dear Channara,

The simplest way is to map this excel to a temp table in postgres, then use
postgres json functionality to format the data from the temp table to a
json format directly.

You may need a function to update each event with a uid for tracking so
that you don't send duplicates.



Alex

On Tue, Sep 1, 2015 at 1:02 PM, channara rin <rin.chann...@gmail.com> wrote:

> Hi all DHIS2,
> Do you know how to convert Excel tracker list to xml and to json that
> enable import into DHIS2 system?
>
> [image: Inline image 1]
>
> thank you
> CHANNARA
>
> ___
> 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
>
>


-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 ) & Solar Consultant

+256 774149 775, + 256 759 800161

"I don't want to be anything other than what I have been - one tree hill "
___
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] Web portal CORS/preflight problem

2015-08-27 Thread Alex Tumwesigye
Dear Khan,

Look at this
http://api.jquery.com/jquery.ajax/
Read about crossDomain, by default it set to false so you may need to set
it to true.

Ideally, in your ajax request, add crossDomain:true

Alex



On Thu, Aug 27, 2015 at 9:53 AM, Mark Polak mar...@ifi.uio.no wrote:

 Hello Hanna,

 Did you add http:// (or https:// if you use a secure line) in front of
 the IP address?

 On the demo instance this is a bit confusing as the examples do not show
 that but it is required for it to work correctly.

 Regards,

 Mark
 
 From: Dhis2-devs [dhis2-devs-bounces+markpo=ifi.uio...@lists.launchpad.net]
 on behalf of Hannan Khan [hann...@gmail.com]
 Sent: 27 August 2015 08:29
 To: DHIS 2 developers
 Subject: [Dhis2-devs] Web portal CORS/preflight problem

 Dear Experts

 I am facing problem to creating Web Portal, facing problem CORS.
 First I try portal from 103.247.238.68 not working and then put this
 address in the white list of the dhis2 server at 103.247.238.68:8080
 http://103.247.238.68:8080. But but still having the same problem the
 error message is 'which is disallowed for cross-origin requests that
 require preflight'.

 Now how I resolve this? The script is similar as on the developer guide,
 page 49.

 Please advice.

 Regards

 Hannan

 ___
 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




-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 )  Solar Consultant

+256 774149 775, + 256 759 800161

I don't want to be anything other than what I have been - one tree hill 
___
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] Web portal CORS/preflight problem

2015-08-27 Thread Alex Tumwesigye
Dear Hannan,

Use $.ajax()


or replace crossDomain:y=true with cors:true

and try!

I have not used it but give it a try.

Alex

On Thu, Aug 27, 2015 at 1:24 PM, Jan Henrik Øverland 
janhenrik.overl...@gmail.com wrote:

 You need to do this part

 Ext.onReady( function() {
   Ext.Ajax.request({
 crossDomain: true,
 url: base + dhis-web-commons-security/login.action?authOnly=true,
 method: 'POST'
  

 with jquery instead of Ext.

 See the code that Morten posted.

 On Thu, Aug 27, 2015 at 12:19 PM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jan.

 I added script src=//code.jquery.com/jquery-2.1.4.min.js
 http://code.jquery.com/jquery-2.1.4.min.js/script in the head
 but still I get the error. What did I do wrong?

 Regards

 Hannan

 On Thu, Aug 27, 2015 at 2:49 PM, Jan Henrik Øverland 
 janhenrik.overl...@gmail.com wrote:

 Hi Hannan,

 I have done some testing and it seems the bundled Ext version is getting
 old. CORS is not working well with it.

 We need to look at this, but for now just include
 https://code.jquery.com/jquery-2.1.4.min.js (minified, only 84k) and do
 the authentication with jquery.

 The good thing about CORS is that you can simply do a normal ajax
 request and the browser will take care of the rest.

 On Thu, Aug 27, 2015 at 10:37 AM, Hannan Khan hann...@gmail.com wrote:

 Dear Alex

 Thank you for sharing the resources. but the problem still persists. i
 write as following:

 Ext.onReady( function() {
   Ext.Ajax.request({
 crossDomain: true,
 url: base + dhis-web-commons-security/login.action?authOnly=true,
 method: 'POST',

 Please check.

 Regards

 Hannan

 On Thu, Aug 27, 2015 at 1:00 PM, Alex Tumwesigye atumwesi...@gmail.com
  wrote:

 Dear Khan,

 Look at this
 http://api.jquery.com/jquery.ajax/
 Read about crossDomain, by default it set to false so you may need to
 set it to true.

 Ideally, in your ajax request, add crossDomain:true

 Alex



 On Thu, Aug 27, 2015 at 9:53 AM, Mark Polak mar...@ifi.uio.no wrote:

 Hello Hanna,

 Did you add http:// (or https:// if you use a secure line) in front
 of the IP address?

 On the demo instance this is a bit confusing as the examples do not
 show that but it is required for it to work correctly.

 Regards,

 Mark
 
 From: Dhis2-devs [dhis2-devs-bounces+markpo=
 ifi.uio...@lists.launchpad.net] on behalf of Hannan Khan [
 hann...@gmail.com]
 Sent: 27 August 2015 08:29
 To: DHIS 2 developers
 Subject: [Dhis2-devs] Web portal CORS/preflight problem

 Dear Experts

 I am facing problem to creating Web Portal, facing problem CORS.
 First I try portal from 103.247.238.68 not working and then put this
 address in the white list of the dhis2 server at 103.247.238.68:8080
 http://103.247.238.68:8080. But but still having the same problem
 the error message is 'which is disallowed for cross-origin requests that
 require preflight'.

 Now how I resolve this? The script is similar as on the developer
 guide, page 49.

 Please advice.

 Regards

 Hannan

 ___
 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




 --
 Alex Tumwesigye

 Technical Advisor - DHIS2 (Consultant),
 Ministry of Health/AFENET
 Kampala
 Uganda

 IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

 IT Specialist (Servers, Networks and Security, Health Information
 Systems - DHIS2 )  Solar Consultant

 +256 774149 775, + 256 759 800161

 I don't want to be anything other than what I have been - one tree
 hill 



 ___
 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







-- 
Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET
Kampala
Uganda

IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya

IT Specialist (Servers, Networks and Security, Health Information Systems -
DHIS2 )  Solar Consultant

+256 774149 775, + 256 759 800161

I don't want to be anything other than what I have been - one tree hill 
___
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


  1   2   >