Re: [Dhis2-users] Design data entry from - Hangs

2018-11-19 Thread Knut Staring
Hi Peter,
I suggest you try the same on the demo server and see if you get similar
issues:
https://play.dhis2.org/2.30/

Regards,
Knut

On Mon, Nov 19, 2018 at 7:07 PM Peter D Lubambi  wrote:

> Dear All,
> I am facing a problem with my DHIS2 instance, I am running version 2.30
> build number 10b133f , whenever I try to edit my custom data entry from
> it loads forever and nothing is logged in log. I have added about 7 data
> elements with (2* 10 = 24 category options)
> Server specs are 4GB RAM and 4Core.
>
> Any idea of what could be cause will be appreciated.
> Regards,
>
> Peter Dotto Lubambi,
> Skype: plubambi
> Mobile: +255 786 087 087
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] (no subject)

2018-11-07 Thread Knut Staring
The ISO format is 2018-11-07

On Wed, Nov 7, 2018, 20:29 Stanley Kalyati  What does this mean?
>
> Failed to update the event in the server
> Invalid format: "07-11-2018" is malformed at "18"
>
> Any quick advise?
>
> Stanley
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Generating sequential numbers in program rule

2018-11-01 Thread Knut Staring
create program rule variable of source type CALCULATED_VALUE //
>>>>>>>> Let say "auto-increment"
>>>>>>>> 2. create program rule with Program Rule Action as Assign Value and
>>>>>>>> select variable created in step 1 and assign it "#{auto-increment} + 1"
>>>>>>>> 3. Use it in your program rule where ever needed for example
>>>>>>>> v{current-date}-#{orgunit}-#{auto-increment}
>>>>>>>>
>>>>>>>> In order to use CALCULATED_CALUE make sure you are correctly
>>>>>>>> setting rule *priority*.
>>>>>>>>
>>>>>>>> Zubair Asghar
>>>>>>>> DHIS-2 Developer
>>>>>>>> University of Oslo
>>>>>>>> zub...@dhis2.org 
>>>>>>>> https://www.dhis2.org
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Oct 10, 2018 at 1:25 PM Terence Scott <
>>>>>>>> terence.sc...@rabiesalliance.org> wrote:
>>>>>>>>
>>>>>>>>> Dear All
>>>>>>>>>
>>>>>>>>> I am creating a program rule to develop a UID for the patient. I
>>>>>>>>> have currently created a program rule using d2:concatenate to bring 
>>>>>>>>> various
>>>>>>>>> attributes and DEs together into the Unique ID (such as date and 
>>>>>>>>> OrgUnit
>>>>>>>>> code). However, I would also like to include sequential numbering 
>>>>>>>>> after
>>>>>>>>> this to ensure that more than 1 case can be registered on a single 
>>>>>>>>> day.
>>>>>>>>>
>>>>>>>>> I have looked through all of the documentation and am unable to
>>>>>>>>> find anything along these lines. Is it possible?
>>>>>>>>>
>>>>>>>>> Example:
>>>>>>>>> 2018-10-10-OrgUnit code-1;
>>>>>>>>> 2018-10-10-OrgUnit code-2;
>>>>>>>>> 2018-10-10-OrgUnit code-3; etc.  (where 1,2 and 3 are the
>>>>>>>>> sequential numbers generated).
>>>>>>>>>
>>>>>>>>> I have also looked at Program Rule variables and am unsure as to
>>>>>>>>> what the "Calculated value" source type is, as in the documentation 
>>>>>>>>> it is
>>>>>>>>> listed as "TBA" with no further information.
>>>>>>>>>
>>>>>>>>> I would appreciate any help or advise.
>>>>>>>>>
>>>>>>>>> Kind regards,
>>>>>>>>> Terence
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Terence Scott
>>>>>>>>>
>>>>>>>>> Global Alliance for Rabies Control (GARC)
>>>>>>>>> Pan-African Rabies Control Network (PARACON) Steering Committee
>>>>>>>>> terence.sc...@rabiesalliance.org
>>>>>>>>> https://paracon.rabiesalliance.org
>>>>>>>>> Skype: tpscott1987
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>> Post to : dhis2-d...@lists.launchpad.net
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-d...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with the Pivot Table

2018-10-29 Thread Knut Staring
Citing Calle:
as a first step for any problem like this, you MUST
1.
Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using
Chrome), and copy the error messages appearing there (if any) to the post.
In many cases, the messages appearing will directly or indirectly show you
what the problem is.
2.
Monitor the tomcat/catalina log when you click save and continue, and again
copy the relevant sections to your post

Furthermore, your post do not indicate whether this is a newly defined
program which has never worked OR if it is a program that previously worked
fine and now don't work any more. If the latter, any information about
recent changes (e.g. updating to  a newer 2.29 war file) is helpful


On Mon, Oct 29, 2018, 7:08 AM Fahad Siddiqui  wrote:

> Waiting for reply on below query.
>
>
>
> Thanks :)
>
>
> Sent from Outlook 
> --
> *From:* Fahad Siddiqui
> *Sent:* Friday, October 26, 2018 12:28:06 PM
> *To:* dhis2-users@lists.launchpad.net
> *Subject:* Issue with the Pivot Table
>
>
> Thanks Knut for your reply. I have already run the analytics but issue is
> still the same i am also sharing the screen shot of actual issue.
>
> in screenshot i have data elements but its not showing and in second
> screen shot organisational units also not showing up. Thanks in advance.
>
>
>
> Sent from Outlook 
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Error when I click on Standard Report

2018-10-03 Thread Knut Staring
Hi Gabriel,
Please provide details like version of DHIS2 and send to the
dhis2-users@lists.launchpad.net.

Regards,
Knut

On Wed, Oct 3, 2018, 8:57 AM Gabriel  wrote:

> Error when I click on Standard Report
> An exception occurred
>
> Sorry! The system failed to execute the operation. Usually, no data is
> lost and you can continue working by going back to the previous page.
>
> Version:
> 2.28
> Build revision:
> a5da35f
> Build date:
> 2018-07-23 06:24
>
> Regards,
> Gabriel
> --
> This message was sent from Launchpad by
> Gabriel (https://launchpad.net/~garciaga)
> using the "Contact this team's admins" link on the DHIS 2 developers team
> page (https://launchpad.net/~dhis2-devs).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Error when I click on Standard Report

2018-10-03 Thread Knut Staring
Sorry, see you added the version. Do you have access to the Tomcat log?

Knut

On Wed, Oct 3, 2018, 9:48 AM Knut Staring  wrote:

> Hi Gabriel,
> Please provide details like version of DHIS2 and send to the
> dhis2-users@lists.launchpad.net.
>
> Regards,
> Knut
>
> On Wed, Oct 3, 2018, 8:57 AM Gabriel  wrote:
>
>> Error when I click on Standard Report
>> An exception occurred
>>
>> Sorry! The system failed to execute the operation. Usually, no data is
>> lost and you can continue working by going back to the previous page.
>>
>> Version:
>> 2.28
>> Build revision:
>> a5da35f
>> Build date:
>> 2018-07-23 06:24
>>
>> Regards,
>> Gabriel
>> --
>> This message was sent from Launchpad by
>> Gabriel (https://launchpad.net/~garciaga)
>> using the "Contact this team's admins" link on the DHIS 2 developers team
>> page (https://launchpad.net/~dhis2-devs).
>> For more information see
>> https://help.launchpad.net/YourAccount/ContactingPeople
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] assign data elements to an event program

2018-09-24 Thread Knut Staring
Hi, are you sure the data elements were created as Tracker elements rather
than aggregate ones?

Knut

On Mon, Sep 24, 2018, 10:39 AM Pau Varela  wrote:

> hi there,
>
> I'm running a clean installation of DHIS2 (2.30) and I'm unable to assign
> data elements to an Event Program I just created following:
> https://docs.dhis2.org/2.30/en/user/html/dhis2_user_manual_en_full.html#create_event_program
>
> Problem is I don't see any available data elements to assign from the
> Event Program > Assign data elements section.
>
> I've read some thread in this list about giving proper user roles to the
> programs (or viceversa), but I only have a super user (the default admin
> user) and still not seeing any data element
>
> As said, the installation has almost no data, and I only created few OU
> and data elements which got public access. I wonder if there is some
> meta-data or config value missing. I'm also not sure whether I should
> assign the OU to the program, but I can't see the way to do it.
>
> thanks in advance and best regards,
>
> pau.
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Script to identify which war version a backup was on

2018-09-20 Thread Knut Staring
Would be nice if the different versions could be stored in the database -
perhaps with a timestamp for each time it has been restarted? I guess it is
in the log, but few people store logs along their backups.

Knut

On Thu, Sep 20, 2018 at 10:46 AM Elmarie Claasen  wrote:

> Hi all,
>
>
>
> Is there any script to use in order to identify which war version a backup
> file was last started up with? And if so from which version is this
> available?
>
>
>
> 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
> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Fwd: External evaluation results of MyChild Solution based on Smart Paper Technology in Afghanistan

2018-09-13 Thread Knut Staring
 to Mehterlam by the end of 2018.
>
> The external evaluation reports provide information on the effects of
> MyChild Solution from four different perspectives which give valuable
> insights to key stakeholders. These perspectives are data quality, cost,
> efficiency gains and transfer of work processes to the local level.
>
> Based on the findings derived from these external evaluations Shifo, SCA,
> and MoPH will collaborate to further expand and investigate the
> intervention on a broader level to inform decision making for the
> sub-national implementation of the programme. The programme positively
> addressed all the key success metrics set in 2015 and brings opportunities
> to empower health and social workers at all levels of healthcare delivery who 
> continuously
> work to improve quality of child health services across the country based
> on reliable and relevant information.
>
> The full reports and additional information about MyChild Solution can be
> accessed using these links below:
>
> 1) Questing The MyChild Solution in Afghanistan- An external evaluation
> of Data Quality, Operational Cost and Efficiency:
>
>  https://shifo.org/doc/rmnch/MyChildExternalEvaluationAfghanistan2018.pdf
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fshifo.org%2Fdoc%2Frmnch%2FMyChildExternalEvaluationAfghanistan2018.pdf=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805141388=mEd3UTF5PEe9U5jPZ4GXD3ZBSGqXTaWnwhozL%2BsA0BQ%3D=0>
>
> 2) MyChild Solution in Afghanistan: An External Evaluation - Transfer of
> Work Processes to Existing Health System:
> https://shifo.org/doc/rmnch/ShifoExternalEvaluationTransferProcessAfghanistan.pdf
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fshifo.org%2Fdoc%2Frmnch%2FShifoExternalEvaluationTransferProcessAfghanistan.pdf=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805141388=9wUxIDfJeHGvPtLYPeP8eHi4Av4C%2FCbdRzmxRsupuLE%3D=0>
>
> 3) About MyChild Solution based on Smart Paper Technology:
> https://shifo.org/en/solution/
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fshifo.org%2Fen%2Fsolution%2F=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805151393=M0p1VNWSSY7MlEwxqVvBik3A0400kY0Jv113RjJBn2w%3D=0>
>
>
> 4) Project progress in Afghanistan: https://shifo.org/en/work/afghanistan/
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fshifo.org%2Fen%2Fwork%2Fafghanistan%2F=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805151393=t9ZNDm%2F%2B%2FaZoMIOpGL1oOAcXZ%2FHwTlgyS%2FJO4PLCmsg%3D=0>
>
> --
> You received this message because you are subscribed to the Google Groups
> "BID Initiative Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bidinitiativ...@googlegroups.com.
> To post to this group, send email to bidini...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bidinitiative/3de5a4ef-385b-4e74-9378-01c7325a53bb%40googlegroups.com
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fbidinitiative%2F3de5a4ef-385b-4e74-9378-01c7325a53bb%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805161403=U9tBaNtGhMahe3wccc9IxgRntL9kPaR%2BRJgboK5IIFk%3D=0>
> .
> For more options, visit https://groups.google.com/d/optout
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout=02%7C01%7Ccputa%40path.org%7Cef6f42a890124065bf9208d618a03851%7C29ca3f4f6d6749a5a001e1db48252717%7C0%7C0%7C636723473805161403=20bTf%2BiDk43BtSwBynWxBWQRaEDJPqzUGFo36F318HE%3D=0>
> .
>
-- 
You received this message because you are subscribed to the Google Groups
"BID Initiative Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to bidinitiative+unsubscr...@googlegroups.com.
To post to this group, send email to bidinitiat...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bidinitiative/5e97433e-b9b0-4cfb-90fa-8ef52c431aba%40googlegroups.com
<https://groups.google.com/d/msgid/bidinitiative/5e97433e-b9b0-4cfb-90fa-8ef52c431aba%40googlegroups.com?utm_medium=email_source=footer>
.
For more options, visit https://groups.google.com/d/optout.


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
Unless you know they are unique

On Sun, Sep 9, 2018, 7:10 PM Nayeem Al Mifthah  wrote:

> Thanks Knut. In that case using orgunit name as a ID scheme for data
> import may not work.
>
> [image: image.png]
>
>
> Regards,
> Nayeem Al Mifthah
> Consultant for HSS, HMIS, M, GIS and Surveillance
>
> Kindly ignore typos.
>
> On 9 Sep 2018 11:03 pm, "Knut Staring"  wrote:
>
> I think this is a feature, not a bug
>
> On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah 
> wrote:
>
>> Dear All
>> I have found that, Organisation unit name is accepting duplicate names.
>> Is it allowed now a days? or a bug? I have created a number of Sierra Leone
>> in 2.30 demo. Only Code field check duplicates.
>>
>> [image: image.png]
>> *Nayeem Al Mifthah*
>> *Health Information Systems Specialist*
>> Support to the National HMIS
>> MIS, Directorate General of Health Services
>> Ministry of Health and Family Welfare, Bangladesh
>> Telephone: +880-2-58816459|Fax: +880-2-58813875
>> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
>> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Uniqueness of organisation unit name

2018-09-09 Thread Knut Staring
I think this is a feature, not a bug

On Sun, Sep 9, 2018, 6:54 PM Nayeem Al Mifthah  wrote:

> Dear All
> I have found that, Organisation unit name is accepting duplicate names. Is
> it allowed now a days? or a bug? I have created a number of Sierra Leone in
> 2.30 demo. Only Code field check duplicates.
>
> [image: image.png]
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services
> Ministry of Health and Family Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875
> Mobile:  +88-01914 030 574|Email: n.mift...@gmail.com
> Skype: nayeem.a.m|   LinkedIn:  linkedin.com/in/nayeemam
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] PIVOTS WEEK NUMBERS WRONG

2018-09-06 Thread Knut Staring
Hi Walusiku,

What Bernard meant is not that you should immediately upgrade to 2.30
(though that is a good goal to have), but that you should download a new
version of 2.28, since bugs like this are getting fixed all the time.

Regards,
Knut

On Thu, Sep 6, 2018 at 10:25 AM Walusiku Muyunda  wrote:

> Exactly the same issue. Thank you for the guide. We just recently deployed
> our very first DHIS2 2.28 and still stabilizing so it will take a bit of
> time before we upgrade to 2.30. I'll still create a local instance and
> start testing the latest version.
>
> Thanks once more.
>
> On Thu, 6 Sep 2018, 10:04 Bernard Sadaka (IM Advisor), 
> wrote:
>
>> Hello,
>>
>> Are you facing something similar to this Jira issue?
>>
>> https://jira.dhis2.org/browse/DHIS2-3112
>>
>>
>>
>> If yes, according to that jira entry it has been solved. Maybe worth
>> updating to the latest war file?
>>
>>
>>
>> All the best,
>>
>> Bernard
>>
>>
>>
>> [image: cid:image002.png@01D36F50.572585A0]
>>
>> *Bernard Sadaka*
>>
>> *Information Management Advisor*
>>
>> Première Urgence - Aide Médicale Internationale
>>
>> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>>
>> Ain el Remmaneh, Beirut, Lebanon
>>
>> *E-mail:* lib@pu-ami.org
>>
>> *Cell:* +961 71 004 881 (208)
>>
>> *Skype:* imapuami
>>
>> *Website:* https://www.pu-ami.org
>>
>>
>>
>>
>>
>> *From:* Dhis2-users [mailto:dhis2-users-bounces+lib.ima=
>> pu-ami@lists.launchpad.net] *On Behalf Of *Walusiku Muyunda
>> *Sent:* Thursday, September 6, 2018 10:25 AM
>> *To:* dhis2-users@lists.launchpad.net
>> *Subject:* [Dhis2-users] PIVOTS WEEK NUMBERS WRONG
>>
>>
>>
>> Dear All,
>>
>>
>>
>> I need help understanding why our DHIS2 instance shows the same week
>> number for consecutive weeks when you run pivots? This is making it
>> difficult for users to understand the data. We are still using 2.28.
>>
>>
>>
>>
>>
>> *Walusiku J. Muyunda*
>>
>>
>>
>>
>> *Cell: +260967006614Cell: +260971000614*
>>
>> *Cell: +260953063387*
>>
>> *"We have heaven to win and hell to shun, our lives testify better!"
>> <http://wildvoices.blogspot.com/>*
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Please help!

2018-08-27 Thread Knut Staring
Forwarding to the users list.

On Mon, Aug 27, 2018 at 6:16 PM Frantz Peter 
wrote:

> Hi,
> I am Frantz from HIS Haiti team.
> I am in urgent need of assistance regarding an event program i create
> (on version 2.26) but i go to event capture for data entry it says that
> i lack of authority. When i move to 2.28, the hierarchy shows up but the
> event capture program keeps loading and never shows up for data entry!
> Can you please help me out so i can fix that and move on?
> --
> This message was sent from Launchpad by
> Frantz Peter (https://launchpad.net/~charles-frantzp)
> using the "Contact this team's admins" link on the DHIS 2 Users team page
> (https://launchpad.net/~dhis2-users).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tragic passing of Dr Dapo Adejumo

2018-08-27 Thread Knut Staring
How shocking and sad for us all. Dapo's enthusiasm and gentleness will be
sorely missed.

Knut

On Fri, Aug 24, 2018, 5:10 PM Adebusoye Anifalaje 
wrote:

> Dear DHIS 2 community,
>
> I am deeply saddened to inform you that Dapo passed away yesterday. This
> is still very shocking to us.
>
> We have set up a gofundme  page
> where you can donate to support his wife and two children. Even if you are
> not able to give a monetary donation his family will appreciate if you can
> share messages and memories on this page.
>
> Many thanks for your support. May his soul will rest in peace
>
> Very best wishes,
>
> - -
>
>
>
>
>
> *Busoye Anifalaje (PhD)Director of Services (Principal), BAO SystemsUK:
> +44 7901-740-757 | US: +1 682-307-0986| bus...@baosystems.com
>  | http://www.baosystems.com
>  |Skype: busoye | 2900 K Street, Suite 406,
> Washington D.C. 20007 *
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dhis2.30 Failing to start

2018-08-23 Thread Knut Staring
Hi there,

It may not be related to this at all, but have you made sure to install the
PostGIS extension, required  from 2.30?

https://github.com/dhis2/dhis2-releases/blob/master/releases/2.30/README.md

On Thu, Aug 23, 2018 at 4:46 PM Kabango Malewezi 
wrote:

> Dear Members,
> My DHIS2.30 is failing to start. This is a clean install not an upgrade.
> Please look at the enclosed log and assist.
> I installed 2.28 on the same server with no problems. I know this is not a
> new error to most of you.
>
> The error is: Error creating bean with name
> 'org.hisp.dhis.schema.PropertyIntrospectorService': Unsatisfied dependency
> expressed through field 'sessionFactory'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'sessionFactory' defined in URL
> [jar:file:/home/dhis/tomcat-dhis/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.30.jar!/META-INF/dhis/beans.xml]:
> Invocation of init method failed; nested exception is
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> at
> org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
> at
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201)
>
> See enclosed file for a complete log.
>
> Thank you in advance.
>
> --
>
>
> Name: Kabango Malewezi
>
>
> Jhpiego, City Center, Lilongwe, Malawi
>
> Mobile: +265 (0) 88 4 245 431
>
> skype: kabango.malewezi
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dictionary of database

2018-08-23 Thread Knut Staring
Forwarding to the DHIS 2 Users list 

On Mon, Aug 20, 2018 at 1:29 PM nolabia  wrote:

> Hello
>  I am nolabia william student at the University of Yaoundé I in
> Cameroon, I am in master 2 computer science. My end of training report
> is on the integration between the BAHMNI system (OpenMRS) and the DHIS2
> system. The big difficulty I have right now is the understanding of the
> database(DHIS2), I would like to know if I could have the data
> dictionary for a better understanding of the different tables in the
> database.
>
> Thank you
> --
> This message was sent from Launchpad by
> nolabia (https://launchpad.net/~nolabia)
> using the "Contact this team's admins" link on the DHIS 2 Users team page
> (https://launchpad.net/~dhis2-users).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing GADM boundaries into DHIS2

2018-08-22 Thread Knut Staring
Hi Nick,

I have been working on a solution to import all the levels, but if you are
really only looking for the country level, it is quite straightforward. The
main obstacle is the size of the file, which can be significantly reduced
by a) filtering out polygons that you don't need (e.g. Antartica) and b)
simplifying those you do need, e.g. using http://mapshaper.org/ (which can
also be downloaded and run locally on your laptop).

The filtering can be done in several ways.
a) It seems you already have the orgunits in your tree, which will then
serve as a filter itself. Do you already have three-letter ISO codes for
matching?
b) If you did not already have the countries (or no good way of matching),
you can use the ogr2ogr tool of the GDAL package like this:

ogr2ogr -where "GID_0  in
('AGO','BDI','COG','COD','GNQ','GAB','RWA','STP')" countries.shp
gadm36_0.shp

c) Since we now require PostGIS (from 2.30), that is the most versatile
tool for all of these manipulations (though not sure if the simplification
algorithms are as good as the ones Mapshaper offers).

I attach a file of all countries reduced to 4%, let me know if you are able
to use that directly.

Knut

On Tue, Aug 7, 2018 at 11:38 PM Shurajit Dutta 
wrote:

> Hi everyone
>
> Was wondering if there was a simplified process to import GADM (
> https://gadm.org/) boundaries into DHIS2.
>
> For example, if I have a global hierarchy of some sort and only want to
> import the country-level boundaries.
>
> ie.
> Global
> ---Regional
> -Country
>
> Thanks,
> Nick
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Error in event creation ERROR: relation "programstageinstance" does not exist Postion: 22

2018-08-20 Thread Knut Staring
Forwarding to user list.

On Mon, Aug 20, 2018 at 3:19 AM Parveen Panchal 
wrote:

> Hello Everyone,
>
> I  have created a tracker program in DHIS2 2.30. But when I am entering
> the data from tracker it is showing the following error.
> [image: error.png]
>
> Enrollment data has been entered but unable to edit it and enter data into
> different stages,
>
>
>
> --
>
>
>
>
>
> *Regards*
> *Parveen Panchal*
> *Contact No. - **+91-7827312972, **+91-9416865938*
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Request Help On How To Access Web API in DHIS2

2018-08-20 Thread Knut Staring
The API is accessible like this: https://play.dhis2.org/2.30/api/resources

It is documented here:
https://docs.dhis2.org/master/en/developer/html/webapi.html#webapi_introduction

Knut



On Mon, Aug 20, 2018 at 9:04 AM Getachew Chala  wrote:

> Hi all,
> I need Help On How To Access Web API in DHIS2. Please put the clear steps
> and procedures how to access DHIS2 Web API.
>
> Thanks
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing Organisation Unit

2018-08-19 Thread Knut Staring
Hello Nibras,

I am forwarding this to the DHIS 2 Users list <
dhis2-users@lists.launchpad.net>. Please use this address for technical
queries

Regards,
Knut

On Sun, Aug 19, 2018 at 1:27 AM Nibras Ar Rakib 
wrote:

> Dear Sir,
>
> My name is Nibras Ar Rakib and currently I am working at icddr, b
> (International Centre for Diarrhoeal Disease Research, Bangladesh) as
> programmer and involved in Routine Health Information System (RHIS).
>
> We have successfully installed and configured DHIS2 (2.29) for
> aggregated data collection purpose for different region of Bangladesh.
> Problem we are currently facing is preparing the csv file for importing
> organization unit.
>
> One particular field I do not understand that in the documentation
> (
> https://docs.dhis2.org/2.29/en/developer/html/webapi_csv_metadata_import.html-
> Table: 1.19) that there is column named UID and Parent UID. During
> populating the csv, do we need to specify those UIDS and Parent UIDS (I
> know we should do that otherwise hierarchy wont populate. Also then I
> need to handle Parent UIDS programmatically)? If that happens, then I
> need to populate the csv programmatically. I also know, DHIS2 has an API
> that provide stable identifier. Is there any other way around to develop
> the hierarchical organization unit?
>
> It would be really helpful if you provide your ideas or suggestion
> regarding this.
>
> This is the first time I am posting in this team. If this this team is
> not appropriate for this question please let me know and delete this
> message.
>
> Thanks & Regards,
> Nibras Ar Rakib
> --
> This message was sent from Launchpad by
> Nibras Ar Rakib (https://launchpad.net/~nibras.rakib)
> using the "Contact this team's admins" link on the DHIS 2 Users team page
> (https://launchpad.net/~dhis2-users).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Minimum Analytics Time

2018-08-17 Thread Knut Staring
Hi,

You can trigger it through the API with a cron script at any frequency you
like

Knut

On Fri, Aug 17, 2018 at 2:34 AM Walusiku Muyunda  wrote:

> Hello,
>
> Am back with another question. Is there a reason why the minimum analytics
> period is capped at Daily which results to 24 hours. Is there a way of
> reducing to say 5 hours and if there is where else, since settings only has
> the last option as daily.
>
> Kind regards.
>
>
> *Walusiku J. Muyunda*
>
>
> *"We have heaven to win and hell to shun, our lives testify better!"
> <http://wildvoices.blogspot.com/>*
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing GADM boundaries into DHIS2

2018-08-08 Thread Knut Staring
Glad it worked!

On Wed, Aug 8, 2018 at 5:43 PM Shurajit Dutta 
wrote:

> Thanks Knut, I was able to import directly from the file you shared via
> matching the ISO codes. Very helpful!
>
>
> On Wed, Aug 8, 2018 at 6:26 AM Knut Staring  wrote:
>
>> Forgot to add some regions that can be used for grouping and filtering
>> (these are not WHO regions):
>>
>> South-eastern Asia
>> 'BRN','IDN','KHM','LAO','MMR','MYS','PHL','SGP','THA','TLS','VNM'
>> Southern Asia
>> 'AFG','BGD','BTN','IND','IRN','LKA','MDV','NPL','PAK'
>> Western Asia
>>
>> 'ARE','ARM','AZE','BHR','CYP','GEO','IRQ','ISR','JOR','KWT','LBN','OMN','PSE','QAT','SAU','SYR','TUR','YEM'
>> Central Asia
>> 'KAZ','KGZ','TJK','TKM','UZB'
>> Eastern Asia
>> 'CHN','HKG','JPN','KOR','MAC','MNG','PRK','TWN'
>> Northern Africa
>> 'DZA','EGY','ESH','LBY','MAR','SDN','TUN'
>> Sub-Saharan Africa
>>
>> 'AGO','ATF','BDI','BEN','BFA','BWA','CAF','CIV','CMR','COD','COG','COM','CPV','DJI','ERI','ETH','GAB','GHA','GIN','GMB','GNB','GNQ','IOT','KEN','LBR','LSO','MDG','MLI','MOZ','MRT','MUS','MWI','MYT','NAM','NER','NGA','REU','RWA','SEN','SHN','SLE','SOM','SSD','STP','SWZ','SYC','TCD','TGO','TZA','UGA','ZAF','ZMB','ZWE'
>> 'AGO','BDI','COG','COD','GNQ','GAB','RWA','STP'
>>
>> On Wed, Aug 8, 2018 at 12:25 PM Knut Staring  wrote:
>>
>>> Hi Nick,
>>>
>>> I have been working on a solution to import all the levels, but if you
>>> are really only looking for the country level, it is quite straightforward.
>>> The main obstacle is the size of the file, which can be significantly
>>> reduced by a) filtering out polygons that you don't need (e.g. Antartica)
>>> and b) simplifying those you do need, e.g. using http://mapshaper.org/
>>> (which can also be downloaded and run locally on your laptop).
>>>
>>> The filtering can be done in several ways.
>>> a) It seems you already have the orgunits in your tree, which will then
>>> serve as a filter itself. Do you already have three-letter ISO codes for
>>> matching?
>>> b) If you did not already have the countries (or no good way of
>>> matching), you can use the ogr2ogr tool of the GDAL package like this:
>>>
>>> ogr2ogr -where "GID_0  in
>>> ('AGO','BDI','COG','COD','GNQ','GAB','RWA','STP')" countries.shp
>>> gadm36_0.shp
>>>
>>> c) Since we now require PostGIS (from 2.30), that is the most versatile
>>> tool for all of these manipulations (though not sure if the simplification
>>> algorithms are as good as the ones Mapshaper offers).
>>>
>>> I attach a file of all countries reduced to 4%, let me know if you are
>>> able to use that directly.
>>>
>>> Knut
>>>
>>> On Tue, Aug 7, 2018 at 11:38 PM Shurajit Dutta 
>>> wrote:
>>>
>>>> Hi everyone
>>>>
>>>> Was wondering if there was a simplified process to import GADM (
>>>> https://gadm.org/) boundaries into DHIS2.
>>>>
>>>> For example, if I have a global hierarchy of some sort and only want to
>>>> import the country-level boundaries.
>>>>
>>>> ie.
>>>> Global
>>>> ---Regional
>>>> -Country
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>> --
>>>> Shurajit Dutta (MPH, MHI)
>>>> Health Information Systems Adviser
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>>
>>> Department of Information, Evidence and Research
>>> World Health Organization, Geneva, Switzerland
>>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>>> Skype: knutstar
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing GADM boundaries into DHIS2

2018-08-08 Thread Knut Staring
Forgot to add some regions that can be used for grouping and filtering
(these are not WHO regions):

South-eastern Asia
'BRN','IDN','KHM','LAO','MMR','MYS','PHL','SGP','THA','TLS','VNM'
Southern Asia
'AFG','BGD','BTN','IND','IRN','LKA','MDV','NPL','PAK'
Western Asia
'ARE','ARM','AZE','BHR','CYP','GEO','IRQ','ISR','JOR','KWT','LBN','OMN','PSE','QAT','SAU','SYR','TUR','YEM'
Central Asia
'KAZ','KGZ','TJK','TKM','UZB'
Eastern Asia
'CHN','HKG','JPN','KOR','MAC','MNG','PRK','TWN'
Northern Africa
'DZA','EGY','ESH','LBY','MAR','SDN','TUN'
Sub-Saharan Africa
'AGO','ATF','BDI','BEN','BFA','BWA','CAF','CIV','CMR','COD','COG','COM','CPV','DJI','ERI','ETH','GAB','GHA','GIN','GMB','GNB','GNQ','IOT','KEN','LBR','LSO','MDG','MLI','MOZ','MRT','MUS','MWI','MYT','NAM','NER','NGA','REU','RWA','SEN','SHN','SLE','SOM','SSD','STP','SWZ','SYC','TCD','TGO','TZA','UGA','ZAF','ZMB','ZWE'
'AGO','BDI','COG','COD','GNQ','GAB','RWA','STP'

On Wed, Aug 8, 2018 at 12:25 PM Knut Staring  wrote:

> Hi Nick,
>
> I have been working on a solution to import all the levels, but if you are
> really only looking for the country level, it is quite straightforward. The
> main obstacle is the size of the file, which can be significantly reduced
> by a) filtering out polygons that you don't need (e.g. Antartica) and b)
> simplifying those you do need, e.g. using http://mapshaper.org/ (which
> can also be downloaded and run locally on your laptop).
>
> The filtering can be done in several ways.
> a) It seems you already have the orgunits in your tree, which will then
> serve as a filter itself. Do you already have three-letter ISO codes for
> matching?
> b) If you did not already have the countries (or no good way of matching),
> you can use the ogr2ogr tool of the GDAL package like this:
>
> ogr2ogr -where "GID_0  in
> ('AGO','BDI','COG','COD','GNQ','GAB','RWA','STP')" countries.shp
> gadm36_0.shp
>
> c) Since we now require PostGIS (from 2.30), that is the most versatile
> tool for all of these manipulations (though not sure if the simplification
> algorithms are as good as the ones Mapshaper offers).
>
> I attach a file of all countries reduced to 4%, let me know if you are
> able to use that directly.
>
> Knut
>
> On Tue, Aug 7, 2018 at 11:38 PM Shurajit Dutta 
> wrote:
>
>> Hi everyone
>>
>> Was wondering if there was a simplified process to import GADM (
>> https://gadm.org/) boundaries into DHIS2.
>>
>> For example, if I have a global hierarchy of some sort and only want to
>> import the country-level boundaries.
>>
>> ie.
>> Global
>> ---Regional
>> -Country
>>
>> Thanks,
>> Nick
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
> Skype: knutstar
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Google background maps not working anymore

2018-08-06 Thread Knut Staring
It seems perhaps a key has reached its limit of calls?

See here:
https://play.dhis2.org/2.30/dhis-web-maps/?id=voX07ulo2Bq

-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Uploading CSV data file with curl

2018-07-04 Thread Knut Staring
It is possible:
https://docs.dhis2.org/master/en/developer/html/webapi_csv_metadata_import.html

Knut

On Wed, Jul 4, 2018 at 2:31 PM Vladimer Shioshvili 
wrote:

> Leke,
>
> While it's good to use --data-binary, in your curl calls in both examples,
> you are missing -H switch in front of the content type (look at the example
> Knut provided), which makes it default to application/x-www-form-urlencoded.
> Make sure you include -H;
>
> Knut (and others), Leke's original question mentioned dataElements, and it
> got me looking too, and i noticed that while the documentation talks about
> columns for the metadata csv content, it never gives the API endpoints for
> importing metadata using CSV. Is that even possible? There are classes to
> handle it in the code, and I know import/export app does it (i've used it),
> but what about API?
>
> Vlad
>
> On Wed, Jul 4, 2018 at 5:45 AM Knut Staring  wrote:
>
>> Hi Leke, according to the link I sent you have to use --data-binary as in
>> this request:
>>
>> curl --data-binary @datavalueset.csv 
>> "https://play.dhis2.org/demo/24/api/dataValueSets;
>>   -H "Content-Type:application/csv" -u admin:district -v
>>
>> Knut
>>
>> On Wed, Jul 4, 2018 at 11:35 AM Olaleke Seweje 
>> wrote:
>>
>>> Thanks Knut, I tried with dataValueSets and got exactly the same error.
>>> Below is what my curl request looked like.
>>>
>>> curl -d @file.name.csv "http://myHostName/api/26/dataValueSets; -X POST
>>> "Content-Type: application/csv" -u username:password
>>>
>>>
>>> *The result*
>>>
>>>
>>> {"httpStatus":"Unsupported Media
>>> Type","httpStatusCode":415,"status":"ERROR","message":"Content type
>>> 'application/x-www-form-urlencoded' not supported"}curl: (6) Could not
>>> resolve host: Content-Type
>>>
>>>
>>> Please what do I need to look into again?
>>>
>>> Is the format of the curl request correct?
>>>
>>> Is there something I need to set on my DHIS instance to make it support
>>> such operations?
>>>
>>>
>>>
>>> On Wed, Jul 4, 2018 at 8:21 AM Knut Staring  wrote:
>>>
>>>> Hi Leke, are you sending METADATA or DATA VALUES?
>>>>
>>>> If the latter, you need to use dataValueSets:
>>>>
>>>> https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_sending_data_values
>>>>
>>>> Knut
>>>>
>>>> On Wed, Jul 4, 2018 at 5:58 AM Olaleke Seweje 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am trying to upload data via CURL as specified in the dev docs - 1.9.2. 
>>>>> Creating
>>>>> and updating objects. My request is as follows:
>>>>>
>>>>>
>>>>> curl -d @file._name.csv "http://myHostName/api/26/dataElements; -X
>>>>> POST "Content-Type: application/csv" -u username:password
>>>>>
>>>>>
>>>>>
>>>>> *The response I got was *
>>>>>
>>>>>
>>>>> {"httpStatus":"Unsupported Media
>>>>> Type","httpStatusCode":415,"status":"ERROR","message":"Content type
>>>>> 'application/x-www-form-urlencoded' not supported"}curl: (6) Could not
>>>>> resolve host: Content-Type
>>>>>
>>>>> I have tried content type text/csv as well but got similar results.
>>>>>
>>>>> My questions
>>>>> 1. Is my endpoint http://myHostName/api/26/dataElements the correct
>>>>> one for uploading data values via API?
>>>>>
>>>>> 2. Is the request format correct?
>>>>>
>>>>> 3. Is there something I need to set on my DHIS instance to make it
>>>>> support such operations?
>>>>>
>>>>> Thanks for your help.
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Leke Seweje
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-d...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>>
>>>> --
>>>> Knut Staring
>>>>
>>>> Department of Information, Evidence and Research
>>>> World Health Organization, Geneva, Switzerland
>>>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>>>> Skype: knutstar
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>> Skype: knutstar
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>

-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Uploading CSV data file with curl

2018-07-04 Thread Knut Staring
Hi Leke, according to the link I sent you have to use --data-binary as in
this request:

curl --data-binary @datavalueset.csv
"https://play.dhis2.org/demo/24/api/dataValueSets;
  -H "Content-Type:application/csv" -u admin:district -v

Knut

On Wed, Jul 4, 2018 at 11:35 AM Olaleke Seweje 
wrote:

> Thanks Knut, I tried with dataValueSets and got exactly the same error.
> Below is what my curl request looked like.
>
> curl -d @file.name.csv "http://myHostName/api/26/dataValueSets; -X POST
> "Content-Type: application/csv" -u username:password
>
>
> *The result*
>
>
> {"httpStatus":"Unsupported Media
> Type","httpStatusCode":415,"status":"ERROR","message":"Content type
> 'application/x-www-form-urlencoded' not supported"}curl: (6) Could not
> resolve host: Content-Type
>
>
> Please what do I need to look into again?
>
> Is the format of the curl request correct?
>
> Is there something I need to set on my DHIS instance to make it support
> such operations?
>
>
>
> On Wed, Jul 4, 2018 at 8:21 AM Knut Staring  wrote:
>
>> Hi Leke, are you sending METADATA or DATA VALUES?
>>
>> If the latter, you need to use dataValueSets:
>>
>> https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_sending_data_values
>>
>> Knut
>>
>> On Wed, Jul 4, 2018 at 5:58 AM Olaleke Seweje 
>> wrote:
>>
>>> Hi all,
>>>
>>> I am trying to upload data via CURL as specified in the dev docs - 1.9.2. 
>>> Creating
>>> and updating objects. My request is as follows:
>>>
>>>
>>> curl -d @file._name.csv "http://myHostName/api/26/dataElements; -X POST
>>> "Content-Type: application/csv" -u username:password
>>>
>>>
>>>
>>> *The response I got was *
>>>
>>>
>>> {"httpStatus":"Unsupported Media
>>> Type","httpStatusCode":415,"status":"ERROR","message":"Content type
>>> 'application/x-www-form-urlencoded' not supported"}curl: (6) Could not
>>> resolve host: Content-Type
>>>
>>> I have tried content type text/csv as well but got similar results.
>>>
>>> My questions
>>> 1. Is my endpoint http://myHostName/api/26/dataElements the correct one
>>> for uploading data values via API?
>>>
>>> 2. Is the request format correct?
>>>
>>> 3. Is there something I need to set on my DHIS instance to make it
>>> support such operations?
>>>
>>> Thanks for your help.
>>>
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>
> --
> Regards,
> Leke Seweje
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 Local Installation.

2018-06-24 Thread Knut Staring
Just download dhis2-live, unzip and start it with "java -jar dhis2-live.jar"

On Sat, Jun 23, 2018, 9:27 AM Alex Kimeu  wrote:

> Hello...
> Am trying to install DHIS2 locallly on my Ubuntu 17.10 installation. I
> followed the steps outlined in the documentation. However, when I switch
> over to the DHIS2 instance and login, the terminal won't start. Am a newbie.
>
> Kindly assist!
> Regards!
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Tracker Capture App not working in DHIS 2.29

2018-06-14 Thread Knut Staring
The answer is yes.

On Thu, Jun 14, 2018, 2:45 PM Kumar Shahdeo 
wrote:

> Hi All,
>
> I did a migration of DHIS2 from version 2.27 -> 2.28 -> 2.29.
> The tracker capture app is not loading properly and is throwing console
> error
>
> "*TypeError: Cannot read property 'id' of undefined*
> *at n.$scope.hasProgramTetAccess (home-controller.js:264*)"
>
> I find that the object store 'trackedEntityTypes' has no data in indexed
> DB.
> I have cleared all the browser cache and have tried opening DHIS in
> multiple browsers. I am getting same error every time.
> It was an incremental upgrade and I have not used the upgrade script
> provided by DHIS.
> What can be the possible reason behind this?
> Do I need to use upgrade script even if I do an incremental upgrade?
>
> --
> Kumar Gaurav Nath Shahdeo
> Developer
> Email gaura...@thoughtworks.com
> Telephone +91 9160688935
> [image: ThoughtWorks]
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] User manuals translation?

2018-06-13 Thread Knut Staring
I guess it is mainly the DHIS2 special vocabulary and the screenshot that
are missing from here
<https://translate.google.com/translate?sl=en=fr=y=_t=en=UTF-8=https%3A%2F%2Fdocs.dhis2.org%2Fmaster%2Fen%2Fuser%2Fhtml%2Fdhis2_user_manual_en.html=>

Knut

On Wed, Jun 13, 2018 at 10:30 AM Martin Van Aken 
wrote:

> Thanks, I understand the effort needed and most technical profile I know
> can read english, so I suppose this is both huge and difficult to priorise.
> A sort of "stupid" id - could we not start by putting the whole manual (or
> the various XML parts) through google translate as a basis, and accept
> contributions from that point? I tested it, it is surprinsingly good.
>
> Martin
>
> On Wed, Jun 13, 2018 at 8:16 AM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Martin,
>> Unfortunately, that version of the manual is extremely out of date and
>> incomplete. It has not been updated in a number of years.
>>
>> The translation process is currently a community driven one, with limited
>> support from the core team. The core team maintains a translation server (
>> https://translate.dhis2.org) for the software.
>>
>> Community contributions would certainly be welcome and if there are
>> specific questions about how to get started, please let me know.
>>
>> Regards,
>> Jason
>>
>>
>> On Wed, Jun 13, 2018 at 7:53 AM Martin Van Aken 
>> wrote:
>>
>>> Hi,
>>> Some of our users are French speaking, and while I know the interface is
>>> translated, are some of the doc (user or even implementer manual) available
>>> in French somewhere?
>>>
>>> I though not then found a GitHub repo here:
>>> https://github.com/dhis2/dhis2-docs-fr but I'm unsure about the status
>>> (one year old is not that bad if needed).
>>>
>>> Is there a goal to drive such an effort, possibly community driven?
>>>
>>> Martin
>>> --
>>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>>
>>> Mobile : +32 486 899 652
>>>
>>> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
>>> Call me on Skype : vanakenm
>>> Hang out with me : mar...@joyouscoding.com
>>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>>> Company website : www.joyouscoding.com
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>
>
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken>
> Call me on Skype : vanakenm
> Hang out with me : mar...@joyouscoding.com
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Analytics error in 2.29

2018-06-11 Thread Knut Staring
Perhaps you could try with the latest build of 2.29, in case this is
related to a bug that was recently fixed:
https://jira.dhis2.org/browse/DHIS2-3844

Knut

On Mon, Jun 11, 2018 at 9:49 AM Barnabas Akumba 
wrote:

> Hello All,
>
> I've been having some issues with Analytics since I upgraded from 2.28 to
> 2.29.
> The scheduled Analytics which is supposed to run at 12:00 midnight always
> fails with the following error (Screen shot):
>
>
> I've always had to drop the analytics table manually using the CASCADE
> option and afterwards have to re-run analytics and it works.
> Has any one experienced this? How can it be solved?
>
> Regards
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Week number

2018-06-11 Thread Knut Staring
Hi Nada, they are supposed to be ISO, so please give details about how you
saw they seemed not to be:
https://docs.dhis2.org/2.23/en/user/html/ch03s04.html

On Mon, Jun 11, 2018 at 8:51 AM Nada Ghosn  wrote:

> Good morning,
> I realized today that week numbers used by dhis2 are not the ISO ones.
> I will be thankful if you can advice on how to display weeks using the ISO
> weeks (ISO 8601).
> Sincerely
> Nada
>
> --
> Nada Ghosn, MD
> Head, Epidemiology Surveillance Program (Esumoh)
> Ministry of Public Health
> Beirut, Museum square
> Lebanon
> Tel +961.1.614194
> Fax +961.1.610920
> Email esumoh...@gmail.com, esu...@moph.gov.lb
> Website www.moph.gov.lb
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Short name as a system setting

2018-06-07 Thread Knut Staring
There is a lot of value in being able to select "short names" for
analytical outputs like charts and tables, but currently this is a system
setting, i.e. you have to make the decision for EVERYTHING. Would it not
make more sense to specify this PER FAVORITE? And should CODE be a third
option?

To make it a slightly wider discussion, to what extent are people actually
using short names for?

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


Re: [Dhis2-users] [Dhis2-devs]Error while deleting a data element

2018-06-06 Thread Knut Staring
I don't know what the issue would be, but have you checked that there is
nothing in the datavalue table with this dataelementid?

Knut

On Wed, Jun 6, 2018 at 12:14 PM Preeti Ajgaonkar 
wrote:

> Hi,
>
> I am receiving a *504-Gateway-Timeout* exception whenever I try to delete
> any of the data elements in DHIS 2.27. The DELETE
> https://hmis-qa.ehealthunit.org/api/27/dataElements/a6a1a84029f call runs
> for a long time and finally fails with the above error in console and 
> '*undefined
> was not deleted*' error in the UI. There is no error in the server log as
> well. Could anyone help me know how to get this issue resolved?
>
> --
> Thanks
> Preeti Ajgaonkar
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] CAN NOT ADD DATA ELEMENTS TO A DATA SET

2018-06-06 Thread Knut Staring
Do you see the same problem in the online demo?

On Wed, Jun 6, 2018, 8:55 AM Stanley Kalyati  wrote:

> I am using dhis2 version 2.29.I have just noticed that i can not add new
> data elements to my data set.It keeps telling me that "Could not Save Data
> Set".
>
> Has anyone experienced this? If so what is the cause?
>
> Its urgent.
>
> Thank you
>
> Stanley
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] EPI week(Start Saturday) - display week number in visual

2018-06-03 Thread Knut Staring
Thanks Nayeem - this possibility is why I recommended he try it on the
latest demo instance.

On Sun, Jun 3, 2018 at 5:47 PM Nayeem Al Mifthah 
wrote:

> Dear Knut and Peter
> This bug has already reported and already solved.
>
> Peter, you may upgrade with latest war file.
>
> *Nayeem Al Mifthah*
> *Health Information Systems Specialist*
> Support to the National HMIS
> MIS, Directorate General of Health Services, Ministry of Health and Family
> Welfare, Bangladesh
> Telephone: +880-2-58816459|Fax: +880-2-58813875|Mobile:
>  +88-01914 030 574
> Email: n.mift...@gmail.com|Skype: nayeem.a.m|   LinkedIn:
> linkedin.com/in/nayeemam
> ​
>
> On Sun, Jun 3, 2018 at 7:21 PM, Knut Staring  wrote:
>
>> Looks like a bug, can you recreate this on https://play.dhis2.org/2.29
>> and file an issue on https://jira.dhis2.org ?
>>
>> Regards,
>> Knut
>>
>> On Sun, Jun 3, 2018 at 10:02 AM Peter D Lubambi 
>> wrote:
>>
>>> Hi All,
>>> I am experiencing this problem of display, it displays same week number
>>> for different weeks in visualization  - anyone else experienced this? How
>>> do you handle it, it confuses users. see image below
>>>
>>>
>>>
>>>
>>> Regards,
>>>
>>> Peter Dotto Lubambi,
>>> Skype: plubambi
>>> Mobile: +255 786 087 087
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>> Skype: knutstar
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] EPI week(Start Saturday) - display week number in visual

2018-06-03 Thread Knut Staring
Looks like a bug, can you recreate this on https://play.dhis2.org/2.29 and
file an issue on https://jira.dhis2.org ?

Regards,
Knut

On Sun, Jun 3, 2018 at 10:02 AM Peter D Lubambi  wrote:

> Hi All,
> I am experiencing this problem of display, it displays same week number
> for different weeks in visualization  - anyone else experienced this? How
> do you handle it, it confuses users. see image below
>
>
>
>
> Regards,
>
> Peter Dotto Lubambi,
> Skype: plubambi
> Mobile: +255 786 087 087
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Error while opening Tracker capture in DHIS2.29

2018-05-31 Thread Knut Staring
That could be a possible source of your problem then

On Thu, May 31, 2018, 10:49 AM Kumar Shahdeo 
wrote:

> No I have not done an intermediate upgrade to 2.28. I used the upgrade
> script in existing 2.27 db that I had to move directly to 2.29
>
> On Thu, May 31, 2018 at 1:21 PM, Knut Staring  wrote:
>
>> You did do the intermediate upgrade to 2.28?
>>
>> On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo 
>> wrote:
>>
>>> HI Dhis2 Users/Devs
>>>
>>> I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade
>>> script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.
>>> I am able to run DHIS 2.29, However, I am getting some issues with
>>> tracker capture app.
>>> I am getting this error on console when I open tracker capture app :
>>>
>>>
>>> *" Cannot set property 'programTrackedEntityAttribute' of undefined " *
>>>
>>> Can you please point me to what is issue with this ?
>>>
>>> --
>>> Kumar Gaurav Nath Shahdeo
>>> Developer
>>> Email gaura...@thoughtworks.com
>>> Telephone +91 9160688935 <+91+9160688935>
>>> [image: ThoughtWorks]
>>> <http://www.thoughtworks.com/?utm_campaign=kumar-gaurav%20nath%20shahdeo-signature_medium=email_source=thoughtworks-email-signature-generator>
>>> _______
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>
>
> --
> Kumar Gaurav Nath Shahdeo
> Developer
> Email gaura...@thoughtworks.com
> Telephone +91 9160688935 <+91+9160688935>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=kumar-gaurav%20nath%20shahdeo-signature_medium=email_source=thoughtworks-email-signature-generator>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Error while opening Tracker capture in DHIS2.29

2018-05-31 Thread Knut Staring
You did do the intermediate upgrade to 2.28?

On Thu, May 31, 2018 at 9:42 AM Kumar Shahdeo 
wrote:

> HI Dhis2 Users/Devs
>
> I have recently migrated from DHIS 2.27 to DHIS 2.29. I ran the upgrade
> script provided by DHIS for 2.29 upgrade on my existing 2.27 DB.
> I am able to run DHIS 2.29, However, I am getting some issues with tracker
> capture app.
> I am getting this error on console when I open tracker capture app :
>
>
> *" Cannot set property 'programTrackedEntityAttribute' of undefined " *
>
> Can you please point me to what is issue with this ?
>
> --
> Kumar Gaurav Nath Shahdeo
> Developer
> Email gaura...@thoughtworks.com
> Telephone +91 9160688935 <+91+9160688935>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=kumar-gaurav%20nath%20shahdeo-signature_medium=email_source=thoughtworks-email-signature-generator>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Data Not Showing up on Pivot for basic queries

2018-05-18 Thread Knut Staring
Are you using the same database with 2.29 as with 2.28? Did you run the SQL
upgrade script?

Knut

On Fri, May 18, 2018 at 6:43 PM, Olaleke Seweje <sewejeolal...@gmail.com>
wrote:

> Hi all,
> So I have a DHIS2 deploy that i am just setting up with tables and charts.
> When I create data set and enter data, no matter what I do, the data does
> not show on the analysis tools for data, period and org unit selection.
>
> Interestingly, when I attach a category combination with the data set and
> select the combo in addition to data, period,  org unit, i get data. Though
> the data seems incorrect. Still looking into that.
>
> I have run Analytics export severally, waited 24 hours, cleared
> application and browser caches, checked on a new browser, etc. still no
> data. I am using DHIS 2.29 and I have checked on Chrome, Safari and Firefox.
>
> I tried same set up on DHIS 2.28 that I had and it worked at once.
>
> Does anyone have ideas on this pls? Is this an issue with DHIS 2.29 or is
> there something I need to check??
>
> Thanks
>
>
> --
> Regards,
> Leke Seweje
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Tracker Capture User roles

2018-05-16 Thread Knut Staring
If that is the case also on the online demo, please file a JIRA bug.

Knut

On Wed, May 16, 2018 at 12:55 PM, Alex Tumwesigye <atumwesi...@gmail.com>
wrote:

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


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] ERRORS

2018-05-15 Thread Knut Staring
Hi Alex,

No idea really (and could not see the image you included), but could it be
that you have some funny characters like ' or " etc in some of your orgunit
names? Normally this should not be an issue (it should be catered for),
just something to quickly look for perhaps.

Knut

On Sun, Mar 4, 2018 at 12:35 PM, Alex Macharia <amacha...@gmail.com> wrote:

> Dear dhis2-users,
>
> I have encountered a problem with my local instance and would like your
> assistance into solving this issue. Am not able to use dataentry tables
> reason being that when I select from the Organisation tree on the left, it
> is not updating/reflecting on the right as is supposed to for me to access
> the datasets
>
> and hence do the data entry itself.
>
>
>
> What might be the issue with my local instance? I have also found these
> syntax errors from the page source.
>
>
> “Uncaught SyntaxError: missing ) after argument list
>
> entry.js?_rev=bcf0b5c:24
>
> Uncaught TypeError: Cannot set property 'updateDataElementTotals' of
> undefined
>
> at entry.js?_rev=bcf0b5c:24history.js:229
>
> Uncaught TypeError: Cannot set property 'insertCommentOptionSet' of
> undefined
>
> at history.js:229
> entry.fileresource.js:150
>
> Uncaught SyntaxError: Unexpected identifier   index.action:206
>
> Uncaught ReferenceError: organisationUnitSelected is not definedat
> index.action:206”
>
>
>
> I have deployed DHIS2 version 2.28 on Postgresql 9.6.
>
>
>
> All my datasets have been assigned to organisation units.
>
>
>
> This is a snippet of how it looks after selecting orgunit by name.
>
>
>
> --
> ALEX MACHARIA
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Unable to load dataelements to create indicators

2018-05-15 Thread Knut Staring
Hi Allan,

Could you try to clean your browser cache, or use another browser?

Do you see any errors in your server log? Are you using DHIS2 Live?

Knut

On Tue, May 15, 2018 at 2:51 PM, Allan Makunku <amaku...@gmail.com> wrote:

> Hi
>
> Am trying to create indicators for my dhis2 instance but the problem is
> that my dataelements cannot load under edit numerator/denominator section
> in the Indicator feature.
>
> I am using dhis2 live 2.29 with PostgreSQL in the windows environment. Is
> there any thing i can do to get over this. I have alread posted this
> question on the mailing list and awaiting for response.
>
> Regards
>
> Allan
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] The visual chart download as png picture/pdf , all chinese word is crazy.

2018-05-14 Thread Knut Staring
Thanks, Easy. Please create a JIRA bug issue for this.

Regards,
Knut

2018-05-14 9:56 GMT+02:00 林晓东 <lin...@126.com>:

> Dear all,
>   just as fellow:
> Thanks.
>
>
>
>
> --
> 此致
>
>林晓东
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Data not showing up in Pivot Table

2018-05-14 Thread Knut Staring
And then look at your Tomcat log for any errors as you run analytics.

On Mon, May 14, 2018 at 8:59 AM, Olaleke Seweje <sewejeolal...@gmail.com>
wrote:

> Okay, let me do that and see.
>
> On Mon, May 14, 2018 at 7:45 AM, Stanley Kalyati <skaly...@gmail.com>
> wrote:
>
>> No that is not normal.Try to reboot the system and re run the processes.
>>
>> On Mon, May 14, 2018, 08:41 Olaleke Seweje <sewejeolal...@gmail.com>
>> wrote:
>>
>>> I am running it now but it's been going on for about 5 mins. For only
>>> one form filled just once, should that be normal?
>>>
>>> On Mon, May 14, 2018 at 7:29 AM, Timothy Kiyemba <tkiye...@gmail.com>
>>> wrote:
>>>
>>>> run analytics
>>>>
>>>> On Mon, May 14, 2018 at 9:04 AM, Olaleke Seweje <
>>>> sewejeolal...@gmail.com> wrote:
>>>>
>>>>> Hello all,
>>>>> I have just created my first DHIS data set, entered data for data
>>>>> elements for the set and completed the form successfully. However, when I
>>>>> go to the Pivot Table app to check, the data does not show up.
>>>>>
>>>>> I have selected same organization units and period as I selected while
>>>>> filling the form.
>>>>>
>>>>> Please is there something I need to do to make the data show up?
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Leke Seweje
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>
>
> --
> Regards,
> Leke Seweje
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Data not showing up in Pivot Table

2018-05-14 Thread Knut Staring
https://docs.dhis2.org/2.23/en/user/html/ch33.html

On Mon, May 14, 2018 at 8:04 AM, Olaleke Seweje <sewejeolal...@gmail.com>
wrote:

> Hello all,
> I have just created my first DHIS data set, entered data for data elements
> for the set and completed the form successfully. However, when I go to the
> Pivot Table app to check, the data does not show up.
>
> I have selected same organization units and period as I selected while
> filling the form.
>
> Please is there something I need to do to make the data show up?
>
> --
> Regards,
> Leke Seweje
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Trouble running Analytics for 2.29

2018-05-11 Thread Knut Staring
Enclosing parts of the log - I see a hint  to increase max_wal_size

And also these lines:

2018-05-11 07:03:59 UTC [16449-2] LOG:  server process (PID 18016) was
terminated by signal 9: Killed
2018-05-11 07:03:59 UTC [16449-3] DETAIL:  Failed process was running:
create index "in_uidlevel4_ax_2015_r7jVa" on analytics_temp_2015
("uidlevel4")


On Fri, May 11, 2018 at 1:57 AM, Bob Jolliffe <bobjolli...@gmail.com> wrote:

> It will most likely be a memory issue which gets exhausted at the same
> place each time. The log should be in standard place of
> /var/log/postgreswl/ etc. Not really anything to do with tools.
>
> On Thu, 10 May 2018, 22:00 Knut Staring, <knu...@gmail.com> wrote:
>
>> Thanks Bob, I will try, but where is the postgresql log file in your
>> setup (with dhis2-tools)?
>>
>> The strange thing is that everything else works up until the last part of
>> aggregation. In other words, I can do this again and again,
>>
>> Knut
>>
>> On Thu, May 10, 2018 at 6:19 PM, Bob Jolliffe <bobjolli...@gmail.com>
>> wrote:
>>
>>> Your database has popped 
>>>
>>> To find out why take a look in the postgresql log file around the same
>>> time.
>>>
>>> On Thu, 10 May 2018, 13:51 Knut Staring, <knu...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Wondering if anyone has a tip for what is going wrong on my serer. I
>>>> just tested running Analytics in 2.29 with the same db on my laptop and
>>>> there were no issues, but everytime I try to do this on the server, it
>>>> gives me the following:
>>>>
>>>>  INFO  2018-05-10 08:06:51,987 [Level: INFO, category: ANALYTICS_TABLE,
>>>> time: Thu May 10 08:06:51 UTC 2018, message: Applying aggregation levels]
>>>> (InMemoryNotifier.java [taskScheduler-14])
>>>> * INFO  2018-05-10 08:07:10,890 Vacuumed tables
>>>> (DefaultAnalyticsTableService.java [taskScheduler-14])
>>>> * INFO  2018-05-10 08:07:10,890 Applied aggregation levels:
>>>> 00:01:54.496 (Clock.java [taskScheduler-14])
>>>> * INFO  2018-05-10 08:07:10,890 [Level: INFO, category:
>>>> ANALYTICS_TABLE, time: Thu May 10 08:07:10 UTC 2018, message: Creating
>>>> indexes] (InMemoryNotifier.java [taskScheduler-14])
>>>> * INFO  2018-05-10 08:07:10,891 No of analytics table indexes: 204
>>>> (DefaultAnalyticsTableService.java [taskScheduler-14])
>>>> May 10, 2018 8:07:25 AM org.postgresql.core.v3.ConnectionFactoryImpl
>>>> log
>>>> WARNING: SQLException occurred while connecting to localhost:5432
>>>> org.postgresql.util.PSQLException: FATAL: the database system is in
>>>> recovery mode
>>>> at org.postgresql.core.v3.ConnectionFactoryImpl.
>>>> doAuthentication(ConnectionFactoryImpl.java:475)
>>>> at org.postgresql.core.v3.ConnectionFactoryImpl.
>>>> openConnectionImpl(ConnectionFactoryImpl.java:207)
>>>> at org.postgresql.core.ConnectionFactory.openConnection(
>>>> ConnectionFactory.java:49)
>>>> at org.postgresql.jdbc.PgConnection.(
>>>> PgConnection.java:195)
>>>> at org.postgresql.Driver.makeConnection(Driver.java:452)
>>>> at org.postgresql.Driver.connect(Driver.java:254)
>>>> at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(
>>>> DriverManagerDataSource.java:175)
>>>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>>>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
>>>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>>>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
>>>> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$
>>>> 1PooledConnectionResourcePoolManager.acquireResource(
>>>> C3P0PooledConnectionPool.java:203)
>>>> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(
>>>> BasicResourcePool.java:1138)
>>>> at com.mchange.v2.resourcepool.BasicResourcePool.
>>>> doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(
>>>> BasicResourcePool.java:1125)
>>>> at com.mchange.v2.resourcepool.BasicResourcePool.access$700(
>>>> BasicResourcePool.java:44)
>>>> at com.mchange.v2.resourcepool.BasicResourcePool$
>>>> ScatteredAcquireTask.run(BasicResourcePool.java:1870)
>>>> at com.mchange.v2.a

Re: [Dhis2-users] How can I access dhis2

2018-05-11 Thread Knut Staring
Some additional information here:
https://www.dhis2.org/hosting

On Fri, May 11, 2018 at 8:24 AM, Morten Olav Hansen <mor...@dhis2.org>
wrote:

> Hi
>
> That depends on what system you are installing it on (windows, linux,
> etc..) but we have some general notes in our implementation guide, please
> have a look
>
> https://docs.dhis2.org/master/en/implementer/html/dhis2_
> implementation_guide.html
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, May 11, 2018 at 11:00 AM, 노성채 <coramdeo@gmail.com> wrote:
>
>> Thank you for your explanation.
>>
>>
>> Now I can access demo site,
>>
>> and could you explain how to make our own server?
>>
>> is there guide for that?
>>
>>
>>
>>
>> Thank you for you kindness
>>
>>
>>
>> Regards
>>
>> Daniel Noh.
>>
>>
>>
>> 2018-05-11 3:59 GMT+02:00 John Lewis <johnlewis.h...@gmail.com>:
>>
>>> Hi ,
>>> I guess you went to http://dhis.org/ Not https://www.dhis2.org/.
>>> Dhis2 is the official site and it is free and open.
>>> John
>>>
>>> On Fri, May 11, 2018 at 08:53, Morten Olav Hansen <mor...@dhis2.org>
>>> wrote:
>>>
>>>> Hi there
>>>>
>>>> Which DHIS2 instance are you talking about? if you are talking about
>>>> our demo servers, they can be accessed by the user admin/district (
>>>> https://play.dhis2.org/2.29).
>>>>
>>>> Other than that, you will need to contact the administrator of your
>>>> instance (I'm not sure what you mean by donated, I hope nobody made you pay
>>>> to use DHIS2)
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Fri, May 11, 2018 at 4:23 AM, 노성채 <coramdeo@gmail.com> wrote:
>>>>
>>>>> Hello. All
>>>>>
>>>>> I'd like to use dhis2, but even I made account, when I try to login, I
>>>>> can't access
>>>>> (Even I donated ..)
>>>>>
>>>>>
>>>>> Dose anyone know? How I can login?
>>>>>
>>>>>
>>>>> Please let me know...
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Seonghchae NOH *
>>>>> Project Manager
>>>>> Good Neighbors International (Malawi)
>>>>> P.O.Box 30721, Lilongwe 3, Malawi
>>>>> Phone  265-(0)993-672 894
>>>>> Email   coramde...@gni.kr <s...@gni.kr> / coramdeo@gmail.com
>>>>> <sue.gnmal...@gmail.com>
>>>>>
>>>>> GNI is an NGO in General Consultative Status with UN ECOSOC.
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>
>>
>> --
>> *Seonghchae NOH *
>> Project Manager
>> Good Neighbors International (Malawi)
>> P.O.Box 30721, Lilongwe 3, Malawi
>> Phone  265-(0)993-672 894
>> Email   coramde...@gni.kr <s...@gni.kr> / coramdeo@gmail.com
>> <sue.gnmal...@gmail.com>
>>
>> GNI is an NGO in General Consultative Status with UN ECOSOC.
>>
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Trouble running Analytics for 2.29

2018-05-10 Thread Knut Staring
Thanks Bob, I will try, but where is the postgresql log file in your setup
(with dhis2-tools)?

The strange thing is that everything else works up until the last part of
aggregation. In other words, I can do this again and again,

Knut

On Thu, May 10, 2018 at 6:19 PM, Bob Jolliffe <bobjolli...@gmail.com> wrote:

> Your database has popped 
>
> To find out why take a look in the postgresql log file around the same
> time.
>
> On Thu, 10 May 2018, 13:51 Knut Staring, <knu...@gmail.com> wrote:
>
>> Hi all,
>>
>> Wondering if anyone has a tip for what is going wrong on my serer. I just
>> tested running Analytics in 2.29 with the same db on my laptop and there
>> were no issues, but everytime I try to do this on the server, it gives me
>> the following:
>>
>>  INFO  2018-05-10 08:06:51,987 [Level: INFO, category: ANALYTICS_TABLE,
>> time: Thu May 10 08:06:51 UTC 2018, message: Applying aggregation levels]
>> (InMemoryNotifier.java [taskScheduler-14])
>> * INFO  2018-05-10 08:07:10,890 Vacuumed tables
>> (DefaultAnalyticsTableService.java [taskScheduler-14])
>> * INFO  2018-05-10 08:07:10,890 Applied aggregation levels: 00:01:54.496
>> (Clock.java [taskScheduler-14])
>> * INFO  2018-05-10 08:07:10,890 [Level: INFO, category: ANALYTICS_TABLE,
>> time: Thu May 10 08:07:10 UTC 2018, message: Creating indexes]
>> (InMemoryNotifier.java [taskScheduler-14])
>> * INFO  2018-05-10 08:07:10,891 No of analytics table indexes: 204
>> (DefaultAnalyticsTableService.java [taskScheduler-14])
>> May 10, 2018 8:07:25 AM org.postgresql.core.v3.ConnectionFactoryImpl log
>> WARNING: SQLException occurred while connecting to localhost:5432
>> org.postgresql.util.PSQLException: FATAL: the database system is in
>> recovery mode
>> at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(
>> ConnectionFactoryImpl.java:475)
>> at org.postgresql.core.v3.ConnectionFactoryImpl.
>> openConnectionImpl(ConnectionFactoryImpl.java:207)
>> at org.postgresql.core.ConnectionFactory.openConnection(
>> ConnectionFactory.java:49)
>> at org.postgresql.jdbc.PgConnection.(PgConnection.java:195)
>> at org.postgresql.Driver.makeConnection(Driver.java:452)
>> at org.postgresql.Driver.connect(Driver.java:254)
>> at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(
>> DriverManagerDataSource.java:175)
>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
>> at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$
>> 1PooledConnectionResourcePoolManager.acquireResource(
>> C3P0PooledConnectionPool.java:203)
>> at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(
>> BasicResourcePool.java:1138)
>> at com.mchange.v2.resourcepool.BasicResourcePool.
>> doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(
>> BasicResourcePool.java:1125)
>> at com.mchange.v2.resourcepool.BasicResourcePool.access$700(
>> BasicResourcePool.java:44)
>> at com.mchange.v2.resourcepool.BasicResourcePool$
>> ScatteredAcquireTask.run(BasicResourcePool.java:1870)
>> at com.mchange.v2.async.ThreadPoolAsynchronousRunner$
>> PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
>>
>> May 10, 2018 8:07:25 AM org.postgresql.Driver connect
>> SEVERE: Connection error:
>> org.postgresql.util.PSQLException: FATAL: the database system is in
>> recovery mode
>> at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(
>> ConnectionFactoryImpl.java:475)
>> at org.postgresql.core.v3.ConnectionFactoryImpl.
>> openConnectionImpl(ConnectionFactoryImpl.java:207)
>> at org.postgresql.core.ConnectionFactory.openConnection(
>> ConnectionFactory.java:49)
>> at org.postgresql.jdbc.PgConnection.(PgConnection.java:195)
>> at org.postgresql.Driver.makeConnection(Driver.java:452)
>> at org.postgresql.Driver.connect(Driver.java:254)
>> at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(
>> DriverManagerDataSource.java:175)
>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
>> at com.mchange.v2.c3p0.WrapperConnectionPoolDataSourc
>> e.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
>> at com.mchange.v2.c3p0.impl.C3P0Po

[Dhis2-users] Trouble running Analytics for 2.29

2018-05-10 Thread Knut Staring
Hi all,

Wondering if anyone has a tip for what is going wrong on my serer. I just
tested running Analytics in 2.29 with the same db on my laptop and there
were no issues, but everytime I try to do this on the server, it gives me
the following:

 INFO  2018-05-10 08:06:51,987 [Level: INFO, category: ANALYTICS_TABLE,
time: Thu May 10 08:06:51 UTC 2018, message: Applying aggregation levels]
(InMemoryNotifier.java [taskScheduler-14])
* INFO  2018-05-10 08:07:10,890 Vacuumed tables
(DefaultAnalyticsTableService.java [taskScheduler-14])
* INFO  2018-05-10 08:07:10,890 Applied aggregation levels: 00:01:54.496
(Clock.java [taskScheduler-14])
* INFO  2018-05-10 08:07:10,890 [Level: INFO, category: ANALYTICS_TABLE,
time: Thu May 10 08:07:10 UTC 2018, message: Creating indexes]
(InMemoryNotifier.java [taskScheduler-14])
* INFO  2018-05-10 08:07:10,891 No of analytics table indexes: 204
(DefaultAnalyticsTableService.java [taskScheduler-14])
May 10, 2018 8:07:25 AM org.postgresql.core.v3.ConnectionFactoryImpl log
WARNING: SQLException occurred while connecting to localhost:5432
org.postgresql.util.PSQLException: FATAL: the database system is in
recovery mode
at
org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:475)
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

May 10, 2018 8:07:25 AM org.postgresql.Driver connect
SEVERE: Connection error:
org.postgresql.util.PSQLException: FATAL: the database system is in
recovery mode
at
org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:475)
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

May 10, 2018 8:07:25 AM org.postgresql.core.v3.ConnectionFactoryImpl log
WARNING: SQLException occurred while connecting to localhost:5432
org.postgresql.util.PSQLException: FATAL: the database system is in
recovery mode
at
org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:475)
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at 

Re: [Dhis2-users] Missing browser based mobile client (Smart phone version) app on DHIS2 version 2.29

2018-05-10 Thread Knut Staring
Dear Pomi Daniel,

Please send queries to the DHIS 2 Users list <
dhis2-users@lists.launchpad.net>

I assume you are referring to this module:
https://play.dhis2.org/2.28/mobile/index

This module seems to have been deliberately removed in 2.29 - I will leave
it to the developers to explain why.

Knut

On Thu, May 10, 2018 at 8:51 AM, pomi daniel <pomi...@gmail.com> wrote:

> How can I install the missing browser based mobile client (Smart phone
> version) app on DHIS2 version 2.29?
> --
> This message was sent from Launchpad by
> pomi daniel (https://launchpad.net/~pomi144)
> using the "Contact this team's admins" link on the DHIS 2 Users team page
> (https://launchpad.net/~dhis2-users).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Combo field data not showing in report

2018-05-09 Thread Knut Staring
Hello, you can check if this issue is still there with the latest build of
2.25 or with newer versions here:
https://play.dhis2.org/

I would recommend that you consider upgrading in any case.

Regards,
Knut



On Wed, May 9, 2018 at 3:01 PM, Shams-ur-Rehman <shams.s...@akhsp.org>
wrote:

> Dear All,
>
>
>
> We are using dhis2 2.25 version, having an issue of combo field data like
> we used code 1 for Male and 2 for female in the combo field once data entry
> done in reporting section only shows data of the code instead of Male and
> Female data.
>
>
>
>
>
> Regards
>
> *Shams *
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Analytics error after upgrade to 2.29

2018-05-08 Thread Knut Staring
Still not sure why this error arose, but *fixed it" by deleting
completenessregistrations from before 2015:

delete from completedatasetregistration where periodid in (select periodid
from period where startdate <'2015-01-01')

On Tue, May 8, 2018 at 7:43 PM, Knut Staring <knu...@gmail.com> wrote:

> There seems to be a problem with year (it is trying to insert 2015 in a
> table that requires 2014). Does anyone have an insight into why this
> happens?
>
> Caused by: org.postgresql.util.PSQLException: ERROR: new row for relation
> "analytics_completeness_temp_2014" violates check constraint
> "analytics_completeness_temp_2014_yearly_check"
>   Detail: Failing row contains (null, null, null, null, XbBIPEpxTue,
> XbBIPEpxTue, aRxa6o8GqZN, HfVjCurKxh2, t0J75eHKxz5, xLWuQq3DjOR,
> iZNVvlnVxm6, ELzS3pnwJyh, null, null, null, null, null, null, null, 2015W1,
> null, null, null, null, 2015BiW0, 201501, 201501B, 2015Q1, 2015S1,
> 2014AprilS2, 2015, 2014April, 2014July, 2014Oct, t, zJrL4HQqYmD,
> 2015-01-06).
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Analytics error after upgrade to 2.29

2018-05-08 Thread Knut Staring
There seems to be a problem with year (it is trying to insert 2015 in a
table that requires 2014). Does anyone have an insight into why this
happens?

Caused by: org.postgresql.util.PSQLException: ERROR: new row for relation
"analytics_completeness_temp_2014" violates check constraint
"analytics_completeness_temp_2014_yearly_check"
  Detail: Failing row contains (null, null, null, null, XbBIPEpxTue,
XbBIPEpxTue, aRxa6o8GqZN, HfVjCurKxh2, t0J75eHKxz5, xLWuQq3DjOR,
iZNVvlnVxm6, ELzS3pnwJyh, null, null, null, null, null, null, null, 2015W1,
null, null, null, null, 2015BiW0, 201501, 201501B, 2015Q1, 2015S1,
2014AprilS2, 2015, 2014April, 2014July, 2014Oct, t, zJrL4HQqYmD,
2015-01-06).
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] apps not showing

2018-05-04 Thread Knut Staring
Hi,

Could you ask them to try Firefox in Private mode?
https://www.online-tech-tips.com/computer-tips/firefox-private-browsing/

Knut

On Fri, May 4, 2018 at 10:17 AM, Thomas Lavreys <thomaslavr...@gmail.com>
wrote:

> Dear,
>
>
>
> One of our clinics in Cameroon (rural, weak internet connection), cannot
> see the ‘Apps’ and ‘Username’ options at the top right when logged in. When
> I logged in on their account in Brussels, there was no issue.
>
> They used Firefox (picture is an older example, but there were similar
> issues on internet explorer as well), as they have no other options on our
> server.
>
>
>
> Instance info:
>
>
>
> API Web:
>
> Parcourir ici
>
> Utilisateur actuel:
>
> ekamche
>
> Version:
>
> 2.23
>
> Version:
>
> 22983
>
> Date de création:
>
> 2016-06-02 17:46
>
> Jasper reports version:
>
> 6.1.0
>
> Agent utilisateur:
>
> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101
> Firefox/55.0
>
> Date du serveur:
>
> 2018-05-04 10:14
>
> Dernière génération des tables analytiques:
>
> 2018-05-04 00:00
>
> Durée depuis dernière création des tables analytiques:
>
> 10 h, 14 m, 16 s
>
> Dernier runtime tables analytiques:
>
> 25 s
>
> Variable d'environnement:
>
> DHIS2_HOME
>
>
>
> [image: Images intégrées 2]
>
>
>
> Do you know if this issue has been seen before, and what the solution
> might be?
>
>
>
> Thank you in advance!
>
>
>
> Kind regards,
>
>
>
> *Thomas Lavreys**, MSc, PgC Trop Med*
>
> *Medical Coordinator Sustainability Department SOCFINCO*
>
> *Maisha Consulting bvba*
>
>
>
> *Tel Socfin:+32-25-080050*
>
> *Tel Maisha: +32-16-850242*
>
> *Cell phone:  +32-474-717641*
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Fwd: [AeHIN-ORG] Launch of WHO Classification of Digital Health Interventions v1.0

2018-04-26 Thread Knut Staring
-- Forwarded message --
From: MEHL, Garrett Livingston <me...@who.int>
Date: Wed, Apr 25, 2018 at 12:47 PM
Subject: [AeHIN-ORG] Launch of WHO Classification of Digital Health
Interventions v1.0
To: "aehin-...@listserv.aehin.net" <aehin-...@listserv.aehin.net>
Cc: "ZANDI, Diana" <zan...@who.int>, "SAY, Lale" <s...@who.int>, "TAMRAT,
Tigest" <tamr...@who.int>, "KELLEY, Edward Talbott" <kell...@who.int>


Dear AEHIN Colleagues,


Apologies for the cross posting.


It gives me great pleasure to Announce the Launch of the *World Health
Organization Classification of Digital Health Interventions v1.0*: A shared
language to describe the uses of digital technology for health.


Please find PDF versions of the publication and associated classifications
“poster” here:

http://www.who.int/reproductivehealth/publications/mhealth/
classification-digital-health-interventions/en/


The classification of digital health interventions (DHIs) categorizes the
different ways in which digital and mobile technologies are being used to
support health system needs. Targeted primarily at public health audiences,
this Classification framework aims to promote an accessible and bridging
language between technologists and those in health, to facilitate
discussions and ways of articulating needs, as well as to describe
functionalities represented in digital health system implementations. This
document serves as a prelude to the upcoming WHO Guidelines on Digital
Health Interventions for Health Systems, providing the underlying framework
of units for evidence analysis and synthesis, and upon which formal
recommendations will be made. Furthermore, the classification content
aligns with the structure of the global registry of technology
implementations for health, the Digital Health Atlas —
www.digitalhealthatlas.org — for registering, monitoring, and inventorying
digital solutions and implementations within countries.


The WHO Classifications of Digital Health Interventions v1.0 is the result
of a multi-year process of development and refinement guided by a panel of
global experts, including those from the Health Data Collaborative Digital
Health and Interoperability Working Group. WHO is grateful for their
extensive contributions that led to this release. As this is a versioned
document, we encourage those with recommended improvements and additions,
to please provide feedback to Dr Garrett Mehl (me...@who.int) and Tigest
Tamrat (tamr...@who.int). Periodically, new versions will be released.



We hope the Classifications document brings greater clarity of
understanding among the diversity of stakeholders who contribute to
ensuring the benefits of digital health are for all.


On behalf of staff from the WHO Departments of Reproductive Health and
Research, and Service Delivery and Safety who coordinated the development
of the document, Thank you,


Garrett





___

Garrett Mehl, PhD, MHS

Scientist, Digital Health Research

Department of Reproductive Health and Research, includes

HRP - the UNDP/UNFPA/UNICEF/WHO/World Bank Special Programme of Research in
Human Reproduction

World Health Organization

20 Avenue Appia

Geneva 1211

Switzerland




___
AeHIN-ORG mailing list
aehin-...@listserv.aehin.net
http://listserv.aehin.net/listinfo.cgi/aehin-org-aehin.net




-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] FREEZING TOP ROWS

2018-04-24 Thread Knut Staring
Hi Alex,

I doubt that is possible without creating your own user interface.

What you CAN do however is to use sections - then the users can select one
section at a time.

Best,
Knut

On Mon, Apr 16, 2018 at 10:19 AM, Alex Macharia <amacha...@gmail.com> wrote:

> Dear Team,
>
> I wish to inquire whether it is possible to freeze some part of a dataset
> for it to be viewed as one scrolls through it.
>
> I have some dataset entry tables that are long and cant fit into one
> screen so have to scroll vertically and horizontally to see other parts.
>
> Here is an example of one for TB Active Case Finding
>
> Thank you all
>
> --
> ALEX MACHARIA
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Monitoring country progress and achievements by making global predictions

2018-04-24 Thread Knut Staring
"The world has seen explosive growth in the use of estimates for key health
indicators. UN agencies, such as WHO and UNICEF, and academic institutions,
notably the Global Burden of Disease (GBD) work of the Institute of Health
Metrics and Evaluation (IHME), have stepped up the frequency and scope of
global health estimates. Funding agencies, led by the Bill and Melinda
Gates Foundation, are making major investments in global health estimation.
Several prominent, high-impact academic journals prioritise publication of
global health estimates, which are usually received with great interest in
the international health and development community and media. "


http://www.thelancet.com/journals/lancet/article/PIIS0140-6736(18)30586-5/fulltext


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Fwd: Android tracker enrollement

2018-04-23 Thread Knut Staring
-- Forwarded message -
From: Victor Tabu <vt...@unicef.org>
Date: Sat, Apr 21, 2018, 2:57 PM
Subject: RE: [Dhis2-users] Android tracker enrollement
To: Knut Staring <knu...@gmail.com>


Hi Knut,



Thank very much i have find a solution to my problem it was about to see
all enrollment in Android now it is fine.



Best regards



-

*Victor TABU TSHIBAMBULA*

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vt...@unicef.org,
skype : vtabu



*Fonds des Nations Unies pour l’Enfance*

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook <https://www.facebook.com/UNICEFRDC/>, Twitter
<https://twitter.com/UNICEFDRC>, Pona Bana <http://ponabana.com/> et
http://www.unicef.org/ <http://www.unicef.org/drcongo/french/>







[image: cid:image003.jpg@01D37EE0.B5EF0170]





*From:* Knut Staring [mailto:knu...@gmail.com]
*Sent:* Saturday, April 21, 2018 1:46 PM
*To:* Victor Tabu <vt...@unicef.org>
*Cc:* Adebusoye Anifalaje <bus...@baosystems.com>; DHIS 2 Users list <
dhis2-users@lists.launchpad.net>; DHIS 2 developers <
dhis2-d...@lists.launchpad.net>; mahdi asgari <mahdi.asg...@gmail.com>;
Emile BAHATI CH. <emile...@gmail.com>; Bienvenu Eyale <
eyalebienve...@gmail.com>
*Subject:* Re: [Dhis2-users] Android tracker enrollement



Hi Victor,



Could you clarify the meaning of " how can I  all  old enrollment  for an
org unit"?



Do you mean "how can I DELETE all existing enrollments for an orgunit"?



Knut



On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu <vt...@unicef.org> wrote:

Hi Dear all,



I am using android to collect data with tracker module, but I would like to
know how can I  all  old enrollment  for an org unit, because the logic of
my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank
in advance for your support



Best regards



-

*Victor TABU TSHIBAMBULA*

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vt...@unicef.org,
skype : vtabu



*Fonds des Nations Unies pour l’Enfance*

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook <https://www.facebook.com/UNICEFRDC/>, Twitter
<https://twitter.com/UNICEFDRC>, Pona Bana <http://ponabana.com/> et
http://www.unicef.org/ <http://www.unicef.org/drcongo/french/>








[image: cid:image003.jpg@01D37EE0.B5EF0170]





*From:* Dhis2-users [mailto:dhis2-users-bounces+vtabu=
unicef@lists.launchpad.net] *On Behalf Of *Adebusoye Anifalaje
*Sent:* Thursday, April 19, 2018 9:17 PM
*To:* DHIS 2 Users list <dhis2-users@lists.launchpad.net>; DHIS 2
developers <dhis2-d...@lists.launchpad.net>; mahdi asgari <
mahdi.asg...@gmail.com>
*Subject:* Re: [Dhis2-users] WEB API Error in DHIS2.30



Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate
forum for asking these sort of questions.



Best.

Busoye.



-- Forwarded message -
From: mahdi asgari <mahdi.asg...@gmail.com>
Date: Thu, 19 Apr 2018 at 20:25
Subject: WEB API Error in DHIS2.30
To: <bus...@baosystems.com>



Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),
When i try to create trackedEntity, i get the following error
I seem's TrackedEntity has been removed from TrackedEntityInstance
how i can fix the problem.

ERROR:
{"httpStatus":"Internal Server
Error","httpStatusCode":500,"status":"ERROR","message":"Unrecognized field
\"trackedEntity\" (class
org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked
as ignorable (14 known properties: \"trackedEntityInstance\",
\"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\",
\"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\",
\"featureType\", \"attributes\", \"deleted\", \"relationships\",
\"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\":
\"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\":
\"iq6Pt6QzM4d\",\"trackedEntityType\":
\"MCPQUTHX1Ze\",\"attributes\":[{\"attribute\":\"spFvx9FndA4\",\"value\":\"53\"},{\"attribute\":\"w75KJ2mc4zz\",\"value\":\"\&quo

Re: [Dhis2-users] Android tracker enrollement

2018-04-21 Thread Knut Staring
Hi Victor,

Could you clarify the meaning of " how can I  all  old enrollment  for an
org unit"?

Do you mean "how can I DELETE all existing enrollments for an orgunit"?

Knut

On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu <vt...@unicef.org> wrote:

> Hi Dear all,
>
>
>
> I am using android to collect data with tracker module, but I would like
> to know how can I  all  old enrollment  for an org unit, because the logic
> of my program is to enrolled once and create many instance in that
> enrollment.
>
> I am able to do it in my computer but not able to do it in android, thank
> in advance for your support
>
>
>
> Best regards
>
>
>
> 
> -
>
> *Victor TABU TSHIBAMBULA*
>
> Adminstrateur Gestionnaire du Système d’Information - Kinshasa
>
> Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vt...@unicef.org,
> skype : vtabu
>
>
>
> *Fonds des Nations Unies pour l’Enfance*
>
> 372, avenue Colonel Mondiba, Kinshasa - Ngaliema
>
> Suivez nous sur Facebook <https://www.facebook.com/UNICEFRDC/>, Twitter
> <https://twitter.com/UNICEFDRC>, Pona Bana <http://ponabana.com/> et
> http://www.unicef.org/ <http://www.unicef.org/drcongo/french/>
>
>
>
>
>
>
>
>
> [image: cid:image003.jpg@01D37EE0.B5EF0170]
>
>
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.
> launchpad.net] *On Behalf Of *Adebusoye Anifalaje
> *Sent:* Thursday, April 19, 2018 9:17 PM
> *To:* DHIS 2 Users list <dhis2-users@lists.launchpad.net>; DHIS 2
> developers <dhis2-d...@lists.launchpad.net>; mahdi asgari <
> mahdi.asg...@gmail.com>
> *Subject:* Re: [Dhis2-users] WEB API Error in DHIS2.30
>
>
>
> Hi Mahdi,
>
> I am forwarding your request to the user list. This is the appropriate
> forum for asking these sort of questions.
>
>
>
> Best.
>
> Busoye.
>
>
>
> -- Forwarded message -
> From: mahdi asgari <mahdi.asg...@gmail.com>
> Date: Thu, 19 Apr 2018 at 20:25
> Subject: WEB API Error in DHIS2.30
> To: <bus...@baosystems.com>
>
>
>
> Hi dear adebusoye
>
> I am using dhis2 version 2.30, compiled from github (last version),
> When i try to create trackedEntity, i get the following error
> I seem's TrackedEntity has been removed from TrackedEntityInstance
> how i can fix the problem.
>
> ERROR:
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"
> status":"ERROR","message":"Unrecognized field \"trackedEntity\" (class
> org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not
> marked as ignorable (14 known properties: \"trackedEntityInstance\",
> \"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\",
> \"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\",
> \"featureType\", \"attributes\", \"deleted\", \"relationships\",
> \"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\":
> \"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\":
> \"iq6Pt6QzM4d\",\"trackedEntityType\": \"MCPQUTHX1Ze\",\"attributes\"
> :[{\"attribute\":\"spFvx9FndA4\",\"value\":\"53\"},{\"attribute\":\"
> w75KJ2mc4zz\",\"value\":\"\"},{\"attribute\":\"
> hqtiQfZ66yc\",\"value\":\"??\"},{\"attribute\":\"
> zDhUuAYrxNC\",\"value\":\"\"},{\"attribute\":\"
> AuPLng5hLbE\",\"value\":\"51961113\"},{\"attribute\":\"
> EO4ms2Ju3nf\",\"value\":\"1\"},{\"attribute\":\"gHGyrwKPzej\
> ",\"value\":\"2013-09-17\"},{\"attribute\":\"P2cwLGskgxn\",\
> "value\":\"123\"},{\"attribute\":\"Agywv2JGwuq\",\"
> value\":\"\"}],\"enrollments\":[{\"orgUnit\":
> \"iq6Pt6QzM4d\",\"program\": \"LaWt5AR1tfl\",\"enrollmentDate\":
> \"2013-09-17\",\"incidentDate\": \"2013-09-17\"}]}; line: 1, column: 59]
> (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.
> TrackedEntityInstance[\"trackedEntity\"

[Dhis2-users] YouTube videos and resources still supported in the dashboard?

2018-04-19 Thread Knut Staring
A desktop app to display videos was introduced in 2.23, but seems to no
longer be available?
https://www.dhis2.org/images/223/social-media-dashboard-app.png

Also, uploading files as a resource does not seem to work anymore.

These issues should probably be reported in JIRA?

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


[Dhis2-users] Error on upgrading to 2.29

2018-04-12 Thread Knut Staring
Does anyone have an idea on how to deal with these errors?

* INFO  2018-04-12 18:04:25,125 Executing startup routine [5 of 18,
runlevel 4]: ReportingIdentityPopulator (DefaultStartupRoutineExecutor.java
[Thread-2])
* INFO  2018-04-12 18:04:25,239 Executing startup routine [6 of 18,
runlevel 5]: SchedulerUpgrade (DefaultStartupRoutineExecutor.java
[Thread-2])
* INFO  2018-04-12 18:04:25,256 Porting old jobs (SchedulerUpgrade.java
[Thread-2])
* ERROR 2018-04-12 18:04:25,261 Could not map job type
'[scheduledProgramNotificationsTask]' with cron '0 0 6 * * ?'
(SchedulerUpgrade.java [Thread-2])
* ERROR 2018-04-12 18:04:25,261 Could not map job type
'[scheduledProgramNotificationsTask]' with cron '0 0 6 * * ?'
(SchedulerUpgrade.java [Thread-2])
* INFO  2018-04-12 18:04:25,261 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: Scheduled program
notifications, uid: ANjA27cKr7f (AuditLogUtil.java [Thread-2])
* INFO  2018-04-12 18:04:25,277 Moving existing Push Analysis jobs.
(SchedulerUpgrade.java [Thread-2])
* ERROR 2018-04-12 18:04:25,293 org.hibernate.PropertyAccessException: Null
value was assigned to a property of primitive type setter of
org.hisp.dhis.pushanalysis.PushAnalysis.schedulingDayOfFrequency




Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dataset Orgunit selection "No roots found"

2018-03-27 Thread Knut Staring
Have you assigned your user to the root orgunit?

On Tue, Mar 27, 2018, 09:21 vunda limbe  wrote:

> Hi Everyone,
>
> I exported some metadata from one instance with import/export apps and
> then imported them to a new testing instances. I noticed that some of
> Data set doesn't allow me to select orgunit for dataset assignment.
> Could some one help me resolving this issue? I don't find a way.
>
>
>
>
>
> Thanks.
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Fwd: DHIS 2 Tracker Problems

2018-03-24 Thread Knut Staring
-- Forwarded message -
From: 'Trina Mazumder' via Experts Community 
Date: Sat, Mar 24, 2018, 02:08
Subject: DHIS 2 Tracker Problems
To: expe...@dhis2.org , us...@lists.launchpad.net <
us...@lists.launchpad.net>


Dear Sir
I am a member of DHIS 2 and our NGO is working in DHIS 2 system.Recently,I
faced a problem no one could help me.
I believe your little help can matter a lot to our organization.
I have completed a Tracker Program in DHIS 2 system.The Form includes drop
down options like What is your gender?Answers are Male and Female.In Data
element aggregation type I have used count.Now the problem arose in Pivot
table, total numbers are shown when I have selected Event data
elements.Note If I select only Data element and details; no data shown.
Only I need to segregate the data now from the Event data Elements, how
many were male and female.
Total numbers are shown not individual.
Can it be possible to show individual data as I know Catagory is not
possible in Tracker Program.

Please let me know soon

Many Thanks

With Best Regards
Trina Mazumder
+8801716341941
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Data Stopped Displaying in Pivot and Visualizer

2018-03-20 Thread Knut Staring
Have you cleared your cache and tried different browsers?

Knut

On Tue, Mar 20, 2018, 06:42 Stanley Kalyati  wrote:

> Hi All,
>
> Recently my instance stopped displaying data in Pivot and
> Visualizer.However when I run Events reports,data is present.But when I run
> program indicators or aggregate indicators,bo data is displayed.
>
> However from our hosting company,they are able to see data and able to run
> pivot and visualizer without any problem.
>
> Has anyone experienced this before? If so any idea as to why this is so?
>
> Thanks
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 application

2018-03-18 Thread Knut Staring
Thanks John - very interesting. I also think that the possibility to
include text in the standard dashboards in 2.29 and resize the boxes freely
makes it possible to generate a lot of reports or bulletins directly from
DHIS2 dashboards.

Although we are still missing the ability to quickly generate the SAME
chart or map for all provinces next to each other (this has been done as
templates for standard reports - and Jason has done it outside of DHIS2
using R).

Knut

On Sun, Mar 18, 2018 at 5:36 PM, John Mukulu <john.f.muk...@gmail.com>
wrote:

> I have not held of bulletin app, but Malaria program in Tanzania is having
> one powered fully by interactive dashboard.
>
> If you just want to customize it based on your dashboard you can find it
> in play.dhis2.org/appstore, if you want to completely tweak it to be very
> specific to your implementation, you can also find the source codes at
> github.com/hisptz
>
> There's a demo of interactive dashboard in play.dhis2.org/demo it
> supports instances going all the way back to dhis version 2.3, let me know
> if it's something you're looking for.
>
> John Francis Mukulu
> Software Architect, HISPTZ
> http://hisptanzania.org/
>
> On Sat, Mar 17, 2018, 19:04 gerald thomas <gerald17...@gmail.com> wrote:
>
>> Please any help???
>>
>> On Sat, 17 Mar 2018 at 09:03, gerald thomas <gerald17...@gmail.com>
>> wrote:
>>
>>> Dear all,
>>> I am trying to down Malaria Bulletin application for DHIS2. Please
>>> anyone help me.
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>> --
>> Regards,
>>
>> Gerald
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Error with Radio Buttons in Data Entry App

2018-03-18 Thread Knut Staring
Thanks Pamod - pls create a JIRA issue.

Regards,
Knut

On Sun, Mar 18, 2018 at 4:30 PM, Pamod Amarakoon <pam...@gmail.com> wrote:

> Dear All,
>
> When using yes/no type data elements in data sets, I noticed that radio
> buttons are not getting selected sometimes. This is more obvious when
> shifting between org units in same data sets for a given period. The issue
> was first noted in 2.28 in a custom form and I replicated the issue in
> DHIS2 demo in 2.29. Please refer the screenshot below.
>
>
> ​
> It looks like data values are getting posted multiple times even for a
> single radio button selection, sometimes even giving out 500 internal
> server errors.
> Any help on this?
>
> Thank you.
>
>
> --
> Regards,
> Pamod Amarakoon
> MBBS (SL)
> MSc (Biomedical Informatics), EMSc (Health Admin), PGCert (MedEd), CEH
> HISP Sri Lanka
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 application

2018-03-17 Thread Knut Staring
Hi Gerald, what is this bulletin app? I dont think I have heard about it.

Knut

On Sat, Mar 17, 2018, 17:04 gerald thomas  wrote:

> Please any help???
>
> On Sat, 17 Mar 2018 at 09:03, gerald thomas  wrote:
>
>> Dear all,
>> I am trying to down Malaria Bulletin application for DHIS2. Please anyone
>> help me.
>> --
>> Regards,
>>
>> Gerald
>>
> --
> Regards,
>
> Gerald
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] importing Indicators in DHIS2

2018-03-14 Thread Knut Staring
Glad to hear it!

On Wed, Mar 14, 2018, 17:04 Carlos Nyembwe <nyem...@gmail.com> wrote:

> Hi Knut,
> Thanks for interest. Now, I found a way
>
> On Wed, Mar 14, 2018 at 5:03 PM Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Carlos,
>>
>> Are you talking about importing definitions from Excel as data elements?
>> Or something else?
>>
>> Knut
>>
>> On Wed, Mar 14, 2018 at 3:29 PM, Carlos Nyembwe <nyem...@gmail.com>
>> wrote:
>>
>>> Hello everyone,
>>>
>>> I have to many indicators to create but, I don't have enough times for
>>> that and I don't know how to import
>>>
>>> Who can help me.
>>>
>>> Regards
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>> *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-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] importing Indicators in DHIS2

2018-03-14 Thread Knut Staring
Hi Carlos,

Are you talking about importing definitions from Excel as data elements? Or
something else?

Knut

On Wed, Mar 14, 2018 at 3:29 PM, Carlos Nyembwe <nyem...@gmail.com> wrote:

> Hello everyone,
>
> I have to many indicators to create but, I don't have enough times for
> that and I don't know how to import
>
> Who can help me.
>
> Regards
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381 <+243%20813%20166%20381>*
> *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-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
<+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] URGENT: Data capture and Maintenance org units Access

2018-03-12 Thread Knut Staring
Ok...and you cannot just revert to the dump? Or the dump has the same
problem?

In any case, since you have a dump which you can experiment with (pls note
that I have not tested this procedure thoroughly, and you might get more
than one answer if you have more than one root or more than one superuser):

In any case, you should be able to do this in three steps - first finding
the root OU and then your user:

1) SELECT organisationunitid, name FROM organisationunit where parentid is
null; LET'S SAY THE ANSWER IS 18
2) SELECT userid from userrole where name='Superuser'; LET'S SAY THE ANSWER
IS 32

Given those values, you should be able to do this:

3) UPDATE usermembership SET organisationunitid = 18 WHERE userinfoid = 32;

On Mon, Mar 12, 2018 at 6:21 PM, Georgi Chakarov <geo...@logicaloutcomes.net
> wrote:

> We got a database dump.
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Monday, March 12, 2018 7:07 PM
> *To:* Georgi Chakarov <geo...@logicaloutcomes.net>
> *Cc:* DHIS 2 developers <dhis2-d...@lists.launchpad.net>; DHIS 2 Users
> list <dhis2-users@lists.launchpad.net>
> *Subject:* Re: [Dhis2-devs] URGENT: Data capture and Maintenance org
> units Access
>
>
>
> Do you have direct access to the database?
>
>
>
> On Mon, Mar 12, 2018, 17:47 Georgi Chakarov <geo...@logicaloutcomes.net>
> wrote:
>
> Hello all,
>
>
>
> For some testing purpose, I gave my superuser access to ONE org unit at
> the lowest level. Now, I and (*all other users*) see only this org unit
> for all data entry and maintenance apps, which is a bit strange.
>
> Does anyone know how do I regain access to the entire org unit tree again?
>
>
>
>
>
>
>
>
> 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
> <https://maps.google.com/?q=720+Bathurst+Street,+Toronto+Canada+M5S+2R4=gmail=g>
> | *You may unsubscribe from receiving commercial electronic messages from
> LogicalOutcomes by emailing **i...@logicaloutcomes.net*
> <i...@logicaloutcomes.net>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
<+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] could not read block 0 in file "base/16393/11909": read only 0 of 8192 bytes

2018-03-07 Thread Knut Staring
Hi Azimi,

You seem to have created an SQL view in your database called  pavotdata.
Could you drop it (and rather recreate it later if you need it)?

Knut

On Wed, Mar 7, 2018 at 11:56 AM, Mahmood Azimi <mahmood.az...@jhpiego.org>
wrote:

> Thanks Knut
>
>
>
> We have reverted the database but the below error accrued
>
>
>
> Process failed: StatementCallback; uncategorized SQLException for SQL
> [drop table _orgunitstructure;]; SQL state [2BP01]; error code [0]; ERROR:
> cannot drop table _orgunitstructure because other objects depend on it
> Detail: view pavotdata depends on table _orgunitstructure Hint: Use DROP
> ... CASCADE to drop the dependent objects too.; nested exception is
> org.postgresql.util.PSQLException: ERROR: cannot drop table
> _orgunitstructure because other objects depend on it Detail: view pavotdata
> depends on table _orgunitstructure Hint: Use DROP ... CASCADE to drop the
> dependent objects too.
>
>
>
>
>
> Thanks
>
>
>
> Azimi
>
>
>
>
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Wednesday, March 07, 2018 2:27 PM
> *To:* Mahmood Azimi <mahmood.az...@jhpiego.org>
> *Cc:* TIMIMI, Hazim Bakir <timi...@who.int>; dhis2-users@lists.launchpad.
> net
> *Subject:* Re: [Dhis2-users] could not read block 0 in file
> "base/16393/11909": read only 0 of 8192 bytes
>
>
>
> Hi Azimi,
>
>
>
> Unfortunately, this looks like a corruption of the database (possibly
> linked to hard drive issue). Do you have a recent backup that you can
> revert to (on different  hardware)?
>
>
>
> I would certainly advice taking a full backup at once.
>
>
>
> Here is one story about how someone dealt with this kind of issue:
>
> http://www.pateldenish.com/2016/09/recovering-corrupted-
> postgres-database.html
>
>
>
> Knut
>
>
>
> On Wed, Mar 7, 2018 at 10:38 AM, Mahmood Azimi <mahmood.az...@jhpiego.org>
> wrote:
>
> Dear All
>
> I have faced through the below errors. the version that have use 2.27 how
> can solve it.
>
> Process failed: StatementCallback; uncategorized SQLException for
> SQL [create table _orgunitstructure_temp (organisationunitid integer not
> null primary key, organisationunituid character(11), level integer,
> "idlevel1" integer, "uidlevel1" character(11), "idlevel2" integer,
> "uidlevel2" character(11), "idlevel3" integer, "uidlevel3" character(11),
> "idlevel4" integer, "uidlevel4" character(11));]; SQL state [XX001]; error
> code [0]; ERROR: could not read block 0 in file "base/16393/11909": read
> only 0 of 8192 bytes; nested exception is org.postgresql.util.PSQLException:
> ERROR: could not read block 0 in file "base/16393/11909": read only 0 of
> 8192 bytes
>
> Azimi
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] could not read block 0 in file "base/16393/11909": read only 0 of 8192 bytes

2018-03-07 Thread Knut Staring
Hi Azimi,

Unfortunately, this looks like a corruption of the database (possibly
linked to hard drive issue). Do you have a recent backup that you can
revert to (on different  hardware)?

I would certainly advice taking a full backup at once.

Here is one story about how someone dealt with this kind of issue:
http://www.pateldenish.com/2016/09/recovering-corrupted-postgres-database.html

Knut

On Wed, Mar 7, 2018 at 10:38 AM, Mahmood Azimi <mahmood.az...@jhpiego.org>
wrote:

> Dear All
>
> I have faced through the below errors. the version that have use 2.27 how
> can solve it.
>
> Process failed: StatementCallback; uncategorized SQLException for
> SQL [create table _orgunitstructure_temp (organisationunitid integer not
> null primary key, organisationunituid character(11), level integer,
> "idlevel1" integer, "uidlevel1" character(11), "idlevel2" integer,
> "uidlevel2" character(11), "idlevel3" integer, "uidlevel3" character(11),
> "idlevel4" integer, "uidlevel4" character(11));]; SQL state [XX001]; error
> code [0]; ERROR: could not read block 0 in file "base/16393/11909": read
> only 0 of 8192 bytes; nested exception is org.postgresql.util.PSQLException:
> ERROR: could not read block 0 in file "base/16393/11909": read only 0 of
> 8192 bytes
>
> Azimi
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] UNABLE TO DELETE AN OU

2018-03-05 Thread Knut Staring
Hi Stanley,

I am just saying that programs are assigned to orgunits, just like datasets
are assigned to orgunits. So you have to remove such assignments before you
can delete the orgunit. The same is the case for ou groupmemberships.

Knut

On Mon, Mar 5, 2018 at 2:56 PM, Stanley Kalyati <skaly...@gmail.com> wrote:

> Thank you Knut
>
> But does this affected program indicators when run?
>
> Thank you
>
> On Mon, Mar 5, 2018 at 1:18 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> It is very difficult to delete organisation units, because they are
>> linked to so many other things beyond just data.
>>
>> Things to check include datasets, orgunit groups, datavalueaudits,
>> programs, completedatasetregistrations
>>
>> On Mon, Mar 5, 2018 at 11:43 AM, Stanley Kalyati <skaly...@gmail.com>
>> wrote:
>>
>>> I am failing to delete and an organisation unit.
>>>
>>> I am getting this error:  ERROR: update or delete on table
>>> "organisationunit" violates foreign key constraint
>>>
>>> I have tried to check if there is some data attached but i cant seem to
>>> find any.
>>>
>>> Is there a web api command that i can use either at the server end of UI
>>> within the system?
>>>
>>> Regards
>>>
>>> Stanley
>>>
>>> _______
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] UNABLE TO DELETE AN OU

2018-03-05 Thread Knut Staring
It is very difficult to delete organisation units, because they are linked
to so many other things beyond just data.

Things to check include datasets, orgunit groups, datavalueaudits,
programs, completedatasetregistrations

On Mon, Mar 5, 2018 at 11:43 AM, Stanley Kalyati <skaly...@gmail.com> wrote:

> I am failing to delete and an organisation unit.
>
> I am getting this error:  ERROR: update or delete on table
> "organisationunit" violates foreign key constraint
>
> I have tried to check if there is some data attached but i cant seem to
> find any.
>
> Is there a web api command that i can use either at the server end of UI
> within the system?
>
> Regards
>
> Stanley
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Errors

2018-03-03 Thread Knut Staring
Hi there,

Forwarding to the appropriate mailing list. What version of DHIS2? H2 or
Postgres database? Have you assigned the datasets to orgunits?

Knut

On Sat, Mar 3, 2018 at 2:44 PM, amacharia <amacha...@chskenya.org> wrote:

>
>
> Dear Team,
>
>
>
> I have a local instance of DHIS2 but am not able to use dataentry tables
> reason being that when I select from the
>
> Organisation tree on the left, it is not reflecting on the right as is
> supposed to for me to access the datasets.
>
>
>
> What might be the issue with my local instance? I have also found these
> syntax errors
>
> “Uncaught SyntaxError: missing ) after argument list
>
> entry.js?_rev=bcf0b5c:24
>
> Uncaught TypeError: Cannot set property 'updateDataElementTotals' of
> undefined
>
> at entry.js?_rev=bcf0b5c:24history.js:229
>
> Uncaught TypeError: Cannot set property 'insertCommentOptionSet' of
> undefined
>
> at history.js:229
> entry.fileresource.js:150
>
> Uncaught SyntaxError: Unexpected identifier   index.action:206
>
> Uncaught ReferenceError: organisationUnitSelected is not definedat
> index.action:206”
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Orgunit doesn't appear after importing from xml metadata in a new dhis2 instance

2018-02-28 Thread Knut Staring
Hi Vunda,

My guess is that your problem is not assigning your user to the root of the
hierarchy after importing. Please try that if you haven't yet.

Knut

On Wed, Feb 28, 2018 at 2:33 PM, vunda limbe <vunda...@gmail.com> wrote:

> Hi Knut,
>
> I've tried many things. I need to know whether it exists a method or
> command after importing a orgunit from xml to define the root  of orgunit (
> the parent of parent). Or is there another way to setup Orgunit with
> imported metadata?
>
>
> Thanks.
>
> On Wed, Feb 28, 2018 at 11:02 AM, Knut Staring <knu...@gmail.com> wrote:
>
>> Have you tried cleaning your browser cache, or opening from another
>> browser or computer (or incognito mode)?
>>
>> Knut
>>
>>
>> <http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>  Virus-free.
>> www.avg.com
>> <http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>> <#m_7803563975533203162_m_-535546487919529770_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Wed, Feb 28, 2018 at 11:02 AM, vunda limbe <vunda...@gmail.com> wrote:
>>
>>> Hi Everybody,
>>>
>>> I'm setting up a new instance of dhis2 v2.26 and want to reuse the
>>> orgunit from a previous instance that I exported through meta data
>>> import/export app. My new instance doesn't have any orgunit but when I
>>> import the xml orgunit metadata with all dependencies, no orgunit is
>>> visible in apps like dataentry, dataset and analytics apps. But I'm able to
>>> see everything (orgunit, orgunitgroup, etc.) in the maintenance app.
>>> How do I do to make orgunit be accessible through those apps?
>>>
>>> Your help is welcome.
>>>
>>> Thanks
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Orgunit doesn't appear after importing from xml metadata in a new dhis2 instance

2018-02-28 Thread Knut Staring
Have you tried cleaning your browser cache, or opening from another browser
or computer (or incognito mode)?

Knut

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Feb 28, 2018 at 11:02 AM, vunda limbe <vunda...@gmail.com> wrote:

> Hi Everybody,
>
> I'm setting up a new instance of dhis2 v2.26 and want to reuse the orgunit
> from a previous instance that I exported through meta data import/export
> app. My new instance doesn't have any orgunit but when I import the xml
> orgunit metadata with all dependencies, no orgunit is visible in apps like
> dataentry, dataset and analytics apps. But I'm able to see everything
> (orgunit, orgunitgroup, etc.) in the maintenance app.
> How do I do to make orgunit be accessible through those apps?
>
> Your help is welcome.
>
> Thanks
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Problems with 2.27

2018-02-24 Thread Knut Staring
Sorry, please ignore. I made a stupid  mistake.

On Feb 24, 2018 2:20 PM, "Knut Staring" <knu...@gmail.com> wrote:

> Hello everyone,
>
> I have restored a 2.27 db but getting a lot of errors when trying to start
> DHIS2. Does anyone have any leads on what might be going on?
>
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "uid"
> contains null values
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "shortname"
> contains null values
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "skipoffline"
> contains null values
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "repeatable"
> contains null values
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "created"
> contains null values
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "uid"
> contains null values
>
> org.postgresql.util.PSQLException: ERROR: column usercreden0_.uid does
> not exist
>
> Caused by: org.postgresql.util.PSQLException: ERROR: column "lastupdated"
> contains null values
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Problems with 2.27

2018-02-24 Thread Knut Staring
Hello everyone,

I have restored a 2.27 db but getting a lot of errors when trying to start
DHIS2. Does anyone have any leads on what might be going on?


Caused by: org.postgresql.util.PSQLException: ERROR: column "uid" contains
null values

Caused by: org.postgresql.util.PSQLException: ERROR: column "shortname"
contains null values

Caused by: org.postgresql.util.PSQLException: ERROR: column "skipoffline"
contains null values

Caused by: org.postgresql.util.PSQLException: ERROR: column "repeatable"
contains null values

Caused by: org.postgresql.util.PSQLException: ERROR: column "created"
contains null values

Caused by: org.postgresql.util.PSQLException: ERROR: column "uid" contains
null values

org.postgresql.util.PSQLException: ERROR: column usercreden0_.uid does not
exist

Caused by: org.postgresql.util.PSQLException: ERROR: column "lastupdated"
contains null values
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Error editing Dataset

2018-02-23 Thread Knut Staring
Anything in your Tomcat server log?

On Fri, Feb 23, 2018 at 1:29 PM, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hi Knur,
>
> Thanks for the link.
> I've cleared the cache as indicated but issue still persists.
>
> Regards
>
> On Fri, Feb 23, 2018 at 11:52 AM, Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Barnabas,
>>
>> Please try this: https://www.dhis2.org/tutorial
>> s/how-to-really-clear-browser-cache
>>
>> Knut
>>
>> On Fri, Feb 23, 2018 at 11:46 AM, Barnabas Akumba <akumbaba...@gmail.com>
>> wrote:
>>
>>> Hello Lars,
>>>
>>> Thanks for the link. I've followed the instruction in the above link but
>>> still experience the problem.
>>> I've tried this on both 2.26 and 2.27.
>>>
>>> Regards
>>>
>>> On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland <l...@dhis2.org>
>>> wrote:
>>>
>>>> Hi Barnabas,
>>>>
>>>> please have a look at guidelines for reporting problems and tell us
>>>> your DHIS 2 version:
>>>>
>>>> https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>> On 22 February 2018 at 10:51, Barnabas Akumba <akumbaba...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello All,
>>>>>
>>>>> Has anyone come across this issue before?
>>>>> I'm trying to edit Datasets using the maintenance app by selecting the
>>>>> edit option.
>>>>> The dataset fails to load but gives me an error "Can not add a model
>>>>> without id to a ModelCollection" - See attached snip.
>>>>>
>>>>> Any suggestion on how to sort this out will be appreciated.
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Barnabas AKUMBA
>>>>>
>>>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>>>> *Skype:* barnabas.akumba
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-d...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> l...@dhis2.org
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> Department of Information, Evidence and Research
>> World Health Organization, Geneva, Switzerland
>> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
>> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
>> Skype: knutstar
>>
>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Error editing Dataset

2018-02-23 Thread Knut Staring
Hi Barnabas,

Please try this: https://www.dhis2.org/tutorials/how-to-really-clear-
browser-cache

Knut

On Fri, Feb 23, 2018 at 11:46 AM, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hello Lars,
>
> Thanks for the link. I've followed the instruction in the above link but
> still experience the problem.
> I've tried this on both 2.26 and 2.27.
>
> Regards
>
> On Fri, Feb 23, 2018 at 9:51 AM, Lars Helge Øverland <l...@dhis2.org>
> wrote:
>
>> Hi Barnabas,
>>
>> please have a look at guidelines for reporting problems and tell us your
>> DHIS 2 version:
>>
>> https://docs.dhis2.org/2.27/en/implementer/html/ch09s03.html
>>
>> regards,
>>
>> Lars
>>
>>
>> On 22 February 2018 at 10:51, Barnabas Akumba <akumbaba...@gmail.com>
>> wrote:
>>
>>> Hello All,
>>>
>>> Has anyone come across this issue before?
>>> I'm trying to edit Datasets using the maintenance app by selecting the
>>> edit option.
>>> The dataset fails to load but gives me an error "Can not add a model
>>> without id to a ModelCollection" - See attached snip.
>>>
>>> Any suggestion on how to sort this out will be appreciated.
>>>
>>> Regards
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] insufficient memory problem

2018-02-23 Thread Knut Staring
Hi Gerald,

So you are runing Ubuntu on your machine? Perhaps you need to allocate more
resources to Java using this type of setting (though you should adjust the
values down a bit, since you dont have that much memory)

export JAVA_OPTS='-Xmx7500m -Xms4000m'

https://docs.dhis2.org/2.25/en/implementer/html/install_server_setup.html


On Thu, Feb 22, 2018 at 8:34 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Dear Knut,
> Thanks for your response. Now I have a question which had been disturbing
> me for a long time now. I have a desktop with 4Gb RAM and I used the
> DHIS2-tool method of installation; I am using Postgres 9.5. My instance is
> running OK but the “maintenance app” it showing blank or “pivot table”
> can’t load. On the log file, it is giving insufficient resources error.
> Why?
>
> On Thu, 22 Feb 2018 at 17:36, Knut Staring <knu...@gmail.com> wrote:
>
>> Dear Gerald,
>>
>> There does indeed seem to be a problem with RAM, seems like maybe 32-bit
>> Java is used? However, you definitely do not need as much as 12 Gb RAM to
>> run a small instance of DHIS2, it should be possible with 2 Gb, and
>> certainly with 4 Gb.
>>
>> On Thu, Feb 22, 2018 at 12:38 PM, gerald thomas <gerald17...@gmail.com>
>> wrote:
>>
>>> Jalal,
>>> I am sure there is not enough RAM on your linode VM. Please can you send
>>> the report of this command 'vmstat -s'. From the manual you sent you need
>>> at least 12Gb RAM of which 8Gb should be allocated to the PostgresSQL.
>>>
>>> On Tue, Feb 20, 2018 at 7:57 PM, Knut Staring <knu...@gmail.com> wrote:
>>>
>>>> Also, please redirect this to the list:
>>>> dhis2-users@lists.launchpad.net
>>>>
>>>> On Feb 20, 2018 2:46 PM, "Jalal" <jabdula...@immap.org> wrote:
>>>>
>>>>> Dears ,
>>>>>
>>>>>
>>>>>
>>>>> Please I need your support for the below issue :
>>>>>
>>>>>
>>>>>
>>>>> I have a hosting on linode 2048 (My Ubuntu 16.04 LTS),and I’m trying
>>>>> to install DHIS2 through the below link:
>>>>>
>>>>>
>>>>>
>>>>> https://docs.dhis2.org/2.28/en/implementer/html/install_
>>>>> server_setup.html
>>>>>
>>>>>
>>>>>
>>>>> but I got the below error: advice please
>>>>>
>>>>>
>>>>>
>>>>> #
>>>>>
>>>>> # There is insufficient memory for the Java Runtime Environment to
>>>>> continue.
>>>>>
>>>>> # Native memory allocation (mmap) failed to map 2796224512 bytes for
>>>>> committing reserved memory.
>>>>>
>>>>> # Possible reasons:
>>>>>
>>>>> #   The system is out of physical RAM or swap space
>>>>>
>>>>> #   In 32 bit mode, the process size limit was hit
>>>>>
>>>>> # Possible solutions:
>>>>>
>>>>> #   Reduce memory load on the system
>>>>>
>>>>> #   Increase physical memory or swap space
>>>>>
>>>>> #   Check if swap backing store is full
>>>>>
>>>>> #   Use 64 bit Java on a 64 bit OS
>>>>>
>>>>> #   Decrease Java heap size (-Xmx/-Xms)
>>>>>
>>>>> #   Decrease number of Java threads
>>>>>
>>>>> #   Decrease Java thread stack sizes (-Xss)
>>>>>
>>>>> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>>>>>
>>>>> # This output file may be truncated or incomplete.
>>>>>
>>>>> #
>>>>>
>>>>> #  Out of Memory Error (os_linux.cpp:2640), pid=7874,
>>>>> tid=0x7f5b42495700
>>>>>
>>>>> #
>>>>>
>>>>> # JRE version:  (8.0_161-b12) (build )
>>>>>
>>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode
>>>>> linux-amd64 compressed oops)
>>>>>
>>>>> # Failed to write core dump. Core dumps have been disabled. To enable
>>>>> core dumping, try "ulimit -c unlimited" before starting Java again
>>>>>
>>>>> #
>>>>>
>>>>>
>>>>>
>>>>> ---  T H R E A D  ---
>>>>>
&

Re: [Dhis2-users] insufficient memory problem

2018-02-22 Thread Knut Staring
Dear Gerald,

There does indeed seem to be a problem with RAM, seems like maybe 32-bit
Java is used? However, you definitely do not need as much as 12 Gb RAM to
run a small instance of DHIS2, it should be possible with 2 Gb, and
certainly with 4 Gb.

On Thu, Feb 22, 2018 at 12:38 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Jalal,
> I am sure there is not enough RAM on your linode VM. Please can you send
> the report of this command 'vmstat -s'. From the manual you sent you need
> at least 12Gb RAM of which 8Gb should be allocated to the PostgresSQL.
>
> On Tue, Feb 20, 2018 at 7:57 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> Also, please redirect this to the list:
>> dhis2-users@lists.launchpad.net
>>
>> On Feb 20, 2018 2:46 PM, "Jalal" <jabdula...@immap.org> wrote:
>>
>>> Dears ,
>>>
>>>
>>>
>>> Please I need your support for the below issue :
>>>
>>>
>>>
>>> I have a hosting on linode 2048 (My Ubuntu 16.04 LTS),and I’m trying to
>>> install DHIS2 through the below link:
>>>
>>>
>>>
>>> https://docs.dhis2.org/2.28/en/implementer/html/install_serv
>>> er_setup.html
>>>
>>>
>>>
>>> but I got the below error: advice please
>>>
>>>
>>>
>>> #
>>>
>>> # There is insufficient memory for the Java Runtime Environment to
>>> continue.
>>>
>>> # Native memory allocation (mmap) failed to map 2796224512 bytes for
>>> committing reserved memory.
>>>
>>> # Possible reasons:
>>>
>>> #   The system is out of physical RAM or swap space
>>>
>>> #   In 32 bit mode, the process size limit was hit
>>>
>>> # Possible solutions:
>>>
>>> #   Reduce memory load on the system
>>>
>>> #   Increase physical memory or swap space
>>>
>>> #   Check if swap backing store is full
>>>
>>> #   Use 64 bit Java on a 64 bit OS
>>>
>>> #   Decrease Java heap size (-Xmx/-Xms)
>>>
>>> #   Decrease number of Java threads
>>>
>>> #   Decrease Java thread stack sizes (-Xss)
>>>
>>> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>>>
>>> # This output file may be truncated or incomplete.
>>>
>>> #
>>>
>>> #  Out of Memory Error (os_linux.cpp:2640), pid=7874,
>>> tid=0x7f5b42495700
>>>
>>> #
>>>
>>> # JRE version:  (8.0_161-b12) (build )
>>>
>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode
>>> linux-amd64 compressed oops)
>>>
>>> # Failed to write core dump. Core dumps have been disabled. To enable
>>> core dumping, try "ulimit -c unlimited" before starting Java again
>>>
>>> #
>>>
>>>
>>>
>>> ---  T H R E A D  ---
>>>
>>>
>>>
>>> Current thread (0x7f5b3c00a800):  JavaThread "Unknown thread"
>>> [_thread_in_vm, id=7875, stack(0x7f5b42395000,0x7f5b42496000)]
>>>
>>>
>>>
>>> Stack: [0x7f5b42395000,0x7f5b42496000],
>>> sp=0x7f5b42494350,  free space=1020k
>>>
>>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>>> C=native code)
>>>
>>> V  [libjvm.so+0xacf94a]  VMError::report_and_die()+0x2ba
>>>
>>> V  [libjvm.so+0x50050b]  report_vm_out_of_memory(char const*, int,
>>> unsigned long, VMErrorType, char const*)+0x8b
>>>
>>> V  [libjvm.so+0x92b133]  os::Linux::commit_memory_impl(char*, unsigned
>>> long, bool)+0x103
>>>
>>> V  [libjvm.so+0x92b5c9]  os::pd_commit_memory(char*, unsigned long,
>>> unsigned long, bool)+0x29
>>>
>>> V  [libjvm.so+0x924c0a]  os::commit_memory(char*, unsigned long,
>>> unsigned long, bool)+0x2a
>>>
>>> V  [libjvm.so+0xacb629]  VirtualSpace::expand_by(unsigned long,
>>> bool)+0x199
>>>
>>> V  [libjvm.so+0xacc17e]  VirtualSpace::initialize(ReservedSpace,
>>> unsigned long)+0xee
>>>
>>> V  [libjvm.so+0x5fec11]  CardGeneration::CardGeneration(ReservedSpace,
>>> unsigned long, int, GenRemSet*)+0xf1
>>>
>>> V  [libjvm.so+0xa7225f]  TenuredGeneration::TenuredGeneration(ReservedSpace,
>>> unsigned long, int, GenRemSet*)+0x5f
>>>
>>> V  [libjvm.so+0x5fff19]  GenerationSpec::init(Rese

Re: [Dhis2-users] insufficient memory problem

2018-02-20 Thread Knut Staring
Also, please redirect this to the list:
dhis2-users@lists.launchpad.net

On Feb 20, 2018 2:46 PM, "Jalal"  wrote:

> Dears ,
>
>
>
> Please I need your support for the below issue :
>
>
>
> I have a hosting on linode 2048 (My Ubuntu 16.04 LTS),and I’m trying to
> install DHIS2 through the below link:
>
>
>
> https://docs.dhis2.org/2.28/en/implementer/html/install_server_setup.html
>
>
>
> but I got the below error: advice please
>
>
>
> #
>
> # There is insufficient memory for the Java Runtime Environment to
> continue.
>
> # Native memory allocation (mmap) failed to map 2796224512 bytes for
> committing reserved memory.
>
> # Possible reasons:
>
> #   The system is out of physical RAM or swap space
>
> #   In 32 bit mode, the process size limit was hit
>
> # Possible solutions:
>
> #   Reduce memory load on the system
>
> #   Increase physical memory or swap space
>
> #   Check if swap backing store is full
>
> #   Use 64 bit Java on a 64 bit OS
>
> #   Decrease Java heap size (-Xmx/-Xms)
>
> #   Decrease number of Java threads
>
> #   Decrease Java thread stack sizes (-Xss)
>
> #   Set larger code cache with -XX:ReservedCodeCacheSize=
>
> # This output file may be truncated or incomplete.
>
> #
>
> #  Out of Memory Error (os_linux.cpp:2640), pid=7874,
> tid=0x7f5b42495700
>
> #
>
> # JRE version:  (8.0_161-b12) (build )
>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode
> linux-amd64 compressed oops)
>
> # Failed to write core dump. Core dumps have been disabled. To enable core
> dumping, try "ulimit -c unlimited" before starting Java again
>
> #
>
>
>
> ---  T H R E A D  ---
>
>
>
> Current thread (0x7f5b3c00a800):  JavaThread "Unknown thread"
> [_thread_in_vm, id=7875, stack(0x7f5b42395000,0x7f5b42496000)]
>
>
>
> Stack: [0x7f5b42395000,0x7f5b42496000],  sp=0x7f5b42494350,
> free space=1020k
>
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
>
> V  [libjvm.so+0xacf94a]  VMError::report_and_die()+0x2ba
>
> V  [libjvm.so+0x50050b]  report_vm_out_of_memory(char const*, int,
> unsigned long, VMErrorType, char const*)+0x8b
>
> V  [libjvm.so+0x92b133]  os::Linux::commit_memory_impl(char*, unsigned
> long, bool)+0x103
>
> V  [libjvm.so+0x92b5c9]  os::pd_commit_memory(char*, unsigned long,
> unsigned long, bool)+0x29
>
> V  [libjvm.so+0x924c0a]  os::commit_memory(char*, unsigned long, unsigned
> long, bool)+0x2a
>
> V  [libjvm.so+0xacb629]  VirtualSpace::expand_by(unsigned long,
> bool)+0x199
>
> V  [libjvm.so+0xacc17e]  VirtualSpace::initialize(ReservedSpace, unsigned
> long)+0xee
>
> V  [libjvm.so+0x5fec11]  CardGeneration::CardGeneration(ReservedSpace,
> unsigned long, int, GenRemSet*)+0xf1
>
> V  [libjvm.so+0xa7225f]  TenuredGeneration::TenuredGeneration(ReservedSpace,
> unsigned long, int, GenRemSet*)+0x5f
>
> V  [libjvm.so+0x5fff19]  GenerationSpec::init(ReservedSpace, int,
> GenRemSet*)+0x339
>
> V  [libjvm.so+0x5eeaae]  GenCollectedHeap::initialize()+0x1de
>
> V  [libjvm.so+0xa979f3]  Universe::initialize_heap()+0xf3
>
> V  [libjvm.so+0xa97f5e]  universe_init()+0x3e
>
> V  [libjvm.so+0x641fb5]  init_globals()+0x65
>
> V  [libjvm.so+0xa7c5ae]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
>
> V  [libjvm.so+0x6d6c24]  JNI_CreateJavaVM+0x74
>
> C  [libjli.so+0x797e]  JavaMain+0x9e
>
> C  [libpthread.so.0+0x76ba]  start_thread+0xca
>
>
>
>
>
> ---  P R O C E S S  ---
>
>
>
> Java Threads: ( => current thread )
>
>
>
> Other Threads:
>
>
>
> =>0x7f5b3c00a800 (exited) JavaThread "Unknown thread" [_thread_in_vm,
> id=7875, stack(0x7f5b42395000,0x7f5b42496000)]
>
>
>
> VM state:not at safepoint (not fully initialized)
>
>
>
> VM Mutex/Monitor currently owned by a thread: None
>
>
>
> GC Heap History (0 events):
>
> No events
>
>
>
> Deoptimization events (0 events):
>
> No events
>
>
>
> Classes redefined (0 events):
>
> No events
>
>
>
> Internal exceptions (0 events):
>
> No events
>
>
>
> Events (0 events):
>
> No events
>
>
>
>
>
> Dynamic libraries:
>
> 0040-00401000 r-xp  08:00 252076
> /usr/lib/jvm/java-8-oracle/bin/java
>
> 0060-00601000 rw-p  08:00 252076
> /usr/lib/jvm/java-8-oracle/bin/java
>
> 021e2000-02203000 rw-p  00:00 0
> [heap]
>
> 5eb40-63e95 rw-p  00:00 0
>
> 63e95-68780 ---p  00:00 0
>
> 72e2b-7c000 ---p  00:00 0
>
> 7f5b2af79000-7f5b2b3ac000 rw-p  00:00 0
>
> 7f5b2b3ac000-7f5b2bfb7000 ---p  00:00 0
>
> 7f5b2bfb7000-7f5b2bfc2000 rw-p  00:00 0
>
> 7f5b2bfc2000-7f5b2c378000 ---p  00:00 0
>
> 7f5b2c378000-7f5b2c5e8000 rwxp  00:00 0
>
> 7f5b2c5e8000-7f5b3b378000 ---p  00:00 0
>
> 7f5b3b378000-7f5b3b393000 r-xp  08:00 253822
>  /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so
>
> 7f5b3b393000-7f5b3b593000 ---p 0001b000 08:00 253822
> 

Re: [Dhis2-users] Setting up GIS

2018-02-20 Thread Knut Staring
Try opening the orgunit lwvwls and click on Save.

On Feb 20, 2018 12:34 AM, "Isaiah Nyabuto" <isaiahnyab...@gmail.com> wrote:

> Hi Knut,
>
> I can see the boundaries, however I cannot select organisation units below
> certain level say level 2.
>
> On Tue, Feb 20, 2018 at 6:40 AM, Knut Staring <knu...@gmail.com> wrote:
>
>> Probably not. Do you see the boundary layer in the GIS module?
>>
>> On Feb 19, 2018 12:01 PM, "Isaiah Nyabuto" <isaiahnyab...@gmail.com>
>> wrote:
>>
>>> Dear Dhis2 Community,
>>>
>>> I imported organisationUnits as (geojson file) with coordinates. Am not
>>> sure whether I'll need to create gml files inorder to get my gis working.
>>> I understand that the process documented here
>>> <https://docs.dhis2.org/2.22/en/user/html/ch18.html> requires a
>>> different set up?
>>>
>>> Please advise.
>>>
>>> Thank you.
>>>
>>>
>>> --
>>> 
>>> 
>>> Isaiah Nyabuto
>>> +254 729 572 616
>>> Bsc. Health Records Management & Informatics, JKUAT.
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>
>
> --
> 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Legend for option sets

2018-02-19 Thread Knut Staring
You can use orgunit groups for different types.

Knut

On Feb 19, 2018 8:40 PM, "Natalie Tibbels"  wrote:

> Hi all,
>
>
>
> Is it possible to color code or label tracked entities in GIS? I am using
> tracker to map community structures (schools, product distribution points,
> CBOs, etc).
>
>
>
> Could I set up a legend set to have the different types of structures show
> up in different colors on the map, based on the option set – so schools in
> green, distribution points in blue, for example. I can only find a way to
> make a continuous legend, rather than colors/icons associated with
> categorical options.
>
>
>
> Could I, in addition, have a certain data element (the name of the
> structure) show up as a label on the map?
>
>
>
> Grateful for any help!
>
>
>
> ~Natalie
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Setting up GIS

2018-02-19 Thread Knut Staring
Probably not. Do you see the boundary layer in the GIS module?

On Feb 19, 2018 12:01 PM, "Isaiah Nyabuto"  wrote:

> Dear Dhis2 Community,
>
> I imported organisationUnits as (geojson file) with coordinates. Am not
> sure whether I'll need to create gml files inorder to get my gis working.
> I understand that the process documented here
>  requires a different
> set up?
>
> Please advise.
>
> Thank you.
>
>
> --
> 
> 
> Isaiah Nyabuto
> +254 729 572 616
> Bsc. Health Records Management & Informatics, JKUAT.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Posting Metadata in dhis2.

2018-02-15 Thread Knut Staring
Everything done from the user interface is done through the API, so yes.
The API also gives you more flexibility to filter etc. The manual describes
this.

https://docs.dhis2.org/master/en/developer/html/webapi_metadata_crud.html
https://docs.dhis2.org/master/en/developer/html/webapi_metadata_export.html
https://docs.dhis2.org/master/en/developer/html/webapi_metadata_synchronization.html


On Thu, Feb 15, 2018 at 8:56 AM, Isaiah Nyabuto <isaiahnyab...@gmail.com>
wrote:

>
> Hi Knut,
>
> Yes. And is it possible to do that APIs?
>
> Thank you.
>
>
> ==
> Isaiah Nyabuto
> +254729572616 <+254%20729%20572616>
> Bsc. Health Records Management and Informatics
>
> On Feb 15, 2018 16:29, "Knut Staring" <knu...@gmail.com> wrote:
>
>> Hi Isaiah,
>>
>> When you say "extract", you mean you want to take metadata from one
>> instance of DHIS2 and import to another one? That can be done through the
>> user interface as described in the user manual:
>> https://docs.dhis2.org/master/en/user/html/import_export.html
>> https://play.dhis2.org/2.28/dhis-web-importexport/index.action
>>
>> You can also load metadata from CSV:
>> https://docs.dhis2.org/master/en/developer/html/webapi_csv_m
>> etadata_import.html
>>
>> On Thu, Feb 15, 2018 at 7:33 AM, Isaiah Nyabuto <isaiahnyab...@gmail.com>
>> wrote:
>>
>>> Hi Jason,
>>>
>>> Thank you. I am going to look into that keenly.
>>> And If I may ask, is there a way I can extract dhis2 metadata that can
>>> be imported directly or with minimal transformations?
>>>
>>> This will be helpful. Thank you.
>>>
>>> ==
>>> Isaiah Nyabuto
>>> +254729572616 <+254%20729%20572616>
>>> Bsc. Health Records Management and Informatics
>>>
>>> On Feb 15, 2018 15:16, "Jason Pickering" <jason.p.picker...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isaiah,
>>>>
>>>> You have
>>>>
>>>>
>>>> "parent":"vpiZlB5cdK7"
>>>>
>>>>
>>>> It should be
>>>>
>>>> parent":{"id":"vpiZlB5cdK7"}}
>>>>
>>>> Be sure your JSON structure is exactly as it should be, otherwise, you
>>>> will get those kinds of errors. Study the example here
>>>> <https://raw.githubusercontent.com/jason-p-pickering/dhis2-data-munging/master/ous/ous.json>
>>>> .
>>>>
>>>> Regards,
>>>> Jason
>>>>
>>>>
>>>>
>>>> On Thu, Feb 15, 2018 at 1:07 PM, Isaiah Nyabuto <
>>>> isaiahnyab...@gmail.com> wrote:
>>>>
>>>>> Thank you for the tip. It still doesn't work.
>>>>> what does this error mean?
>>>>>
>>>>> httr::content(r, "text")
>>>>>
>>>>> [1] "{\"httpStatus\":\"Internal Server Error\",\"httpStatusCode\":500
>>>>> ,\"status\":\"ERROR\",\"message\":\"Can not instantiate value of type
>>>>> [simple type, class org.hisp.dhis.organisationunit.OrganisationUnit]
>>>>> from String value ('It7fWcKbcZX'); no single-String constructor/factory
>>>>> method\\n at [Source: org.apache.catalina.connector.
>>>>> CoyoteInputStream@1efec811; line: 1, column: 73] (through reference
>>>>> chain: org.hisp.dhis.organisationunit.OrganisationUnit[\\\"parent\\\
>>>>> "])\"}"
>>>>>
>>>>> Anyone?
>>>>>
>>>>> Thank you.
>>>>> ==
>>>>> Isaiah Nyabuto
>>>>> +254729572616 <+254%20729%20572616>
>>>>> Bsc. Health Records Management and Informatics
>>>>>
>>>>> On Feb 15, 2018 13:14, "Jason Pickering" <jason.p.picker...@gmail.com>
>>>>> wrote:
>>>>>
>>>>> All of your fields must have exactly the correct names:
>>>>>
>>>>> shortname -> shortName
>>>>> featuretype-> featureType
>>>>>
>>>>> Keep hacking at it! You will get there!
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>>
>>>>> On Thu, Feb 15, 2018 at 11:08 AM, Isaiah Nyabuto <
>>>>> isaiahnyab.

Re: [Dhis2-users] Posting Metadata in dhis2.

2018-02-15 Thread Knut Staring
aiahnyab...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Dear Jason and Dhis2 Community,
>>>>>>>>
>>>>>>>> I am following your guide on bootstrapping
>>>>>>>> <https://github.com/jason-p-pickering/dhis2-data-munging/blob/master/bootstrap/bootstrap.Rmd>
>>>>>>>>  dhis2 with R while trying to import metadata using the API.
>>>>>>>>
>>>>>>>> I do not understand why my metadata is not imported. Here are my
>>>>>>>> steps, any help will be appreciated.
>>>>>>>>
>>>>>>>>
>>>>>>>> head(org)  name uid   code  parent 
>>>>>>>> shortname
>>>>>>>> 1 Wikithuki Dispensary Bc371uxfYD5  16925 vpiZlB5cdK7  
>>>>>>>> Wikithuki Dispensary
>>>>>>>> 2Gemifa Medical Clinic Z7Lf1n3Fcpi  22907 mEZBjj4fLBT  
>>>>>>>>   Gemifa
>>>>>>>> 3   Olympus Medical Clinic NAbQdHuaJFK  22906 PeEcMfBchbr  
>>>>>>>>  Olympus
>>>>>>>> 4 Masaba Community Health Unit tYwHeLSnHyb 600616 QR2K4k8VKF1  
>>>>>>>>   Masaba CHU
>>>>>>>> 5Gatunga Health Centre cmay4WXRmhA  12034 IcAegRcGuV6 Gatunga 
>>>>>>>> Health Centre
>>>>>>>> 6 Cfw Kimangaru Clinic E52UsoBxJVS  11966 vEAFtHnPDrX  CFW 
>>>>>>>> Kimangaru Clinic
>>>>>>>>  description openingdate closedate comment featuretype  
>>>>>>>> coordinates url
>>>>>>>> 1 NANA   POINT  
>>>>>>>> [37.95263,-0.77819]
>>>>>>>> 2 Clinic  NANANONE 
>>>>>>>> [34.391914,0.059575]
>>>>>>>> 3 Clinic  NANANONE   
>>>>>>>> [34.3994,0.059575]
>>>>>>>> 4 Community Unit  NANANONE   
>>>>>>>> [34.46411,0.19358]
>>>>>>>> 5 NANA   POINT   
>>>>>>>> [37.9423,-0.29656]
>>>>>>>> 6 NANA   POINT  
>>>>>>>> [37.53009,-0.54506]
>>>>>>>>   contactperson address email phonenumber
>>>>>>>> 1NA  NANA  NA
>>>>>>>> 2NA  NANA  NA
>>>>>>>> 3NA  NANA  NA
>>>>>>>> 4NA  NANA  NA
>>>>>>>> 5NA  NANA  NA
>>>>>>>> 6NA  NANA  NA
>>>>>>>>
>>>>>>>>
>>>>>>>> I followed the following steps to prepare my df for import.
>>>>>>>> 1. Removed all the NAs  and columns with entire NAs.
>>>>>>>>
>>>>>>>> head(new_org)  name uid   code  
>>>>>>>> parent shortname
>>>>>>>> 1 Wikithuki Dispensary Bc371uxfYD5  16925 vpiZlB5cdK7  
>>>>>>>> Wikithuki Dispensary
>>>>>>>> 2Gemifa Medical Clinic Z7Lf1n3Fcpi  22907 mEZBjj4fLBT  
>>>>>>>>   Gemifa
>>>>>>>> 3   Olympus Medical Clinic NAbQdHuaJFK  22906 PeEcMfBchbr  
>>>>>>>>  Olympus
>>>>>>>> 4 Masaba Community Health Unit tYwHeLSnHyb 600616 QR2K4k8VKF1  
>>>>>>>>   Masaba CHU
>>>>>>>> 5Gatunga Health Centre cmay4WXRmhA  12034 IcAegRcGuV6 Gatunga 
>>>>>>>> Health Centre
>>>>>>>> 6 Cfw Kimangaru Clinic E52UsoBxJVS  11966 vEAFtHnPDrX  CFW 
>>>>>>>> Kimangaru Clinic
>>>>>>>>  description comment featuretype  coordinates url
>>>>>>>> 1  POINT  [37.95263,-0.77819]
>>>>>>>> 2 ClinicNONE [34.391914,0.059575]
>>>>>>>> 3 ClinicNONE   [34.3994,0.059575]
>>>>>>>> 4 Community UnitNONE   [34.46411,0.19358]
>>>>>>>> 5  POINT   [37.9423,-0.29656]
>>>>>>>> 6  POINT  [37.53009,-0.54506]
>>>>>>>>
>>>>>>>>
>>>>>>>> 3. Then post the data as follows.
>>>>>>>>
>>>>>>>> dest.url <- "http://localhost/dhis/;
>>>>>>>> url <- paste0(dest.url, "api/metadata?importStrategy=C
>>>>>>>> REATE=NONE")
>>>>>>>>   r <- POST(url, authenticate(dest.user, dest.pass),
>>>>>>>> body = toJSON(new_org, auto_unbox = TRUE),
>>>>>>>> content_type_json())
>>>>>>>>   assertthat::assert_that(r$status_code==200)
>>>>>>>>
>>>>>>>> 4. The body looks like.
>>>>>>>>
>>>>>>>> jsonlite::toJSON(me, auto_unbox = TRUE)[{"name":"Wikithuki 
>>>>>>>> Dispensary","uid":"Bc371uxfYD5","code":"16925","parent":"vpiZlB5cdK7","shortname":"Wikithuki
>>>>>>>>  
>>>>>>>> Dispensary","description":"","comment":"","featuretype":"POINT","coordinates":"[37.95263,-0.77819]","url":""},{"name":"Gemifa
>>>>>>>>  Medical 
>>>>>>>> Clinic","uid":"Z7Lf1n3Fcpi","code":"22907","parent":"mEZBjj4fLBT","shortname":"Gemifa","description":"Clinic","comment":"","featuretype":"NONE","coordinates":"[34.391914,0.059575]","url":""},{"name":"Olympus
>>>>>>>>  Medical 
>>>>>>>> Clinic","uid":"NAbQdHuaJFK","code":"22906","parent":"PeEcMfBchbr","shortname":"Olympus","description":"Clinic","comment":"","featuretype":"NONE","coordinates":"[34.3994,0.059575]","url":""},{"name":"Masaba
>>>>>>>>  Community Health 
>>>>>>>> Unit","uid":"tYwHeLSnHyb","code":"600616","parent":"QR2K4k8VKF1","shortname":"Masaba
>>>>>>>>  CHU","description":"Community 
>>>>>>>> Unit","comment":"","featuretype":"NONE","coordinates":"[34.46411,0.19358]","url":""},{"name":"Gatunga
>>>>>>>>  Health 
>>>>>>>> Centre","uid":"cmay4WXRmhA","code":"12034","parent":"IcAegRcGuV6","shortname":"Gatunga
>>>>>>>>  Health 
>>>>>>>> Centre","description":"","comment":"","featuretype":"POINT","coordinates":"[37.9423,-0.29656]","url":""},{"name":"Cfw
>>>>>>>>  Kimangaru 
>>>>>>>> Clinic","uid":"E52UsoBxJVS","code":"11966","parent":"vEAFtHnPDrX","shortname":"CFW
>>>>>>>>  Kimangaru 
>>>>>>>> Clinic","description":"","comment":"","featuretype":"POINT","coordinates":"[37.53009,-0.54506]","url":""}]
>>>>>>>>
>>>>>>>>
>>>>>>>> What could be the problem there? I get status 200 and still it
>>>>>>>> doesn't import.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thank you
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Isaiah Nyabuto
>>>>>>>> +254 729 572 616
>>>>>>>> Bsc. Health Records Management & Informatics, JKUAT.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Jason P. Pickering
>>>>>>> email: jason.p.picker...@gmail.com
>>>>>>> tel:+46764147049 <076-414%2070%2049>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 
>>>>>> 
>>>>>> Isaiah Nyabuto
>>>>>> +254 729 572 616
>>>>>> Bsc. Health Records Management & Informatics, JKUAT.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jason P. Pickering
>>>>> email: jason.p.picker...@gmail.com
>>>>> tel:+46764147049 <076-414%2070%2049>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 
>>>> 
>>>> Isaiah Nyabuto
>>>> +254 729 572 616
>>>> Bsc. Health Records Management & Informatics, JKUAT.
>>>>
>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.picker...@gmail.com
>>> tel:+46764147049 <076-414%2070%2049>
>>>
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049 <+46%2076%20414%2070%2049>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DATA ELEMENTS NOT SHOWING DATA IN PIVOT TABLES

2018-02-08 Thread Knut Staring
Hi Andrey,

Please report this in JIRA: http://jira.dhis2.org/

Thanks,
Knut

On 2/8/18, Andrey Kolpakov <aakolpa...@gmail.com> wrote:
> Hi, Gerald and Stanley.
>
> I have the same issue, data can not be aggregated. Tried everything
> (regenerate reporting, clear cache).
>
> I've tried it on the official demo server (https://play.dhis2.org/2.27/).
> Version 2.26 works as expected, but not 2.27 and 2.28.
> Here are steps to reproduce:
> https://docs.google.com/document/d/1mRjfBvVfwqjxz9c0JotRIlQMJK4wV5V7qf6wEkskkrc/edit
> <https://docs.google.com/document/d/1mRjfBvVfwqjxz9c0JotRIlQMJK4wV5V7qf6wEkskkrc/edit>
>
> Will be appreciated for any help
>
>> On 6 Feb 2018, at 13:47, gerald thomas <gerald17...@gmail.com> wrote:
>>
>> Stanley,
>> It simply means your data is based on those category combinations that is
>> why you are seeing them. Please share a print screen of that data set
>> whose data elements you pivoting for now.
>>
>> On Tue, Feb 6, 2018 at 12:33 PM, Stanley Kalyati <skaly...@gmail.com
>> <mailto:skaly...@gmail.com>> wrote:
>> Hi Gerald,
>>
>> I have run analytics,i have also gone to data admin and also cleared catch
>> but no results.
>>
>> Only when i add a category combination to the data set,that is when i am
>> able to see data when i run pivot or data visualizer.
>>
>> I cant understand
>>
>> On Tue, Feb 6, 2018 at 1:40 PM, gerald thomas <gerald17...@gmail.com
>> <mailto:gerald17...@gmail.com>> wrote:
>> Stanley,
>> Please run analytics and check your pivot tables again.
>>
>> On Tue, Feb 6, 2018 at 11:11 AM, Stanley Kalyati <skaly...@gmail.com
>> <mailto:skaly...@gmail.com>> wrote:
>> Hi All,
>>
>> I posted something similar sometime two weeks ago.
>>
>> I have data elements whose value type is number and aggregation type is
>> Sum.I created a data set and assigned it to the Organisation unit.
>>
>> I captured data and run analytics.When i run the pivot tables,no data
>> values.
>>
>> However,when i add a Category Combination which is an attribute to the
>> data set,enter data and run pivot tables,data is there.
>>
>> I am confused.
>>
>> Anyone with an idea?
>>
>> Thank you
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> <https://launchpad.net/~dhis2-users>
>> Post to : dhis2-users@lists.launchpad.net
>> <mailto:dhis2-users@lists.launchpad.net>
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> <https://launchpad.net/~dhis2-users>
>> More help   : https://help.launchpad.net/ListHelp
>> <https://help.launchpad.net/ListHelp>
>>
>>
>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
>>
>>
>>
>> --
>> Regards,
>>
>> Gerald
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar

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


Re: [Dhis2-users] Root organisation unit problem.

2018-02-07 Thread Knut Staring
Please try and open Organisation Unit level and click on the SAVE button

I assume you have not tried to connect to a Posgresql database?

Knut

On Wed, Feb 7, 2018 at 3:57 PM, Khant Mg Mg <dr.khantmaungma...@gmail.com>
wrote:

> I didn't import anything. I create the first org unit (the root org unit)
> and it shows nothing in level column. I already assigned myself (admin
> user) to the root org unit. The problem still present. In org unit level,
> there is only level1. I didn't touch anything in org unit level.
>
> My problem is that I cannot create org unit group, org unit tree did not
> appear in dataset.
>
> On 7 Feb 2018 9:07 pm, "Knut Staring" <knu...@gmail.com> wrote:
>
> Hi Khant,
>
> Sending this back to the users list. The message you linked to was me
> trying to help Astrid. Not sure if she resolved it.
>
> Try and open Organisation Unit level and click on Save. Or did you import
> levels also from SL? Is your problem that you are not able to create
> groups?
>
> Knut
>
> On Wed, Feb 7, 2018 at 3:26 PM, Khant Mg Mg <dr.khantmaungma...@gmail.com>
> wrote:
>
>> Dear Knut,
>> I assign myself (admin user) to root org unit. But that didn't solve the
>> problem. I thought you also faced that kind of problem previously. I saw
>> that on https://lists.launchpad.net/dhis2-users/msg14162.html.
>> If you've solved that problem, can you please share your solution?
>>
>
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
<+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Root organisation unit problem.

2018-02-07 Thread Knut Staring
Hi Khant,

Sending this back to the users list. The message you linked to was me
trying to help Astrid. Not sure if she resolved it.

Try and open Organisation Unit level and click on Save. Or did you import
levels also from SL? Is your problem that you are not able to create groups?

Knut

On Wed, Feb 7, 2018 at 3:26 PM, Khant Mg Mg 
wrote:

> Dear Knut,
> I assign myself (admin user) to root org unit. But that didn't solve the
> problem. I thought you also faced that kind of problem previously. I saw
> that on https://lists.launchpad.net/dhis2-users/msg14162.html.
> If you've solved that problem, can you please share your solution?
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
Hi Abyot,

I am probably just stupid, but why is it complaining about a different
program (ur1Edk5Oe2n) than the one requested in the URL (eBAyeGv0exc) ?

And even after sharing both programs with the administrator group which
admin is a member of, I still get the same?

Knut

On Tue, Feb 6, 2018 at 5:00 PM, Abyot Asalefew Gizaw <ab...@dhis2.org>
wrote:
>
> That is because if the new sharing setting. You need to go and configure
data read and write sharing settings...
>
> The same url should work in 2.28 and lower versions.
>
>
> On Tue, Feb 6, 2018, 16:55 Georgi Chakarov <geo...@logicaloutcomes.net>
wrote:
>>
>> Yes, and I am trying to get all data for all tracked entity instances,
not for a specific one. Any idea?
>>
>>
>>
>> From: Knut Staring [mailto:knu...@gmail.com]
>> Sent: Tuesday, February 6, 2018 5:43 PM
>>
>>
>> To: Georgi Chakarov <geo...@logicaloutcomes.net>
>> Cc: DHIS 2 Developers list <dhis2-d...@lists.launchpad.net>;
dhis2-users@lists.launchpad.net; Michal Debski <
michal.deb...@logicaloutcomes.net>; Wojtek Bak <woj...@logicaloutcomes.net>
>> Subject: Re: [Dhis2-users] FW: Access Tracker capture program stage data
through API
>>
>>
>>
>> I see. I am actually seeing a restriction when trying the example at the
bottom of the page in the manual:
>>
>>
>>
>>
https://docs.dhis2.org/master/en/developer/html/webapi_events.html#webapi_querying_reading_events
>>
>>
>>
>>
https://play.dhis2.org/dev/api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc=gfVxE3ALA9m=2014-01-01=2014-12-31
>>
>>
{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"[User
has no read access to program: ur1Edk5Oe2n]"}
>>
>> This is of course not the response you are getting.
>>
>> Knut
>>
>>
>>
>>
>>
>> Virus-free. www.avg.com
>>
>>
>>
>> On Tue, Feb 6, 2018 at 4:11 PM, Georgi Chakarov <
geo...@logicaloutcomes.net> wrote:
>>
>> Hi Knut,
>>
>>
>>
>> I am using a super user account and we don’t have data shared among
users. Maybe the problem is related to the fact that Tracker data does not
get exported in any format from the Import/Export app either. Aggregate
data does, but tracker or event data does not.
>>
>>
>>
>> Georgi
>>
>> From: Knut Staring [mailto:knu...@gmail.com]
>> Sent: Tuesday, February 6, 2018 3:42 PM
>> To: Georgi Chakarov <geo...@logicaloutcomes.net>
>> Cc: DHIS 2 Developers list <dhis2-d...@lists.launchpad.net>;
dhis2-users@lists.launchpad.net; Michal Debski <
michal.deb...@logicaloutcomes.net>; Wojtek Bak <woj...@logicaloutcomes.net>
>> Subject: Re: [Dhis2-users] FW: Access Tracker capture program stage data
through API
>>
>>
>>
>> Just a thought - is the user you are using for the API member of the
user group for which this data has been shared?
>>
>>
>>
>> Knut
>>
>>
>>
>> On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <
geo...@logicaloutcomes.net> wrote:
>>
>> Hi all,
>>
>>
>>
>> Any thoughts on the below question? Your input is highly needed and
appreciated!
>>
>>
>>
>> Regards,
>>
>> Georgi
>>
>>
>>
>> From: Georgi Chakarov
>> Sent: Monday, February 5, 2018 6:20 PM
>> To: 'DHIS 2 Developers list' <dhis2-d...@lists.launchpad.net>;
dhis2-users@lists.launchpad.net
>> Cc: Michal Debski <michal.deb...@logicaloutcomes.net>; Wojtek Bak <
woj...@logicaloutcomes.net>
>> Subject: Access Tracker capture program stage data through API
>>
>>
>>
>> Hi all,
>>
>>
>>
>> Can anyone tell me what is the query to read all data entered in a
Tracker capture program stage?
>>
>>
>>
>> We have tried this:
>>
>> /api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc
>>
>> and other versions like
/api/26/events.json?orgUnit=YuQRtpLP10I=CHILDREN but we get the
result below. Your feedback is highly appreciated!
>>
>>
>>
>>
>>
>>
>>
>> Georgi
>>
>>
>> Georgi Chakarov, CIA | geo...@logicaloutcomes.net | +1-647-478-5634 x
104 | 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
>>
>>
>>
>>
>> ___
>&

Re: [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
I see. I am actually seeing a restriction when trying the example at the
bottom of the page in the manual:

https://docs.dhis2.org/master/en/developer/html/webapi_events.html#webapi_querying_reading_events

https://play.dhis2.org/dev/api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc=gfVxE3ALA9m=2014-01-01=2014-12-31

{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"[User
has no read access to program: ur1Edk5Oe2n]"}

This is of course not the response you are getting.

Knut



<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Feb 6, 2018 at 4:11 PM, Georgi Chakarov <geo...@logicaloutcomes.net>
wrote:

> Hi Knut,
>
>
>
> I am using a super user account and we don’t have data shared among users.
> Maybe the problem is related to the fact that Tracker data does not get
> exported in any format from the Import/Export app either. Aggregate data
> does, but tracker or event data does not.
>
>
>
> Georgi
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Tuesday, February 6, 2018 3:42 PM
> *To:* Georgi Chakarov <geo...@logicaloutcomes.net>
> *Cc:* DHIS 2 Developers list <dhis2-d...@lists.launchpad.net>;
> dhis2-users@lists.launchpad.net; Michal Debski <michal.debski@
> logicaloutcomes.net>; Wojtek Bak <woj...@logicaloutcomes.net>
> *Subject:* Re: [Dhis2-users] FW: Access Tracker capture program stage
> data through API
>
>
>
> Just a thought - is the user you are using for the API member of the user
> group for which this data has been shared?
>
>
>
> Knut
>
>
>
> On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <
> geo...@logicaloutcomes.net> wrote:
>
> Hi all,
>
>
>
> Any thoughts on the below question? Your input is highly needed and
> appreciated!
>
>
>
> Regards,
>
> Georgi
>
>
>
> *From:* Georgi Chakarov
> *Sent:* Monday, February 5, 2018 6:20 PM
> *To:* 'DHIS 2 Developers list' <dhis2-d...@lists.launchpad.net>;
> dhis2-users@lists.launchpad.net
> *Cc:* Michal Debski <michal.deb...@logicaloutcomes.net>; Wojtek Bak <
> woj...@logicaloutcomes.net>
> *Subject:* Access Tracker capture program stage data through API
>
>
>
> Hi all,
>
>
>
> Can anyone tell me what is the query to read all data entered in a Tracker
> capture program stage?
>
>
>
> We have tried this:
>
> */api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc *
>
> and other versions like
> */api/26/events.json?orgUnit=YuQRtpLP10I=CHILDREN* but we get the
> result below. Your feedback is 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
> <https://maps.google.com/?q=720+Bathurst+Street,+Toronto+Canada+M5S+2R4=gmail=g>
> | *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-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
> <+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
> Skype: knutstar
>



-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] FW: Access Tracker capture program stage data through API

2018-02-06 Thread Knut Staring
Just a thought - is the user you are using for the API member of the user
group for which this data has been shared?

Knut

On Tue, Feb 6, 2018 at 2:38 PM, Georgi Chakarov <geo...@logicaloutcomes.net>
wrote:

> Hi all,
>
>
>
> Any thoughts on the below question? Your input is highly needed and
> appreciated!
>
>
>
> Regards,
>
> Georgi
>
>
>
> *From:* Georgi Chakarov
> *Sent:* Monday, February 5, 2018 6:20 PM
> *To:* 'DHIS 2 Developers list' <dhis2-d...@lists.launchpad.net>;
> dhis2-users@lists.launchpad.net
> *Cc:* Michal Debski <michal.deb...@logicaloutcomes.net>; Wojtek Bak <
> woj...@logicaloutcomes.net>
> *Subject:* Access Tracker capture program stage data through API
>
>
>
> Hi all,
>
>
>
> Can anyone tell me what is the query to read all data entered in a Tracker
> capture program stage?
>
>
>
> We have tried this:
>
> */api/26/events.json?orgUnit=DiszpKrYNg8=eBAyeGv0exc *
>
> and other versions like
> */api/26/events.json?orgUnit=YuQRtpLP10I=CHILDREN* but we get the
> result below. Your feedback is 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-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 <+41%2022%20791%2036%2083> Mob1: +33 6 4434 2931
<+33%206%2044%2034%2029%2031> Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program indicators export to another system

2018-02-05 Thread Knut Staring
Agree very much on having a GUI/app for mapping.

For example, I am currently setting up an instance with simplified
geometries for the whole world based on GADM - with the hierarchy down to
admin level 1, 2, 3, 4 created based on the shapefiles and using the codes
from GADM for admin1 and admin2

It would then be great to be able to link the GADM orgunits with
names/codes used by existing MoH data collection setups (whether Excel,
Access, DHIS2 or other). Would be good to preserve the mapping for later
also, perhaps as an attribute.

On a side note, I heard that someone created an app which can import such
mapping between a shapefile and an exciting orgunit hierarchy in Excel,
which is also not a bad solution.

Knut

On Mon, Feb 5, 2018 at 11:02 AM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Knut
>
> I did that for IDSR/Malaria in order to "map" local IDSR program
> indicators to the WHO aggregated malaria data elements.
>
> It is, frankly, a painful and "expert" approach to the problem, and in my
> opinion very difficult to maintain.
>
> The presumably simplest solution is to expand the "Data Value Set"
> download option under the pivot table app to incorporate the optional use
> of CODES or NAMES. While some might argue that using the same code or name
> for a Program Indicator as for an aggregated data element is not "purist",
> it should work.
>
> A more sophisticated solution that would be useful for any type of data
> import is to introduce data element and organisationunit "mapping" during
> import - similar functionality has been available in DHIS v1 since time
> immemorial.
>
> Users can then define/store/use two lookup field values: uid (or
> code/name) INCOMING, and uid (or code/name) IMPORTING. So incoming
> uid/code/name will automatically be replaced by the equivalent/correct
> value before the system start POSTing records.
>
> Regards
> Calle
>
> On 1 February 2018 at 18:07, Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Elmarie,
>>
>> This is an important issue, and I expect others will have a better
>> answer, but one approach could perhaps be to replace the UID for the
>> Programme Indicators with the desired data element UID. I suppose that
>> would have to be done either directly in the database or through the API,
>> but if it were to be a recommended way to link databases it should also be
>> possibly to do this kind of mapping through the user interface
>>
>> Knut
>>
>> On Thu, Feb 1, 2018 at 4:59 PM, Elmarie Claasen <elma...@hisp.org> wrote:
>>
>>> Hi all,
>>>
>>> Any response to this question?
>>>
>>> Regards
>>>
>>> Elmarie
>>>
>>> On 30 Jan 2018 12:11, "Elmarie Claasen" <elma...@hisp.org> wrote:
>>>
>>>> Hi all,
>>>>
>>>>
>>>>
>>>> We create Programme Indicators and would like to export those to other
>>>> systems with different data element UIDs than the created Programme
>>>> Indicator UID.
>>>>
>>>> If adding a code to the Programme Indicator which is same as the Data
>>>> Element code will this allow matching on import?
>>>>
>>>>
>>>>
>>>> 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
>>> <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-d...@lists.launchpad.net
>>&

Re: [Dhis2-users] [Dhis2-devs] Program indicators export to another system

2018-02-01 Thread Knut Staring
Hi Elmarie,

This is an important issue, and I expect others will have a better answer,
but one approach could perhaps be to replace the UID for the Programme
Indicators with the desired data element UID. I suppose that would have to
be done either directly in the database or through the API, but if it were
to be a recommended way to link databases it should also be possibly to do
this kind of mapping through the user interface

Knut

On Thu, Feb 1, 2018 at 4:59 PM, Elmarie Claasen <elma...@hisp.org> wrote:

> Hi all,
>
> Any response to this question?
>
> Regards
>
> Elmarie
>
> On 30 Jan 2018 12:11, "Elmarie Claasen" <elma...@hisp.org> wrote:
>
>> Hi all,
>>
>>
>>
>> We create Programme Indicators and would like to export those to other
>> systems with different data element UIDs than the created Programme
>> Indicator UID.
>>
>> If adding a code to the Programme Indicator which is same as the Data
>> Element code will this allow matching on import?
>>
>>
>>
>> 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
> <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-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Option sets and data elements

2018-01-30 Thread Knut Staring
Hi Nada,

Are you collecting the same data at two levels? Is it a type of survey
question regarding the organisational unit?

Perhaps you could have two different data elements linked to different data
sets, which can then in turn be assigned at different levels?

Knut

On Mon, Jan 29, 2018 at 12:11 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Nada,
>
> This sounds like a "cascading drop down". This is not supported directly
> in DHIS2, so you will need to implement your own front-end solution for
> this.
>
> Regards,
> Jason
>
>
> On Sat, Jan 27, 2018 at 9:49 AM, Nada Ghosn <esumoh...@gmail.com> wrote:
>
>> Good morning,
>> Reference is made to tacker/event capture
>> Is it possible to have one data element having different option sets
>> based on specific criteria?
>>
>> Example:
>> data element_province (text)
>> data element_district.
>> Based on the value of the data element_province, the data
>> element_district will show different option sets.
>>
>> Sincerely
>> NG
>>
>> --
>> Nada Ghosn, MD
>> Head, Epidemiology Surveillance Program (Esumoh)
>> Ministry of Public Health
>> Beirut, Museum square
>> Lebanon
>> Tel +961.1.614194 <+961%201%20614%20194>
>> Fax +961.1.610920 <+961%201%20610%20920>
>> Email esumoh...@gmail.com, esu...@moph.gov.lb
>> Website www.moph.gov.lb
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049 <+46%2076%20414%2070%2049>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Organisation Units repetitive structure

2018-01-30 Thread Knut Staring
Hi Bernard,

Sorry, I'm very busy with a series of meetings this week, and also not in
the best position to resolve this, so hoping for others on the list to step
up. Thanks for the detailed explanation of your issue, my guess it is
likely just some small thing with your database. You could perhaps also try
to take a look directly at your organsationunit table in the db and scan
for any anomalies such as 10 digit UIDs or null values (can also be done
through the DHIS2 GUI with an SQL View (under Data Administration).

Knut

On Tue, Jan 30, 2018 at 9:10 AM, Bernard Sadaka (IM Advisor) <
lib@pu-ami.org> wrote:

> Hello Again Knut,
>
> Any news about this issue?
>
> Should I open a ticket for it in Jira? The challenge is I don’t know how
> to replicate this bug.
>
>
>
> Here is what happening with my org units:
>
> *As you can see bellow, all the org units are there duplicated but in a
> scrambled order and not under their respective parent. Add to that when I
> click on one of the values that are supposed to show the underlying org
> units only of the copies will expand and show that.*
>
>
>
> *Is this front end related? Backend? Database related?*
>
>
>
> Here is my org unit structure:
>
>1. Lebanon
>   1. Organisation A
>
>i.  Base
> 1
>
> 1.   PHCC 1
>
> 2.   PHCC 2
>
> 3.   PHCC 3
>
>  ii.  Base
> 2
>
> 1.   PHCC 4
>
> 2.   PHCC 5
>
> 3.   PHCC 6
>
> 4.   PHCC 7
>
>1. Test Org A
>
>i.  Test
> Base 1
>
> 1.   Test PHCC 1
>
> 2.   Test PHCC 2
>
> 3.   Test PHCC 3
>
>  ii.  Test
> Base 2
>
> 1.   Test PHCC 4
>
> 2.   Test PHCC 5
>
> 3.   Test PHCC 6
>
> 4.   Test PHCC 7
>
> 5.   Test PHCC 8
>
>
>
> In some places on my DHIS2 it shows correctly, in other places it shows as
> per the bellow (in DHIS2 sections such as the “pivot tables” and the “data
> output and analytics organization units” under new/edit user section) (the
> pivot tables keep trying to load as mentioned before) :
>
> 1.   Base 1
>
> 1.   PHCC 1
>
> 2.   PHCC 2
>
> 3.   PHCC 3
>
>1. PHCC 1
>2. PHCC 4
>3. PHCC 2
>4. PHCC 3
>5. PHCC 5
>6. PHCC 6
>7. Lebanon
>   1. Organisation A
>
>i.  Base
> 1
>
>  ii.  Base
> 2
>
> 1.   PHCC 4
>
> 2.   PHCC 5
>
> 3.   PHCC 6
>
> 4.   PHCC 7
>
>1. Test Org A
>
>i.  Test
> Base 1
>
> 1.   Test PHCC 1
>
> 2.   Test PHCC 2
>
> 3.   Test PHCC 3
>
>  ii.  Test
> Base 2
>
> 1.   Test PHCC 4
>
> 2.   Test PHCC 5
>
> 3.   Test PHCC 6
>
> 4.   Test PHCC 7
>
> 5.   Test PHCC 8
>
>1. Organisation A
>2. Base 2
>3. PHCC 7
>4. Test Base 1
>5. Test PHCC 1
>6. Test PHCC 4
>7. Test PHCC 2
>8. Test PHCC 5
>9. Test PHCC 6
>10. Test PHCC 7
>11. Test Org A
>12. Test Base 2
>
>
>
> Your help is appreciated.
>
>
>
> All the best,
>
> Bernard
>
>
>
> [image: cid:image002.png@01D36F50.572585A0]
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib@pu-ami.org
>
> *Cell:* +961 71 004 881 <+961%2071%20004%20881> (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Bernard Sadaka (IM Advisor) [mailto:lib@pu-ami.org]
> *Sent:* Monday, January 29, 2018 2:29 PM
> *To:* 'Knut Staring' <knu...@gmail.com>
> *Cc:* 'DHIS 2 Users list' <dhis2-users@lists.launchpad.net>; 'DHIS 2
> developers' <dhis2-d...@lists.launchpad.net>
> *Subject:* RE: [Dhis2-users] Organisation Units repetitive structure
>
>
>
> Thank you Knut,
>
> The console error while at the pivot table and viewing the org units is
> “Cannot read property ‘internalId’ of undefined ” as per the bellow
> screenshot:
>
>
>
> 

Re: [Dhis2-users] Hello DHIS2

2018-01-29 Thread Knut Staring
Hello Makhate,

Welcome to the list. You can see the archive here:
https://lists.launchpad.net/dhis2-users/

And member list:
https://launchpad.net/~dhis2-users/+members#active

Regards,
Knut

On Mon, Jan 29, 2018 at 2:23 PM, Makhate Makhate <makhatemakh...@gmail.com>
wrote:

> ​Hello Community,
>
> Is this usergroup still active.
>
> Kind regards,
> *Makhate*,
> ICAP Lesotho​
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


  1   2   3   4   5   6   7   8   9   10   >