Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Great!! we had to remove the '\n' characters and also the white spaces... now it is working! (I pay the beers next time in Oslo). Now, how '\n' and '\s' characters could be introduced in our database? It seems that our XMLs files are fine... (I can attach them if you want). Thanks guys! On Tue,

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Thanks Lars, I definitily will try to remove the '\n'. It is strange because we have '\n' in the coordinates of all org. units. I have checked the XMLs we have used for import, and they seem to be ok. Would it be related to a problem within the import process? It seems that only happens in 2.25...

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Lars Helge Øverland
Hi Jose, seems like you have a linebreak in your geojson, see: "\n" Likely not behaving well with json parsing. Try removing that. Lars On Mon, Oct 31, 2016 at 9:36 PM, Jose Garcia Muñoz wrote: > > Ok, I see, I think this is because of the blank spaces?? > > > > [{"id"

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Ok, I see, I think this is because of the blank spaces?? [{"id":"NC3WdxGafv5","code":"KH","na":"Cambodia","hcd":false,"hcu":true,"le":3,"pg":"/FvUGp8I75zV/aChOCLW4x6p","pi":"aChOCLW4x6p","pn":"Asia and Eastern Europe","ty":2,"co":"\n 102.9176,11.6358],[102.3792,13.5749],[102.599,13.6079],[

Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-31 Thread Sam Johnson
Hi Abyot, Deepest apologies, you’re right, I’ve just checked and this is exactly the same in 2.24. (I hadn’t noticed that I’d given all staff ‘data output’ permissions to the entire org unit tree.) And on reflection, this actually makes a lot of sense the way it is: if a user can see the indi

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Bjørn Sandvik
Hi Jose, Could you send the the results of the geoFeatures query than your GIS app is requesting? The coordinate format should be similar to: https://play.dhis2.org/demo/api/25/geoFeatures.json?ou=ou:LEVEL-2;ImspTQPwCqd&displayProperty=NAME "co": "-11.5914,8.4875],[-11.5906,8.4769],[-11.5898

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Thanks for the quick actions Jan, Bjorn, Almost there :). Now the GIS is being displayed, but whenver I want to display the bounderies of a country (or bounderies of any level) I'm getting the following error: The org. units have been imported from 2.22 to 2.25. It seems that everything is correc

[Dhis2-devs] ANDROID TRACKER CAPTURE

2016-10-31 Thread Stanley Kalyati
I am using DHIS2.2.24 and i downloaded the android tracker capture version from google play. I am able to connect to my instance but the organisation unit is bot loading despite giving all rights to the superuser account. Is there something i am missing? Kindly help. Regards Stanley __

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Thanks Abyot, Bjorn, Abyot, the API didn't give us any error, so I really don't know what the problem may be Bjorn, thanks, will try your fix in the following hours and let you know Cheers Jose On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik wrote: > Hi Jose, > > I've applied a fix, so please

Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-31 Thread Abyot Asalefew Gizaw
Hi Sam, Yes, by data view I meant data output and analysis organisation units. Nothing has changed in 2.25. What we have so far, TEI search organisation unit applies only for tracked entity instances. As I mentioned in my earlier mail, we need to do some work from server side so that we allow not

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Bjørn Sandvik
Hi Jose, I've applied a fix, so please check the latest version of DHIS 2.25. The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start. The functionality in GIS app is of course still limited if you have an em

Re: [Dhis2-devs] Event report tables added to dashboards are displayed 'blank' when period is selected as Start-End dates (2.25)

2016-10-31 Thread Alejandro
Hi! Mmm. In our case, 2.25, it is just related to that type of period (*Start/end dates'*), Other Event Reports tables are well rendered in dashboards and correctly opened in Event Report module (see below)... [image: Inline image 1] Regards! Alejandro On Wed, Oct 26, 2016 at 10:55 AM, Archana

Re: [Dhis2-devs] [DHIS] Updating Program Version

2016-10-31 Thread Alejandro
Hi! In relation to this thread, we have noticed that whenever the program version gets incremented, ProgramTrackedEntityAttributes ids change. This leads to an error during metadata export to another DHIS2 instance (in which the program already exists) due to ProgramTrackedEntityAttributes id inco

Re: [Dhis2-devs] Tracker - enter data for different stages in programme in different orgunits

2016-10-31 Thread Sam Johnson
Hi Abyot and Olav, I’m very interested in this thread, but really confused by it. ;-) What do you mean by ‘data view’ org units – are you referring to ‘Data output and analysis organisation units’? Like Olav, my understanding was that this should be handled by ‘Assign search org units’ – ie i

[Dhis2-devs] Confirming 'official' handling of Yes and No in program indicators

2016-10-31 Thread Sam Johnson
Hi Devs, I’ve been working on some quite complex program indicators, and before I commit them to production, I would be very grateful if you could confirm how Yes and No are supposed to be handled in program indicator expressions. I’ve noticed that within the program indicators, they currently

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Abyot Asalefew Gizaw
ok, may be then you have a different problem. I got same problem and assigning infrastructural elements fixed it... can you check into your browser console and look for any web api request that has failed? -- Abyot A. Gizaw. Senior Engineer, DHIS2 University of Oslo http://www.dhis2.org On Mon,

Re: [Dhis2-devs] [Dhis2-users] GIS failing to load in 2.25

2016-10-31 Thread Jose Garcia Muñoz
Thanks Abyott, I have created an infrastructural dataelements in the General Settings but still not working (I have clean the cache also). This the error I'm getting: /dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse () at success (https://sandbox.p

[Dhis2-devs] Any idea what is going on here?

2016-10-31 Thread Knut Staring
v2.24: INFO 2016-10-31 13:02:39,326 'eiphyu' update org.hisp.dhis.user.UserCredentials, name: Ei Phyu Naypyitaw, uid: dSnBO7gErkn (AuditLogUtil.java [tomcat-http-1]) * WARN 2016-10-31 13:11:15,733 Grid will be truncated, no of columns is greater than JXL max limit: 541/256 (GridUtils.java [tom