Re: [Dhis2-devs] Regarding Monthwise data for Annual DataElement

2009-03-20 Thread bharath kumar
Thank you Lars, Thank you so much. 2009/3/20 Lars Helge Øverland > > > 2009/3/19 Lars Helge Øverland > > >> >> On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar wrote: >> >>> Hi, >>> >>> we created one dataelement which is Annual periodtype (say total >>> population) and Aggregationtype as *SUM*.

[Dhis2-devs] [Bug 343613] Re: Add Dataset's Move Selected Converts to Lowercase

2009-03-20 Thread Lars Helge Øverland
** Changed in: dhis2 Assignee: (unassigned) => Lars Helge Øverland (larshelge) Status: New => Fix Committed -- Add Dataset's Move Selected Converts to Lowercase https://bugs.launchpad.net/bugs/343613 You received this bug notification because you are a member of DHIS 2 developers, whi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 103: dhis-web-maintenance-dataset: Fixed #343614 add dataset's move selected converts to lowercase

2009-03-20 Thread noreply
revno: 103 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 21:33:48 +0100 message: dhis-web-maintenance-dataset: Fixed #343614 add dataset's move selected converts to lowercase modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Trunk

2009-03-20 Thread Lars Helge Øverland
Title: (not set) => Trunk Summary changed to: The trunk is where the mainline development takes place. -- Trunk https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad

Re: [Dhis2-devs] [Dhis-dev] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Orvalho Joaquim Augusto
Ok! Sorry I will help the how to. Caveman Knut Staring wrote: I think it is great to see this discussion BUT I have two comments: 1) Most importantly, we need to caputure all the great knowledge and experimentation in the network on the WIKI, in addition to lively discussion here. So pleas

Re: [Dhis2-devs] [Dhis-dev] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Knut Staring
I think it is great to see this discussion BUT I have two comments: 1) Most importantly, we need to caputure all the great knowledge and experimentation in the network on the WIKI, in addition to lively discussion here. So please transfer your HOWTO's to pages like this one: http://208.76.222.114/

Re: [Dhis2-devs] [Dhis-dev] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Bob Jolliffe
Except I'm using a mix of emacs and netbeans :-) 2009/3/20 Bob Jolliffe : > 2009/3/20 Orvalho Joaquim Augusto : >> I have DHIS 2 running on Ubuntu 8.10 and Fedora 10. >> >> Lars recommends to download tomcat from the official tomcat site. >> >> OK. But beaware that for a really heavy production en

Re: [Dhis2-devs] [Dhis-dev] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Bob Jolliffe
2009/3/20 Orvalho Joaquim Augusto : > I have DHIS 2 running on Ubuntu 8.10 and Fedora 10. > > Lars recommends to download tomcat from the official tomcat site. > > OK. But beaware that for a really heavy production environment you must > compile the jsvc as it is documented on $CATALINA_HOME/bin/js

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/20 Lars Helge Øverland : > >> >> Yes this is true.  But what do you think of the idea to enforce >> DataSet membership having a default DataSet for all the delinquents? >> I'm not sure if it can be enforced by the schema, but at least by the >> application. > > OK but what does this give us

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 102: Minor fix

2009-03-20 Thread noreply
revno: 102 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: dhis2 timestamp: Fri 2009-03-20 18:34:06 +0100 message: Minor fix modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/import

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 101: Removed misplaced quote

2009-03-20 Thread noreply
revno: 101 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: dhis2 timestamp: Fri 2009-03-20 18:08:00 +0100 message: Removed misplaced quote modified: dhis-2/dhis-services/dhis-service-core/src/main/resources/META-INF/

Re: [Dhis2-devs] [Dhis-dev] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Orvalho Joaquim Augusto
I have DHIS 2 running on Ubuntu 8.10 and Fedora 10. Lars recommends to download tomcat from the official tomcat site. OK. But beaware that for a really heavy production environment you must compile the jsvc as it is documented on $CATALINA_HOME/bin/jsvc.tar.gz file. If you dont you will loose

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 100: Minor fix

2009-03-20 Thread noreply
revno: 100 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 17:38:30 +0100 message: Minor fix modified: dhis-2/dhis-services/dhis-service-aggregationengine-default/src/main/java/org/his

[Dhis2-devs] [Bug 345239] Re: Incorrect Monthwise data for Annual DataElement

2009-03-20 Thread Lars Helge Øverland
Datamart previously calculated the duration of a Period by taking the endate and "subtract" the start date. This led to slightly wrong values as DHIS2 periods are "inclusive", meaning that eg January goes from 1/1 - 31/1 (not 1/2). This means that the system believed it is 30 days in Januar, which

[Dhis2-devs] Setting up DHIS 2 on Ubuntu 8.10

2009-03-20 Thread Lars Helge Øverland
I have been setting up the DHIS 2 application and development environment on Ubuntu 8.10 in order to test things properly in a linux environment as well. Just wanted to share the experience which has been really convenient and nice: Almost everything you need can be found in the Synaptic Package ma

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Lars Helge Øverland
> > Yes this is true. But what do you think of the idea to enforce > DataSet membership having a default DataSet for all the delinquents? > I'm not sure if it can be enforced by the schema, but at least by the > application. OK but what does this give us in terms of PeriodType-determining if thi

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/20 Lars Helge Øverland : > > > >> >> You are right that not having a reverse association makes selecting >> all the "unassigned" DataElements a bit tricky.  Perhaps the most >> robust solution is to have a default unassigned DataSet - with a NULL >> periodType.  All new DataElements start li

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 99: dhis-service-datamart: Datamart previously calculated the duration of a Period by taking the enda...

2009-03-20 Thread noreply
revno: 99 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 16:18:04 +0100 message: dhis-service-datamart: Datamart previously calculated the duration of a Period by taking the endate and

Re: [Dhis2-devs] Regarding Monthwise data for Annual DataElement

2009-03-20 Thread Lars Helge Øverland
2009/3/19 Lars Helge Øverland > > > On Thu, Mar 19, 2009 at 6:22 AM, bharath kumar wrote: > >> Hi, >> >> we created one dataelement which is Annual periodtype (say total >> population) and Aggregationtype as *SUM*. >> For the year 2008 we entered data say 15000. >> >> In the datamart, we selected

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Lars Helge Øverland
> > > The "explicit" approcah also involves an association (DataElement -> > PeriodType). I am not sure if one could say it involves redundancy, as we > don't have a model enforcement of one-or-more DataSet memberships for a > DataElement. Another matter that favours the "implicit" approach is th

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Lars Helge Øverland
> > > You are right that not having a reverse association makes selecting > all the "unassigned" DataElements a bit tricky. Perhaps the most > robust solution is to have a default unassigned DataSet - with a NULL > periodType. All new DataElements start life in this DataSet. This > makes finding

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/20 Bob Jolliffe : > 2009/3/20 Lars Helge Øverland : >> >>> >>> There is not much to be gained in terms of simplicity if you drive the >>> functionality down to the data model API.  The way you make the >>> relationship explicit is to provide the DataElement class with a >>> method called get

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/20 Lars Helge Øverland : > >> >> There is not much to be gained in terms of simplicity if you drive the >> functionality down to the data model API.  The way you make the >> relationship explicit is to provide the DataElement class with a >> method called getPeriodType().  The detail of how

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 98: dhis-service-datamart: Added some comments.

2009-03-20 Thread noreply
revno: 98 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 13:54:19 +0100 message: dhis-service-datamart: Added some comments. modified: dhis-2/dhis-services/dhis-service-datamart-defau

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 97: -Made more regarding period name handling in Upward Reporting

2009-03-20 Thread noreply
revno: 97 committer: Bharath branch nick: trunk timestamp: Fri 2009-03-20 18:20:20 +0530 message: -Made more regarding period name handling in Upward Reporting modified: local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Lars Helge Øverland
> > There is not much to be gained in terms of simplicity if you drive the > functionality down to the data model API. The way you make the > relationship explicit is to provide the DataElement class with a > method called getPeriodType(). The detail of how it implements that > is invisible to th

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/20 Lars Helge Øverland : > >> >> It seems to me that adding a PeriodType to the DataElement is >> definitely redundant. >> >> DataElement should always be a member of at least one DataSet - and >> there is already be an (implicit) constraint that DataElements of a >> DataSet will be of the s

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 96: - Improved Validations for Linelisting Forms.

2009-03-20 Thread noreply
revno: 96 committer: Bharath branch nick: trunk timestamp: Fri 2009-03-20 17:41:15 +0530 message: - Improved Validations for Linelisting Forms. - Incorporated quarterly and annual period names for Upward Reports modified: local/in

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Lars Helge Øverland
On Fri, Mar 20, 2009 at 12:47 PM, Saptarshi Purkayastha wrote: > I don't know if it was being done yet, but the installer that I have now > built also puts the Server VM with the JRE and starts tomcat on the server > vm... On our office linux server I have installed tomcat as a unix daemon. > OK.

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Saptarshi Purkayastha
I don't know if it was being done yet, but the installer that I have now built also puts the Server VM with the JRE and starts tomcat on the server vm... On our office linux server I have installed tomcat as a unix daemon. BTW, can the installer code stay in the tools/installer folder on the bazaa

[Dhis2-devs] Problem buildling dhis-web

2009-03-20 Thread Lars Helge Øverland
This is an annoying problem, the directory path is simply too long. Please check out the source code to a shorter path (eg E:\source\dhis2\trunk etc) Lars On Fri, Mar 20, 2009 at 12:27 PM, Knut Staring wrote: > Does anyone understand what the following build problem might be? > > --

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Lars Helge Øverland
> 2.) On Windows machines, the JRE runs with the Client JVM which is > optimized for quick start, but not for better memory/thread management as > the server HotSpot VM. We should by default start tomcat with server VM. In > my JavaEE experience, this does reduce a lot of OOM exceptions. If you jus

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Lars Helge Øverland
> > It seems to me that adding a PeriodType to the DataElement is > definitely redundant. > > DataElement should always be a member of at least one DataSet - and > there is already be an (implicit) constraint that DataElements of a > DataSet will be of the same PeriodType. > > What is probably re

[Dhis2-devs] Problem buildling dhis-web

2009-03-20 Thread Knut Staring
Does anyone understand what the following build problem might be? -- Forwarded message -- From: Mahesh, M IN BLR SISL Date: Fri, Mar 20, 2009 at 12:13 PM I get this error when I try to build go to dhis2\dhis-2\dhis-web and execute the same command (This is the step I forgot, p

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Saptarshi Purkayastha
I have found 2 ways in which the Java Out-of-Memory Exception can be solved: 1.) On linux machines, we can start tomcat as a unix daemon as pointed out in this tutorial . Tomcat gets more priority, memory and can run more efficiently. Infact, it

Re: [Dhis2-devs] [Dhis-dev] DataElement -> PeriodType association

2009-03-20 Thread Bob Jolliffe
2009/3/19 Lars Helge Øverland : > >> So for India or for South Africa or Sri Lanka data >> elements are "effectively" only members of one dataset? > > > Not quite, a data element can be a member of many data sets, but those data > sets cannot be entered by the same orgunit. I.e. data sets containin

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 94: dhis-web-dataentry: fixed bug lp:344752 unable to select current quarterly period in dataentryscreen

2009-03-20 Thread Saptarshi Purkayastha
Very quick fix... Thanks Lars for the good work!! We r still testing. --- Regards, Saptarshi PURKAYASTHA Director R & D, HISP India Health Information Systems Programme My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE 2009/3/20 >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 95: dhis-web-dataentry: Codestyle fix

2009-03-20 Thread noreply
revno: 95 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 11:42:36 +0100 message: dhis-web-dataentry: Codestyle fix modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/java/org/hisp/

Re: [Dhis2-devs] [Dhis-dev] Fw: Error while commiting to launchpad

2009-03-20 Thread Bob Jolliffe
This message does indicate that your bzr is using http rather than the configured ssh. This was the same problem Abyot had last week. Does giving commit access make the problem go away (in which case we should note it somewhere). Abyot what was your solution in the end? Bob 2009/3/20 Lars Helg

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Orvalho Joaquim Augusto
We need more info. Logs form postgres and tomcat. Configuration files for tomcat. Physical resources of you machine (RAM and CPU) Operating System and FileSystem From my experience this is issued much probably by JVM/Tomcat. I am not sure... but it seems that someone have discussed this here be

[Dhis2-devs] [Bug 344752] Re: Unable to select Current Quarterly period in DataEntryScreen

2009-03-20 Thread Lars Helge Øverland
This is bug but not because the first quarter isn't over yet. The way I see it it's a logical flaw in the method that generates the available period list. For some reason periods that are not persisted in the database are filtered from the available periods. This is weird as periods are not persis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 94: dhis-web-dataentry: fixed bug lp:344752 unable to select current quarterly period in dataentryscreen

2009-03-20 Thread noreply
revno: 94 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-03-20 11:30:30 +0100 message: dhis-web-dataentry: fixed bug lp:344752 unable to select current quarterly period in dataentryscreen mod

Re: [Dhis2-devs] Out of memorry

2009-03-20 Thread Lars Helge Øverland
> > Tweaking memory settings in Postgres (if that is what you are using?) > can lead to decreased performance unless you are quite careful and > methodical. But, if you do have posgres logs it would help to see them > as well. > > As for Postgres memory optimization I am only increasing the shared

Re: [Dhis2-devs] Out of memorry

2009-03-20 Thread Jason Pickering
As Lars points out, there are a lot of messages on this archive related to this issue. Just a word of caution..I would doubt that it would be a problem with Postgres, and would caution you if you start to try and optimize the memory settings beyond what is in the default configuration file. Tweaki

Re: [Dhis2-devs] Out of memorry

2009-03-20 Thread Lars Helge Øverland
On Fri, Mar 20, 2009 at 10:14 AM, Thuy Nguyen wrote: > Dear all, > > We HISP Vietnam team meet a problem and need solution to solve. Currently > DHIS2 of HISP Vietnam using report module to generate reports which created > by BIRT report designer. On the March 19th, 2009 there was a training class

Re: [Dhis2-devs] [Dhis-dev] Fw: Error while commiting to launchpad

2009-03-20 Thread Lars Helge Øverland
On Fri, Mar 20, 2009 at 10:17 AM, Seid Hussein wrote: > Sorry maybe I sent to the wrong list the first time > Hi, I have given you committ access to the repo, try agin. PS If you are committing to the global part of the repo, please send a patch so I can have a quick look first... Lars __

Re: [Dhis2-devs] Out of memorry

2009-03-20 Thread Jason Pickering
What parameters are you using for Tomcat when you start up? What version of Tomcat and Java? Which OS? Also, if you could include any logs for Tomcat for when the problems started happening, this would be useful. On Fri, Mar 20, 2009 at 11:14 AM, Thuy Nguyen wrote: > Dear all, > > We HISP Viet

[Dhis2-devs] Out of memorry

2009-03-20 Thread Thuy Nguyen
Dear all, We HISP Vietnam team meet a problem and need solution to solve. Currently DHIS2 of HISP Vietnam using report module to generate reports which created by BIRT report designer. On the March 19th, 2009 there was a training class for users to practice entering data and generating reports. Th