Re: [Dhis2-users] [Dhis2-devs] WEB API Error in DHIS2.30
Please note that 2.30 has not yet been officially released. But think the developers will look into fixing this issue. regards On Thu, Apr 19, 2018 at 11:17 PM, Adebusoye Anifalajewrote: > Hi Mahdi, > I am forwarding your request to the user list. This is the appropriate > forum for asking these sort of questions. > > Best. > Busoye. > > -- Forwarded message - > From: mahdi asgari > Date: Thu, 19 Apr 2018 at 20:25 > Subject: WEB API Error in DHIS2.30 > To: > > > Hi dear adebusoye > > I am using dhis2 version 2.30, compiled from github (last version), > When i try to create trackedEntity, i get the following error > I seem's TrackedEntity has been removed from TrackedEntityInstance > how i can fix the problem. > > ERROR: > {"httpStatus":"Internal Server Error","httpStatusCode":500," > status":"ERROR","message":"Unrecognized field \"trackedEntity\" (class > org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not > marked as ignorable (14 known properties: \"trackedEntityInstance\", > \"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\", > \"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\", > \"featureType\", \"attributes\", \"deleted\", \"relationships\", > \"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\": > \"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\": > \"iq6Pt6QzM4d\",\"trackedEntityType\": \"MCPQUTHX1Ze\",\"attributes\" > :[{\"attribute\":\"spFvx9FndA4\",\"value\":\"53\"},{\"attribute\":\" > w75KJ2mc4zz\",\"value\":\"\"},{\"attribute\":\" > hqtiQfZ66yc\",\"value\":\"??\"},{\"attribute\":\" > zDhUuAYrxNC\",\"value\":\"\"},{\"attribute\":\" > AuPLng5hLbE\",\"value\":\"51961113\"},{\"attribute\":\" > EO4ms2Ju3nf\",\"value\":\"1\"},{\"attribute\":\"gHGyrwKPzej\ > ",\"value\":\"2013-09-17\"},{\"attribute\":\"P2cwLGskgxn\",\ > "value\":\"123\"},{\"attribute\":\"Agywv2JGwuq\",\" > value\":\"\"}],\"enrollments\":[{\"orgUnit\": > \"iq6Pt6QzM4d\",\"program\": \"LaWt5AR1tfl\",\"enrollmentDate\": > \"2013-09-17\",\"incidentDate\": \"2013-09-17\"}]}; line: 1, column: 59] > (through reference chain: org.hisp.dhis.dxf2.events.trackedentity. > TrackedEntityInstance[\"trackedEntity\"])"} > > JSON DATA: > {"trackedEntityInstance": "IKjF4BZg3hb","orgUnit": > "iq6Pt6QzM4d","trackedEntity":"lp7Kq6QzS4d","trackedEntityType": > "MCPQUTHX1Ze","attributes":[{"attribute":"spFvx9FndA4"," > value":"53","attribute":"w75KJ2mc4zz","value":""," > attribute":"hqtiQfZ66yc","value":"??","attribute":" > zDhUuAYrxNC","value":"","attribute":"AuPLng5hLbE"," > value":"51961113","attribute":"EO4ms2Ju3nf","value":"1"," > attribute":"gHGyrwKPzej","value":"2013-09-17","attribute":"P2cwLGskgxn"," > value":"123","attribute":"Agywv2JGwuq","value":""}],"enrollments":[{"orgUnit": > "iq6Pt6QzM4d","program": "LaWt5AR1tfl","enrollmentDate": > "2013-09-17","incidentDate": "2013-09-17"}]} > > thanks in advanced > -- > Forgive the typos. Using handheld device > > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-d...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > -- -- *Stephen Ocaya* Tel: +256 393 217 892 | Mob: +256774558980 www.stephocay.com SkypeID: stephocay ___ 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
[Dhis2-users] Format and nomenclature of an indicator
Hi again DHIS2 community. I am modifying some existing indicators created by another developer in DHIS2. As I was modifying the formula for numerator and denominator, I noticed that the data elements comprising the formula is made up of random characters enclose with {}. Is there possibly a way to view the data elements in its pure, original form (I.e. actual name of data elements and operators) instead of series of random characters ? Thanks and pleasant day! -- Alison O. Perez Linkedin Profile: ph.linkedin.com/pub/alison-perez/56/44/a65/ Website: http://zerepa.net Skype / IM: darth_ali "Daring ideas are like chessmen moved forward; they may be beaten, but they may start a winning game." -- Johann Wolfgang Goethe* ___ 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
[Dhis2-users] Change enrollment date in tracker
Hi all, How could I change enrollment date for created tracked entity instances in a tracker program ? Best, Thierry The DAI email disclaimer can be found at http://www.dai.com/disclaimer. ___ 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
Re: [Dhis2-users] WEB API Error in DHIS2.30
Hi Mahdi, I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions. Best. Busoye. -- Forwarded message - From: mahdi asgariDate: Thu, 19 Apr 2018 at 20:25 Subject: WEB API Error in DHIS2.30 To: Hi dear adebusoye I am using dhis2 version 2.30, compiled from github (last version), When i try to create trackedEntity, i get the following error I seem's TrackedEntity has been removed from TrackedEntityInstance how i can fix the problem. ERROR: {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR","message":"Unrecognized field \"trackedEntity\" (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked as ignorable (14 known properties: \"trackedEntityInstance\", \"lastUpdatedAtClient\", \"lastUpdated\", \"createdAtClient\", \"trackedEntityType\", \"orgUnit\", \"inactive\", \"enrollments\", \"featureType\", \"attributes\", \"deleted\", \"relationships\", \"created\", \"coordinates\"])\n at [Source: {\"trackedEntityInstance\": \"IKjF4BZg3hb\",\"trackedEntity\": \"nEenWmSyUEp\",\"orgUnit\": \"iq6Pt6QzM4d\",\"trackedEntityType\": \"MCPQUTHX1Ze\",\"attributes\":[{\"attribute\":\"spFvx9FndA4\",\"value\":\"53\"},{\"attribute\":\"w75KJ2mc4zz\",\"value\":\"\"},{\"attribute\":\"hqtiQfZ66yc\",\"value\":\"??\"},{\"attribute\":\"zDhUuAYrxNC\",\"value\":\"\"},{\"attribute\":\"AuPLng5hLbE\",\"value\":\"51961113\"},{\"attribute\":\"EO4ms2Ju3nf\",\"value\":\"1\"},{\"attribute\":\"gHGyrwKPzej\",\"value\":\"2013-09-17\"},{\"attribute\":\"P2cwLGskgxn\",\"value\":\"123\"},{\"attribute\":\"Agywv2JGwuq\",\"value\":\"\"}],\"enrollments\":[{\"orgUnit\": \"iq6Pt6QzM4d\",\"program\": \"LaWt5AR1tfl\",\"enrollmentDate\": \"2013-09-17\",\"incidentDate\": \"2013-09-17\"}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[\"trackedEntity\"])"} JSON DATA: {"trackedEntityInstance": "IKjF4BZg3hb","orgUnit": "iq6Pt6QzM4d","trackedEntity":"lp7Kq6QzS4d","trackedEntityType": "MCPQUTHX1Ze","attributes":[{"attribute":"spFvx9FndA4","value":"53","attribute":"w75KJ2mc4zz","value":"","attribute":"hqtiQfZ66yc","value":"??","attribute":"zDhUuAYrxNC","value":"","attribute":"AuPLng5hLbE","value":"51961113","attribute":"EO4ms2Ju3nf","value":"1","attribute":"gHGyrwKPzej","value":"2013-09-17","attribute":"P2cwLGskgxn","value":"123","attribute":"Agywv2JGwuq","value":""}],"enrollments":[{"orgUnit": "iq6Pt6QzM4d","program": "LaWt5AR1tfl","enrollmentDate": "2013-09-17","incidentDate": "2013-09-17"}]} thanks in advanced -- Forgive the typos. Using handheld device ___ 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
Re: [Dhis2-users] How do I deal with 502 Bad gateway?
Thanks, I'll check it out. == Isaiah Nyabuto +254729572616 Bsc. Health Records Management and Informatics On Apr 19, 2018 12:58, "tuzo engelbert"wrote: > Dear Isaiah, > > You can use uptime roobot to monitor your up and down of the system and > here is the link https://uptimerobot.com/index.php#mainDashboard > > > Thanks > > On Thu, Apr 19, 2018 at 12:49 PM, Isaiah Nyabuto > wrote: > >> Thanks all, >> >> Unfortunately, I do not have access to the server and I can do nothing >> about it. >> >> If I may ask, could there be something that monitors the tomcat instance >> and can regularly restarts it if need be? >> >> That might be very useful. >> >> Thanks >> >> On Thu, Apr 19, 2018 at 12:29 PM, Ocaya Stephen >> wrote: >> >>> Hi, Most likely, the server is not running. Please ensure that the >>> server is running and accessible via the set port >>> >>> regards >>> >>> On Thu, Apr 19, 2018 at 12:24 PM, Isaiah Nyabuto < >>> isaiahnyab...@gmail.com> wrote: >>> Dear DHIS2 users, I am working on a super fast internet access *13 Mbps* but I get the bad gateway. I have cleared my browser cache several times still nothing changes! Please how do I go about this when everything fails? Any helps and workarounds will be appreciated. Thanks -- Isaiah Nyabuto +254 729 572 616 Bsc. Health Records Management & Informatics, JKUAT. ___ 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 >>> >>> >>> -- >>> -- >>> *Stephen Ocaya* >>> Tel: +256 393 217 892 | Mob: +256774558980 >>> www.stephocay.com >>> SkypeID: stephocay >>> >> >> >> >> -- >> >> >> Isaiah Nyabuto >> +254 729 572 616 >> Bsc. Health Records Management & Informatics, JKUAT. >> >> ___ >> 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
[Dhis2-users] YouTube videos and resources still supported in the dashboard?
A desktop app to display videos was introduced in 2.23, but seems to no longer be available? https://www.dhis2.org/images/223/social-media-dashboard-app.png Also, uploading files as a resource does not seem to work anymore. These issues should probably be reported in JIRA? Knut ___ 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
Re: [Dhis2-users] [Dhis2-devs] Get number of days between two event dates in different program stages
Hi DHIS2 does not currently support V{event_date} for a specific stage - it will always pick the anchor/report date for the most current event. This is supposed to be fixed in 2.30 - see JIRA issue DHIS2-1397 Regards Calle On 19 April 2018 at 06:13, Marko David Garciawrote: > Hello friends!. > Is there a solution for 2.25 version?. > Thank you very much. > Regards. > > Cordialmente, > > *Marko David Garcia M.* > *Skype: marko_david* > > 2018-04-11 1:54 GMT-05:00 Edouard Lavaud : > >> Hi Rady, >> >> I used a kind of hack for doing that: >> >> I first used a program rule to copy the event_date into a new data >> element of the program stage (so, yup, the date is kind of duplicated >> in the stage). >> >> However then I could create a program rule variable to fetch this date >> I wanted, and compare it with another one. >> >> Hope this could help. >> >> Best, >> >> Edouard >> >> 2018-04-11 6:39 UTC+02:00, Rady : >> > Hello DHIS2 community, >> > >> > I have a doubt how to get number of days between two event dates in >> > different program stages. For example, >> > *d2:daysBetween(programstage1.V{event_date},programstage2.V{ >> event_date})*. >> > >> > Anybody used to have experience on this? please help. >> > >> > Thanks, >> > Rady >> > >> >> >> -- >> *Edouard Lavaud, * >> >> >> >> *MSc in Health Policy, Planning & FinancingMEng in >> TelecommunicationUniversity Diploma in ICT for Health* >> *Email:* edouard.lav...@gmail.com >> *Mobile:* 0033 6 7210 23 59 >> >> ___ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : dhis2-d...@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-d...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > > -- *** Calle Hedberg 46D Alma Road, 7700 Rosebank, SOUTH AFRICA Tel/fax (home): +27-21-685-6472 Cell: +27-82-853-5352 Iridium SatPhone: +8816-315-19119 Email: calle.hedb...@gmail.com Skype: calle_hedberg *** ___ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp
Re: [Dhis2-users] How do I deal with 502 Bad gateway?
Dear Isaiah, You can use uptime roobot to monitor your up and down of the system and here is the link https://uptimerobot.com/index.php#mainDashboard Thanks On Thu, Apr 19, 2018 at 12:49 PM, Isaiah Nyabutowrote: > Thanks all, > > Unfortunately, I do not have access to the server and I can do nothing > about it. > > If I may ask, could there be something that monitors the tomcat instance > and can regularly restarts it if need be? > > That might be very useful. > > Thanks > > On Thu, Apr 19, 2018 at 12:29 PM, Ocaya Stephen > wrote: > >> Hi, Most likely, the server is not running. Please ensure that the >> server is running and accessible via the set port >> >> regards >> >> On Thu, Apr 19, 2018 at 12:24 PM, Isaiah Nyabuto > > wrote: >> >>> Dear DHIS2 users, >>> >>> I am working on a super fast internet access *13 Mbps* but I get the >>> bad gateway. >>> I have cleared my browser cache several times still nothing changes! >>> >>> Please how do I go about this when everything fails? >>> >>> Any helps and workarounds will be appreciated. >>> >>> Thanks >>> -- >>> >>> >>> Isaiah Nyabuto >>> +254 729 572 616 >>> Bsc. Health Records Management & Informatics, JKUAT. >>> >>> ___ >>> 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 >>> >>> >> >> >> -- >> -- >> *Stephen Ocaya* >> Tel: +256 393 217 892 | Mob: +256774558980 >> www.stephocay.com >> SkypeID: stephocay >> > > > > -- > > > Isaiah Nyabuto > +254 729 572 616 > Bsc. Health Records Management & Informatics, JKUAT. > > ___ > 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
Re: [Dhis2-users] How do I deal with 502 Bad gateway?
Thanks all, Unfortunately, I do not have access to the server and I can do nothing about it. If I may ask, could there be something that monitors the tomcat instance and can regularly restarts it if need be? That might be very useful. Thanks On Thu, Apr 19, 2018 at 12:29 PM, Ocaya Stephenwrote: > Hi, Most likely, the server is not running. Please ensure that the server > is running and accessible via the set port > > regards > > On Thu, Apr 19, 2018 at 12:24 PM, Isaiah Nyabuto > wrote: > >> Dear DHIS2 users, >> >> I am working on a super fast internet access *13 Mbps* but I get the bad >> gateway. >> I have cleared my browser cache several times still nothing changes! >> >> Please how do I go about this when everything fails? >> >> Any helps and workarounds will be appreciated. >> >> Thanks >> -- >> >> >> Isaiah Nyabuto >> +254 729 572 616 >> Bsc. Health Records Management & Informatics, JKUAT. >> >> ___ >> 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 >> >> > > > -- > -- > *Stephen Ocaya* > Tel: +256 393 217 892 | Mob: +256774558980 > www.stephocay.com > SkypeID: stephocay > -- Isaiah Nyabuto +254 729 572 616 Bsc. Health Records Management & Informatics, JKUAT. ___ 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
Re: [Dhis2-users] How do I deal with 502 Bad gateway?
Hi, Most likely, the server is not running. Please ensure that the server is running and accessible via the set port regards On Thu, Apr 19, 2018 at 12:24 PM, Isaiah Nyabutowrote: > Dear DHIS2 users, > > I am working on a super fast internet access *13 Mbps* but I get the bad > gateway. > I have cleared my browser cache several times still nothing changes! > > Please how do I go about this when everything fails? > > Any helps and workarounds will be appreciated. > > Thanks > -- > > > Isaiah Nyabuto > +254 729 572 616 > Bsc. Health Records Management & Informatics, JKUAT. > > ___ > 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 > > -- -- *Stephen Ocaya* Tel: +256 393 217 892 | Mob: +256774558980 www.stephocay.com SkypeID: stephocay ___ 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
Re: [Dhis2-users] How do I deal with 502 Bad gateway?
This usually indicates that your DHIS2 Tomcat instance is dead and needs to be restarted. Best regards, Jason On Thu, Apr 19, 2018 at 11:24 AM, Isaiah Nyabutowrote: > Dear DHIS2 users, > > I am working on a super fast internet access *13 Mbps* but I get the bad > gateway. > I have cleared my browser cache several times still nothing changes! > > Please how do I go about this when everything fails? > > Any helps and workarounds will be appreciated. > > Thanks > -- > > > Isaiah Nyabuto > +254 729 572 616 > Bsc. Health Records Management & Informatics, JKUAT. > > ___ > 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 > > -- Jason P. Pickering email: jason.p.picker...@gmail.com tel:+46764147049 ___ 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
[Dhis2-users] How do I deal with 502 Bad gateway?
Dear DHIS2 users, I am working on a super fast internet access *13 Mbps* but I get the bad gateway. I have cleared my browser cache several times still nothing changes! Please how do I go about this when everything fails? Any helps and workarounds will be appreciated. Thanks -- Isaiah Nyabuto +254 729 572 616 Bsc. Health Records Management & Informatics, JKUAT. ___ 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