Re: [Dhis2-devs] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Calle Hedberg
Hi, In GENERAL you can import data exported from 2.24 into 2.26 - BUT there seems to be unresolved compatibility issues with the export files of SOME objects. You might be able to identify them by scrutinizing the relevant documentation (which, regrettably, isn't always 100% up-to-date), but I

Re: [Dhis2-devs] [Dhis2-users] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Morten Olav Hansen
Please note that the new importer is available in 2.24 as well, but not through the UI, you will need to use cURL (or a similar http client) and send the payload to /api/24/metadata curl -X POST -u username:password -d @filename.json -H "Content-Type: application/json"

[Dhis2-devs] Org Unit Levels (2.24 7088b7e)

2017-02-13 Thread Ifeanyi Okoye
Hello Everyone, We need some help/guidance with cleaning up our Org Unit levels. We initially created org units at 6 levels in a hierarchy i.e. (from top to bottom) National (1) -->State (2) -->Local Government Area (3)-->Comprehensive Site (4)-->Satellite Site (5) -->Outreach Site (6). We were

[Dhis2-devs] Output Raw Data in a matrix format -- DHIS2 2.24

2017-02-13 Thread Raminosoa Rabemanantsoa, Tantely
Dear Community, With DHIS2 2.24, I am trying to output raw data in a matrix format. I have used SQL View to output the data. Data values table is presented as following: *orgUnit UID, dataElement1, Value, Period* *orgUnit UID, dataElement2, Value, Period* *orgUnit UID, dataElement3,

Re: [Dhis2-devs] [Dhis2-users] Import of Organisation Units using CSV / working example with Features Type and Coordinates? [SOLVED]

2017-02-13 Thread Knut Staring
Thanks Stephen, We will update the documentation, it should definitely have a full example in addition to the minimal example that is there currently. Knut On Mon, Feb 13, 2017 at 4:16 PM, Stephen Macauley < stephen.macau...@inductivehealth.com> wrote: > Thanks Ant for your input! > > > > So

[Dhis2-devs] [Dhis2-users] Import of Organisation Units using CSV / working example with Features Type and Coordinates? [SOLVED]

2017-02-13 Thread Stephen Macauley
Thanks Ant for your input! So in debugging this further using the mapping from the Java source file (see below snippet from organisationUnitsFromCsv method in

Re: [Dhis2-devs] Program indicator "hasValue"

2017-02-13 Thread Olav Poppe
Hi again, any advice on this? Olav > 1. feb. 2017 kl. 13.40 skrev Olav Poppe : > > Hi devs, I’m trying (in 2.25) to make a program indicator counting events > where a specific data element has not been filled. > > Tested so far: > - d2:hasValue(‘wmSb9TmevMn.jeK5z6acB3N’)

Re: [Dhis2-devs] [Dhis2-users] My DHIS2 Reports app not loading

2017-02-13 Thread Calle Hedberg
Timothy, If you are using the latest version of 2.26, then the more stringent validation of URL characters in recent versions of Tomcat should be supported (for details on the 8.5.x changes, see http://tomcat.apache.org/tomcat-8.5-doc/changelog.html ) If your logs still indicate that this is a

Re: [Dhis2-devs] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Calle Hedberg
Hi, Importing a 165mb meta-data export file into 2.24 would be awfully slow, in particular if you have a lot of orgunits. I've regularly been exporting/importing ~10,000 OU records - even if I actually only wanted to update a few of them, but DHIS2 do not have any export filters for e.g.

Re: [Dhis2-devs] [Dhis2-users] My DHIS2 Reports app not loading

2017-02-13 Thread Jason Pickering
The important thing to look for is a JavaScript error from the server, namely an HTTP 400 error code. Could you sent your JavaScript console when you load the app? On Mon, Feb 13, 2017 at 5:57 PM, Timothy Kiyemba wrote: > Dear Gerald, > > I have tried replacing the war file

Re: [Dhis2-devs] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Anilkumar Kodi
Yes, we could see that process was still running, in logs we could see that there are no errors and it is creating, updating dataSets, orgUnits and orgGroups,.. etc. Thanks, Anil Kumar K On Mon, Feb 13, 2017 at 4:20 PM, Knut Staring wrote: > Are you sure the process was

Re: [Dhis2-devs] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Knut Staring
Are you sure the process was actually running? No errors in the Tomcat log? On Feb 13, 2017 10:43 AM, "Nalinikanth Meesala" wrote: > Hi, > > We are trying to import Meta data of dhis2 exported from (2.23) to our > local instance DHIS 2(2.24) [as import of the exported

[Dhis2-devs] Fwd: Import of DHIS metdata taking long time

2017-02-13 Thread Nalinikanth Meesala
Hi, We are trying to import Meta data of dhis2 exported from (2.23) to our local instance DHIS 2(2.24) [as import of the exported metadata is not working in DHIS 2.23 ]. The size of meta data is 164 mb can you please help in providing inputs to make the import faster. previously when we tried it

Re: [Dhis2-devs] How to find all Indicators that use a specific DataElement via the API?

2017-02-13 Thread Lars Helge Øverland
Hi Lorill, that is the best way at the moment. We do have primitive support for logical operators (applies to entire query) so you could combine it like this: https://play.dhis2.org/demo/api/indicators?filter=numerator:like:fbfJHSPpUQD=denominator:like:fbfJHSPpUQD=OR regards, Lars On Sat,

Re: [Dhis2-devs] [Dhis2-users] My DHIS2 Reports app not loading

2017-02-13 Thread Jason Pickering
Its hard to say if this is the same issue but it probably is. The issue is described here https://lists.launchpad.net/dhis2-users/msg12117.html Basically, newer version of Tomcat do not allow for the "|" character in URLs. So, if you have upgraded your operating system to a version which has

Re: [Dhis2-devs] [Dhis2-users] My DHIS2 Reports app not loading

2017-02-13 Thread gerald thomas
Kamugunga, If he had provided the logs then that should had been easy to confirm but currently the information seem like a bug on the war file. So the best option is to replace the war file and monitor the logs. If it is a tomcat issue it will definitely show on the logs. On Feb 13, 2017 08:14,

Re: [Dhis2-devs] [Dhis2-users] My DHIS2 Reports app not loading

2017-02-13 Thread Kamugunga Adolphe
Dear Gerald, This could be also related to your tomcat version, we had the similar issue here in Rwanda with data visualizer, pivot and event report apps not loading after upgrading to dhis 2.24. We have upgraded to our tomcat from 7.052 to 7.0.68 and it worked. Please trace back Bob,Lars, and