Re: [Dhis2-devs] [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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-devs@lists.launchpad.net
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>
>> --
>> Shurajit Dutta (MPH, MHI)
>> Health Information Systems Adviser
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


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


Re: [Dhis2-devs] Play demo password

2018-10-29 Thread Knut Staring
Think it is only replaced once daily. You can use "D1$trict" for now

On Mon, Oct 29, 2018 at 4:46 PM Sam Johnson 
wrote:

> Hi all,
>
>
>
> I think someone has changed the ‘admin’ password on play.dhis2.org/demo,
> and everyone is locked out – is this instance not still set up to reset
> itself every 5-10mins (see below)?
>
>
>
> Cheers, Sam.
>
>
>
> *From: *Lars Helge Øverland 
> *Date: *Monday, 9 January 2017 at 04:09
> *To: *Morten Olav Hansen 
> *Cc: *Sam Johnson , DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *Re: [Dhis2-devs] Play demo password
>
>
>
> Hi Sam,
>
>
>
> Jason has added a script for resetting the password now.
>
>
>
> Lars
>
>
>
>
>
> On Thu, Jan 5, 2017 at 2:18 AM, Morten Olav Hansen 
> wrote:
>
> Hi Sam
>
>
>
> It should be reset in about 2-3 hours automatically.
>
>
>
> I thought we had this blocked now, Jason?
>
>
> --
>
> Morten Olav Hansen
>
> Senior Engineer, DHIS 2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Thu, Jan 5, 2017 at 6:33 AM, Sam Johnson 
> wrote:
>
> Hi Devs,
>
>
>
> Looks like someone’s changed the ‘admin’ password on play.dhis2.org/demo
> again, and we can’t log in – would it be possible to get it reset?
>
>
>
> Re: the suggestion below, would it be worth scripting a quick chron job
> that runs every five minutes to update the ‘admin’ password back to
> ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs  qebo.co...@lists.launchpad.net> on behalf of Sam Johnson <
> samuel.john...@qebo.co.uk>
> *Date: *Friday, 11 November 2016 at 04:50
> *To: *Victor Garcia , DHIS2 Developers <
> dhis2-devs@lists.launchpad.net>
> *Subject: *[Dhis2-devs] Play demo password
>
>
>
> Hi all,
>
>
>
> Re: Victor’s note about being locked out of the demo server, this sort of
> lock-out has happened a few times recently.  Would it perhaps be worth
> setting up a chron job that runs every five minutes to update the ‘admin’
> user password back to ‘district’ if it has changed?
>
>
>
> Cheers, Sam.
>
>
>
>
>
> *From: *Dhis2-devs  qebo.co...@lists.launchpad.net> on behalf of Victor Garcia <
> vgarcia...@gmail.com>
> *Date: *Thursday, 10 November 2016 at 09:05
> *To: *DHIS2 Developers 
> *Subject: *[Dhis2-devs] Program rule actions of type ASSIGN not working
> on SCHEDULED events
>
>
>
> Hi all,
>
>
>
> we have noticed a buggy behavior when using program rule actions of type
> ASSIGN in scheduled events. The program rule is correctly evaluated, but
> the program rule action does not assign the desired value to the
> dataelement in that event. This happens only when the event is created
> using the visit scheduler. If the event is created using the "Add new
> event" button the program rule action works fine.
>
>
>
> The steps to reproduce the issue:
>
> 1. Create a programRuleVariable of type "DATAELEMENT_CURRENT_EVENT" with
> the dataelement we want to copy.
>
> 2. Create a programRule limited to that programStage.
>
> 3. Assign a programRuleAction of type ASSIGN, with the previously crated
> programRuleVariable as the "data" and a dataelement as the target.
>
>
>
> I couldn't access demo server to reproduce the issue (it seems that admin
> password has been changed), but I did in dev server and created an example
> that you can easily verify until it is reset tonight. It is in the program
> "WHO RMNCH Tracker", in the stage "Postpartum care visit". I added a new
> dataelement called "Copy HIV test result" just below "HIV test result" that
> copies its value. You can verify that if the stage is created using the
> "Add event button" the value is correctly copied; but it the stage is added
> using the visit scheduler, the value is not copied.
>
>
>
> If there is doubt please let me know.
>
>
>
> Thank you!
>
>
>
> Víctor
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> _______
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
&

Re: [Dhis2-devs] [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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Knut Staring
Would be great if the convention could be that ALL generated tables
(including analytics) started with an underscore. This convention is sort
of already in place, just not applied consistently.

Knut

On Thu, Jul 12, 2018 at 6:05 PM Calle Hedberg 
wrote:

> Hi
>
> I'm glad it's being addressed - but I am less happy to hear you are aware
> of it but haven't said anything to the community...  These type of bugs
> causes havoc, and waste a lot of time for users affected while they try to
> figure out what's gone wrong.
>
> There are two major lessons here:
>
> Firstly, to stick to a standard and manageable naming convention for both
> tables and fields (and interfaces).
>
> Secondly, to inform the user community promptly when you become aware of
> major, "showstopper", bugs.
>
> Best regards
> calle
>
> On 12 July 2018 at 13:15, Morten Olav Hansen  wrote:
>
>> Ok, thanks Stian (no need to work on this then Viet)
>>
>> (knut, using pg_dump we normally filter away analytic* which means no
>> period boundaries..)
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Jul 12, 2018 at 6:14 PM, Stian Sandvold  wrote:
>>
>>> I have started the work on renaming the table. I will update this thread
>>> as soon as I make progress.
>>>
>>> On Thu, Jul 12, 2018 at 12:17 PM, Morten Olav Hansen 
>>> wrote:
>>>
>>>> Hi Knut
>>>>
>>>> I mean the main issue the thread was about... using maintenance =>
>>>> clear analytic tables, it will delete analytics* which includes the
>>>> analytical boundaries.
>>>>
>>>>
>>>> --
>>>> Morten Olav Hansen
>>>> Senior Engineer, DHIS 2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Thu, Jul 12, 2018 at 5:11 PM, Knut Staring  wrote:
>>>>
>>>>> Hi Morten, sorry but which functionality are you suggesting should not
>>>>> be used? What do you mean by manually deleting?
>>>>>
>>>>> Thanks,
>>>>> Knut
>>>>>
>>>>> On Thu, Jul 12, 2018, 4:23 PM Morten Olav Hansen 
>>>>> wrote:
>>>>>
>>>>>> Hi Calle
>>>>>>
>>>>>> We are aware of this issue (actually it caused a problem with us in
>>>>>> Lao), for now.. I would also say don't use this functionality, its better
>>>>>> to manually delete the analytics_* tables if you need it. We will rename
>>>>>> that table soon we hope, and that should fix it (this also causes 
>>>>>> potential
>>>>>> issues with your backups...)
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Morten Olav Hansen
>>>>>> Senior Engineer, DHIS 2
>>>>>> University of Oslo
>>>>>> http://www.dhis2.org
>>>>>>
>>>>>> On Thu, Jul 12, 2018 at 3:58 PM, Calle Hedberg <
>>>>>> calle.hedb...@gmail.com> wrote:
>>>>>>
>>>>>>> Bob,
>>>>>>>
>>>>>>> No response/action on the JIRA bug report yet - I guess most
>>>>>>> developers are on leave (wonderful summer here in Norway this year).
>>>>>>>
>>>>>>> Otherwise I agree, the name of that table does not fit the general
>>>>>>> naming convention as far as I can see. It would make more sense to call 
>>>>>>> it
>>>>>>> e.g. "programindicator_periodboundary". The name then provides an 
>>>>>>> intuitive
>>>>>>> description of the content and it sorts together with the group of
>>>>>>> programindicator tables.
>>>>>>>
>>>>>>> Regards
>>>>>>> calle
>>>>>>>
>>>>>>> On 12 July 2018 at 08:57, Bob Jolliffe 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thats nasty alright.  I guess using "-T anlytics_*" instead would
>>>>>>>> help.  But there are so many backup scripts out there broken by this
>>>>>>>> that it will be better to rename the table.
>>>>>>>>
>>>>>>>> On 11 July 2018 at 22:39, Calle Hedberg 
>>>>>>>> 

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Knut Staring
Right... I assume you could trigger that also through the API in order to
continue to have backup scripts without manual intervention?

On Thu, Jul 12, 2018, 4:47 PM Morten Olav Hansen  wrote:

> Hi Knut
>
> I mean the main issue the thread was about... using maintenance => clear
> analytic tables, it will delete analytics* which includes the analytical
> boundaries.
>
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Jul 12, 2018 at 5:11 PM, Knut Staring  wrote:
>
>> Hi Morten, sorry but which functionality are you suggesting should not be
>> used? What do you mean by manually deleting?
>>
>> Thanks,
>> Knut
>>
>> On Thu, Jul 12, 2018, 4:23 PM Morten Olav Hansen 
>> wrote:
>>
>>> Hi Calle
>>>
>>> We are aware of this issue (actually it caused a problem with us in
>>> Lao), for now.. I would also say don't use this functionality, its better
>>> to manually delete the analytics_* tables if you need it. We will rename
>>> that table soon we hope, and that should fix it (this also causes potential
>>> issues with your backups...)
>>>
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Thu, Jul 12, 2018 at 3:58 PM, Calle Hedberg 
>>> wrote:
>>>
>>>> Bob,
>>>>
>>>> No response/action on the JIRA bug report yet - I guess most developers
>>>> are on leave (wonderful summer here in Norway this year).
>>>>
>>>> Otherwise I agree, the name of that table does not fit the general
>>>> naming convention as far as I can see. It would make more sense to call it
>>>> e.g. "programindicator_periodboundary". The name then provides an intuitive
>>>> description of the content and it sorts together with the group of
>>>> programindicator tables.
>>>>
>>>> Regards
>>>> calle
>>>>
>>>> On 12 July 2018 at 08:57, Bob Jolliffe  wrote:
>>>>
>>>>> Thats nasty alright.  I guess using "-T anlytics_*" instead would
>>>>> help.  But there are so many backup scripts out there broken by this
>>>>> that it will be better to rename the table.
>>>>>
>>>>> On 11 July 2018 at 22:39, Calle Hedberg 
>>>>> wrote:
>>>>> > Hi
>>>>> >
>>>>> > For as long as I can remember, we have used the standard parameter
>>>>> "-T
>>>>> > analytics*" when dumping a DHIS2 database into e.g. a backup or
>>>>> similar.
>>>>> >
>>>>> > The purpose of the parameter was to exclude all analytics tables
>>>>> from the
>>>>> > dump, since it is significantly faster to restore a dump without
>>>>> analytics
>>>>> > tables and then run analytics to re-create them (due to the use of
>>>>> > multi-threading), compared to dumping and restoring a database
>>>>> instance with
>>>>> > all the analytics table (restore is NOT using multi-threading).
>>>>> >
>>>>> > For some reason, in 2.29 a new table that stores periodboundary data
>>>>> for
>>>>> > Program Indicators was called "analyticsperiodboundary" - which
>>>>> means the
>>>>> > standard pg_dump parameter will leave that table behind together
>>>>> with all
>>>>> > other "analytics*" tables.
>>>>> >
>>>>> > Furthermore, the routine called "Clear Analytics Tables" found under
>>>>> Data
>>>>> > Administration -> Maintenance is as before deleting all tables named
>>>>> > Analytics* - THE PROBLEM IS THAT IT ALSO DELETES THE NEW
>>>>> > ANALYTICSPERIODBOUNDARY TABLE (same in both 2.29 and 2.30)
>>>>> >
>>>>> > Which will crash your system in the sense that you won't see any
>>>>> program
>>>>> > indicator data in dashboards etc.
>>>>> >
>>>>> > The "analyticsperiodboundary" table will be re-created and
>>>>> re-populated with
>>>>> > DEFAULT (boundless) Program Indicator Period boundaries when you
>>>>> re-start
>>>>> > the system (it's 

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Knut Staring
Hi Morten, sorry but which functionality are you suggesting should not be
used? What do you mean by manually deleting?

Thanks,
Knut

On Thu, Jul 12, 2018, 4:23 PM Morten Olav Hansen  wrote:

> Hi Calle
>
> We are aware of this issue (actually it caused a problem with us in Lao),
> for now.. I would also say don't use this functionality, its better to
> manually delete the analytics_* tables if you need it. We will rename that
> table soon we hope, and that should fix it (this also causes potential
> issues with your backups...)
>
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Jul 12, 2018 at 3:58 PM, Calle Hedberg 
> wrote:
>
>> Bob,
>>
>> No response/action on the JIRA bug report yet - I guess most developers
>> are on leave (wonderful summer here in Norway this year).
>>
>> Otherwise I agree, the name of that table does not fit the general naming
>> convention as far as I can see. It would make more sense to call it e.g.
>> "programindicator_periodboundary". The name then provides an intuitive
>> description of the content and it sorts together with the group of
>> programindicator tables.
>>
>> Regards
>> calle
>>
>> On 12 July 2018 at 08:57, Bob Jolliffe  wrote:
>>
>>> Thats nasty alright.  I guess using "-T anlytics_*" instead would
>>> help.  But there are so many backup scripts out there broken by this
>>> that it will be better to rename the table.
>>>
>>> On 11 July 2018 at 22:39, Calle Hedberg  wrote:
>>> > Hi
>>> >
>>> > For as long as I can remember, we have used the standard parameter "-T
>>> > analytics*" when dumping a DHIS2 database into e.g. a backup or
>>> similar.
>>> >
>>> > The purpose of the parameter was to exclude all analytics tables from
>>> the
>>> > dump, since it is significantly faster to restore a dump without
>>> analytics
>>> > tables and then run analytics to re-create them (due to the use of
>>> > multi-threading), compared to dumping and restoring a database
>>> instance with
>>> > all the analytics table (restore is NOT using multi-threading).
>>> >
>>> > For some reason, in 2.29 a new table that stores periodboundary data
>>> for
>>> > Program Indicators was called "analyticsperiodboundary" - which means
>>> the
>>> > standard pg_dump parameter will leave that table behind together with
>>> all
>>> > other "analytics*" tables.
>>> >
>>> > Furthermore, the routine called "Clear Analytics Tables" found under
>>> Data
>>> > Administration -> Maintenance is as before deleting all tables named
>>> > Analytics* - THE PROBLEM IS THAT IT ALSO DELETES THE NEW
>>> > ANALYTICSPERIODBOUNDARY TABLE (same in both 2.29 and 2.30)
>>> >
>>> > Which will crash your system in the sense that you won't see any
>>> program
>>> > indicator data in dashboards etc.
>>> >
>>> > The "analyticsperiodboundary" table will be re-created and
>>> re-populated with
>>> > DEFAULT (boundless) Program Indicator Period boundaries when you
>>> re-start
>>> > the system (it's part of the TableAlteror routine during startup), but
>>> > - you have to re-start the system
>>> > - you will lose any non-default boundary settings used for any program
>>> > indicator.
>>> >
>>> > This has also been reported as a high-priority bug on JIRA
>>> (DHIS2-4260).
>>> >
>>> > Regards
>>> > Calle
>>> >
>>> > ***
>>> >
>>> > Calle Hedberg
>>> >
>>> > 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>> >
>>> > Tel/fax (home): +27-21-685-6472
>>> >
>>> > Cell: +27-82-853-5352
>>> >
>>> > Iridium SatPhone: +8816-315-19119
>>> >
>>> > Email: calle.hedb...@gmail.com
>>> >
>>> > Skype: calle_hedberg
>>> >
>>> > ***
>>> >
>>> >
>>> >
>>> > ___
>>> > Mailing list: https://launchpad.net/~dhis2-devs
>>> > Post to : dhis2-devs@lists.launchpad.net
>>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>>> > More help   : https://help.launchpad.net/ListHelp
>>> >
>>>
>>
>>
>>
>> --
>>
>> ***
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedb...@gmail.com
>>
>> Skype: calle_hedberg
>>
>> ***
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Knut Staring
It would have been good if all the "dispensable" tables could rather have
started with an underscore (though that again will of course break extant
scripts).

Knut

On Thu, Jul 12, 2018, 1:27 PM Bob Jolliffe  wrote:

> Thats nasty alright.  I guess using "-T anlytics_*" instead would
> help.  But there are so many backup scripts out there broken by this
> that it will be better to rename the table.
>
> On 11 July 2018 at 22:39, Calle Hedberg  wrote:
> > Hi
> >
> > For as long as I can remember, we have used the standard parameter "-T
> > analytics*" when dumping a DHIS2 database into e.g. a backup or similar.
> >
> > The purpose of the parameter was to exclude all analytics tables from the
> > dump, since it is significantly faster to restore a dump without
> analytics
> > tables and then run analytics to re-create them (due to the use of
> > multi-threading), compared to dumping and restoring a database instance
> with
> > all the analytics table (restore is NOT using multi-threading).
> >
> > For some reason, in 2.29 a new table that stores periodboundary data for
> > Program Indicators was called "analyticsperiodboundary" - which means the
> > standard pg_dump parameter will leave that table behind together with all
> > other "analytics*" tables.
> >
> > Furthermore, the routine called "Clear Analytics Tables" found under Data
> > Administration -> Maintenance is as before deleting all tables named
> > Analytics* - THE PROBLEM IS THAT IT ALSO DELETES THE NEW
> > ANALYTICSPERIODBOUNDARY TABLE (same in both 2.29 and 2.30)
> >
> > Which will crash your system in the sense that you won't see any program
> > indicator data in dashboards etc.
> >
> > The "analyticsperiodboundary" table will be re-created and re-populated
> with
> > DEFAULT (boundless) Program Indicator Period boundaries when you re-start
> > the system (it's part of the TableAlteror routine during startup), but
> > - you have to re-start the system
> > - you will lose any non-default boundary settings used for any program
> > indicator.
> >
> > This has also been reported as a high-priority bug on JIRA (DHIS2-4260).
> >
> > Regards
> > Calle
> >
> > ***
> >
> > Calle Hedberg
> >
> > 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
> >
> > Tel/fax (home): +27-21-685-6472
> >
> > Cell: +27-82-853-5352
> >
> > Iridium SatPhone: +8816-315-19119
> >
> > Email: calle.hedb...@gmail.com
> >
> > Skype: calle_hedberg
> >
> > ***
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2018-07-04 Thread Knut Staring
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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Script Not Loading For Pivot Table Plugin V28

2018-06-27 Thread Knut Staring
Maybe this workaround will be of help:
https://lists.launchpad.net/dhis2-users/msg15874.html

On Wed, Jun 27, 2018 at 8:46 AM Sourabh Bhardwaj 
wrote:

> Hi Everyone ,
>
> A gentle reminder to the previous mail :
>
> Pivot table plugin is not working as (
> https://dhis2-cdn.org/v228/plugin/reporttable.js) is down. Please share
> if anyone having 'reporttable.js' script file available or please make this
> link up and working.
>
> Thanks
>
>
> On Tue, Jun 26, 2018 at 1:51 PM Sourabh Bhardwaj 
> wrote:
>
>>
>> Hi All,
>>
>> I am trying to Embed Pivot table from Pivot Plugin, however the only
>> source required 'reportTable.js'  is not loading:
>>
>> (https://dhis2-cdn.org/v228/plugin/reporttable.js)
>> *giving the page is currently offline *
>>
>> I am following the reference:
>> https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_pivot_table_plugin
>>
>> Is there any alternative available to 'reportTable' for version 28. If
>> someone having 'reportTable.js' available  offline , Please share.
>>
>> Thanks in advance!
>> Sourabh Bhardwaj
>> HISP India
>>
>>
>> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

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


Re: [Dhis2-devs] Getting the OU for items recorded in datavalues table

2018-06-24 Thread Knut Staring
This is an unfortunate relic in a few key tables. Dates back to 2005...

On Tue, Jun 19, 2018, 2:35 PM Edward Robinson 
wrote:

> Oh wow, that simple?  Sourceid = organisationunitid?
>
> Thanks for the quick response David.  For some reason I was expecting
> organisationunitid to be present in the datavalue table.  Do you know the
> reason it’s called sourceid?
>
> Ed
>
>
>
> *From:* David Huser 
> *Sent:* Tuesday, 19 June 2018 2:33 PM
> *To:* Edward Robinson 
> *Cc:* DHIS 2 Developers list 
> *Subject:* Re: [Dhis2-devs] Getting the OU for items recorded in
> datavalues table
>
>
>
> Hi Ed,
>
> This should get you started:
>
>
>
> SELECT dv.dataelementid, dv.value, ou.name
> FROM datavalue dv
> JOIN organisationunit ou
> ON ou.organisationunitid = dv.sourceid;
>
>
>
> Best,
> David
>
>
>
> On Tue, Jun 19, 2018 at 2:21 PM Edward Robinson <
> erobin...@projectbalance.com> wrote:
>
> How can the OU be determined for the data in the datavalues table?
>
> The fields are dataelementid, periodid, sourceid, categoryoptioncomboid,
> attributeoptioncomboid, value, storedby, created, lastupdated, comment,
> followup, deleted
>
> I’m guessing it involves the sourceid field (and possibly others) but I’m
> having a hard time figuring it out at the moment.
>
>
>
> Thanks in advance!
>
> Ed
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> --
>
>
>
> *David Huser*
> DHIS2 Support Specialist
>
> dhu...@baosystems.com | https://baosystems.com |  2900 K Street, Suite
> 507, Washington D.C. 20007
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bulk Data |Set completeness

2018-06-18 Thread Knut Staring
As usual with direct DB manipulation, please take backups for each step
along the way so you can easily roll back.

On Tue, Jun 19, 2018, 4:21 AM Barnabas Akumba  wrote:

> Hello Knut,
>
> This sounds good.
> Will try it out and revert.
>
> Regards
>
> On Mon, Jun 18, 2018 at 9:56 AM, Knut Staring  wrote:
>
>> I suppose you could check all the (orgunit,period) combinations in the
>> datavalue table and also which datasets are assigned to which orgunits from
>> the datasetsource table:
>>
>> select distinct sourceid,periodid from datavalue;
>> select * from datasetsource;
>>
>> Then insert what is missing into the completedatasetregistration table
>>
>>
>> On Mon, Jun 18, 2018, 8:39 AM Barnabas Akumba 
>> wrote:
>>
>>> Hello All,
>>>
>>> Is there a way of completing submitted data sets in bulk? For example I
>>> have over 20,000 data set reports submitted but not completed. The data
>>> values are saved but the data set is not completed (the complete button is
>>> still active). Trying to submit the data by going to the entry page to
>>> click the complete button will be a herculian task.
>>>
>>> The Developer's manual indicates that datasets can be completed by
>>> interacting with this end point: /api/26/completeDataSetRegistrations. This
>>> means I have to get the period, dataset and organisation unit for all the
>>> reports. I have several datasets and so many organisation units.
>>> Is there a way I can manipulate the end-point to complete the data for
>>> all the pending datasets?
>>>
>>> Your advice will be highly appreciated.
>>>
>>> Regards
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778
>>> *Skype:* barnabas.akumba
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bulk Data |Set completeness

2018-06-18 Thread Knut Staring
I suppose you could check all the (orgunit,period) combinations in the
datavalue table and also which datasets are assigned to which orgunits from
the datasetsource table:

select distinct sourceid,periodid from datavalue;
select * from datasetsource;

Then insert what is missing into the completedatasetregistration table


On Mon, Jun 18, 2018, 8:39 AM Barnabas Akumba  wrote:

> Hello All,
>
> Is there a way of completing submitted data sets in bulk? For example I
> have over 20,000 data set reports submitted but not completed. The data
> values are saved but the data set is not completed (the complete button is
> still active). Trying to submit the data by going to the entry page to
> click the complete button will be a herculian task.
>
> The Developer's manual indicates that datasets can be completed by
> interacting with this end point: /api/26/completeDataSetRegistrations. This
> means I have to get the period, dataset and organisation unit for all the
> reports. I have several datasets and so many organisation units.
> Is there a way I can manipulate the end-point to complete the data for all
> the pending datasets?
>
> Your advice will be highly appreciated.
>
> Regards
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] data write

2018-06-07 Thread Knut Staring
Hi Moses,
There is a series of 4 videos on sharing here:
https://www.youtube.com/channel/UC7lT6wGX_IXkfguh2DvcrSA

Regards,
Knut

On Thu, Jun 7, 2018 at 2:16 PM moses mwale  wrote:

> The link between user roles and data sets/programs have been replaced by
> the new "data write" sharing levels.
>
>
> Somebody to make make me understand what that statement mean and how to
> achieve it please
>
> thanks
>
>
> --
> developer_lusaka_systems
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring

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


Re: [Dhis2-devs] [Dhis2-users] Error 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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] how to manage a datset with dynamic rows of detail data?

2018-06-05 Thread Knut Staring
Hi  晓东,

I think you would have to model it is a number of events, either "naked
events" or as a repeatable stage. But interested in hearing if people on
the list can share good approaches to this common need (very typical in
transactional systems).

Knut


On Mon, Jun 4, 2018 at 4:01 PM 林晓东  wrote:

>
>  hi,all
>
>I  encounter a problem like this:
> collecting info of a doctor, with one or more times of training
> experience, how to design this case?
>
>   Thanks.
>
> --
> 此致
>
>林晓东
>
> 莫愁前路无知己,天下谁人不识君。
>
> 在 2018-05-25 16:58:07,"Kumar Shahdeo"  写道:
>
> In 2.29 , The "Tracked entity" object is renamed to "Tracked Entity Type"
> in the web API.
> So, try using "trackedEntityType"
>
> On Fri, May 25, 2018 at 2:13 PM, 林晓东  wrote:
>
>> Hi,all,
>>I have done a test on Tracker Web API. as documents:
>>   body:
>> {
>>
>>   "trackedEntity": "nEenWmSyUEp",
>>   "orgUnit": "DiszpKrYNg8",
>>   "attributes": [
>> {
>>   "attribute": "w75KJ2mc4zz",
>>   "value": "Joe"
>> },
>> {
>>   "attribute": "zDhUuAYrxNC",
>>   "value": "Smith"
>> }
>>   ]
>> }
>>
>> url:
>> https://play.dhis2.org/dev/api/29/trackedEntityInstances.json?ou=DiszpKrYNg8
>> method : post
>>
>> got:
>>
>> {
>>   "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: (String)\"{\n
>> \"trackedEntity\": \"nEenWmSyUEp\",\n  \"orgUnit\": \"DiszpKrYNg8\",\n
>> \"attributes\": [\n{\n  \"attribute\": \"w75KJ2mc4zz\",\n
>> \"value\": \"Joe\"\n},\n{\n  \"attribute\": \"zDhUuAYrxNC\",\n
>> \"value\": \"Smith\"\n}\n  ]\n}\"; line: 2, column: 21] (through
>> reference chain:
>> org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[\"trackedEntity\"])"
>> }{
>>   "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: (String)\"{\n
>> \"trackedEntity\": \"nEenWmSyUEp\",\n  \"orgUnit\": \"DiszpKrYNg8\",\n
>> \"attributes\": [\n{\n  \"attribute\": \"w75KJ2mc4zz\",\n
>> \"value\": \"Joe\"\n},\n{\n  \"attribute\": \"zDhUuAYrxNC\",\n
>> \"value\": \"Smith\"\n}\n  ]\n}\"; line: 2, column: 21] (through
>> reference chain:
>> org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[\"trackedEntity\"])"
>> }
>>
>> what's wrong with this?
>>
>> Thanks.
>> --
>> 此致
>>
>>林晓东
>>
>> 莫愁前路无知己,天下谁人不识君。
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error 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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error 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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2018-05-16 Thread 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-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> --
> Alex Tumwesigye
>
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information Systems
> - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>
>
> "I don't want to be anything other than what I have been - one tree hill "
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] section error

2018-05-16 Thread Knut Staring
I just notice that these errors occur during STARTUP of the server, and
therefore should not be caused by you clicking in the system. Do you have
any log errors that occur as you are seeing that error screen (you can look
at the timestamp in the log file)?

Knut

On Wed, May 16, 2018 at 8:36 AM, CHAMMAA, Houssam Mahmoud <chamm...@who.int>
wrote:

> Dear Knut
>
> We migrated from 2.19 to version 2.27 with the support of HISP India
>
> Now it is 2.27
>
>
>
> Awaiting for your advise
>
>
>
> *B. Regards*
>
>
>
> *Houssam Chammaa, Engr*
>
> _
>
> *IT Specialist*
>
>
>
> World Health Organization Country Office
>
> Beirut, Lebanon
>
>
>
> Office: +961 1 612970/1/2 ext 61809
>
> Fax: +961 1 612973
>
> Mobile: +961 70 111285
>
> Email: chamm...@who.int;
>
> Web: www. who.int <http://www.emro.who.int/countries/lbn/index.html>
>
> Follow WHO on Facebook, Twitter, Youtube
>
> [image: who]
>
>
>
> *From:* Knut Staring [mailto:knu...@gmail.com]
> *Sent:* Wednesday, May 16, 2018 9:30 AM
> *To:* DHIS 2 developers <dhis2-devs@lists.launchpad.net>; CHAMMAA,
> Houssam Mahmoud <chamm...@who.int>
> *Subject:* Fwd: section error
>
>
>
> Good morning, Houssam - I am forwarding this to the DHIS2 developer list
> to see if anyone is able to understand what goes wrong. What version of
> DHIS2 is this?
>
>
>
> Regards,
>
> Knut
>
>
>
> -- Forwarded message --
> From: *CHAMMAA, Houssam Mahmoud* <chamm...@who.int>
> Date: Wed, May 16, 2018 at 7:46 AM
> Subject: section error
> To: "Knut Staring (knu...@gmail.com)" <knu...@gmail.com>
>
> Dear Knut
>
> How are you
>
> Reference to our previous discussion concerning the error during the
> creation of section while using a program, please note that I have attended
> the admin course last week in India Kovalam and I showed the error to
> Arvind the admin HISP India and he retrieved the log file as attached and
> he advise me to forwarded to Oslo team
>
>
>
> Kindly advise
>
>
>
> *B. Regards*
>
>
>
> *Houssam Chammaa, Engr*
>
> _
>
> *IT Specialist*
>
>
>
> World Health Organization Country Office
>
> Beirut, Lebanon
>
>
>
> Office: +961 1 612970/1/2 ext 61809
>
> Fax: +961 1 612973
>
> Mobile: +961 70 111285
>
> Email: chamm...@who.int;
>
> Web: www. who.int <http://www.emro.who.int/countries/lbn/index.html>
>
> Follow WHO on Facebook, Twitter, Youtube
>
> [image: who]
>
>
>
>
>
>
>
> --
>
> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Data Value Submission Date

2018-05-09 Thread Knut Staring
Actually the link from Sakibou is more pertinent than what I sent, but I
strongly recommend reading both parts of the manual thoroughly and
experiment with the long range of parameters listed.

Knut

On Wed, May 9, 2018 at 11:09 AM, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Thanks Knut.
> Will give it a try.
>
> Regards
>
> On Wed, May 9, 2018, 9:29 AM Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Barnabas,
>>
>> For this I think you need to use the Analytics API:
>>
>> Organisation unit identifiers, and keywords USER_ORGUNIT,
>> USER_ORGUNIT_CHILDREN, USER_ORGUNIT_GRANDCHILDREN, LEVEL- and
>> OU_GROUP-
>>
>> https://docs.dhis2.org/master/en/developer/html/webapi_
>> analytics.html#webapi_analytics_dimensions_and_items
>>
>> On Tue, May 8, 2018 at 6:02 PM, Barnabas Akumba <akumbaba...@gmail.com>
>> wrote:
>>
>>> Hello All,
>>>
>>> I want to query the datavaluesets endpoint in such a way that I should
>>> be able to get Datavalues for all the facilities under a particular level
>>> i.e. District. Is it possible?
>>> For example the API Below, can I change the orgUnit argument in the line
>>> below to give the datavalues for all the facilities under a particular
>>> district?
>>>
>>> https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=
>>> pBOMPrpg1QX=201701=DiszpKrYNg8
>>>
>>> Any help will be appreciated.
>>>
>>> Regards
>>>
>>>
>>>
>>> On Mon, Apr 30, 2018 at 3:20 PM, Knut Staring <knu...@gmail.com> wrote:
>>>
>>>> I suppose you mean through the Analytics API, since you can do
>>>> something like this:
>>>>
>>>> https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=
>>>> pBOMPrpg1QX=201701=DiszpKrYNg8
>>>>
>>>> On Mon, Apr 30, 2018 at 4:08 PM, Barnabas Akumba <akumbaba...@gmail.com
>>>> > wrote:
>>>>
>>>>> Hello Devs,
>>>>>
>>>>> I have looked at the "datavalue" table and discovered there are two
>>>>> columns (created and lastupdated). This I assume are supposed to be be the
>>>>> date (time stamp) of submission and update of the data values.
>>>>>
>>>>> In trying to query the API for the data values, I however have issues
>>>>> with fetching either the created or lastupdated time stamps. Is there any
>>>>> way to fetch these two fields (time stamps) along side the data values?
>>>>>
>>>>> Your prompt response'll be highly appreciated.
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Barnabas AKUMBA
>>>>>
>>>>> *Mobile:* +2348036195778
>>>>> *Skype:* barnabas.akumba
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Knut Staring
>>>>
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778
>>> *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
>>
>


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


Re: [Dhis2-devs] Data Value Submission Date

2018-05-09 Thread Knut Staring
Hi Barnabas,

For this I think you need to use the Analytics API:

Organisation unit identifiers, and keywords USER_ORGUNIT,
USER_ORGUNIT_CHILDREN, USER_ORGUNIT_GRANDCHILDREN, LEVEL- and
OU_GROUP-

https://docs.dhis2.org/master/en/developer/html/webapi_analytics.html#webapi_analytics_dimensions_and_items

On Tue, May 8, 2018 at 6:02 PM, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hello All,
>
> I want to query the datavaluesets endpoint in such a way that I should be
> able to get Datavalues for all the facilities under a particular level i.e.
> District. Is it possible?
> For example the API Below, can I change the orgUnit argument in the line
> below to give the datavalues for all the facilities under a particular
> district?
>
> https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=
> pBOMPrpg1QX=201701=DiszpKrYNg8
>
> Any help will be appreciated.
>
> Regards
>
>
>
> On Mon, Apr 30, 2018 at 3:20 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> I suppose you mean through the Analytics API, since you can do something
>> like this:
>>
>> https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=pBO
>> MPrpg1QX=201701=DiszpKrYNg8
>>
>> On Mon, Apr 30, 2018 at 4:08 PM, Barnabas Akumba <akumbaba...@gmail.com>
>> wrote:
>>
>>> Hello Devs,
>>>
>>> I have looked at the "datavalue" table and discovered there are two
>>> columns (created and lastupdated). This I assume are supposed to be be the
>>> date (time stamp) of submission and update of the data values.
>>>
>>> In trying to query the API for the data values, I however have issues
>>> with fetching either the created or lastupdated time stamps. Is there any
>>> way to fetch these two fields (time stamps) along side the data values?
>>>
>>> Your prompt response'll be highly appreciated.
>>>
>>> Regards
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> 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
>>
>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 1769917] [NEW] ERROR: relation "analytics" does not exist

2018-05-08 Thread Knut Staring
Try to run Analytics ( under Reports)

On Tue, May 8, 2018, 5:06 PM pomi daniel  wrote:

> Public bug reported:
>
> Hello,
>
> I upgraded my instance from DHIS2.28 to DHIS2.29 and got the following
> error on the log while doing Pivot table, Charts and Maps. I run the SQL
> upgrade script once before I start DHIS2.29. What should I do to correct
> this?
>
> Thanks,
> Pomi
>
> * INFO  2018-05-08 17:36:04,377 Query failed, likely because the requested
> analytics table does not exist (JdbcAnalyticsManager.java [taskScheduler-8])
> org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad
> SQL grammar [select "dx","uidlevel7", sum(value) as value from analytics
> where "dx" in ('Lhwupe9ARtD') and "uidlevel7" in ('a2rGudptU9y',
> 'rmTuQQu5Cd1', 'QeouCQL1Kxz', 'stZIGHjhBOP', 'bKEWIjHGwLZ', 'Ebe2i9o8MFu',
> 'rSJFQckC1ZL', 'aP6shyOqKtv', 'fm2EXY0iTCF', 'ZHpV7sSfd8h', 'Nw6tkDzUpXc',
> 'mEcsf3e9BYD', 'NoPlF6zKicI', 'GuB7CdPSUZb', 't9Iel1dYemy', 'NCqLy5YDjWB',
> 'dgWvP3qMHVR', 'XTUSvYQhjyO', 'G9YU861eLuq', 'hqlPwEejMS3', 'dFh14qklWx2',
> 'ggeSXqftOEc', 'aXfNDzIyq0L', 'YopyTuJgBlD', 'oDhCmY4KQzq', 'MH6QPVknNc4',
> 'mlM2oIDxpV0', 'cI0K4f7KUoy', 'IufFkhrI9Bd', 'pVCtMm6YlNW', 'jCk8HloqEgX',
> 'ptaDyRF5MPn', 'gPeoUytsx95', 'Pj6riBWwJog', 'A3V2OBdP0Ez', 'Ncy9uvgLi1w',
> 'A0MTuYiRj9K', 'BvXDCREJSAK', 'zZc0UqKzgpB', 'lGBS0ftMQda', 'FzxlgRdG42h',
> 'APnE86U4GJl', 'ikpzabBFmC1', 'MzGQrwC4DkN', 'rbYzxtq3BGe', 'du0gXO8GNMY',
> 'HJIKWkj9Eoq', 'xAenCGkxa9M', 'p6YuH7oGtrI', 'gXWqtS9kFM1') and ( "monthly"
> in ('201801') ) and "yearly" in ('2018') group by "dx","uidlevel7"]; nested
> exception is org.postgresql.util.PSQLException: ERROR: relation "analytics"
> does not exist
>   Position: 51
> at
> org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:231)
> at
> org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
> at
> org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:419)
> at
> org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:478)
> at
> org.springframework.jdbc.core.JdbcTemplate.queryForRowSet(JdbcTemplate.java:519)
> at
> org.hisp.dhis.analytics.data.JdbcAnalyticsManager.getKeyValueMap(JdbcAnalyticsManager.java:581)
> at
> org.hisp.dhis.analytics.data.JdbcAnalyticsManager.getAggregatedDataValues(JdbcAnalyticsManager.java:156)
> at sun.reflect.GeneratedMethodAccessor896.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> at
> org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.postgresql.util.PSQLException: ERROR: relation "analytics"
> does not exist
>   Position: 51
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2422)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2167)
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)
> at
> org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
> at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
> at
> org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
> at
> org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
> at
> org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
> at
> org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
> at
> com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:327)
> at
> org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:461)
> at
> 

Re: [Dhis2-devs] When financial/fiscal year = calendar year

2018-05-08 Thread Knut Staring
Hi Calle,

Not sure why you would need to do anything in those cases?

Regards,
Knut

On Tue, May 8, 2018 at 11:55 AM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Hi
>
> Under system settings, there is only 3 options for specifying the start of
> the financial/fiscal year: April, July, and October.
>
> But what do you select for countries where the financial/fiscal year is
> equivalent to the calendar year, like Norway or Sierra Leone? (Amusingly,
> the SL demo is specifying the financial year from October - which is
> clearly wrong - the fiscal year for SL is Jan-Dec).
>
> Regards
> Calle
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] Data Value Submission Date

2018-04-30 Thread Knut Staring
I suppose you mean through the Analytics API, since you can do something
like this:

https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=pBOMPrpg1QX=201701=DiszpKrYNg8

On Mon, Apr 30, 2018 at 4:08 PM, Barnabas Akumba <akumbaba...@gmail.com>
wrote:

> Hello Devs,
>
> I have looked at the "datavalue" table and discovered there are two
> columns (created and lastupdated). This I assume are supposed to be be the
> date (time stamp) of submission and update of the data values.
>
> In trying to query the API for the data values, I however have issues with
> fetching either the created or lastupdated time stamps. Is there any way to
> fetch these two fields (time stamps) along side the data values?
>
> Your prompt response'll be highly appreciated.
>
> Regards
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hello Leke,

I just did it now and my guess was right. As usual, the first row will be
ignored, so you should have something like this (assigning 3 orgunits to
the same group):

Group,OU
VlEZ3JbCBEp,kw32DaDxwk9
VlEZ3JbCBEp,xEuwGp9HvZg
VlEZ3JbCBEp,VvvUrFGaoL3

(It appears you will have to use UIDs like in my example, I don't think it
will match on Code or Name).

On Fri, Apr 27, 2018 at 3:55 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi again,
>
> You are right, sorry. It seems the manual is deficient on this point. My
> assumption is that the CSV format would be just: GroupUID, OrgUnitUID (or
> possibly the reverse order).
>
> Unless anyone else knows better, perhaps you could give it a try with just
> one group and a couple of orgunits?
>
> Knut
>
> On Fri, Apr 27, 2018 at 3:43 PM, Olaleke Seweje <sewejeolal...@gmail.com>
> wrote:
>
>> Thanks Knut,
>>
>> I have been to this link before too but it does not show how to connect
>> the org units with groups.
>> For example, an org unit ABC Hospital in org unit D.
>> I have so many org units and linking them manually to groups will take a
>> lot of effort and time.
>>
>> I hope you can give me more info on this.
>>
>> Thanks.
>>
>>
>>
>> On Fri, Apr 27, 2018 at 12:49 PM, Knut Staring <knu...@gmail.com> wrote:
>>
>>> Hi Leke,
>>>
>>> You can find the format here:
>>>
>>> https://docs.dhis2.org/2.26/en/developer/html/webapi_csv_met
>>> adata_import.html#webapi_csv_other_objects
>>>
>>> On Fri, Apr 27, 2018 at 12:58 PM, Olaleke Seweje <
>>> sewejeolal...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>> I am trying to import hundreds of org units with their groups.
>>>>
>>>> Is there a CSV config sheet format that can be used for this?
>>>>
>>>> Maybe I'd need to use 'Organisation unit with group option' on the CSV
>>>> import page but I need the format of the config sheet. If so, can someone
>>>> please share the config sheet for doing this?
>>>>
>>>> If not, please share with me info on how I can automate importing org
>>>> units with groups.
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Regards,
>>>> Leke Seweje
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> 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
>



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


Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hi again,

You are right, sorry. It seems the manual is deficient on this point. My
assumption is that the CSV format would be just: GroupUID, OrgUnitUID (or
possibly the reverse order).

Unless anyone else knows better, perhaps you could give it a try with just
one group and a couple of orgunits?

Knut

On Fri, Apr 27, 2018 at 3:43 PM, Olaleke Seweje <sewejeolal...@gmail.com>
wrote:

> Thanks Knut,
>
> I have been to this link before too but it does not show how to connect
> the org units with groups.
> For example, an org unit ABC Hospital in org unit D.
> I have so many org units and linking them manually to groups will take a
> lot of effort and time.
>
> I hope you can give me more info on this.
>
> Thanks.
>
>
>
> On Fri, Apr 27, 2018 at 12:49 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Leke,
>>
>> You can find the format here:
>>
>> https://docs.dhis2.org/2.26/en/developer/html/webapi_csv_met
>> adata_import.html#webapi_csv_other_objects
>>
>> On Fri, Apr 27, 2018 at 12:58 PM, Olaleke Seweje <sewejeolal...@gmail.com
>> > wrote:
>>
>>> Hi all,
>>> I am trying to import hundreds of org units with their groups.
>>>
>>> Is there a CSV config sheet format that can be used for this?
>>>
>>> Maybe I'd need to use 'Organisation unit with group option' on the CSV
>>> import page but I need the format of the config sheet. If so, can someone
>>> please share the config sheet for doing this?
>>>
>>> If not, please share with me info on how I can automate importing org
>>> units with groups.
>>>
>>> Thanks.
>>>
>>> --
>>> Regards,
>>> Leke Seweje
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Importing Organisation Units with groups

2018-04-27 Thread Knut Staring
Hi Leke,

You can find the format here:

https://docs.dhis2.org/2.26/en/developer/html/webapi_csv_metadata_import.html#webapi_csv_other_objects

On Fri, Apr 27, 2018 at 12:58 PM, Olaleke Seweje <sewejeolal...@gmail.com>
wrote:

> Hi all,
> I am trying to import hundreds of org units with their groups.
>
> Is there a CSV config sheet format that can be used for this?
>
> Maybe I'd need to use 'Organisation unit with group option' on the CSV
> import page but I need the format of the config sheet. If so, can someone
> please share the config sheet for doing this?
>
> If not, please share with me info on how I can automate importing org
> units with groups.
>
> Thanks.
>
> --
> Regards,
> Leke Seweje
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Knut Staring
On the topic of filtering - do the maps in the dashboard now also obey the
orgunit filter? The ability to drill down the whole dashboard (rather than
just each widget in isolation) is quite powerful.

On Fri, Apr 27, 2018 at 1:27 PM, Olav Poppe <ola...@ifi.uio.no> wrote:

> Hi, jumping in on this conversation with two related questions:
> 1) is there any (documented) way for a dashboard widget to identify
> "instances" of itself? So that if you add two or more instances of the same
> widget and want to set them up to show different things (e.g. different
> indicators), it would be possible for the app/widget to save and restore
> some sort of setting.
> 2) is there any way for a widget to query for dashboard parameters
> (particularly the orgunit filter)?
>
> Olav
>
>
> 27. apr. 2018 kl. 10:47 skrev Edoardo Sabadelli <edoa...@dhis2.org>:
>
> Not exactly, the content in the iframe is usable from within the box
> in the dashboard.
> There isn't a way of going full screen at the moment, but it can be
> easily added.
>
> On Thu, Apr 26, 2018 at 5:21 PM, Martin Van Aken
> <mar...@joyouscoding.com> wrote:
>
> OK, so it will render the "main" page (as refered in the manifest) as an
> iframe there, with clicking on it leading to the "full page" app, correct ?
> This being said, looks like something I could test easily.
>
> Martin
>
> On Thu, Apr 26, 2018 at 11:28 AM, Edoardo Sabadelli <edoa...@dhis2.org>
> wrote:
>
>
> Hi Martin,
>
> the dashboard widgets/apps, listed under the Apps section in the
> dashboard item selector, are rendered in the same way as before.
> They are loaded in an iframe in a box added to the dashboard grid.
> This is also to ensure existing apps can still work in the new Dashboards
> app.
>
> As for distinguishing between a full screen and a "widget" app, there
> isn't anything in place as far as I know.
>
> One way is to use a responsive layout in your app, to ensure the
> content fits and is usable in both full screen and the small widget
> box.
>
> I didn't work with widget apps, so hopefully someone in the community
> who has done that can help.
>
> Cheers,
>
> On Thu, Apr 26, 2018 at 10:35 AM, Martin Van Aken
> <mar...@joyouscoding.com> wrote:
>
> Hi!
> We've been working with DHIS2 Apps for a while now, and found the
> general
> experience (as developers) pretty good with the d2 + React combo.
> Something
> I could not find info about is how the different kind of apps change,
> especially the DASHBOARD_WIDGET one - does that means that an app of
> this
> kind will be rendered as a box in the main view? If so, how to specify
> the
> part that should go there vs for example a full sized page after once
> clicked?
>
> Any doc or example on this would be great.
>
> As I'm there - thanks to the team there to provide a nice to use
> extension
> point in the form of webapps - much appreciated!
>
> Martin
>
> --
> Martin Van Aken - Freelance Enthusiast Developer
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
> --
> Edoardo Sabadelli
> DHIS 2
> University of Oslo
> edoa...@dhis2.org
> http://www.dhis2.org
>
>
>
>
>
> --
> Martin Van Aken - Freelance Enthusiast Developer
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @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
>
>
> --
> Edoardo Sabadelli
> DHIS 2
> University of Oslo
> edoa...@dhis2.org
> http://www.dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] [Dhis2-users] 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-us...@lists.launchpad.net>; DHIS 2
> developers <dhis2-devs@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\"

Re: [Dhis2-devs] [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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Failed to load Metadata Error

2018-03-19 Thread Knut Staring
Thanks Lukas,

That is indeed very frequently the issue when upgrading to a new version.
Please note that Lars has written a guide here:
https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache

Knut

On Mon, Mar 19, 2018 at 12:35 PM, Lukas Wijgaart-van Dijk <
lukase...@gmail.com> wrote:

> Hi Simon,
> I have seen this issue myself. For me it went away after I cleaned my
> browsers cache. Here is a guide to how to clean you browsers cache:
> http://www.refreshyourcache.com/en/home/.
>
> Best regards,
> Lukas Wijgaart van Dijk
>
> 19. mar. 2018 kl. 12.27 skrev Edouard Lavaud <edouard.lav...@gmail.com>:
>
> So your logs dont look the same as the ones I had.
> Unless sombody else in this group have a solution, I suggest you creating
> a jira issue.
>
> 2018-03-19 13:18 GMT+02:00 simon mugisa <nomisrmug...@gmail.com>:
>
>> Hello  Edouard,
>>
>> Below is my console log
>>
>> 
>>
>>
>>
>>
>> *Simon Robert Kununka*
>> *DHIS2 implementor, Systems Analyst and Development Consultant*
>>
>> Uganda-Kampala
>> Direct: + <%2B1-703-667-3954>256-777-108-323
>> E-mail: nomisrmug...@gmail.com
>>
>>
>> "Don't wish it was easier, wish you were better. Don't wish for less
>> problems, wish for more skills. Don't wish for less change , wish for more
>> wisdom."
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>>
>>
>>
>>
>>
>>
>> On Mon, Mar 19, 2018 at 1:19 PM, Edouard Lavaud <edouard.lav...@gmail.com
>> > wrote:
>>
>>> Hi Simon,
>>>
>>> I was having a similar problem.
>>> (not sure if the same as we can not see your console logs)
>>> On my side it was due to the tracked entity type that would not load.
>>> The migration script from 28 to 29 didnt work so well.
>>> And same error happens when you want to create a tracked entity type but
>>> none exist.
>>> I did end up exporting the metadata of tracked entity type from the demo
>>> server 29, modifying it to fit my program, and importing it on my local
>>> dhis2.
>>> Also ensure that you have a tracked entity type assigned to your
>>> program, and organisation units as well.
>>>
>>> Hope that could help
>>>
>>> Edouard
>>>
>>>
>>> 2018-03-19 12:02 GMT+02:00 simon mugisa <nomisrmug...@gmail.com>:
>>>
>>>> Hi everyone just set up a dhis2 2.29 but get failed to load metadata
>>>> when accessing tracker,
>>>> I see the same error on the demo instance.
>>>>
>>>> 
>>>>
>>>> regards to everyone,
>>>>
>>>> *Simon Robert Kununka*
>>>> *DHIS2 implementor, Systems Analyst and Development Consultant*
>>>>
>>>> Uganda-Kampala
>>>> Direct: + <%2B1-703-667-3954>256-777-108-323
>>>> E-mail: nomisrmug...@gmail.com
>>>>
>>>>
>>>> "Don't wish it was easier, wish you were better. Don't wish for less
>>>> problems, wish for more skills. Don't wish for less change , wish for more
>>>> wisdom."
>>>>
>>>> *This message and its attachments are confidential and solely for the
>>>> intended recipients. If received in error, please delete them and notify
>>>> the sender via reply e-mail immediately.*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> *Edouard Lavaud, *
>>>
>>>
>>>
>>> *MSc in Health Policy, Planning & FinancingMEng in
>>> TelecommunicationUniversity Diploma in ICT for Health*
>>> *Email:* edouard.lav...@gmail.com
>>> *Mobile:* 0033 6 7210 23 59 <06%2072%2010%2023%2059>
>>>
>>>
>>
>
>
> --
> *Edouard Lavaud, *
>
>
>
> *MSc in Health Policy, Planning & FinancingMEng in
> TelecommunicationUniversity Diploma in ICT for Health*
> *Email:* edouard.lav...@gmail.com
> *Mobile:* 0033 6 7210 23 59
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] [Dhis2-users] DHIS2 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-devs@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error 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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS2 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-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [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-devs@lists.launchpad.net>; DHIS 2 Users
> list <dhis2-us...@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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2018-03-12 Thread Knut Staring
Do you have direct access to the database?

On Mon, Mar 12, 2018, 17:47 Georgi Chakarov 
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 | 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* 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] detail walkthrough to use postgresql with DHIS2 Live

2018-02-24 Thread Knut Staring
Hi Eduardo,

Great that you got it working and thanks for the feedback - I will update
it and ask the website maintainers to place it on the website.

Cheers,
Knut


On Sat, Feb 24, 2018 at 7:16 PM, Eduardo Gonzalez <egonzale...@gmail.com>
wrote:

> Dear Knut,
>
> many thanks for this, it worked!
>
> I had to install Postgresql v9.5 to make it work. I the start couldn't get
> in, then I did some tests and i discover that you have to add control all
> privileges to the dhis user in the privileges tab.
>
> Many thank again for this detail instructions, I suggest to add the
> privileges step and add this Tutorial to the main page of the download
> DHIS2 LIVE section, I have seem many people asking the same thing,  setup
> postgresql with DHIS2 Live.
>
> Again, many thanks for your help!
>
> best,
>
> E.
>
> 2018-02-24 2:29 GMT-06:00 Knut Staring <knu...@gmail.com>:
>
>> Hi Eduardo,
>>
>> You seem to be on the right track, I attach some slides I made a long
>> time ago.
>>
>> Here is what it says in the manual regarding dhis.conf:
>> https://docs.dhis2.org/2.25/en/implementer/html/install_serv
>> er_setup.html#install_database_configuration
>>
>> I would suggest starting with an empty Postgres database. and let DHIS2
>> generate the tables.
>>
>> Knut
>>
>> On Sat, Feb 24, 2018 at 1:49 AM, Eduardo Gonzalez <egonzale...@gmail.com>
>> wrote:
>>
>>> Dear all,
>>>
>>> I am trying to test DHIS2 for monitoring projects in a Humanitarian
>>> organization.
>>>
>>> I cannot find the way to use postgresql with DHIS2 LIVE, so far i have
>>> located the dhis.conf file and also download dhis2-db-sierra-leone.sql.
>>>
>>> Is it possible that you can help with a step by step instruction to make
>>> the set up? since i have limit knowledge for programing this database.
>>>
>>>
>>> I have tried to make my test with the H2 version but when i try to use
>>> analytic to export i get this error:
>>>
>>> 2018-02-21 08:06:37 Process failed: StatementCallback; bad SQL grammar 
>>> [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));];
>>> nested exception is org.h2.jdbc.JdbcSQLException: Tabla
>>> "_ORGUNITSTRUCTURE_TEMP" ya existe Table "_ORGUNITSTRUCTURE_TEMP" already
>>> exists; SQL statement: 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));
>>> [42101-194]
>>> 2018-02-21 08:06:37 Updating resource tables
>>> 2018-02-21 08:06:37 Analytics table update process started
>>>
>>> Then I tried to change the dhis2.conf with the following text:
>>>
>>> # Hibernate SQL dialect
>>> connection.dialect = org.hibernate.dialect.PostgreSQLDialect
>>> # JDBC driver class
>>> connection.driver_class = org.postgresql.Driver
>>> # JDBC driver connection URL
>>> connection.url = jdbc:postgresql:dbname
>>> # Database username
>>> connection.username = username
>>> # Database password
>>> connection.password = password
>>> # Database schema behavior, can be validate, update, create, create-drop
>>> connection.schema = update
>>> #Encryption password (sensitive)
>>> #encryption.password = password
>>>
>>>
>>> didnt work, i got 503 error.
>>>
>>> I have also downloaded POSTGRADESQL 10 (I am not sure if this is
>>> necessary).
>>>
>>> many thanks in advance for your support!
>>>
>>> best,
>>>
>>> Eduardo.
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>>
>> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] detail walkthrough to use postgresql with DHIS2 Live

2018-02-24 Thread Knut Staring
Hi Eduardo,

You seem to be on the right track, I attach some slides I made a long time
ago.

Here is what it says in the manual regarding dhis.conf:
https://docs.dhis2.org/2.25/en/implementer/html/install_server_setup.html#install_database_configuration

I would suggest starting with an empty Postgres database. and let DHIS2
generate the tables.

Knut

On Sat, Feb 24, 2018 at 1:49 AM, Eduardo Gonzalez <egonzale...@gmail.com>
wrote:

> Dear all,
>
> I am trying to test DHIS2 for monitoring projects in a Humanitarian
> organization.
>
> I cannot find the way to use postgresql with DHIS2 LIVE, so far i have
> located the dhis.conf file and also download dhis2-db-sierra-leone.sql.
>
> Is it possible that you can help with a step by step instruction to make
> the set up? since i have limit knowledge for programing this database.
>
>
> I have tried to make my test with the H2 version but when i try to use
> analytic to export i get this error:
>
> 2018-02-21 08:06:37 Process failed: StatementCallback; bad SQL grammar [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));];
> nested exception is org.h2.jdbc.JdbcSQLException: Tabla
> "_ORGUNITSTRUCTURE_TEMP" ya existe Table "_ORGUNITSTRUCTURE_TEMP" already
> exists; SQL statement: 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)); [42101-194]
>
> 2018-02-21 08:06:37 Updating resource tables
> 2018-02-21 08:06:37 Analytics table update process started
>
> Then I tried to change the dhis2.conf with the following text:
>
> # Hibernate SQL dialect
> connection.dialect = org.hibernate.dialect.PostgreSQLDialect
> # JDBC driver class
> connection.driver_class = org.postgresql.Driver
> # JDBC driver connection URL
> connection.url = jdbc:postgresql:dbname
> # Database username
> connection.username = username
> # Database password
> connection.password = password
> # Database schema behavior, can be validate, update, create, create-drop
> connection.schema = update
> #Encryption password (sensitive)
> #encryption.password = password
>
>
> didnt work, i got 503 error.
>
> I have also downloaded POSTGRADESQL 10 (I am not sure if this is
> necessary).
>
> many thanks in advance for your support!
>
> best,
>
> Eduardo.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Installation on a Windows laptop (1).pptx
Description: MS-Powerpoint 2007 presentation
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error 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-devs@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> l...@dhis2.org
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Barnabas AKUMBA
>>>
>>> *Mobile:* +2348036195778 <+234%20803%20619%205778>
>>> *Skype:* barnabas.akumba
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error 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-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778 <+234%20803%20619%205778>
> *Skype:* barnabas.akumba
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] program stage deletion

2018-02-10 Thread Knut Staring
Go to the list of stages and click on one. There is a "Remove" option:
https://play.dhis2.org/2.28/dhis-web-maintenance-program/programStage.action?id=2006123



On Sat, Feb 10, 2018 at 5:57 PM, moses mwale <isoftcom...@gmail.com> wrote:

> How do i delete the program stage instance of a program? i dont see any
> option of deleting.
>
> --
> developer_lusaka_systems
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] [Dhis2-users] 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-us...@lists.launchpad.net
>> <mailto:dhis2-us...@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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Knut Staring
Forwarding to the dev list.

On Feb 7, 2018 8:31 PM, "Terence Kaite"  wrote:

> Hello there,
>
> I've been trying to build an external web app that should be making use of
> dhis 2 data through the its' web api endpoints. But when I try to access
> dhis web apis - even after including credentials for authentication
> (username:password bases64encoded) as value for the authorization request
> header, I'm getting a "response for preflight is invalid (redirect)". (I'm
> using basic authentication). And when I monitor the network activity in
> chrome dev tool I came to discover that the preflight OPTION request method
> is also being redirected, which shouldn't be the case.
> I really need to get my app connect to dhis, I'm building it as part of
> the country's Health Information System. I will greatly appreciate any
> assistance in how I can solve this issue, or any workable solution I can
> refer to. Thanks a lot.
>
> Regards
> Terence
>
> Sent from my iPhone
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-devs@lists.launchpad.net>;
dhis2-us...@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-devs@lists.launchpad.net>;
dhis2-us...@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-devs@lists.launchpad.net>;
dhis2-us...@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-devs] [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-devs@lists.launchpad.net>;
> dhis2-us...@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-devs@lists.launchpad.net>;
> dhis2-us...@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-devs@lists.launchpad.net>;
> dhis2-us...@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] modifying the UID of default

2018-02-06 Thread Knut Staring
Thanks Calle and Ramon,

This is also now part of the process we are doing as a collaboration
between WHO and UiO. So far, we have mainly worked on HIV, TB, malaria and
Immunization, but the plan is to bring in all the health programs.

Regards,
Knut

On Tue, Feb 6, 2018 at 10:29 AM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Hi,
>
> South Africa is using a National Data Dictionary (DHIS2-based) to
> "control" most meta-data, which means we have standardised uids and codes
> for
> - orgunits
> - data elements
> - indicators
> - validation rules
> - categories/options/combos
> etc.
>
> Makes life a lot easier when you have many separate DHIS2 instances.
>
> This is now increasingly also coming up as an international / global
> challenge - since DHIS2 does not have any kind of import matching mechanism
> where the incoming uid/code/name can be matched to internal uid/code/name
> (if different), you end up with a lot of uid fiddling. The need to be able
> to export program indicator data as aggregate values to other systems
> exacerbate this challenge.
>
> Regards
> Calle
>
> On 6 February 2018 at 11:06, Ramón José Jiménez Pomareta <
> dh...@pomareta.ch> wrote:
>
>> Hello,
>>
>> We are thinking about harmonize all *defaults *of our 5 DHIS2 platforms
>> (Particularly, to set to each *default *element the same ID throughout
>> all the databases (4 different IDs in total, no only 1 of course), and to
>> change the UIDs references in all the DB). Do you think that can be useful
>> to avoid import/export issues we currently have? Or the new update on 28
>> about this topic solves this kind of issues?
>>
>> I am thinking about the *defaults *of:
>> categoryOptions
>> categoryOptionsCombos
>> categoryCombos
>> categories
>>
>> Thank you so much !
>>
>> Ramón José JIMÉNEZ POMARETA
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedb...@gmail.com
>
> Skype: calle_hedberg
>
> ***
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] Program indicators 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-devs@lists.launchpad.net
>>&

Re: [Dhis2-devs] Issue completing dataSets offline

2018-02-02 Thread Knut Staring
Hi Jasper,

Could you create an issue here: https://jira.dhis2.org ?

Regards,
Knut

On Fri, Feb 2, 2018 at 12:45 PM, Jasper Timm <jasper.t...@ehealthnigeria.org
> wrote:

> Hi devs,
>
> I think I've spotted a couple of issues with completing data sets in Data
> Entry.
>
> There's a couple of uses of the completeDataSetRegistrations endpoint with
> ds,pe, e.t.c. params but it looks like it's expecting dataSet, period e.t.c.
>
> https://github.com/dhis2/dhis2-core/blob/d63e1930fb9828bd361
> cb5e4d1d81089aaed2dc7/dhis-2/dhis-web/dhis-web-dataentry/
> src/main/webapp/dhis-web-dataentry/javascript/form.js#L2160
>
> https://github.com/dhis2/dhis2-core/blob/d63e1930fb9828bd361
> cb5e4d1d81089aaed2dc7/dhis-2/dhis-web/dhis-web-dataentry/
> src/main/webapp/dhis-web-dataentry/javascript/form.js#L3017
>
>
> This AJAX call doesn't give a 'type' so it results in a GET, but I'm
> guessing it's supposed to be a POST:
>
>
> https://github.com/dhis2/dhis2-core/blob/d63e1930fb9828bd361
> cb5e4d1d81089aaed2dc7/dhis-2/dhis-web/dhis-web-dataentry/
> src/main/webapp/dhis-web-dataentry/javascript/form.js#L402
>
> Can I ask that this be backported as well?
>
> Thanks,
>
> - Jasper
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] Program indicators 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-devs@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error while creating section for a program

2018-01-31 Thread Knut Staring
Hello Houssam,

Sorry you got this error. Unfortunately, the message itself only tells us
something went wrong - in order to find out what, one would need to look at
the log from the server (Tomcat).

Best,
Knut

On Wed, Jan 31, 2018 at 8:59 AM, Houssam Chammaa <houssamcham...@hotmail.com
> wrote:

> Dear
>
>
> Please note that i have tried to create a section for my program  (program
> stage session) and i got the below error.
>
>
> 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.
>
> Kindly advise
>
>
> Houssam Chammaa
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] [Dhis2-users] 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-us...@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-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] 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-us...@lists.launchpad.net>; 'DHIS 2
> developers' <dhis2-devs@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-devs] [Dhis2-users] Data elements assignation

2018-01-29 Thread Knut Staring
Oops, you cannot select by group anymore. However, you can skip step 3) and
4) and rather do the filtering of data elements directly in 5)

On Mon, Jan 29, 2018 at 12:43 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Mamadou,
>
> I agree with Michael that the most flexible way is to use the web API and
> create a JSON structure (e.g. with MS Excel), in particular
> https://docs.dhis2.org/master/en/developer/html/webapi_
> metadata_crud.html#webapi_adding_removing_objects_collections
>
> However, if you find this too cumbersome, you could do something like this:
>
> 1) Give your dataelements a unique PREFIX to enable you to filter them out
> 2) Import them as CSV
> 3) Create a group for them
> 4) Go to the group editor, filter and select:
> https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor
> 5) Create your dataset and filter by the group
>
> The problem with this method is the PREFIX which you may not want to keep..
>
>  Knut
>
>
>
>
>
>
>
> On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze <
> michael.mweb...@gmail.com> wrote:
>
>> Hi Diao,
>>
>> Are you able to use the web api? The section in the developer's manual
>> 'Metadata create, read, update, delete, validate' should be helpful.
>>
>> Regards,
>>
>> Michael
>>
>> On 27 January 2018 at 15:30, Mamadou Diao Diallo <diao_dia...@gn.jsi.com>
>> wrote:
>>
>>> Hi dhis2 devs,
>>> I have to assign many data elements to a data set, so I would like to
>>> automatically do it.
>>>
>>> Is there any possibility to do it, like a csv importation?
>>>
>>> Thank you in advance.
>>>
>>> Best
>>>
>>> Diao
>>>
>>> --
>>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>>> Health Information Software )*
>>>
>>>
>>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>>> *Phone : 623909413 | 662256106*
>>> *Skype : diawwdiallo*
>>> www.jsi.com
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2018-01-29 Thread Knut Staring
Hi Mamadou,

I agree with Michael that the most flexible way is to use the web API and
create a JSON structure (e.g. with MS Excel), in particular
https://docs.dhis2.org/master/en/developer/html/webapi_metadata_crud.html#webapi_adding_removing_objects_collections

However, if you find this too cumbersome, you could do something like this:

1) Give your dataelements a unique PREFIX to enable you to filter them out
2) Import them as CSV
3) Create a group for them
4) Go to the group editor, filter and select:
https://play.dhis2.org/2.28/dhis-web-maintenance/#/group-editor
5) Create your dataset and filter by the group

The problem with this method is the PREFIX which you may not want to keep..

 Knut







On Sun, Jan 28, 2018 at 1:45 AM, Michael Mwebaze <michael.mweb...@gmail.com>
wrote:

> Hi Diao,
>
> Are you able to use the web api? The section in the developer's manual
> 'Metadata create, read, update, delete, validate' should be helpful.
>
> Regards,
>
> Michael
>
> On 27 January 2018 at 15:30, Mamadou Diao Diallo <diao_dia...@gn.jsi.com>
> wrote:
>
>> Hi dhis2 devs,
>> I have to assign many data elements to a data set, so I would like to
>> automatically do it.
>>
>> Is there any possibility to do it, like a csv importation?
>>
>> Thank you in advance.
>>
>> Best
>>
>> Diao
>>
>> --
>> *DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
>> Health Information Software )*
>>
>>
>> *Projet de Renforcement du Système d'Information Sanitaire en Guinée*
>> *Phone : 623909413 | 662256106*
>> *Skype : diawwdiallo*
>> www.jsi.com
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] [Dhis2-users] Organisation Units repetitive structure

2018-01-29 Thread Knut Staring
Hi Bernard,

In order to elucidate what is going on, the next places to check are the
browser console and the server log.

1) In Chrome, click on Ctrl+Shit+I to open the console window and look for
error messages in RED.

2) For the server, look for catalina.out in the logs folder (What is your
setup? Tomcat or DHIS Live?. Operating system?)

Regards,
Knut

On Mon, Jan 29, 2018 at 11:47 AM, Bernard Sadaka (IM Advisor) <
lib@pu-ami.org> wrote:

> Hello All,
>
> I’m sending this message to seek your help in solving a problem with
> repetitive organization unit structure in the pivot tables section as well
> as user management and others:
>
> · The same org units are showing under their respective org unit
> and alone multiple times.
>
> · The org units in pivot tables keep trying to load each of their
> data without finishing (attached/bellow a screenshot)
>
> I tried but failed to find a similar bug in the JIRA.
>
> I tried to perform Maintenance, browser cache cleaner, login using
> incognito browsing… nothing worked.
>
> Is there a script or database queries I can run to fix this?
>
>
>
> 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
>
>
>
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=icon>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient_term=link>
> <#m_4487136394328816772_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-devs] merging facilities (org-units) without losing data

2018-01-25 Thread Knut Staring
Just run everything in your PgAdmin SQL interface.

On Thu, Jan 25, 2018 at 1:22 PM, moses mwale <isoftcom...@gmail.com> wrote:

> okay nice thanks, is it to load user-defined functions the same way you
> load stored procedures, by packaging the Java class or classes into a JAR
> file and then loading the JAR file using the LOAD CLASSES statement?
>
> On Thu, Jan 25, 2018 at 11:38 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Moses,
>>
>> You need to load both of those functions into your database.
>>
>> 1) Script to delete an orgunit is here
>> <https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/delete_orgunit_with_data.sql>
>> 2) Script to merge two orgunits is here
>> <https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/merge_orgunits.sql>
>>
>> After that, just call the function with
>>
>> SELECT merge_organisationunits(source_uid,dest_uid ,strategy);
>>
>> where `source_uid` is the UID of the organisation unit you want to get
>> rid of, `dest_uid` is the UID of the organisation unit you want to keep and
>> move data to
>> and `strategy` is one of the following:
>>
>> SUM: Returns the sum of the values, when there is overlapping data.
>> MAX: Returns the max of the values, when there is overlapping data.
>> MIN: Returns the min of the values, when there is overlapping data.
>> AVG: Returns the mean of the values, when there is overlapping data.
>> LAST: Returns the last value entered, when there is overlapping data.
>> FIRST: Returns the first vale entered, when there is overlapping data.
>>
>> Note that this only applies to numeric data. For other data (Boolean,
>> text, etc) which cannot be aggregated numerically, the last value will
>> always be taken.
>>
>> The merge script will not handle situations where you have overlapping
>> tracker/event data, so you would need to figure out how to handle that
>> yourself!
>>
>> Hope that helps to clarify and good luck!
>>
>> Regards,
>> Jason Pickering
>>
>>
>>
>>
>>
>> On Thu, Jan 25, 2018 at 5:30 AM, moses mwale <isoftcom...@gmail.com>
>> wrote:
>>
>>> Hey Jason And Knut, thanks for the information, i have been trying to
>>> understand the sql script shared and tried to execute but to no effect,
>>> please can you help me understand where to place the source id and orgunit
>>> ids in the script after several attempts of try its has became more
>>> complex.
>>>
>>> I have attached a datavalue table and 1 duplicate orgunit to be merged.
>>> please help me.
>>>
>>> On Mon, Jan 8, 2018 at 8:26 PM, moses mwale <isoftcom...@gmail.com>
>>> wrote:
>>>
>>>> Thanks very much, allow me to go through and implement the given
>>>> knowledge
>>>>
>>>> On Sun, Jan 7, 2018 at 11:29 PM, Jason Pickering <
>>>> jason.p.picker...@gmail.com> wrote:
>>>>
>>>>> Hi Moses
>>>>> We have some SQL scripts for this here.
>>>>>
>>>>> https://github.com/dhis2/dhis2-utils/blob/master/resources/s
>>>>> ql/merge_orgunits.sql
>>>>>
>>>>> This script will not handle tracker data but could probably be adapted
>>>>> fairly easily to do so.
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>>
>>>>>
>>>>> On Jan 7, 2018 7:28 AM, "Knut Staring" <knu...@gmail.com> wrote:
>>>>>
>>>>>> Hi Moses,
>>>>>> I would take a backup of the database and then do this with an sql
>>>>>> script, just changing the sourceid (the database internal referent to the
>>>>>> organisationunitid) in the datavalues table. But you may get blocked if 
>>>>>> the
>>>>>> same period has been filled for both, in which case you may want to do a
>>>>>> "NOT IN" or left join.
>>>>>>
>>>>>> Knut
>>>>>>
>>>>>> On Jan 7, 2018 10:29, "moses mwale" <isoftcom...@gmail.com> wrote:
>>>>>>
>>>>>>> Hey devs is it possible to merge facilities without losing data,
>>>>>>> some admin accidentally created other duplicates units into the system.
>>>>>>> anyone knows how its done?
>>>>>>>
&

Re: [Dhis2-devs] connect to dhis2 live db

2018-01-22 Thread Knut Staring
For Dhis live, the dhis.conf file is in the conf folder, and you don't need
to set up DHIS_HOME

On Jan 22, 2018 11:43, "Stian Sandvold"  wrote:

> Hi Moses Mwale.
>
> If you want to access your database using PgAdmin, you need to connect to
> your database. To do this, you can choose "Create -> Server". In the
> version I am using of PgAdmin, this option is available by right-clicking
> the "Prosgres" item in the menu. This might be different for the different
> versions of PgAdmin.
>
> If you want to connect DHIS2 to your database, you need to configure that
> in the dhis.conf file, located in your DHIS2_HOME folder. For more
> information about how to set up this, you should look at the implementation
> docs: https://docs.dhis2.org/master/en/implementer/html/
> dhis2_implementation_guide_full.html
>
> In either case, you need to know the following information:
> * Database hostname/address (If you have the database on the same server
> as your dhis2 instance, you can use "localhost")
> * Database port (The default is 5432)
> * Database name
> * Username (User must have access to the database you want to use)
> * Password
>
> Hope this helps!
>
> On Sun, Jan 21, 2018 at 10:38 AM, moses mwale 
> wrote:
>
>> How do i achieve connection to dhis2 live database using pgadmin
>> postgreSQL
>>
>> thanks
>>
>> --
>> developer_lusaka_systems
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Stian Sandvold
> Software developer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2018-01-09 Thread Knut Staring
Hi Carlos,

Please share the server log.

Regards,
Knut

On Tue, Jan 9, 2018 at 12:22 PM, Carlos Nyembwe <nyem...@gmail.com> wrote:

> Hi Knut, I did in demo online the same problem
>
> Regards
>
> On Fri, Nov 24, 2017 at 2:48 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> Hello Carlos,
>> Please share the server log.
>>
>> Regards,
>> Knut
>>
>> On Nov 24, 2017 3:45 PM, "Carlos Nyembwe" <nyem...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> No solution since now?
>>>
>>> We have big problem with our analysis
>>>
>>> Thanks for your interest
>>>
>>> On Wed, Nov 22, 2017 at 12:16 PM, Knut Staring <knu...@gmail.com> wrote:
>>>
>>>> Hi Carlos,
>>>> When the system seems to take very long, there is usually an error
>>>> message in the server log.
>>>>
>>>> Knut
>>>>
>>>> On Nov 22, 2017 2:07 PM, "Carlos Nyembwe" <nyem...@gmail.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I find something strange in our System and in dhis2 demo on 2.27
>>>>>
>>>>> When I set up a  indicator containing OU group, and in pivot table
>>>>> when I need to display the result, putting OU as raw, the system is 
>>>>> running
>>>>> indefinitly
>>>>>
>>>>> [image: Inline image 1]
>>>>>
>>>>>
>>>>> There is a problem or what?
>>>>>
>>>>> Regards
>>>>>
>>>>> --
>>>>> *Carlos Nyembwe*
>>>>> *I'm just a Computer Scientist*
>>>>>
>>>>> *Skype: carloscnk1*
>>>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>>>> *Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | 
>>>>> **Linkedin
>>>>> <http://www.linkedin.com/in/carloscnk> | Facebook
>>>>> <https://www.facebook.com/carloscnksys> | Twitter
>>>>> <https://twitter.com/Carlos_CNK> |ega*
>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~dhis2-fr
>>>>> Post to : dhis2...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-fr
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>
>>>
>>> --
>>> *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> |*
>>>
>>
>
>
> --
> *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> |*
>



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


Re: [Dhis2-devs] [Dhis2-users] Preserving DHIS2 instance (or format for export)?

2018-01-08 Thread Knut Staring
I think Romain is correct. But if you also have apps, you may want to
preserve a copy of those also.

On Mon, Jan 8, 2018, 16:58 rom...@tohouri.com  wrote:

> I think creating a backup of your database, the dhis2.conf file and your
> war file should be enough to ensure your able to restore it later. If you
> want more maybe you could consider taking a snapshot of your VM.
>
> Hope its helps,
>
> Romain
>
> On Jan 8, 2018, at 10:53, Karen Levin  wrote:
>
> Hello – am wondering if anyone has experiencing with
> preservation/archiving a DHIS2 instance once a project has ended?
>
> When our project ends, hosting cost support will no longer be available
> but we would like to ensure that the data contained in our DHIS2 instance
> remains somehow useable/accessible to others.  Does anyone have experience
> with the best approach to doing this?
>
> Many thanks in advance,
> Karen Levin
> ___
>
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] merging facilities (org-units) without losing data

2018-01-06 Thread Knut Staring
Hi Moses,
I would take a backup of the database and then do this with an sql script,
just changing the sourceid (the database internal referent to the
organisationunitid) in the datavalues table. But you may get blocked if the
same period has been filled for both, in which case you may want to do a
"NOT IN" or left join.

Knut

On Jan 7, 2018 10:29, "moses mwale"  wrote:

> Hey devs is it possible to merge facilities without losing data, some
> admin accidentally created other duplicates units into the system. anyone
> knows how its done?
>
> developer_lusaka_systems
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Data visualisation is not working

2017-12-14 Thread Knut Staring
Any error messages in the browser console or in the server log?

On Thu, Dec 14, 2017 at 8:53 AM, Jean de Dieu Anoubissi <
jd.anoubi...@gmail.com> wrote:

> Hi Knut
> The upgrade have been made by the Bao System team which is hosting our
> system
>
>
> 2017-12-14 8:45 GMT+01:00 Knut Staring <knu...@gmail.com>:
>
>> Did you upgrade step by step running all the script and test every
>> version? At which point did This issue arise?
>>
>> On Dec 14, 2017 8:40 AM, "Jean de Dieu Anoubissi" <jd.anoubi...@gmail.com>
>> wrote:
>>
>>> Hil all,
>>>
>>> Is anyone have ever experience this issue?
>>> We upgraded our instance from 2.20 to 2.27 :80e598f
>>> since then we cannot create chart with data visualizer anymore
>>> thanks
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>


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


Re: [Dhis2-devs] [Dhis2-users] Data visualisation is not working

2017-12-13 Thread Knut Staring
Did you upgrade step by step running all the script and test every version?
At which point did This issue arise?

On Dec 14, 2017 8:40 AM, "Jean de Dieu Anoubissi" 
wrote:

> Hil all,
>
> Is anyone have ever experience this issue?
> We upgraded our instance from 2.20 to 2.27 :80e598f
> since then we cannot create chart with data visualizer anymore
> thanks
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Pivot table not updated

2017-12-13 Thread Knut Staring
What about the Tomcat log and the browser console?

Knut

On Wed, Dec 13, 2017 at 9:57 AM, Sunakshi Chagti <sunakshicha...@gmail.com>
wrote:

> Yes Morten I am creating a JIRA Issue for that and issue number is
> DHIS2-2615 <https://jira.dhis2.org/browse/DHIS2-2615>
>
>
>
>
> Regards,
> Sunakshi
> Junior Software Developer
> HISP INDIA
>
>
>
> On Wed, Dec 13, 2017 at 12:43 PM, Morten Olav Hansen <mor...@dhis2.org>
> wrote:
>
>> Hi Sunakshi
>>
>> There must be something in the web console or in the tomcat console? did
>> you create a JIRA issue for it? (2.25 is a bit old now, but maybe Jan can
>> have a look at it)
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Wed, Dec 13, 2017 at 1:21 PM, Sunakshi Chagti <
>> sunakshicha...@gmail.com> wrote:
>>
>>> Hi All
>>>
>>> This is a gentle reminder. Please help with this. Pivot tables are not
>>> working in 2.25 instance.
>>>
>>>
>>>
>>>
>>> Regards,
>>> Sunakshi
>>> Junior Software Developer
>>> HISP INDIA
>>>
>>>
>>>
>>> On Wed, Dec 6, 2017 at 12:29 PM, Sunakshi Chagti <
>>> sunakshicha...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am using 2.25 war file and facing an issue with pivot table update.
>>>> After clicking on update button there is no response for that and also
>>>> there is no error in console.
>>>> Here i am sharing details of the instance.
>>>>
>>>> Build Revision : 2db4ef1
>>>> Build date : 2017-12-05 06:47
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Sunakshi
>>>> Junior Software Developer
>>>> HISP INDIA
>>>>
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Data Set Issue

2017-12-06 Thread Knut Staring
Right - so you could have two options, either use the Chiefdom to
differentiate though they all just use the same name. However, you may
require some special analytics for this.

The other way would be to add the name of each chiefdom at the end of the
identical school names to make them not identical.

Knut

On Thu, Dec 7, 2017 at 8:45 AM, gerald thomas <gerald17...@gmail.com> wrote:

> Dear Knut,
>
> Yes. Chiefdom will be my OU for this data collection.
>
>
> On 12/7/17, Knut Staring <knu...@gmail.com> wrote:
> > Hi Gerald, I assume you will be using the Chiefdom as the OrgUnit for
> this
> > data collection?
> >
> > Regards,
> > Knut
> >
> > On Tue, Dec 5, 2017 at 8:19 PM, gerald thomas <gerald17...@gmail.com>
> > wrote:
> >
> >> Dear Knut,
> >> Thanks very much for your help but i have one more question; I have 31
> >> schools of which 4 of them have the same name (RC Junior Sec School)
> >> but of different chiefdoms. Can i do a single attributecategory RC
> >> Junior Sec School and assigned it to the various chiefdoms? Will the
> >> schools data save separately with reference to their respective
> >> chiefdoms or should i create attributecategory for each RC Junior Sec
> >> School label with its chiefdom?
> >>
> >> On 12/4/17, gerald thomas <gerald17...@gmail.com> wrote:
> >> > Dear Knut,
> >> > Thanks for the note, I will try to explore this option.
> >> >
> >> > On Mon, 4 Dec 2017 at 18:46, Knut Staring <knu...@gmail.com> wrote:
> >> >
> >> >> I think you could use attributeoptioncombos for this instead of
> >> >> categories:
> >> >
> >> >> https://docs.dhis2.org/2.22/en/user/html/ch05s07.html
> >> >
> >> >> Knut
> >> >
> >> >> On Mon, Dec 4, 2017 at 11:33 PM, gerald thomas <
> gerald17...@gmail.com>
> >> >> wrote:
> >> >
> >> >>> Dear all,
> >> >>> Thanks for your help.
> >> >>> I am was only using two schools for explanation purposes. But the
> >> >>> scenario is much more complex. I have 32 schools of which the
> >> >>> partners
> >> >>> didn’t want us to use them on their current hierarchy; so we decided
> >> >>> to
> >> >>>
> >> >>> use
> >> >>> each school as a DataSet but that didn’t work either. The idea of
> >> >>> attributes came up before but i am sure it doesn’t work with
> category
> >> >>> combinations.
> >> >>> Please what is the best option
> >> >
> >> >>> On Mon, 4 Dec 2017 at 18:12, Dennis Banga <dennisba...@gmail.com>
> >> wrote:
> >> >
> >> >>>> Hi Gerald,
> >> >
> >> >>>> A data set is just a container for the data elements, hence the
> >> >>>> behavior. Utilize attrubutes for the RC and LC schools instead.
> >> >>>> Kindly see the documentation here
> >> >>>> <https://docs.dhis2.org/master/en/user/html/dhis2_
> >> user_manual_en_full.html#use_category_combo_for_data_set>
> >> >
> >> >
> >> >>>> Regards,
> >> >>>> Dennis
> >> >
> >> >>>> On 4 December 2017 at 19:46, gerald thomas <gerald17...@gmail.com>
> >> >>>> wrote:
> >> >
> >> >>>>> Dear All,
> >> >>>>> I am having two different DataSets by the name of RC School and LC
> >> >>>>> School sharing the same data elements and category combination.
> >> During
> >> >>>>> data entry when I entered information on the RC School DataSet it
> >> >>>>> saves but when i switched to LC School the information of RC
> School
> >> >>>>> DataSet is present of LC School and whatever changes done on LC
> >> School
> >> >>>>> DataSet will automatically reflect on RC School DataSet.
> >> >
> >> >>>>> Please can anyone help.
> >> >
> >> >
> >> >>>>> --
> >> >>>>> Regards,
> >> >
> >> >>>>> Gerald
> >> >
> >> >>>>> ___
> >> >>>>> Mailing list: https://launchpad.net/~dhi

Re: [Dhis2-devs] Data Set Issue

2017-12-06 Thread Knut Staring
Hi Gerald, I assume you will be using the Chiefdom as the OrgUnit for this
data collection?

Regards,
Knut

On Tue, Dec 5, 2017 at 8:19 PM, gerald thomas <gerald17...@gmail.com> wrote:

> Dear Knut,
> Thanks very much for your help but i have one more question; I have 31
> schools of which 4 of them have the same name (RC Junior Sec School)
> but of different chiefdoms. Can i do a single attributecategory RC
> Junior Sec School and assigned it to the various chiefdoms? Will the
> schools data save separately with reference to their respective
> chiefdoms or should i create attributecategory for each RC Junior Sec
> School label with its chiefdom?
>
> On 12/4/17, gerald thomas <gerald17...@gmail.com> wrote:
> > Dear Knut,
> > Thanks for the note, I will try to explore this option.
> >
> > On Mon, 4 Dec 2017 at 18:46, Knut Staring <knu...@gmail.com> wrote:
> >
> >> I think you could use attributeoptioncombos for this instead of
> >> categories:
> >
> >> https://docs.dhis2.org/2.22/en/user/html/ch05s07.html
> >
> >> Knut
> >
> >> On Mon, Dec 4, 2017 at 11:33 PM, gerald thomas <gerald17...@gmail.com>
> >> wrote:
> >
> >>> Dear all,
> >>> Thanks for your help.
> >>> I am was only using two schools for explanation purposes. But the
> >>> scenario is much more complex. I have 32 schools of which the partners
> >>> didn’t want us to use them on their current hierarchy; so we decided to
> >>>
> >>> use
> >>> each school as a DataSet but that didn’t work either. The idea of
> >>> attributes came up before but i am sure it doesn’t work with category
> >>> combinations.
> >>> Please what is the best option
> >
> >>> On Mon, 4 Dec 2017 at 18:12, Dennis Banga <dennisba...@gmail.com>
> wrote:
> >
> >>>> Hi Gerald,
> >
> >>>> A data set is just a container for the data elements, hence the
> >>>> behavior. Utilize attrubutes for the RC and LC schools instead.
> >>>> Kindly see the documentation here
> >>>> <https://docs.dhis2.org/master/en/user/html/dhis2_
> user_manual_en_full.html#use_category_combo_for_data_set>
> >
> >
> >>>> Regards,
> >>>> Dennis
> >
> >>>> On 4 December 2017 at 19:46, gerald thomas <gerald17...@gmail.com>
> >>>> wrote:
> >
> >>>>> Dear All,
> >>>>> I am having two different DataSets by the name of RC School and LC
> >>>>> School sharing the same data elements and category combination.
> During
> >>>>> data entry when I entered information on the RC School DataSet it
> >>>>> saves but when i switched to LC School the information of RC School
> >>>>> DataSet is present of LC School and whatever changes done on LC
> School
> >>>>> DataSet will automatically reflect on RC School DataSet.
> >
> >>>>> Please can anyone help.
> >
> >
> >>>>> --
> >>>>> Regards,
> >
> >>>>> Gerald
> >
> >>>>> ___
> >>>>> Mailing list: https://launchpad.net/~dhis2-devs
> >>>>> Post to : dhis2-devs@lists.launchpad.net
> >>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
> >>>>> More help   : https://help.launchpad.net/ListHelp
> >
> >>>> --
> >>> Regards,
> >
> >>> Gerald
> >
> >>> ___
> >>> Mailing list: https://launchpad.net/~dhis2-devs
> >>> Post to : dhis2-devs@lists.launchpad.net
> >>> Unsubscribe : https://launchpad.net/~dhis2-devs
> >>> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> >
> >> --
> >> 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,
> >
> > Gerald
> >
>
>
> --
> Regards,
>
> Gerald
>



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


Re: [Dhis2-devs] Data Set Issue

2017-12-04 Thread Knut Staring
I think you could use attributeoptioncombos for this instead of categories:

https://docs.dhis2.org/2.22/en/user/html/ch05s07.html

Knut

On Mon, Dec 4, 2017 at 11:33 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Dear all,
> Thanks for your help.
> I am was only using two schools for explanation purposes. But the scenario
> is much more complex. I have 32 schools of which the partners didn’t want
> us to use them on their current hierarchy; so we decided to use each school
> as a DataSet but that didn’t work either. The idea of attributes came up
> before but i am sure it doesn’t work with category combinations.
> Please what is the best option
>
> On Mon, 4 Dec 2017 at 18:12, Dennis Banga <dennisba...@gmail.com> wrote:
>
>> Hi Gerald,
>>
>> A data set is just a container for the data elements, hence the behavior.
>> Utilize attrubutes for the RC and LC schools instead.
>> Kindly see the documentation here
>> <https://docs.dhis2.org/master/en/user/html/dhis2_user_manual_en_full.html#use_category_combo_for_data_set>
>>
>>
>> Regards,
>> Dennis
>>
>> On 4 December 2017 at 19:46, gerald thomas <gerald17...@gmail.com> wrote:
>>
>>> Dear All,
>>> I am having two different DataSets by the name of RC School and LC
>>> School sharing the same data elements and category combination. During
>>> data entry when I entered information on the RC School DataSet it
>>> saves but when i switched to LC School the information of RC School
>>> DataSet is present of LC School and whatever changes done on LC School
>>> DataSet will automatically reflect on RC School DataSet.
>>>
>>> Please can anyone help.
>>>
>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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


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

2017-11-24 Thread Knut Staring
Hello Carlos,
Please share the server log.

Regards,
Knut

On Nov 24, 2017 3:45 PM, "Carlos Nyembwe" <nyem...@gmail.com> wrote:

> Hi All,
>
> No solution since now?
>
> We have big problem with our analysis
>
> Thanks for your interest
>
> On Wed, Nov 22, 2017 at 12:16 PM, Knut Staring <knu...@gmail.com> wrote:
>
>> Hi Carlos,
>> When the system seems to take very long, there is usually an error
>> message in the server log.
>>
>> Knut
>>
>> On Nov 22, 2017 2:07 PM, "Carlos Nyembwe" <nyem...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I find something strange in our System and in dhis2 demo on 2.27
>>>
>>> When I set up a  indicator containing OU group, and in pivot table when
>>> I need to display the result, putting OU as raw, the system is running
>>> indefinitly
>>>
>>> [image: Inline image 1]
>>>
>>>
>>> There is a problem or what?
>>>
>>> Regards
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>> *Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | 
>>> **Linkedin
>>> <http://www.linkedin.com/in/carloscnk> | Facebook
>>> <https://www.facebook.com/carloscnksys> | Twitter
>>> <https://twitter.com/Carlos_CNK> |ega*
>>>
>>> --
>>> Mailing list: https://launchpad.net/~dhis2-fr
>>> Post to : dhis2...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-fr
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>
>
> --
> *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-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-23 Thread Knut Staring
Hi Gerald,

you could perhaps just add one data element to the dataset and assign the
option set to that data element?

Knut

On Thu, Nov 23, 2017 at 12:28 PM, gerald thomas <gerald17...@gmail.com>
wrote:

> Dear Nayeem,
> How do we add an option set to a data set so that it could be available
> during data entry?
>
> On Thu, 23 Nov 2017 at 03:45, Nayeem Al Mifthah <n.mift...@gmail.com>
> wrote:
>
>> Dear Gerald
>>
>> I don't know how you want to analyze. If those are common comments you
>> may create option set.
>>
>> If you want to get some narrative description, you may make a data
>> element with long text as type.
>>
>> *Nayeem Al Mifthah*
>> *Consultant for HSS, Health MIS, M*
>> Email: n.mift...@gmail.com
>> Cell:+8801914030574 <+880%201914-030574>
>> Skype: nayeem.a.m
>>
>> On Thu, Nov 23, 2017 at 6:39 AM, gerald thomas <gerald17...@gmail.com>
>> wrote:
>>
>>> Dear All,
>>> I am creating a data set which needs a section on the form for
>>> comment. Please how can I create a comment section data element on a
>>> data set form.
>>>
>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


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

2017-11-22 Thread Knut Staring
Hi Carlos,
When the system seems to take very long, there is usually an error message
in the server log.

Knut

On Nov 22, 2017 2:07 PM, "Carlos Nyembwe"  wrote:

> Hi All,
>
> I find something strange in our System and in dhis2 demo on 2.27
>
> When I set up a  indicator containing OU group, and in pivot table when I
> need to display the result, putting OU as raw, the system is running
> indefinitly
>
> [image: Inline image 1]
>
>
> There is a problem or what?
>
> Regards
>
> --
> *Carlos Nyembwe*
> *I'm just a Computer Scientist*
>
> *Skype: carloscnk1*
> *Cell: (+243)813166381 <+243%20813%20166%20381>*
> *Find me in: | Google Plus  | 
> **Linkedin
>  | Facebook
>  | Twitter
>  |ega*
>
> --
> Mailing list: https://launchpad.net/~dhis2-fr
> Post to : dhis2...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-fr
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


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

2017-11-21 Thread Knut Staring
Hi Vunda,

Look for a file called catalina.out, probably in your logs folder under
Tomcat.

Knut

On Tue, Nov 21, 2017 at 5:25 PM, vunda limbe <vunda...@gmail.com> wrote:

> Hi ramon,
>
> I only find this in my tomcat folder
>
> On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta <
> dh...@pomareta.ch> wrote:
>
>> in your logs there's only the OK saying DHIS2 started. Try to get the log
>> at the time of the error (tail -f while reproducing the error)
>>
>> 2017-11-21 10:37 GMT+01:00 vunda limbe <vunda...@gmail.com>:
>>
>>> Hi Knut,
>>>
>>> Attached the logs.
>>>
>>> Thanks.
>>>
>>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring <knu...@gmail.com> wrote:
>>>
>>>> Hello Vunda,
>>>>
>>>> Whenever you get a 500 Internal Server Error, you have too look at
>>>> (and probrobably share) your Tomcat server log, which should contain more
>>>> interesting error messages.
>>>>
>>>> Regards,
>>>> Knut
>>>>
>>>>
>>>> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe <vunda...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Everybody,
>>>>>
>>>>> When I try to export meta data in both json or xml, I'm getting this
>>>>> message: "
>>>>>
>>>>> {"httpStatus":"Internal Server 
>>>>> Error","httpStatusCode":500,"status":"ERROR"}
>>>>>
>>>>> Could someone tell me how to fix this? Alternativly, someone can give me 
>>>>> a script in order to export dataelement, COC, CO and Dataset using Web 
>>>>> Api.
>>>>>
>>>>> Your help is welcome.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-us...@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Knut Staring
>>>> Dept. of Informatics, University of Oslo
>>>> Norway: +4791880522 <+47%20918%2080%20522>
>>>> Skype: knutstar
>>>> http://dhis2.org
>>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>


-- 
Knut Staring

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


Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread Knut Staring
I suppose a JIRA request could be filed to include this as a (global?)
setting.

Knut

On Tue, Nov 21, 2017 at 12:41 PM, Jan Henrik Øverland <j...@dhis2.org> wrote:

> Hi, there's currently no way to set a default map center.
>
> Jan
>
> On 21 November 2017 at 03:56, 林晓东 <lin...@126.com> wrote:
>
>> Hi,all,
>>
>>  I want to know  how to set the default map center of gis app.
>>
>>   Thanks.
>>
>>
>>
>>
>> --
>> 此致
>>
>> easy
>>
>> 莫愁前路无知己,天下谁人不识君。
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

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


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

2017-11-17 Thread Knut Staring
Hello Vunda,

Whenever you get a 500 Internal Server Error, you have too look at (and
probrobably share) your Tomcat server log, which should contain more
interesting error messages.

Regards,
Knut


On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe <vunda...@gmail.com> wrote:

> Hi Everybody,
>
> When I try to export meta data in both json or xml, I'm getting this
> message: "
>
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
>
> Could someone tell me how to fix this? Alternativly, someone can give me a 
> script in order to export dataelement, COC, CO and Dataset using Web Api.
>
> Your help is welcome.
>
> Thanks.
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS 2, PostgreSQL only

2017-11-09 Thread Knut Staring
Good decision. I assume this means H2 will also no longer be a fallback? So
dhis2 live will also require PG?

Knut



On Nov 9, 2017 3:32 PM, "Lars Helge Øverland"  wrote:

> Hi all,
>
> after gathering feedback from the community we have decided to support
> PostgreSQL only as database platform for DHIS 2 starting from version 2.29
> (i.e. the next release).
>
> This will allow us to utilize some of the sophisticated features specific
> to PostgreSQL in order to make a better system. As example, this will help
> us to improve the analytics and data import/export functionality.
>
> The minimum version required will be PostgreSQL version 9.0. We do however
> recommend migrating to PostgreSQL 10 as it provides performance
> improvements and new features which may be utilized in near-future DHIS 2
> releases.
>
> best regards,
>
> Lars
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Appstore googlability?

2017-11-01 Thread Knut Staring
I really like the new Appstore, https://play.dhis2.org/appstore/

However, is Google indexing this?

A colleague was trying to find the WHO Data Quality Tool app for DHIS2,
with the following search:
https://www.google.ch/search?q=dhis2+data+quality+app

But it seems mainly to point to the GitHub source code and the Statistics
Norway manual

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


Re: [Dhis2-devs] [Dhis2-users] Populating data from Excel to DHIS2 Data Entry Web Form with Internet Explorer

2017-10-26 Thread Knut Staring
Given the widespread knowledge of VBA coupled with the huge trove of legacy
data in Excel and the continued use of Excel for offline data collection,
it could be nice to add an appendix to the documentation with code snippets
to import data directly from Excel to the API, in addition to the R
documentation (munging?).

Perhaps it is something you could be interesting in developing and sharing,
Damasceno?

Cheers,
Knut

On Thu, Oct 26, 2017 at 4:55 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> You may also want to consider just making the HTTP request, instead of
> working with the form itself
>
> https://support.microsoft.com/en-us/help/301102/how-to-make-
> a-get-request-by-using-visual-basic--net-or-visual-basic-2
>
> The DHIS2 dataValue API is documented in here
> <https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html>
> in "Section 1.19.7. Sending, reading and deleting individual data values"
>
> Regards,
> Jason
>
>
> On Thu, Oct 26, 2017 at 4:18 PM, Damasceno Lopes <
> damascenolop...@gmail.com> wrote:
>
>> Hi!
>>
>>
>>
>> I’m trying to populate data from Excel to  DHIS2 Data Entry Web Form
>> using VBA code in Excel with Internet Explorer, the data goes to form but
>> not persisted to database. Anyone already try to do that?
>>
>>
>>
>> The VBA code, tested to fill form in the demo instance:
>>
>>
>>
>> 'Before run this Macro make sure to login into dhis2-demo using Internet
>> Explorer
>>
>> Sub FillInternetForm()
>>
>> Dim IE As Object
>>
>>
>>
>> Set IE = CreateObject("InternetExplorer.Application")
>>
>>
>>
>> IE.Navigate "https://play.dhis2.org/demo/dhis-web-dataentry/index.action;
>>
>> IE.Visible = True
>>
>>
>>
>> While IE.busy
>>
>> DoEvents 'wait until IE is done loading page.
>>
>> Wend
>>
>>
>>
>> 'You have 30 seconds to choose Orgunit, form and period
>>
>> 'Eg. Sierra Leone, Emergency Response, Result
>>
>> Application.Wait Now + TimeValue("00:00:30")
>>
>>
>>
>> 'Populating Data to two first fields
>>
>> IE.document.getElementById("KFnFpbqDqji-bRowv6yZOF2-val").Focus
>>
>> IE.document.getElementById("KFnFpbqDqji-bRowv6yZOF2-val").Value = "20"
>>
>> Application.Wait Now + TimeValue("00:00:02")
>>
>> IE.document.getElementById("zFFb3bar4Ct-bRowv6yZOF2-val").Focus
>>
>> IE.document.getElementById("zFFb3bar4Ct-bRowv6yZOF2-val").Value = "30"
>>
>>
>>
>> End Sub
>>
>>
>>
>> The result:
>>
>>
>>
>>
>>
>> The Data goes to the field but not persisted, the field don’t change
>> color.
>>
>> I appreciate your help if you can provide.
>>
>>
>>
>> Thank you
>>
>> *Damasceno Lopes,  MSc*
>>
>> *Health Information System Officer*
>>
>> Friends in Global Health, Mozambique
>>
>> *+258844626770 <+258%2084%20462%206770>*  | *+258829502145
>> <damasceno.lo...@fgh.org.mz>*
>>
>> [image: FGH]
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> 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-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS-2 Api

2017-10-05 Thread Knut Staring
This is an unfortunate historical remnant..

On Oct 5, 2017 12:59 PM, "Stian Sandvold"  wrote:

> Hi Omer,
>
> Data values are stored to the datavalue table in the database. You can
> look at the column named "sourceid" to find a reference to the organisation
> unit used to store this value.
>
> Hope this helps.
>
> On Thu, Oct 5, 2017 at 6:58 AM, Omer Butt  wrote:
>
>> Hi,
>>
>> I have used this api for sending data values of data set to dhis2
>> database.
>>
>> curl -d @datavalueset.json "https://play.dhis2.org/demo/api/26/dataValueSets;
>>   -H "Content-Type:application/json" -u admin:district -v
>>
>> I passed Org unit id, data set id with data values of data set etc.
>>
>> In DB where orgunit and data set is saved for these data values of data set. 
>> because in data values table only data values are saved.
>>
>> I have to access which org unit is saved this data set.
>>
>> kindly help.
>>
>> Thanks
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Stian Sandvold
> Software developer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 1721011] Re: nginx not installed with sucess on DHIS2

2017-10-03 Thread Knut Staring
Please dont use this website. We have moved. You can send an email to
the mailing list:

https://launchpad.net/~dhis2-users

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

Title:
  nginx not installed with sucess on DHIS2

Status in DHIS:
  New

Bug description:
  ● nginx.service - A high performance web server and a reverse proxy server
 Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: 
enabled)
 Active: failed (Result: exit-code) since Tue 2017-10-03 14:08:27 CAT; 28ms 
ago
Process: 29039 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; 
(code=exited, status=1/FAILURE)
Process: 29034 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=0/SUCCESS)

  Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, 
...e)
  Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to 
0.0.0.0:8...e)
  Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, 
...e)
  Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] listen() to 
0.0.0.0:8...e)
  Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, 
...e)
  Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] still could not bind()
  Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Control process 
exited,...=1
  Oct 03 14:08:27 TesteOMS systemd[1]: Failed to start A high performance 
web...r.
  Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Unit entered failed state.
  Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Failed with result 
'exi...'.
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: error processing package nginx-core (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of nginx:
   nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>= 
1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) | 
nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
   nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full (<< 
1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.2.1~) | 
nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.

  dpkg: error processing package nginx (--configure):
   dependency problems - leaving No apport report written because the error 
message indicates its a followup error from a previous failure.
   unconfigured
  Processing triggers for systemd (229-4ubuntu19) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Processing triggers for ufw (0.35-0ubuntu2) ...
  Errors were encountered while processing:
   nginx-core
   nginx
  E: Sub-process /usr/bin/dpkg returned an error code (1)

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

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


Re: [Dhis2-devs] Fwd: Organisation unit distribution API

2017-09-26 Thread Knut Staring
Not sure that is possible directly, but you could probably easily set up an
SQL View which produces that output and which you can call through the API:

https://docs.dhis2.org/master/en/developer/html/webapi_sql_views.html

On Tue, Sep 26, 2017 at 9:59 AM, Pooben Dass <poo...@hisp.org> wrote:

> Hi Devs
>
> Any update on this? Is there such an api?
>
> Pooben
>
> -- Forwarded message --
> From: Pooben Dass <poo...@hisp.org>
> Date: Tue, Sep 12, 2017 at 1:59 PM
> Subject: Organisation unit distribution API
> To: dhis2-devs <dhis2-devs@lists.launchpad.net>
>
>
> Hi
>
> Is there an API call to get the same data as per the 'Organisation unit
> distribution report' for OrgUnitType?
>
> Kind Regards
> Pooben
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
> <disclai...@hisp.org> and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-09-21 Thread Knut Staring
Hi Ramon, does your setup involve nginx? Have you tried disabling the nginx
cache?

Knut

On Fri, Sep 1, 2017 at 12:15 PM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> Hello, Thank you both for the answers :
>
> Knut:
> 1. SJ has not been logged in my computer at all. This is the frightening
> part of the issue.
> 2. Clearing browser cache does not resolve the issue. Sometimes when going
> to account and doing Ctrl+F5 that works but creates the problem for the
> others. (this time with my name RJ instead SJ).
>
> Bob:
> 1. Thank you for your suggestion. We are going to analyze with the system
> administrators.
> 2. I've tryied to disable apache cache but nothing changed.
>
> I've found an interesting thing:
>
> DHIS2 retrieves the correct user information through these four paths:
> /api/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%
> 2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D
> /api/me
> /api/me/user-account.json?_=1504260368320
> /api/23/me/user-account.json
>
>
> at the same time (I mean, *in the same page load*) DHIS2 retrieves the
> other user information through these two urls:
>
> /api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,
> userCredentials%5B:all,!user,userRoles%5Bid%5D
> /api/26/me.json (4 times)
> but
>
> Thank you ! I'm updating the JIRa ticket.
>
> 2017-08-28 17:24 GMT+02:00 Bob Jolliffe <bobjolli...@gmail.com>:
>
>> If you are getting remnants of SJ's session appearing on your computer
>> it might mean some stuff is being (incorrectly) cached on the server
>> side.  Do you have nginx or apache cache enabled.  If so try disabling
>> that.
>>
>> On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
>> <dh...@pomareta.ch> wrote:
>> > I think that can be useful:
>> > Usually SJ is an user has been recently or is currently logged on
>> another
>> > computer.
>> >
>> >
>> > 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <
>> dh...@pomareta.ch>:
>> >>
>> >> Hello,
>> >>
>> >>
>> >> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> >> another user on the top right corner instead of mine (RJ and Ramon
>> Jimenez).
>> >> The apps I can see are the apps allowed for SJ. I am not able to see
>> mines.
>> >> On the server log, I am logged correctly and there's no trace about SJ.
>> >>
>> >> When I go to Account I see my real username and if I do Control+F5 all
>> >> becomes OK.
>> >>
>> >> I can live with that bug, but not all the non-IT users using the
>> platform:
>> >> that's very confusing for them, and very risky if they could use other
>> apps
>> >> they should not use.
>> >>
>> >>
>> >> I've open a ticket on JIRA
>> >> https://jira.dhis2.org/browse/DHIS2-2102
>> >>
>> >> Thank you !
>> >
>> >
>> >
>> > ___
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to : dhis2-devs@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Could not drill down a parent OrgUnit -- DHIS2 2.25

2017-09-16 Thread Knut Staring
Any messages in the browser console?

On Sep 17, 2017 03:34, "Raminosoa Rabemanantsoa, Tantely" <
tramino...@mikolo.org> wrote:

> Dear Community,
>
>
>
> Do you know the possible cause for a parent OrgUnit with which we could
> not drill down to access to the lowest OrgUnit in the data entry app (could
> not unfold the plus sign)? When looking at the OrgUnit maintenance, all
> ancestors, the parent itself and the lowest level OrgUnits seem to be all
> okay. This is happening for this single parent OrgUnit.
>
>
>
> Regards,
>
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Interoperability of ODK & DHIS2

2017-09-01 Thread Knut Staring
Hi Carlos,

You can also have a look here:
https://github.com/hispindia/dhis-odk-integration

Knut

On Wed, Aug 30, 2017 at 11:47 AM, Martin Van Aken <mar...@joyouscoding.com>
wrote:

> Hi Carlos,
> We (bluesquarehub.com) have been doing this for several of our customers
> as part as a (commercial) product. While I can't share the code, I'll be
> happy to discuss about the lessons learned, and to better understand your
> needs to see if our cases are similar.
>
> Don't hesitate to contact me if interested.
>
> Regards,
>
> Martin
>
> On Tue, Aug 29, 2017 at 3:24 PM, Carlos Nyembwe <nyem...@gmail.com> wrote:
>
>> Hello All
>>
>> I'm starting to do that, now I need a help about the main points what I
>> must set up before using this
>>
>> 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-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-08-28 Thread Knut Staring
And SJ has not been logged in on your computer at all? Clearing browser
cache has no effect?

Could you try and test this also on https://play.dhis2.org/demo?

Knut

On Mon, Aug 28, 2017 at 11:51 AM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> I think that can be useful:
> Usually SJ is an user has been recently or is currently logged on another
> computer.
>
>
> 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <dh...@pomareta.ch>
> :
>
>> Hello,
>>
>>
>> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> another user on the top right corner instead of mine (RJ and Ramon
>> Jimenez). The apps I can see are the apps allowed for SJ. I am not able to
>> see mines.
>> On the server log, I am logged correctly and there's no trace about SJ.
>>
>> When I go to Account I see my real username and if I do Control+F5 all
>> becomes OK.
>>
>> I can live with that bug, but not all the non-IT users using the
>> platform: that's very confusing for them, and very risky if they could use
>> other apps they should not use.
>>
>> I've open a ticket on JIRA
>> *https://jira.dhis2.org/browse/DHIS2-2102
>> <https://jira.dhis2.org/browse/DHIS2-2102>*
>>
>> Thank you !
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] User Authorities keep Disappearing on Update

2017-08-24 Thread Knut Staring
If you see the problem on the demo still, could it be a browser caching
issue?

On Thu, Aug 24, 2017 at 11:06 AM, Stian Sandvold <st...@dhis2.org> wrote:

> Hi Emma,
>
> I can't seem to reproduce it on demo, but I think I know what the problem
> is. Are you experiencing this on another instance (not demo)?
>
> We had an issue with a jQuery upgrade earlier this summer, which caused
> problems for the same kind of inputs as you are having trouble with now.
> Updating DHIS 2 should fix the problem.
>
> If you do experience this issue on demo as well, which page are you having
> trouble with? User Roles > Authorities?
>
> On Thu, Aug 24, 2017 at 11:02 AM, Immaculate Ayebazibwe <
> ekass...@gmail.com> wrote:
>
>> Hi Knut,
>> I am working on 2.27
>> Moving authorities from the left to the right.
>> So the authorities that were already existing on the right are
>> automatically moved back to the left on clicking updated.
>> And only newly moved/updated/selected ones stay on the right.
>>
>>
>>
>> Thank you and Kind Regards
>> *Immarcqulate. A (Emma Kassy) *
>>
>> *"You miss 100% of the shots you don't take."*
>>
>> On Thu, Aug 24, 2017 at 10:41 AM, Knut Staring <knu...@gmail.com> wrote:
>>
>>> Hi Emma,
>>>
>>> Please specify exactly what it is you are doing when you are updating.
>>>
>>> Best,
>>> Knut
>>>
>>> On Thu, Aug 24, 2017 at 10:29 AM, Immaculate Ayebazibwe <
>>> ekass...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>> It seems user authorities keep disappearing when I update.
>>>> This is happening on the demo server too.
>>>>
>>>>
>>>> Thank you and Kind Regards
>>>> *Immarcqulate. A (Emma Kassy) *
>>>>
>>>> *"You miss 100% of the shots you don't take."*
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to : dhis2-devs@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522 <+47%20918%2080%20522>
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Stian Sandvold
> Software developer, DHIS2
> University of Oslo
> http://www.dhis2.org
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] User Authorities keep Disappearing on Update

2017-08-24 Thread Knut Staring
Hi Emma,

Please specify exactly what it is you are doing when you are updating.

Best,
Knut

On Thu, Aug 24, 2017 at 10:29 AM, Immaculate Ayebazibwe <ekass...@gmail.com>
wrote:

> Hi All,
> It seems user authorities keep disappearing when I update.
> This is happening on the demo server too.
>
>
> Thank you and Kind Regards
> *Immarcqulate. A (Emma Kassy) *
>
> *"You miss 100% of the shots you don't take."*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


  1   2   3   4   5   6   7   8   9   10   >