Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Moemedi Ntunyane
Sep 2014 09:37:36 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... To: moemedi.ntuny...@hotmail.com CC: jason.p.picker...@gmail.com; dhis2-devs@lists.launchpad.net Depending on how much of configuration you have in your database, one option could be to start afresh - doing metadata

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Knut Staring
ll value in column "iso" > violates not-null constraint. > > > > > *Moemedi NtunyaneCo-founder KeyInConsulting* > > > -- > Date: Tue, 16 Sep 2014 09:18:20 +0200 > > Subject: Re: [Dhis2-devs] periodstructure giving errors... > F

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Jason Pickering
gt; > > > *Moemedi NtunyaneCo-founder KeyInConsulting* > > > -- > Date: Tue, 16 Sep 2014 09:18:20 +0200 > > Subject: Re: [Dhis2-devs] periodstructure giving errors... > From: jason.p.picker...@gmail.com > To: moemedi.ntuny...@hotmail.com &g

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Moemedi Ntunyane
ue, 16 Sep 2014 09:18:20 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... From: jason.p.picker...@gmail.com To: moemedi.ntuny...@hotmail.com CC: larshe...@gmail.com; dhis2-devs@lists.launchpad.net Yeah, well, I can't offer much more advice other in this case. We had similar

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Jason Pickering
tunyaneCo-founder KeyInConsulting* > > > -- > Date: Tue, 16 Sep 2014 06:09:43 +0200 > Subject: Re: [Dhis2-devs] periodstructure giving errors... > From: jason.p.picker...@gmail.com > To: moemedi.ntuny...@hotmail.com > CC: larshe...@gmail.com; dhis2-devs@lists.launchpad.net > >

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-16 Thread Moemedi Ntunyane
I cleared cache and even restarted my tomcat server Moemedi Ntunyane Co-founder KeyInConsulting Date: Tue, 16 Sep 2014 06:09:43 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... From: jason.p.picker...@gmail.com To: moemedi.ntuny...@hotmail.com CC: larshe...@gmail.com; dhis2-devs

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Jason Pickering
t; > > *Moemedi NtunyaneCo-founder KeyInConsulting* > > > -- > From: moemedi.ntuny...@hotmail.com > To: larshe...@gmail.com; jason.p.picker...@gmail.com > CC: dhis2-devs@lists.launchpad.net > Subject: RE: [Dhis2-devs] periodstructure giving errors... > Date: Mon, 15 Se

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Moemedi Ntunyane
LException: ERROR: null value in column "iso" violates not-null constraint. Moemedi Ntunyane Co-founder KeyInConsulting From: moemedi.ntuny...@hotmail.com To: larshe...@gmail.com; jason.p.picker...@gmail.com CC: dhis2-devs@lists.launchpad.net Subject: RE: [Dhis2-devs] periodstructure g

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Moemedi Ntunyane
Hi Lars, I have not done that. Im only capturing statistical data. Regards, Moemedi Ntunyane Co-founder KeyInConsulting Date: Mon, 15 Sep 2014 16:10:13 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... From: larshe...@gmail.com To: jason.p.picker...@gmail.com CC: moemedi.ntuny

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Jason Pickering
-founder KeyInConsulting* > > > -- > Date: Mon, 15 Sep 2014 16:01:08 +0200 > > Subject: Re: [Dhis2-devs] periodstructure giving errors... > From: jason.p.picker...@gmail.com > To: moemedi.ntuny...@hotmail.com > CC: dhis2-devs@lists.launchpad.net > > I suspect

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Moemedi Ntunyane
Mon, 15 Sep 2014 12:22:31 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... From: jason.p.picker...@gmail.com To: moemedi.ntuny...@hotmail.com CC: dhis2-devs@lists.launchpad.net So, the period 1589;6;"2010-02-01";"2010-02-28 , points to a yearly period type, which is

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread busoye
Exception: ERROR: null value in column "iso" violates > not-null constraint. > > Regards, > > Moemedi Ntunyane > Co-founder KeyInConsulting > > - > Date: Mon, 15 Sep 2014 12:22:31 +0200 > > Subject: Re: [Dhis2-devs] periodstructure giving errors... &g

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Lars Helge Ă˜verland
s (?,?,?,?,?,?,?,?,?,?,?,?,?)]; ERROR: null value in >> column "iso" violates not-null constraint; nested exception is >> org.postgresql.util.PSQLException: ERROR: null value in column "iso" >> violates not-null constraint. >> >> Regards, >> >> >> *

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Jason Pickering
mat is > available as: > > 1573;6;"2010-01-01";"2010-01-31" > 1589;6;"2010-02-01";"2010-02-28" > > The error available shows that there is key violation for null values for > iso column in the periodstructure table. > > > > > *Moemedi NtunyaneCo-founder KeyIn

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Moemedi Ntunyane
01";"2010-01-31" 1589;6;"2010-02-01";"2010-02-28" The error available shows that there is key violation for null values for iso column in the periodstructure table. Moemedi Ntunyane Co-founder KeyInConsulting Date: Mon, 15 Sep 2014 11:46:07 +0200 Subje

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Jason Pickering
;;"2010-02-28" > > The error available shows that there is key violation for null values for > iso column in the periodstructure table. > > > > > *Moemedi NtunyaneCo-founder KeyInConsulting* > > > -- > Date: Mon, 15 Sep 2014

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Moemedi Ntunyane
le shows that there is key violation for null values for iso column in the periodstructure table. Moemedi Ntunyane Co-founder KeyInConsulting Date: Mon, 15 Sep 2014 11:46:07 +0200 Subject: Re: [Dhis2-devs] periodstructure giving errors... From: jason.p.picker...@gmail.com To: moe

Re: [Dhis2-devs] periodstructure giving errors...

2014-09-15 Thread Jason Pickering
Very likely you have an invalid period in the periods table. Can you run this and see what happens? SELECT * FROM period where age(enddate,startdate) != '1 year'::interval and periodtypeid = (SELECT periodtypeid from periodtype where name = 'Yearly'); Also, you should get an error which will hel