Abyot, thank you for the help. I decided to re-install DHIS2 and downgrade PostgreSQL to 9.4, it work nicely now. I can input data on tracker capture and get the reports.
One quick question, is there any way to import tracked entity instance from csv file? I read the guides but it only has explanation on importing from xml or json. Unfortunately, I don't understand that much. It would be convenient if I use csv to import Thanks again for your kind help. -- Karin. On 16 January 2017 at 17:04, Abyot Asalefew Gizaw <ab...@dhis2.org> wrote: > Hi Karina, > > We are working on the fix. The error you got is something that should be > addressed, unfortunately we are not able to reproduce it here. Is there any > possibility to access your system or share your db privately (in case you > are working locally on a test db)? > > -- > Abyot A. Gizaw. > Senior Engineer, DHIS2 > University of Oslo > http://www.dhis2.org > > On Mon, Jan 16, 2017 at 4:25 AM, Karina Dian Lestari < > karinadnl...@gmail.com> wrote: > >> Hi, >> >> Has anyone experiencing this problem? >> I would be so grateful if anyone can help me to fix this. >> >> Thank you very much. >> >> >> -- >> Karin. >> >> On 13 January 2017 at 16:41, Karina Dian Lestari <karinadnl...@gmail.com> >> wrote: >> >> > Sorry if I misunderstood, do you mean this? >> > >> > >> > 1. {trackedEntityInstance: "QtFqVt2NZ6l", program: "i7udy8Ca0SQ", >> > status: "ACTIVE",…} >> > 1. coordinate:{latitude: -2.96624, longitude: 115.2057} >> > 1. latitude:-2.96624 >> > 2. longitude:115.2057 >> > 2. enrollmentDate:"2015-10-01" >> > 3. incidentDate:"2017-01-13" >> > 4. orgUnit:"iKkGAHawI7H" >> > 5. program:"i7udy8Ca0SQ" >> > 6. status:"ACTIVE" >> > 7. trackedEntityInstance:"QtFqVt2NZ6l" >> >> > >> > >> > >> > [image: Inline images 1] >> > >> > [image: Inline images 2] >> > >> > Any reason why the server is complaining for missing organisation unit? >> > >> > Thank you. >> > >> > >> > >> > -- >> > Karin. >> > >> > On 13 January 2017 at 16:06, Abyot Asalefew Gizaw <ab...@dhis2.org> >> wrote: >> > >> >> Hi Karina, >> >> >> >> Click on the POST request and see what payload was sent to the server. >> >> The server is complaining for missing organisation unit. >> >> >> >> -- >> >> Abyot A. Gizaw. >> >> Senior Engineer, DHIS2 >> >> University of Oslo >> >> http://www.dhis2.org >> >> >> >> On Fri, Jan 13, 2017 at 9:52 AM, Karina Dian Lestari < >> >> karinadnl...@gmail.com> wrote: >> >> >> >>> Hi Abyot, >> >>> >> >>> It looked like when I first opened Tracker Capture menu. I see this >> red >> >>> response: GET http://localhost:8080/dhis/api >> >>> /userDataStore/gridColumns/trackerCaptureGridColumns 404 (). I >> clicked >> >>> the link and it gave me this: {"httpStatus":"Not >> >>> Found","httpStatusCode":404,"status":"ERROR","message":"The key >> >>> 'trackerCaptureGridColumns' was not found in the namespace >> 'gridColumns'."} >> >>> >> >>> [image: Inline images 1] >> >>> >> >>> >> >>> After I clicked 'save and continue', I get this red response: POST >> >>> http://localhost:8080/dhis/api/enrollments 409 () and it lead me to >> >>> this {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERRO >> R","message":"At >> >>> least one organisation unit must be specified"} >> >>> >> >>> [image: Inline images 2] >> >>> >> >>> >> >>> By attribute, do you mean tracked entity attribute? I only have 9 and >> >>> all of them are different >> >>> [image: Inline images 3] >> >>> >> >>> >> >>> >> >>> Thanks for your help. >> >>> >> >>> >> >>> >> >>> -- >> >>> Karin. >> >>> >> >>> On 13 January 2017 at 15:09, Abyot Asalefew Gizaw <ab...@dhis2.org> >> >>> wrote: >> >>> >> >>>> Hi, >> >>>> >> >>>> The log says saving enrollment has failed - see the 409 response from >> >>>> the POST request. >> >>>> >> >>>> Can you do it one more time with the network tab of your browser >> open? >> >>>> Copy whatever the server has returned for the failed response (the >> one in >> >>>> red) and send us. We will try fix. Most probably you have some >> attribute >> >>>> configurations that did go well. Do you have any attribute configured >> >>>> unique? >> >>>> >> >>>> -- >> >>>> Abyot A. Gizaw. >> >>>> Senior Engineer, DHIS2 >> >>>> University of Oslo >> >>>> http://www.dhis2.org >> >>>> >> >>>> On Fri, Jan 13, 2017 at 5:07 AM, Karina Dian Lestari < >> >>>> karinadnl...@gmail.com> wrote: >> >>>> >> >>>>> Hi all, >> >>>>> >> >>>>> I am developing tracker capture to store individual data. I made 6 >> >>>>> stages of the program, but couldn't even get pass though stage 1 >> because >> >>>>> everytime I click 'save and continue' it omit a message like this. >> >>>>> >> >>>>> [image: Inline images 1] >> >>>>> >> >>>>> This is on version 2.25 build revision 725d1c3. >> >>>>> Am I missing any step to use tracker capture? >> >>>>> >> >>>>> Kindly see attached file to see catalina and localhost log. >> >>>>> >> >>>>> Thank you. >> >>>>> >> >>>>> -- >> >>>>> Karin. >> >>>>> >> >>>>> _______________________________________________ >> >>>>> Mailing list: https://launchpad.net/~dhis2-users >> >>>>> Post to : dhis2-users@lists.launchpad.net >> >>>>> Unsubscribe : https://launchpad.net/~dhis2-users >> >>>>> More help : https://help.launchpad.net/ListHelp >> >>>>> >> >>>>> >> >>>> >> >>> >> >> >> > >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-users >> Post to : dhis2-users@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-users >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp