Re: [Dhis2-devs] [Dhis2-users] Migrated from v2.15 to v2.22 - completeDataSetRegistrations.json no longer working

2016-03-19 Thread WILLIAMS, Ryan O'Neil
Hi Knut, thanks. You pointed me in the right direction.

I found that completedatasetregistration had “0” in the attributeoptioncomboid 
column, so I set them to “1”, the default categoryoptioncombo Id.

“UPDATE `completedatasetregistration` SET attributeoptioncomboid = 1 where 
attributeoptioncomboid = 0”.
The app page is now loading, but there are other errors, probably due to other 
changes in the systems

for (var i = 0; i < global.orgunitData.length; i++) {
var unit = global.orgunitData[i];
for (var j = 0; j < unit.dataSets.length; j++) {
var dataSetID = 
unit.dataSets[j].id;
var dataSetName = 
unit.dataSets[j].name.split(' ', 1)[0];
…

unit.dataSets[j].name no longer provides the name of the dataset, must have 
been changed among other things.

But, we’re getting close.
Cheers
ryan

From: Knut Staring [mailto:knu...@gmail.com]
Sent: vendredi 18 mars 2016 11:35
To: WILLIAMS, Ryan O'Neil
Cc: dhis2-us...@lists.launchpad.net; DHIS 2 Developers list 
(dhis2-devs@lists.launchpad.net)
Subject: Re: [Dhis2-users] Migrated from v2.15 to v2.22 - 
completeDataSetRegistrations.json no longer working

Hi Ryan,

Do these data have dimensional breakdowns/disaggregations? I am thinking you 
could possibly have a double "default" categoryoptioncombo after upgrading (or 
something similar).

Knut

On Fri, Mar 18, 2016 at 11:10 AM, WILLIAMS, Ryan O'Neil 
mailto:williamsr...@who.int>> wrote:
Dear all,

The following api call was working fine in v2.15, it produced a dataset 
completion listing for the selected root org unit and selected period.

http://.../api/completeDataSetRegistrations.json?dataSet=FoeRJtqaHVd&dataSet=kL43warJd3F&dataSet=fEOswPWAZzz&dataSet=nB1uyplEoHE&dataSet=vZy3KF8FQdA&dataSet=LuReWzkAXRf&startDate=2014-01-01&endDate=2015-01-01&orgUnit=Hs0PQkZwh54&children=true

After migration, the same call produces the error message below. Anyone has any 
ideas or can steer me in the right direction on sorting this out, I would 
greatly appreciate it.
Our DHIS2 instance is running on a mySQL backend.

ERROR MESSAGE:
HTTP Status 500 - No row with the given identifier exists: 
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through reference 
chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
type Exception report
message No row with the given identifier exists: 
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through reference 
chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
com.fasterxml.jackson.databind.JsonMappingException: No row with the given 
identifier exists: [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] 
(through reference chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:177)
 
com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:199)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:683)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.seria

[Dhis2-devs] conflict

2016-03-19 Thread moses mwale
when capturing data using event capture android app
i get that error. where am i going wrong
-- 
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


Re: [Dhis2-devs] See Data elements/indicators authority dropped in 2.22

2016-03-19 Thread Elmarie Claasen
Hi all,

Talking about authorities I would like to report something we experienced
yesterday but I have not been able to retest elsewhere to reproduce and
report as a bug.

We were configuring a tracker program logged in as Superuser with ALL and
all other authorities in the Superuser role. After creating the program we
noticed that it is now in 2.22 necessary to allocate the program to a user
role so went and allocated the program to the superuser role. The moment we
did that the ALL and all other authorities were unallocated from the
Superuser role and everyone was kicked out and could not log in again after
that. In effect the Superuser role had no authorities. We had to SQL insert
the ALL authority back into Superuser after discovering what happened.

Went in again and allocated the program again to Superuser and exactly the
same thing happened.

Not tested elsewhere as we would have to set up test environment but will
do to confirm.

Build 2.22, release date 14/03/2016 I am unable to look the release version
no up at the moment.

Elmarie
On 16 Mar 2016 15:16, "Prosper BT"  wrote:

> Thanks Mark,
>
> We will update and let you know
>
> Regards
>
> On Wed, Mar 16, 2016 at 4:00 PM, Mark Polak  wrote:
>
>> Hey All,
>>
>> The authorities should be back in trunk (Revision 22344) and 2.22
>> (Revision 21920).
>>
>> Additionally i updated some of the translations, so the authority for
>> "See dataelements/indicators" is back as well
>>
>> Note that this one will be replaced in 2.23 by a more general "See
>> maintenance app" (or something similar) as other meta data objects will be
>> integrated into the same app.
>>
>> Regards,
>>
>> Mark
>>
>> On Wed, Mar 16, 2016 at 11:37 AM, Jason Pickering <
>> jason.p.picker...@gmail.com> wrote:
>>
>>> Hi there.
>>>
>>> I can reproduce this as well. It seems a number of authorities have been
>>> removed.
>>>
>>> Have informed the developers in Oslo, but for the time being, it seems
>>> to be broken in 2.22 without the ALL authority.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Wed, Mar 16, 2016 at 8:35 AM, Alex Tumwesigye 
>>> wrote:
>>>
 Dear Team,

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

 Alex

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

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


 --
 Alex Tumwesigye

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

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


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

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


>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.picker...@gmail.com
>>> tel:+46764147049
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuga

Re: [Dhis2-devs] Importing large lists of optionvalues v2.21

2016-03-19 Thread Jason Pickering
That could be the case. You should be able to able to import then through
the normal Metadata importer, but you will need to transform your CSV to
either JSON or XML.

On Thu, Mar 17, 2016, 15:19 Pierre Dane  wrote:

> Thanks Jason.
>
> I'm not seeing that option in v2.21 or below 
> Is it new in 2.22?
>
> Pierre
>
> On Thu, Mar 17, 2016 at 4:13 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Pierre,
>> Are you sure you selected the right type of object to import?
>> Regards,
>> Jason
>>
>>
>>
>> ​
>>
>> On Thu, Mar 17, 2016 at 3:10 PM, Pierre Dane  wrote:
>>
>>> Hi all - this is hopefully an easy one.
>>> I'm trying to import bunch of items (500 or so) into an optionSet. Was
>>> hoping to use the Import-Export UI with a CSV as per the developer guide
>>> but this doesn't work (keeps trying to import them as dataelements)
>>> I must be doing something silly ...
>>>
>>> I can't find an API endpoint for this either.
>>>
>>> Any ideas?
>>>
>>> Thansk
>>>
>>> --
>>> *Pierre Dane*
>>>
>>> Jembi Health Systems
>>> Software Development Manager
>>> tel: +27 (0)21 701 0939
>>> cel: +27 (0)83 680 8274
>>> email: pie...@jembi.org
>>> web: www.jembi.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
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>
>
>
> --
> *Pierre Dane*
>
> Jembi Health Systems
> Software Development Manager
> tel: +27 (0)21 701 0939
> cel: +27 (0)83 680 8274
> email: pie...@jembi.org
> web: www.jembi.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] See Data elements/indicators authority dropped in 2.22

2016-03-19 Thread Prosper BT
Thanks Mark,

We will update and let you know

Regards

On Wed, Mar 16, 2016 at 4:00 PM, Mark Polak  wrote:

> Hey All,
>
> The authorities should be back in trunk (Revision 22344) and 2.22
> (Revision 21920).
>
> Additionally i updated some of the translations, so the authority for "See
> dataelements/indicators" is back as well
>
> Note that this one will be replaced in 2.23 by a more general "See
> maintenance app" (or something similar) as other meta data objects will be
> integrated into the same app.
>
> Regards,
>
> Mark
>
> On Wed, Mar 16, 2016 at 11:37 AM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi there.
>>
>> I can reproduce this as well. It seems a number of authorities have been
>> removed.
>>
>> Have informed the developers in Oslo, but for the time being, it seems to
>> be broken in 2.22 without the ALL authority.
>>
>> Regards,
>> Jason
>>
>>
>> On Wed, Mar 16, 2016 at 8:35 AM, Alex Tumwesigye 
>> wrote:
>>
>>> Dear Team,
>>>
>>> Same for me for all instances running on 2.22. You need the 'ALL' to see
>>> the module.
>>>
>>> Alex
>>>
>>> On Wed, Mar 16, 2016 at 3:26 AM, Juan Manuel Alcantara Acosta <
>>> jmalcanta...@gmail.com> wrote:
>>>
 Hello Team
 We also noticed this in the Latam academy. The users had the suoeradmin
 role from the demo database and could not see the data elements and
 indicators module, we had to add “ALL” to the role. Is there a fix coming?
 Best regards,
 JM


 El 11/03/2016, a las 1:48 p.m., Prosper BT 
 escribió:

 Dear Team,

 Seems the see Data elements/indicators authority was dropped in 2.22
 and now only roles with "All" are the only one that can see this app.

 Is this a bug or the name was changed

 Regards

 --
 Prosper Behumbiize, MPH
 Global HISP| University Of Oslo/HISP Uganda
 +256 752 751 776 | +256 776 139 139
 pros...@hispuganda.org  | pros...@dhis2.org | Skype:
 prospertb
 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp



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


>>>
>>>
>>> --
>>> Alex Tumwesigye
>>>
>>> Technical Advisor - DHIS2 (Consultant),
>>> Ministry of Health/AFENET
>>> Kampala
>>> Uganda
>>> +256 774149 775, + 256 759 800161
>>> Skype ID: talexie
>>>
>>> IT Consultant (Servers, Networks and Security, Health Information
>>> Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
>>>
>>>
>>> "I don't want to be anything other than what I have been - one tree hill
>>> "
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Financial Year setting

2016-03-19 Thread Knut Staring
Support for this is planned for the next release, I think:
https://blueprints.launchpad.net/dhis2/+spec/configurable-financial-year-relative-period

Knut

On Thu, Mar 17, 2016 at 12:10 PM, Mugeni Harold  wrote:

> Hi guys,
>
>
>
> I am looking at some graphs in visualizer and whenever I use the period
> ‘last 5 financial years’, it uses the October to September financial year.
> Is there a setting in dhis2 for determining the organization’s financial
> year? If yes, where is it?
>
>
>
> Cheers,
>
> Harold
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
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


[Dhis2-devs] [Bug 1558354] [NEW] data field of yes/no data element change from dropdown list to radio buttons

2016-03-19 Thread Thuy Nguyen
Public bug reported:

Before data elements with value type is yes/no in custom data entry form
has data field is dropdown list, but now it is show all the options as
radio buttons (attached file). Is this new version intent to behave or
it is a bug? this happen in version 2.22 and newest version.

** Affects: dhis2
 Importance: Undecided
 Status: New

** Attachment added: "Screen Shot 2016-03-17 at 10.15.21 AM.png"
   
https://bugs.launchpad.net/bugs/1558354/+attachment/4601710/+files/Screen%20Shot%202016-03-17%20at%2010.15.21%20AM.png

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

Title:
  data field of yes/no data element change from dropdown list to radio
  buttons

Status in DHIS:
  New

Bug description:
  Before data elements with value type is yes/no in custom data entry
  form has data field is dropdown list, but now it is show all the
  options as radio buttons (attached file). Is this new version intent
  to behave or it is a bug? this happen in version 2.22 and newest
  version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1558354/+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] Header location for Data Entry tables

2016-03-19 Thread Mark Polak
Hey Vanya,

Thank you for your patience. I'm waiting for a reply from Lars on this.
Will ask him to confirm again ;)

Regards,

Mark

On Thu, Mar 17, 2016 at 3:34 PM, Vanya Seth  wrote:

> Hi Mark and Nicolay
>
> Hope you both are doing well.
>
> Have you had a chance to look into Kaustav's email?
>
> We have started a new iteration and wanted to pick up this work asap.  Any
> help would be greatly appreciated.
>
> Thanks in advance
> Vanya
>
>
>
> On Tue, Mar 15, 2016 at 6:36 PM, Kaustav Chakraborty <
> kaust...@thoughtworks.com> wrote:
>
>> Hi Mark
>>
>> Hope you are doing well.
>>
>> We want to make some enhancements to the Data entry app.  Which is to
>> make the data entry table header ( category combo header ) stay constant
>> even if we scroll down the page, so that the user knows which column they
>> are entering the data in.
>>
>>
>> These are a few questions,
>>
>>
>> *1. Would this be alright to add this to DHIS?*
>>
>> *2. If you have any recommendations regarding the implementation of this
>> feature? Like using some library or anything of that sort?*
>>
>>
>> At our end we have explored a few things:
>>
>> *Assume, the table is structured as below,*
>>
>> table
>>
>> thead
>>
>> tr
>>
>> th
>>
>> tbody
>>
>> tr
>>
>> td
>>
>>
>> *1. Using a Library:*
>>
>> There is a javascript library called floatThead
>>  that can be leveraged for this.
>> It also works with multiple tables present in a single page. So while
>> scrolling the table header remain fixed for each tables.
>>
>>
>> *2. Not using any library,*
>>
>> We can have some fixed height given to a table body and put the
>> y-axis scroll for the table. User has to come to the table element and
>> scroll to get their data element to be seen.
>>
>>
>> I have attached the screenshots for better understanding.
>>
>> We are waiting for your response.
>>
>>
>>
>> Thanks & Regards,
>>
>> *Kaustav Chakraborty*
>> STEP Intern
>> Email kaust...@thoughtworks.com
>> Telephone +91 91009 60526 <+91+91009+60526>
>> [image: ThoughtWorks]
>> 
>>
>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
___
Mailing list: https://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] Header location for Data Entry tables

2016-03-19 Thread Vanya Seth
Hi Mark and Nicolay

Hope you both are doing well.

Have you had a chance to look into Kaustav's email?

We have started a new iteration and wanted to pick up this work asap.  Any
help would be greatly appreciated.

Thanks in advance
Vanya



On Tue, Mar 15, 2016 at 6:36 PM, Kaustav Chakraborty <
kaust...@thoughtworks.com> wrote:

> Hi Mark
>
> Hope you are doing well.
>
> We want to make some enhancements to the Data entry app.  Which is to make
> the data entry table header ( category combo header ) stay constant even if
> we scroll down the page, so that the user knows which column they are
> entering the data in.
>
>
> These are a few questions,
>
>
> *1. Would this be alright to add this to DHIS?*
>
> *2. If you have any recommendations regarding the implementation of this
> feature? Like using some library or anything of that sort?*
>
>
> At our end we have explored a few things:
>
> *Assume, the table is structured as below,*
>
> table
>
> thead
>
> tr
>
> th
>
> tbody
>
> tr
>
> td
>
>
> *1. Using a Library:*
>
> There is a javascript library called floatThead
>  that can be leveraged for this.
> It also works with multiple tables present in a single page. So while
> scrolling the table header remain fixed for each tables.
>
>
> *2. Not using any library,*
>
> We can have some fixed height given to a table body and put the y-axis
> scroll for the table. User has to come to the table element and scroll to
> get their data element to be seen.
>
>
> I have attached the screenshots for better understanding.
>
> We are waiting for your response.
>
>
>
> Thanks & Regards,
>
> *Kaustav Chakraborty*
> STEP Intern
> Email kaust...@thoughtworks.com
> Telephone +91 91009 60526 <+91+91009+60526>
> [image: ThoughtWorks]
> 
>



-- 
With Regards
ThoughtWorks Technologies
Hyderabad

--Stay Hungry Stay Foolish!!
___
Mailing list: https://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 1558244] [NEW] Adding Program to Superuser role remove all authorities from Role

2016-03-19 Thread Elmarie Claasen
Public bug reported:

Affects:  2.22
Chrome and Firefox

Adding a tracker program to the Superuser role removes all
permissions/authorities from the Superuser role resulting in all
Superusers being unable to log in to the Instance.


To replicate: 
Allocate a tracker program to Superuser role
Move to anywhere else
Message will be: You are not permitted to view this page. 
Login to the instance again and you will not be able to log in getting same 
message that you cant access Dashboard landing page. 
Affects all Superusers including admin - effectively locked out of instance
Look in the UserRole table - there are no permissions for the Superuser role

* Temp fix: add in the ALL permission with SQL into the UserRole table for 
UserRole Superuser. 
Create a blank Role for the Program and add it to that role and add that role 
to the User. 

Expected behaviour from the system: The system should not automatically
remove authorities from a role

** Affects: dhis2
 Importance: Undecided
 Status: New

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

Title:
  Adding Program to Superuser role remove all authorities from Role

Status in DHIS:
  New

Bug description:
  Affects:  2.22
  Chrome and Firefox

  Adding a tracker program to the Superuser role removes all
  permissions/authorities from the Superuser role resulting in all
  Superusers being unable to log in to the Instance.

  
  To replicate: 
  Allocate a tracker program to Superuser role
  Move to anywhere else
  Message will be: You are not permitted to view this page. 
  Login to the instance again and you will not be able to log in getting same 
message that you cant access Dashboard landing page. 
  Affects all Superusers including admin - effectively locked out of instance
  Look in the UserRole table - there are no permissions for the Superuser role

  * Temp fix: add in the ALL permission with SQL into the UserRole table for 
UserRole Superuser. 
  Create a blank Role for the Program and add it to that role and add that role 
to the User. 

  Expected behaviour from the system: The system should not
  automatically remove authorities from a role

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1558244/+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] Importing large lists of optionvalues v2.21

2016-03-19 Thread Jason Pickering
Hi Pierre,
Are you sure you selected the right type of object to import?
Regards,
Jason



​

On Thu, Mar 17, 2016 at 3:10 PM, Pierre Dane  wrote:

> Hi all - this is hopefully an easy one.
> I'm trying to import bunch of items (500 or so) into an optionSet. Was
> hoping to use the Import-Export UI with a CSV as per the developer guide
> but this doesn't work (keeps trying to import them as dataelements)
> I must be doing something silly ...
>
> I can't find an API endpoint for this either.
>
> Any ideas?
>
> Thansk
>
> --
> *Pierre Dane*
>
> Jembi Health Systems
> Software Development Manager
> tel: +27 (0)21 701 0939
> cel: +27 (0)83 680 8274
> email: pie...@jembi.org
> web: www.jembi.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
>
>


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


[Dhis2-devs] DHIS2 to Shape File (Export)

2016-03-19 Thread Greg Rowles
Dear Devs

Is anyone aware of export functionality allowing the generation of a shape
file from DHIS2 coordinate data?

If not - is there any viability in getting a scholar involved in GSoC to
develop this type of functionality? Portable data is a security risk but
luckily none of us are potential "Snowdens"...

Kind Regards from Somerset West
Greg

-- 
*Health Information Systems Program - South Africa*
*- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - - - *
Mobile  :073 246 2992
Landline:   021 851 2216
Skype:  gregory_rowles
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] restore database out of memory

2016-03-19 Thread Bob Jolliffe
One other quick thought that is easy to test and eliminate.  Postgres
out of memory errors on restore can also result from a corrupted dump
file.  It might be worthwhile to check on another system that your
dump is good.

On 18 March 2016 at 17:08, Bob Jolliffe  wrote:
> Ah you are on Windoze.  I also don't have much real experience of
> running dhis2 other than on linux, but it strikes me that
> (i) 4G machine is small but should still "work"
> (ii) the databse size you are talking about 100m is quite small and
> the restore operation should not be consuming vast amounts of memory
> (iii) postgres will run, albeit not very efficiently, with quite small
> amounts of memory.
>
> So ...
>
> I think you need to look at what else you have running on that machine
> which could be consuming the bulk of memory.  I think windoze system
> tools like task manager and perfmon.exe might show you useful
> information.
>
> Have you modified postgres config or is it default setting?  Default
> settings would be very conservative but should work.  If you have
> modified, you might have given postgres the impression it has more
> memory available than actually exists.
>
> On 18 March 2016 at 16:53, channara rin  wrote:
>> No from hard drive. it has free disk space 100GB for C: and D: is 45GB
>>
>> On Fri, Mar 18, 2016 at 10:31 PM, Knut Staring  wrote:
>>>
>>> Sorry Channara, I didn't read your question properly, this has nothing to
>>> do with JAVA_OPTS.
>>>
>>> Unfortunately, I have no experience with getting Postgres out of memory
>>> errors, though google tells me a lot of people do.
>>>
>>> Could it perhaps be that your hard drive is filling up?
>>>
>>> On Fri, Mar 18, 2016 at 3:38 PM, channara rin 
>>> wrote:

 here in java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server
 -Xms128m -Xmx1024m -XX:NewSize=2048m -XXMaxNewSize=2048m -XX:PermSize=256m
 -XX:MaxPermSize=1024m -XX:+DisableExplicitGC -xx:+UseConcMarkSweepGC
 -XX:+DisableExplicitGC

 On Fri, Mar 18, 2016 at 7:39 PM, Knut Staring  wrote:
>
> Hi Channara,
>
> What values do you have for JAVA_OPTS?
>
> On Fri, Mar 18, 2016 at 1:10 PM, channara rin 
> wrote:
>>
>> hi all,
>> do you hav any experience with postgresql database?
>> i use command psql/pg_restore into new system. i got out of memory.
>> my system server is 4GB memory and file backup size is around 100MB
>>
>> ___
>> 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


>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> 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
>>

___
Mailing list: https://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] Limit on the number of users to send a DHIS2 message to

2016-03-19 Thread Knut Staring
https://lists.launchpad.net/dhis2-devs/msg37287.html

On Wed, Mar 16, 2016 at 1:52 PM, Knut Staring  wrote:

> From that message, it is clearly not a bug...
>
> On Wed, Mar 16, 2016 at 1:51 PM, Prosper BT  wrote:
>
>> Sorry here is the attachment
>>
>> [image: Inline image 1]
>>
>> On Wed, Mar 16, 2016 at 3:38 PM, Prosper BT  wrote:
>>
>>> Dear Team,
>>>
>>> Wanted to find out if we missed this enhancement, right now if you have
>>> a user group with more that 200 users in it, you cant send them and DHIS2
>>> message.
>>>
>>> Is this a bug or a new limitation in messaging?
>>>
>>> Regards
>>>
>>> --
>>> Prosper Behumbiize, MPH
>>> Global HISP| University Of Oslo/HISP Uganda
>>> +256 752 751 776 | +256 776 139 139
>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>> prospertb
>>>
>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://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] Limit on the number of users to send a DHIS2 message to

2016-03-19 Thread Knut Staring
>From that message, it is clearly not a bug...

On Wed, Mar 16, 2016 at 1:51 PM, Prosper BT  wrote:

> Sorry here is the attachment
>
> [image: Inline image 1]
>
> On Wed, Mar 16, 2016 at 3:38 PM, Prosper BT  wrote:
>
>> Dear Team,
>>
>> Wanted to find out if we missed this enhancement, right now if you have a
>> user group with more that 200 users in it, you cant send them and DHIS2
>> message.
>>
>> Is this a bug or a new limitation in messaging?
>>
>> Regards
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
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


[Dhis2-devs] Map with large size cannot download

2016-03-19 Thread Mihayo Mathayo
Hello Team,

Hope your all doing fine,i can not download map with size more than 2
MB,what could be the problem?  i can only display the map but when i try to
download it loads for so long .am using version 2.18.

Regards
___
Mailing list: https://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 1558354] [NEW] data field of yes/no data element change from dropdown list to radio buttons

2016-03-19 Thread Prayash Mohapatra
>
> Before data elements with value type is yes/no in custom data entry form
> has data field is dropdown list, but now it is show all the options as
> radio buttons (attached file). Is this new version intent to behave or
> it is a bug? this happen in version 2.22 and newest version.
>

Yes, it is a feature added in Version 2.22
Check "Improved tracker capture" section at https://www.dhis2.org/222

-- 
Regards,
Prayash Mohapatra

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

Title:
  data field of yes/no data element change from dropdown list to radio
  buttons

Status in DHIS:
  New

Bug description:
  Before data elements with value type is yes/no in custom data entry
  form has data field is dropdown list, but now it is show all the
  options as radio buttons (attached file). Is this new version intent
  to behave or it is a bug? this happen in version 2.22 and newest
  version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1558354/+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] Map with large size cannot download

2016-03-19 Thread Knut Staring
How have you set up DHIS2? Are you using Nginx?

Knut

On Thu, Mar 17, 2016 at 12:56 PM, Mihayo Mathayo 
wrote:

> Hello Team,
>
> Hope your all doing fine,i can not download map with size more than 2
> MB,what could be the problem?  i can only display the map but when i try to
> download it loads for so long .am using version 2.18.
>
> Regards
>
> ___
> Mailing list: https://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] See Data elements/indicators authority dropped in 2.22

2016-03-19 Thread Prosper BT
Hi Elmaire

I experienced the same and was actualy kicked out the system as a super
user and had help to restore from back end. But all super users can't see
the log in dashboard only user who had low authorities are able to get in.

I was still trying to figure this out wasn't sure what had caused it.

Regards



On Wed, Mar 16, 2016, 7:20 PM Elmarie Claasen  wrote:

> Hi all,
>
> Talking about authorities I would like to report something we experienced
> yesterday but I have not been able to retest elsewhere to reproduce and
> report as a bug.
>
> We were configuring a tracker program logged in as Superuser with ALL and
> all other authorities in the Superuser role. After creating the program we
> noticed that it is now in 2.22 necessary to allocate the program to a user
> role so went and allocated the program to the superuser role. The moment we
> did that the ALL and all other authorities were unallocated from the
> Superuser role and everyone was kicked out and could not log in again after
> that. In effect the Superuser role had no authorities. We had to SQL insert
> the ALL authority back into Superuser after discovering what happened.
>
> Went in again and allocated the program again to Superuser and exactly the
> same thing happened.
>
> Not tested elsewhere as we would have to set up test environment but will
> do to confirm.
>
> Build 2.22, release date 14/03/2016 I am unable to look the release
> version no up at the moment.
>
> Elmarie
> On 16 Mar 2016 15:16, "Prosper BT"  wrote:
>
>> Thanks Mark,
>>
>> We will update and let you know
>>
>> Regards
>>
>> On Wed, Mar 16, 2016 at 4:00 PM, Mark Polak  wrote:
>>
>>> Hey All,
>>>
>>> The authorities should be back in trunk (Revision 22344) and 2.22
>>> (Revision 21920).
>>>
>>> Additionally i updated some of the translations, so the authority for
>>> "See dataelements/indicators" is back as well
>>>
>>> Note that this one will be replaced in 2.23 by a more general "See
>>> maintenance app" (or something similar) as other meta data objects will be
>>> integrated into the same app.
>>>
>>> Regards,
>>>
>>> Mark
>>>
>>> On Wed, Mar 16, 2016 at 11:37 AM, Jason Pickering <
>>> jason.p.picker...@gmail.com> wrote:
>>>
 Hi there.

 I can reproduce this as well. It seems a number of authorities have
 been removed.

 Have informed the developers in Oslo, but for the time being, it seems
 to be broken in 2.22 without the ALL authority.

 Regards,
 Jason


 On Wed, Mar 16, 2016 at 8:35 AM, Alex Tumwesigye >>> > wrote:

> Dear Team,
>
> Same for me for all instances running on 2.22. You need the 'ALL' to
> see the module.
>
> Alex
>
> On Wed, Mar 16, 2016 at 3:26 AM, Juan Manuel Alcantara Acosta <
> jmalcanta...@gmail.com> wrote:
>
>> Hello Team
>> We also noticed this in the Latam academy. The users had the
>> suoeradmin role from the demo database and could not see the data 
>> elements
>> and indicators module, we had to add “ALL” to the role. Is there a fix
>> coming?
>> Best regards,
>> JM
>>
>>
>> El 11/03/2016, a las 1:48 p.m., Prosper BT 
>> escribió:
>>
>> Dear Team,
>>
>> Seems the see Data elements/indicators authority was dropped in 2.22
>> and now only roles with "All" are the only one that can see this app.
>>
>> Is this a bug or the name was changed
>>
>> Regards
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET
> Kampala
> Uganda
> +256 774149 775, + 256 759 800161
> Skype ID: talexie
>
> IT Consultant (Servers, Networks and Security, Health Information
> Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar 
> Consultant
>
>
> "I don't want to be anything other than what I have been - one tree
> hill "
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://h

Re: [Dhis2-devs] Importing large lists of optionvalues v2.21

2016-03-19 Thread Pierre Dane
Thanks Jason.

I'm not seeing that option in v2.21 or below 
Is it new in 2.22?

Pierre

On Thu, Mar 17, 2016 at 4:13 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Pierre,
> Are you sure you selected the right type of object to import?
> Regards,
> Jason
>
>
>
> ​
>
> On Thu, Mar 17, 2016 at 3:10 PM, Pierre Dane  wrote:
>
>> Hi all - this is hopefully an easy one.
>> I'm trying to import bunch of items (500 or so) into an optionSet. Was
>> hoping to use the Import-Export UI with a CSV as per the developer guide
>> but this doesn't work (keeps trying to import them as dataelements)
>> I must be doing something silly ...
>>
>> I can't find an API endpoint for this either.
>>
>> Any ideas?
>>
>> Thansk
>>
>> --
>> *Pierre Dane*
>>
>> Jembi Health Systems
>> Software Development Manager
>> tel: +27 (0)21 701 0939
>> cel: +27 (0)83 680 8274
>> email: pie...@jembi.org
>> web: www.jembi.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
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>



-- 
*Pierre Dane*

Jembi Health Systems
Software Development Manager
tel: +27 (0)21 701 0939
cel: +27 (0)83 680 8274
email: pie...@jembi.org
web: www.jembi.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] Header location for Data Entry tables

2016-03-19 Thread Mark Polak
Hey All,

We should have jQuery available on the page. So it is probably the most
straight forward way to use the floatThread thing.

The library seems pretty mature. I like that better than the scrollable
table body, as that adds an extra scrollbar.

Regards,

Mark

On Fri, Mar 18, 2016 at 9:04 AM, Vanya Seth  wrote:

> Hi Mark
>
> Thanks a lot for the response.
>
> The changes are for the section forms only.
>
> Thanks for a good to go. :)
> But if you could also comment on the technical approach presented in the
> first email, it would be very useful.
>
> Regards
> Vanya
>
>
> On Fri, Mar 18, 2016 at 1:16 PM, Mark Polak  wrote:
>
>> Hey Kaustav and Vanya,
>>
>> Your projected changes are related to section forms (not custom forms) is
>> that correct?
>>
>> For custom forms the users are able to "hack" the html representation.
>> Therefore they could accidentally break this feature, which makes it seem
>> not reliable.
>>
>> So it is for section forms then (the default generated forms) then we
>> think this would be a welcome feature to go into trunk.
>>
>> Regards,
>>
>> Mark
>>
>> On Thu, Mar 17, 2016 at 4:03 PM, Mark Polak  wrote:
>>
>>> Hey Vanya,
>>>
>>> Thank you for your patience. I'm waiting for a reply from Lars on this.
>>> Will ask him to confirm again ;)
>>>
>>> Regards,
>>>
>>> Mark
>>>
>>> On Thu, Mar 17, 2016 at 3:34 PM, Vanya Seth 
>>> wrote:
>>>
 Hi Mark and Nicolay

 Hope you both are doing well.

 Have you had a chance to look into Kaustav's email?

 We have started a new iteration and wanted to pick up this work asap.
 Any help would be greatly appreciated.

 Thanks in advance
 Vanya



 On Tue, Mar 15, 2016 at 6:36 PM, Kaustav Chakraborty <
 kaust...@thoughtworks.com> wrote:

> Hi Mark
>
> Hope you are doing well.
>
> We want to make some enhancements to the Data entry app.  Which is to
> make the data entry table header ( category combo header ) stay constant
> even if we scroll down the page, so that the user knows which column they
> are entering the data in.
>
>
> These are a few questions,
>
>
> *1. Would this be alright to add this to DHIS?*
>
> *2. If you have any recommendations regarding the implementation of
> this feature? Like using some library or anything of that sort?*
>
>
> At our end we have explored a few things:
>
> *Assume, the table is structured as below,*
>
> table
>
> thead
>
> tr
>
> th
>
> tbody
>
> tr
>
> td
>
>
> *1. Using a Library:*
>
> There is a javascript library called floatThead
>  that can be leveraged for
> this. It also works with multiple tables present in a single page. So 
> while
> scrolling the table header remain fixed for each tables.
>
>
> *2. Not using any library,*
>
> We can have some fixed height given to a table body and put the
> y-axis scroll for the table. User has to come to the table element and
> scroll to get their data element to be seen.
>
>
> I have attached the screenshots for better understanding.
>
> We are waiting for your response.
>
>
>
> Thanks & Regards,
>
> *Kaustav Chakraborty*
> STEP Intern
> Email kaust...@thoughtworks.com
> Telephone +91 91009 60526 <+91+91009+60526>
> [image: ThoughtWorks]
> 
>



 --
 With Regards
 ThoughtWorks Technologies
 Hyderabad

 --Stay Hungry Stay Foolish!!

>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
___
Mailing list: https://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] Incompatible values at Event Report

2016-03-19 Thread Pamod Amarakoon
Hi,

Any update on this. Couldn't find out what's wrong yet.

On Thu, Mar 17, 2016 at 10:26 AM, Pamod Amarakoon  wrote:

> Dear All,
>
> I have a particular instance newly setup, which are providing inconsistent
> totals in aggregated values compared to what's displayed on individual
> events overview. Screenshots as below.
>
>
>
> ​
> What may be causing this. Any advice on how to fix this.
>
> Thanx a lot  !
>
> --
> Regards,
> Pamod Amarakoon
>
> 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.
>
>
>
>


-- 
Regards,
Pamod Amarakoon

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


[Dhis2-devs] [DHIS] Understanding Data Export

2016-03-19 Thread Archana Chillala
Hi Morten,

Could you please help me understand the Data Export functionality of DHIS
better.
I am currently using DHIS version 2.23.

In the Import-Export module, we have the Data Export functionality where we
select Org. Units, data sets and dates for which we need to export data.

The dates - '*Start date'* and '*End date' - *are these the dates between
which we have entered data on the instance? Or have they got to do with
when the data sets or org. units were created?

I brought this up because I was unable to export data that I entered today
 i.e. 17-03-2016 (after selecting the appropriate org. unit and data set
that contains data) and setting the start date and end date to 16-03-2016
and 18-03-2016 respectively.

I also tried exporting data after running the analytics. But, either way,
no data values are exported and the JSON file exported is empty. Any
thoughts on this?


Any help here would be appreciated.



*Thanks*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[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


Re: [Dhis2-devs] Limit on the number of users to send a DHIS2 message to

2016-03-19 Thread Lars Helge Øverland
Hi Prosper,

yes we included this limitation with the purpose of keeping the server
healthy as we saw that sending to many thousand people at once could give
trouble. We can do some new testing in this area and perhaps increase the
limit.

regards,

Lars


On Wed, Mar 16, 2016 at 1:51 PM, Prosper BT  wrote:

> Sorry here is the attachment
>
> [image: Inline image 1]
>
> On Wed, Mar 16, 2016 at 3:38 PM, Prosper BT  wrote:
>
>> Dear Team,
>>
>> Wanted to find out if we missed this enhancement, right now if you have a
>> user group with more that 200 users in it, you cant send them and DHIS2
>> message.
>>
>> Is this a bug or a new limitation in messaging?
>>
>> Regards
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>



-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
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


Re: [Dhis2-devs] [Dhis2-users] DHIS2 crashes during login

2016-03-19 Thread Morten Olav Hansen
Hi Tantely

As Jason say, we need a bit more information. Also I would recommend
upgrading to Java 8 (as Java 7 is end-of-line, and not supported anymore),
at the same time upgrading Tomcat to the latest would probably be a good
idea.

Including the server log at the time of crash is a good start (I would
guess it's memory related if it's tomcat itself that crashes)

On Fri, Mar 18, 2016 at 6:50 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Tantely,
>
> Please have a look at our guidelines for reporting a problem.
> 
>
>
> Please include the logs of the server when it crashes as this will help to
> diagnose what the issue might be.
>
> Regards,
> Jason
>
>
> On Fri, Mar 18, 2016 at 12:43 PM, Raminosoa Rabemanantsoa, Tantely <
> tramino...@mikolo.org> wrote:
>
>> Hello everyone,
>>
>>
>> I am a new user of DHIS2. I am working with a DHIS2 application that has
>> already been installed last year inside an Amazon cloud web server.  The
>> version that we have is DHIS2 2.19. The Tomcat version is 1.7. All the data
>> elements, organization unit and questionnaires have been integrated into
>> the system.
>>
>>
>> We are observing odd situation such as Tomcat is crashing each time a
>> couple of users (15+) are accessing DHIS2 simultaneously, especially when
>> they are using the DHIS2 Data Capture within tablets. DHIS2 is only back
>> after restarting Tomcat.
>>
>>
>> Do you know the Server and JVM memory specifications that are recommended
>> to expect about 300 concurrent DHIS2 users?
>>
>>
>> Here are some Java environment variables and server caracteristics that
>> we are using:
>>
>>
>> Java opts:   -Xms1024m -Xmx2048m -XX:PermSize=256m
>> -XX:MaxPermSize=512m
>>
>> Java version: 1.7.0_91
>>
>> OS name:Linux
>>
>> OS architecture:amd64
>>
>> OS version:4.1.10-17.31.amzn1.x86_64
>>
>> Server memory:Mem Total in JVM: 1243 Free in JVM: 547 Max Limit: 1820
>>
>> CPU cores:2
>>
>> Server RAM: 3.75 G
>>
>>
>> Thank you for your support!
>>
>>
>> Tantely.
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
> ___
> 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
>
>


-- 
Morten
___
Mailing list: https://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] conflict

2016-03-19 Thread Erling Fjeldstad
Hi Moses,
Please check that your data elements that failed got the correct type of
input from the app. This is especially related to if you use option sets.
If your option set is expecting input of type Text and your options is
integers, it will give errors of that kind that you are getting

Regards,
Erling

On Wed, Mar 16, 2016 at 4:05 PM, moses mwale  wrote:

> when capturing data using event capture android app
> i get that error. where am i going wrong
> --
> 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


[Dhis2-devs] Incompatible values at Event Report

2016-03-19 Thread Pamod Amarakoon
Dear All,

I have a particular instance newly setup, which are providing inconsistent
totals in aggregated values compared to what's displayed on individual
events overview. Screenshots as below.



​
What may be causing this. Any advice on how to fix this.

Thanx a lot  !

-- 
Regards,
Pamod Amarakoon

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-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] restore database out of memory

2016-03-19 Thread channara rin
No from hard drive. it has free disk space 100GB for C: and D: is 45GB

On Fri, Mar 18, 2016 at 10:31 PM, Knut Staring  wrote:

> Sorry Channara, I didn't read your question properly, this has nothing to
> do with JAVA_OPTS.
>
> Unfortunately, I have no experience with getting Postgres out of memory
> errors, though google tells me a lot of people do.
>
> Could it perhaps be that your hard drive is filling up?
>
> On Fri, Mar 18, 2016 at 3:38 PM, channara rin 
> wrote:
>
>> here in java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server
>> -Xms128m -Xmx1024m -XX:NewSize=2048m -XXMaxNewSize=2048m -XX:PermSize=256m
>> -XX:MaxPermSize=1024m -XX:+DisableExplicitGC -xx:+UseConcMarkSweepGC
>> -XX:+DisableExplicitGC
>>
>> On Fri, Mar 18, 2016 at 7:39 PM, Knut Staring  wrote:
>>
>>> Hi Channara,
>>>
>>> What values do you have for JAVA_OPTS?
>>>
>>> On Fri, Mar 18, 2016 at 1:10 PM, channara rin 
>>> wrote:
>>>
 hi all,
 do you hav any experience with postgresql database?
 i use command psql/pg_restore into new system. i got out of memory.
 my system server is 4GB memory and file backup size is around 100MB

 ___
 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
>>>
>>
>>
>
>
> --
> 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] [Dhis2-users] restore database out of memory

2016-03-19 Thread Knut Staring
Hi Channara,

What values do you have for JAVA_OPTS?

On Fri, Mar 18, 2016 at 1:10 PM, channara rin 
wrote:

> hi all,
> do you hav any experience with postgresql database?
> i use command psql/pg_restore into new system. i got out of memory.
> my system server is 4GB memory and file backup size is around 100MB
>
> ___
> 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] Financial Year setting

2016-03-19 Thread Mugeni Harold
Dear Knut,

 

Thank you for the quick reply. Do you know why then it is currently selecting 
this particular financial year? And is it possible for me to configure graphs 
to use a period e.g.. last 5 financial years, but be able to define which 
financial year to use currently?

 

Thank you,

Harold

 

From: Knut Staring [mailto:knu...@gmail.com] 
Sent: Thursday, March 17, 2016 1:16 PM
To: Mugeni Harold
Cc: DHIS 2 developers; dhis2-us...@lists.launchpad.net
Subject: Re: [Dhis2-devs] Financial Year setting

 

Support for this is planned for the next release, I think:
https://blueprints.launchpad.net/dhis2/+spec/configurable-financial-year-relative-period

Knut

 

On Thu, Mar 17, 2016 at 12:10 PM, Mugeni Harold  wrote:

Hi guys,

 

I am looking at some graphs in visualizer and whenever I use the period ‘last 5 
financial years’, it uses the October to September financial year. Is there a 
setting in dhis2 for determining the organization’s financial year? If yes, 
where is it?

 

Cheers,

Harold

 


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




-- 

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] [Dhis2-users] restore database out of memory

2016-03-19 Thread Bob Jolliffe
Ah you are on Windoze.  I also don't have much real experience of
running dhis2 other than on linux, but it strikes me that
(i) 4G machine is small but should still "work"
(ii) the databse size you are talking about 100m is quite small and
the restore operation should not be consuming vast amounts of memory
(iii) postgres will run, albeit not very efficiently, with quite small
amounts of memory.

So ...

I think you need to look at what else you have running on that machine
which could be consuming the bulk of memory.  I think windoze system
tools like task manager and perfmon.exe might show you useful
information.

Have you modified postgres config or is it default setting?  Default
settings would be very conservative but should work.  If you have
modified, you might have given postgres the impression it has more
memory available than actually exists.

On 18 March 2016 at 16:53, channara rin  wrote:
> No from hard drive. it has free disk space 100GB for C: and D: is 45GB
>
> On Fri, Mar 18, 2016 at 10:31 PM, Knut Staring  wrote:
>>
>> Sorry Channara, I didn't read your question properly, this has nothing to
>> do with JAVA_OPTS.
>>
>> Unfortunately, I have no experience with getting Postgres out of memory
>> errors, though google tells me a lot of people do.
>>
>> Could it perhaps be that your hard drive is filling up?
>>
>> On Fri, Mar 18, 2016 at 3:38 PM, channara rin 
>> wrote:
>>>
>>> here in java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server
>>> -Xms128m -Xmx1024m -XX:NewSize=2048m -XXMaxNewSize=2048m -XX:PermSize=256m
>>> -XX:MaxPermSize=1024m -XX:+DisableExplicitGC -xx:+UseConcMarkSweepGC
>>> -XX:+DisableExplicitGC
>>>
>>> On Fri, Mar 18, 2016 at 7:39 PM, Knut Staring  wrote:

 Hi Channara,

 What values do you have for JAVA_OPTS?

 On Fri, Mar 18, 2016 at 1:10 PM, channara rin 
 wrote:
>
> hi all,
> do you hav any experience with postgresql database?
> i use command psql/pg_restore into new system. i got out of memory.
> my system server is 4GB memory and file backup size is around 100MB
>
> ___
> 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
>>>
>>>
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> 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
>

___
Mailing list: https://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] [GSoC 2016] Enhance existing DHIS2 android dashboard application

2016-03-19 Thread Araz Abishov
Hi Madhuka,

If you already managed to build the project from sources, you should look into 
list of existing issues on github. It could be great if you could make small 
contribution as a proof of understanding the codebase. 

Other than that, you should also start writing draft version of proposal. 
Please, submit it through GSoC portal, so mentors can provide you feedback on 
it. 

Best Regards,
Araz Abishov

On March 17, 2016 at 6:32:18 PM, madhuka udantha (madhukaudan...@gmail.com) 
wrote:

Hi,

Have build the app from source[1] and tried the application, I run the 
applications to understand application and the system.
As I see this are main task for this project. 
Improving the dashboard with MPAndroidChart
Offline supporting for application
I have some past experiences for those adding mapping and more chart libraries 
plugins for appache zeppelin[2]. I have development HTML5 offline email system 
few years ago and it much same to second requirement and Here I am sharing my 
RP[3] and there indexed database was used. 

I like to know preferred licenses  and any other preferred and options library 
for this task from the community? I like to know my next step also. 
 
[1] 
http://madhukaudantha.blogspot.com/2016/03/dhis2-android-dashboard-build-from.html
[2] 
https://cwiki.apache.org/confluence/display/ZEPPELIN/COMDEV-119+Zeppelin+GSoC+Project%3A+add+more+D3+visualization
[3] http://journals.sfu.ca/apan/index.php/apan/article/viewFile/20/11

On Thu, Mar 10, 2016 at 11:18 PM, madhuka udantha  
wrote:

-- Forwarded message --
From: madhuka udantha 
Date: Thu, Mar 10, 2016 at 11:11 PM
Subject: [GSoC 2016] Enhance existing DHIS2 android dashboard application
To: araz.abishov.g...@gmail.com, dhis2-us...@lists.launchpad.net


Hi,

I'm Udantha, MSc. Student at University of Moratuwa. This GSoC 2016 project 
captures my interest. 
I have abundant experiences of visualization techniques creating numerous 
dashboards, charts[1,2] with javascript, angularJS and d3, etc[2,3]. I am also 
familiar with SOA, WS[2] and REST APIs. My past experience in GSoC project in 
2015 [2].

I have SCMAD and I have plenty of experience in android application development 
but not in open source (Sample app screen shoots are attached). I like to work 
in this project and I like to be guide for proposal and to get much idea on the 
project. 
 
[1] http://wso2.com/products/user-engagement-server/
[2] 
https://cwiki.apache.org/confluence/display/ZEPPELIN/COMDEV-119+Zeppelin+GSoC+Project%3A+add+more+D3+visualization
[3] https://github.com/wso2/jaggery
[4] http://madhukaudantha.blogspot.com/search/label/Web%20Service

Thanks.
Best Regards,
Udantha.

--
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com



--
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com



--
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.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  
___
Mailing list: https://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] Migrated from v2.15 to v2.22 - completeDataSetRegistrations.json no longer working

2016-03-19 Thread WILLIAMS, Ryan O'Neil
Dear all,

The following api call was working fine in v2.15, it produced a dataset 
completion listing for the selected root org unit and selected period.

http://.../api/completeDataSetRegistrations.json?dataSet=FoeRJtqaHVd&dataSet=kL43warJd3F&dataSet=fEOswPWAZzz&dataSet=nB1uyplEoHE&dataSet=vZy3KF8FQdA&dataSet=LuReWzkAXRf&startDate=2014-01-01&endDate=2015-01-01&orgUnit=Hs0PQkZwh54&children=true

After migration, the same call produces the error message below. Anyone has any 
ideas or can steer me in the right direction on sorting this out, I would 
greatly appreciate it.
Our DHIS2 instance is running on a mySQL backend.

ERROR MESSAGE:
HTTP Status 500 - No row with the given identifier exists: 
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through reference 
chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
type Exception report
message No row with the given identifier exists: 
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through reference 
chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
com.fasterxml.jackson.databind.JsonMappingException: No row with the given 
identifier exists: [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] 
(through reference chain: 
org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)
com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:177)
 
com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:199)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:683)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)

com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
  
com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3559)

com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2893)

org.hisp.dhis.dxf2.render.DefaultRenderService.toJson(DefaultRenderService.java:70)
org.hisp.dhis.webapi.controller.CompleteDataSetRegistrationController.getCompleteDataSetRegistrationsJson(CompleteDataSetRegistrationController.java:122)
sun.reflect.GeneratedMethodAccessor1018.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:775)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
  
org.springframework.web.servlet.Dispa

Re: [Dhis2-devs] Unable to save selected Org. unit for a user - new importer

2016-03-19 Thread Morten Olav Hansen
Hi Archana

Could you share the exact payload your are sending to the importer? I
already have tests for this, and it works fine... so there might be
something different on your end..

Also, are you getting any kind of error reports back?

On Fri, Mar 18, 2016 at 5:28 PM, Archana Chillala  wrote:

> Hi Morten,
>
> I am using DHIS 2.23 and have the new importer. I have tried to create a
> user by assigning a role and an organisation unit to it and saved it. But,
> when we edit the user and see, no org. units are selected (even if they
> have been selected while creating).
>
> This was working fine with the old importer. But, after taking the latest
> code for the new importer, the issue arose.
>
> Could you please look into the issue ASAP. It's blocking other related
> work.
>
>
>
> *Thanks*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>



-- 
Morten
___
Mailing list: https://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] [GSOC 2016] Line Listing Importer

2016-03-19 Thread Araz Abishov
Hi Prayash,

I am sorry for responding late, we have a lot of applicants this year. Hence, 
it is really challenging to respond everyone on time. I am forwarding your 
email to project mentor.

Best Regards,
Araz Abishov

On March 17, 2016 at 8:19:37 AM, Prayash Mohapatra (catchpray...@gmail.com) 
wrote:

I have zeroed in on the "Line Listing Importer"

I have some queries:
1. Has the Line Listing Importer idea to be implemented as a separate Web App 
or integrated with the existing Import-Export module?
2. Can a sample CCD/XML document be provided?

On Tue, Mar 8, 2016 at 1:54 AM, Prayash Mohapatra  
wrote:
Hello DHIS2 Community,

This is Prayash Mohapatra, currently in 3rd year of B.Tech at CET, Bhubaneswar.
I am a full stack developer.

Following are the languages/frameworks I learnt over time.
Frontend - HTML, CSS, JavaScript mostly jQuery. (Bootstrap)
Backend - Started with PHP, Tried Node.js for a project, Now on Python. (Slim, 
Express.js, socket.io, Flask, BeautifulSoup, peewee)
Database - MySQL
Mobile Application - Java on Android

Following are my side projects, pursued in my college life:
http://prayashm.github.io/3DCet - A 3D Map of our college, which can be 
navigated (1st Year project)
http://play.google.com/store/apps/details?id=in.zairza.zbuzzer - Multi user 
realtime buzzer using websockets (2nd Year project)
http://resultsmirror.cetb.in - Mirror of University results for our college, 
searchable by name (3rd Year project)

I also volunteer at local communities like Bakul Foundation, Google Developers 
Group - Bhubaneswar
and Microsoft Developers Commuity - Odisha. I personally find DHIS2 appealing 
as I interned in a company in similar field.
I am interested in "Line listing record importer" and "Scriptable SMS Parsing" 
ideas, as I am already familiar with making REST APIs
and SMS Apps have fascinated me since school. We had built a SMS app using 
txtweb.com platform for Election Season.
I am going through the mentioned resources, and will ask if I get stuck 
somewhere.

linkedin: http://linkedin.com/in/prayash
github: https://github.com/prayashm
website: http://prayashm.com
--
Regards,
Prayash Mohapatra


--
Regards,
Prayash Mohapatra
___ 
Mailing list: https://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] [GSOC 2016] Line Listing Importer

2016-03-19 Thread Prayash Mohapatra
Hello Sir,

Thanks a lot for helping.
I understand your challenges. I had already cc-ed my queries to the mentor.
I understand that I was late in interacting with dhis2 community as pointed
out
in a mail to me from mark.polo.dh...@gmail.com.

> I am really sorry if I interacted in a wrong way.
>
> If you can, do point me where I went wrong.
> I'll be careful so that anything like it doesn't happen again.
> Thanks a lot.
>
>> On Sat, Mar 19, 2016 at 2:53 PM, Mark polo 
wrote:
>> Dear student,this is not the way to interact and contribute to an open
>> source community. We had already assigned some time to discuss the
>> project idea which is over by now. You better try your luck next time
>> with gsoc or with some other organization. We have already marked
>> the candidates for our different projects.
>
> --
> Regards,
> Prayash Mohapatra

-- 
Regards,
Prayash Mohapatra
___
Mailing list: https://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] [GSoC 2016] Enhance existing DHIS2 android dashboard application

2016-03-19 Thread madhuka udantha
Hi,

Have build the app from source[1] and tried the application, I run the
applications to understand application and the system.
As I see this are main task for this project.

   - Improving the dashboard with MPAndroidChart
   - Offline supporting for application

I have some past experiences for those adding mapping and more chart
libraries plugins for appache zeppelin[2]. I have development HTML5 offline
email system few years ago and it much same to second requirement and Here
I am sharing my RP[3] and there indexed database was used.

I like to know preferred licenses  and any other preferred and options
library for this task from the community? I like to know my next step also.

[1]
http://madhukaudantha.blogspot.com/2016/03/dhis2-android-dashboard-build-from.html
[2]
https://cwiki.apache.org/confluence/display/ZEPPELIN/COMDEV-119+Zeppelin+GSoC+Project%3A+add+more+D3+visualization
[3] http://journals.sfu.ca/apan/index.php/apan/article/viewFile/20/11

On Thu, Mar 10, 2016 at 11:18 PM, madhuka udantha 
wrote:

>
> -- Forwarded message --
> From: madhuka udantha 
> Date: Thu, Mar 10, 2016 at 11:11 PM
> Subject: [GSoC 2016] Enhance existing DHIS2 android dashboard application
> To: araz.abishov.g...@gmail.com, dhis2-us...@lists.launchpad.net
>
>
> Hi,
>
> I'm Udantha, MSc. Student at University of Moratuwa. This GSoC 2016
> project captures my interest.
> I have abundant experiences of visualization techniques creating numerous
> dashboards, charts[1,2] with javascript, angularJS and d3, etc[2,3]. I am
> also familiar with SOA, WS[2] and REST APIs. My past experience in GSoC
> project in 2015 [2].
>
> I have SCMAD and I have plenty of experience in android application
> development but not in open source (Sample app screen shoots are attached).
> I like to work in this project and I like to be guide for proposal and to
> get much idea on the project.
>
> [1] http://wso2.com/products/user-engagement-server/
> [2]
> https://cwiki.apache.org/confluence/display/ZEPPELIN/COMDEV-119+Zeppelin+GSoC+Project%3A+add+more+D3+visualization
> [3] https://github.com/wso2/jaggery
> [4] http://madhukaudantha.blogspot.com/search/label/Web%20Service
>
> Thanks.
> Best Regards,
> Udantha.
>
> --
> Cheers,
> Madhuka Udantha
> http://madhukaudantha.blogspot.com
>
>
>
> --
> Cheers,
> Madhuka Udantha
> http://madhukaudantha.blogspot.com
>



-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.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


Re: [Dhis2-devs] [Dhis2-users] Migrated from v2.15 to v2.22 - completeDataSetRegistrations.json no longer working

2016-03-19 Thread Knut Staring
Hi Ryan,

Do these data have dimensional breakdowns/disaggregations? I am thinking
you could possibly have a double "default" categoryoptioncombo after
upgrading (or something similar).

Knut

On Fri, Mar 18, 2016 at 11:10 AM, WILLIAMS, Ryan O'Neil <
williamsr...@who.int> wrote:

> Dear all,
>
>
>
> The following api call was working fine in v2.15, it produced a dataset
> completion listing for the selected root org unit and selected period.
>
>
>
> http://.../api/*completeDataSetRegistrations*
> .json?dataSet=FoeRJtqaHVd&dataSet=kL43warJd3F&dataSet=fEOswPWAZzz&dataSet=nB1uyplEoHE&dataSet=vZy3KF8FQdA&dataSet=LuReWzkAXRf&startDate=2014-01-01&endDate=2015-01-01&orgUnit=Hs0PQkZwh54&children=true
>
>
>
> After migration, the same call produces the error message below. Anyone
> has any ideas or can steer me in the right direction on sorting this out, I
> would greatly appreciate it.
>
> Our DHIS2 instance is running on a mySQL backend.
>
>
>
> *ERROR MESSAGE:*
>
> HTTP Status 500 - No row with the given identifier exists:
> [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through
> reference chain:
> org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
>
> *type* Exception report
>
> *message* *No row with the given identifier exists:
> [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through
> reference chain:
> org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])*
>
> *description* *The server encountered an internal error that prevented it
> from fulfilling this request.*
>
> *exception*
>
> com.fasterxml.jackson.databind.JsonMappingException: No row with the given
> identifier exists:
> [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#0] (through
> reference chain:
> org.hisp.dhis.dataset.CompleteDataSetRegistrations["completeDataSetRegistrations"]->java.util.ArrayList[0]->org.hisp.dhis.dataset.CompleteDataSetRegistration["attributeOptionCombo"]->org.hisp.dhis.dataelement.DataElementCategoryOptionCombo_$$_jvst512_50["href"])
>
>
> com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)
>
>
> com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:177)
>
>
> com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:199)
>
>
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:683)
>
>
> com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
>
>
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
>
>
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
>
>
> com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
>
>
> com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119)
>
>
> com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:79)
>
>
> com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:18)
>
>
> com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
>
>
> com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
>
>
> com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
>
>
> com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
>
>
> com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3559)
>
>
> com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2893)
>
>
> org.hisp.dhis.dxf2.render.DefaultRenderService.toJson(DefaultRenderService.java:70)
>
>
> org.hisp.dhis.webapi.controller.CompleteDataSetRegistrationController.getCompleteDataSetRegistrationsJson(CompleteDataSetRegistrationController.java:122)
>
> sun.reflect.GeneratedMethodAccessor1018.invoke(Unknown Source)
>
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> java.lang.reflect.Method.invoke(Method.java:498)
>
>
> org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)
>
>
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
>
>
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMetho

Re: [Dhis2-devs] Limit on the number of users to send a DHIS2 message to

2016-03-19 Thread Prosper BT
Sorry here is the attachment

[image: Inline image 1]

On Wed, Mar 16, 2016 at 3:38 PM, Prosper BT  wrote:

> Dear Team,
>
> Wanted to find out if we missed this enhancement, right now if you have a
> user group with more that 200 users in it, you cant send them and DHIS2
> message.
>
> Is this a bug or a new limitation in messaging?
>
> Regards
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
> prospertb
>



-- 
Prosper Behumbiize, MPH
Global HISP| University Of Oslo/HISP Uganda
+256 752 751 776 | +256 776 139 139
pros...@hispuganda.org  | pros...@dhis2.org | Skype:
prospertb
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Financial Year setting

2016-03-19 Thread Mugeni Harold
Thanks Knut

 

Harold

 

From: Knut Staring [mailto:knu...@gmail.com] 
Sent: Thursday, March 17, 2016 1:29 PM
To: Mugeni Harold
Cc: DHIS 2 developers; dhis2-us...@lists.launchpad.net
Subject: Re: [Dhis2-devs] Financial Year setting

 

Not as far as I know

 

On Thu, Mar 17, 2016 at 12:24 PM, Mugeni Harold  wrote:

Dear Knut,

 

Thank you for the quick reply. Do you know why then it is currently selecting 
this particular financial year? And is it possible for me to configure graphs 
to use a period e.g.. last 5 financial years, but be able to define which 
financial year to use currently?

 

Thank you,

Harold

 

From: Knut Staring [mailto:knu...@gmail.com] 
Sent: Thursday, March 17, 2016 1:16 PM
To: Mugeni Harold
Cc: DHIS 2 developers; dhis2-us...@lists.launchpad.net
Subject: Re: [Dhis2-devs] Financial Year setting

 

Support for this is planned for the next release, I think:
https://blueprints.launchpad.net/dhis2/+spec/configurable-financial-year-relative-period

Knut

 

On Thu, Mar 17, 2016 at 12:10 PM, Mugeni Harold  wrote:

Hi guys,

 

I am looking at some graphs in visualizer and whenever I use the period ‘last 5 
financial years’, it uses the October to September financial year. Is there a 
setting in dhis2 for determining the organization’s financial year? If yes, 
where is it?

 

Cheers,

Harold

 


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




-- 

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522  

Skype: knutstar

http://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


[Dhis2-devs] [Bug 1558041] [NEW] backslash in orgunit names

2016-03-19 Thread jason.p.pickering
Public bug reported:

Version, 2.22, 21919

Steps to reproduce: Login to the demo server and access "organisation
unit maintenance" module.

open up "Badija" and add a facility called "Foo facility \" Note the
backslash. The facility is added.

Click on "Organisation unit" again and try and open Badja. It is not
possible.

This causes issues with data entry, when branches on the hierarchy are
no longer accessible.

** Affects: dhis2
 Importance: Undecided
 Assignee: Lars Helge Øverland (larshelge)
 Status: Confirmed

** Attachment added: "Selection_519.png"
   
https://bugs.launchpad.net/bugs/1558041/+attachment/4601053/+files/Selection_519.png

** Changed in: dhis2
   Status: New => Confirmed

** Changed in: dhis2
 Assignee: (unassigned) => Lars Helge Øverland (larshelge)

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

Title:
  backslash in orgunit names

Status in DHIS:
  Confirmed

Bug description:
  Version, 2.22, 21919

  Steps to reproduce: Login to the demo server and access "organisation
  unit maintenance" module.

  open up "Badija" and add a facility called "Foo facility \" Note the
  backslash. The facility is added.

  Click on "Organisation unit" again and try and open Badja. It is not
  possible.

  This causes issues with data entry, when branches on the hierarchy are
  no longer accessible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1558041/+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] Limit on the number of users to send a DHIS2 message to

2016-03-19 Thread Elmarie Claasen
Hi all,

We also had this issue once. Maybe one should then get a warning when you
add >200 users to Usergroup or an absolute limitation. At least then you
can create multiple groups.

One should also note that this makes it near impossible to select an
orgunit in hierarchy at higher level as you get the same message.

Elmarie
On 16 Mar 2016 16:27, "Lars Helge Øverland"  wrote:

> Hi Prosper,
>
> yes we included this limitation with the purpose of keeping the server
> healthy as we saw that sending to many thousand people at once could give
> trouble. We can do some new testing in this area and perhaps increase the
> limit.
>
> regards,
>
> Lars
>
>
> On Wed, Mar 16, 2016 at 1:51 PM, Prosper BT  wrote:
>
>> Sorry here is the attachment
>>
>> [image: Inline image 1]
>>
>> On Wed, Mar 16, 2016 at 3:38 PM, Prosper BT  wrote:
>>
>>> Dear Team,
>>>
>>> Wanted to find out if we missed this enhancement, right now if you have
>>> a user group with more that 200 users in it, you cant send them and DHIS2
>>> message.
>>>
>>> Is this a bug or a new limitation in messaging?
>>>
>>> Regards
>>>
>>> --
>>> Prosper Behumbiize, MPH
>>> Global HISP| University Of Oslo/HISP Uganda
>>> +256 752 751 776 | +256 776 139 139
>>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>>> prospertb
>>>
>>
>>
>>
>> --
>> Prosper Behumbiize, MPH
>> Global HISP| University Of Oslo/HISP Uganda
>> +256 752 751 776 | +256 776 139 139
>> pros...@hispuganda.org  | pros...@dhis2.org | Skype:
>> prospertb
>>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> 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
>
>

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
Mailing list: https://launchpad.net/~dhis2-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] restore database out of memory

2016-03-19 Thread channara rin
here in java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server
-Xms128m -Xmx1024m -XX:NewSize=2048m -XXMaxNewSize=2048m -XX:PermSize=256m
-XX:MaxPermSize=1024m -XX:+DisableExplicitGC -xx:+UseConcMarkSweepGC
-XX:+DisableExplicitGC

On Fri, Mar 18, 2016 at 7:39 PM, Knut Staring  wrote:

> Hi Channara,
>
> What values do you have for JAVA_OPTS?
>
> On Fri, Mar 18, 2016 at 1:10 PM, channara rin 
> wrote:
>
>> hi all,
>> do you hav any experience with postgresql database?
>> i use command psql/pg_restore into new system. i got out of memory.
>> my system server is 4GB memory and file backup size is around 100MB
>>
>> ___
>> 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


[Dhis2-devs] Financial Year setting

2016-03-19 Thread Mugeni Harold
Hi guys,

 

I am looking at some graphs in visualizer and whenever I use the period
'last 5 financial years', it uses the October to September financial year.
Is there a setting in dhis2 for determining the organization's financial
year? If yes, where is it?

 

Cheers,

Harold

 

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