Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Morten Olav Hansen
Hi Please be aware that there are differences from JSON to XML here. An empty collection in JSON is set to empty, but an empty collection in xml is set to -null-, so please never include an empty collection if you are using XML. -- Morten On Wed, Jul 1, 2015 at 2:22 AM, Halvdan Grelland

Re: [Dhis2-devs] [Dhis2-users] Need help with Multiple Events with Registration

2015-06-30 Thread Asiz koju
I am using version 2.18 and did experimented with 2.19 as well. I have downloaded the DHIS 2 Live (for windows) from dhis2.org and i am confused if i have to configure anything. Asiz From: morte...@gmail.com Date: Wed, 1 Jul 2015 12:11:34 +0700 Subject: Re: [Dhis2-users] Need help with

[Dhis2-devs] Need Help with Android SDK for DHIS

2015-06-30 Thread Harsh Atal
Hi We are planning to make an android application that interacts with a DHIS server. For this we plan to use the DHIS Android SDK available on Github -[ https://github.com/dhis2/dhis2-android-sdk]. But there is no release version available yet as the project is still in alpha phase. When is it

Re: [Dhis2-devs] [Dhis2-users] [Bug 1467115] [NEW] Data values not found

2015-06-30 Thread Lionel Ruberintwari
on my side it shows empty too, see the snapshot attached On Sun, Jun 21, 2015 at 8:42 AM, Uddin Fatema fatema...@gmail.com wrote: It shows empty On Sun, Jun 21, 2015 at 1:27 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Could you report the result of the following query? Does it

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19526: Fixed bug - Exception thrown when deleting a tracked entity instance from caseentry module

2015-06-30 Thread noreply
revno: 19526 committer: Tran Chautran.hispviet...@gmail.com branch nick: dhis2 timestamp: Wed 2015-07-01 12:49:17 +0700 message: Fixed bug - Exception thrown when deleting a tracked entity instance from caseentry module modified:

[Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Calle Hedberg
Hi, I'm not sure what's going on: when opening the Sierra Leone demo, a lot of text strings are appearing as a string of box symbols. The detailed meta-data export also do not work - I've tried both on the demo and on my local instances. All exported XML files are ~257 bytes in length and

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Halvdan Grelland
Hi Dan, I was able to reproduce the issue on our demo server. It seems to be due to the empty attributevalues-element. Removing it caused the import to work as expected. Why this is, however, I do not know. We are currently looking into a separate AttributeValue-related issue with the importer,

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Dan Cocos
Thank you! I’ve also found that trying to delete OUs via the API causes a 504 Request method 'DELETE' not supported Are we not able to delete OUs via the API? On Jun 30, 2015, at 1:15 PM, Halvdan Grelland halvda...@gmail.com wrote: Hi Dan, I was able to reproduce the issue on our demo

[Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Dan Cocos
Hi All, I’m trying to post a simple XML file to create an OU the following is curl call and the contents of the file (ou.xml) curl -d @ou.xml https://example.com/api/organistaionUnits; -X POST -H Content-Type: application/xml -u admin:district organisationUnit id=IheTV7ihHgI level=6

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Halvdan Grelland
I'm assuming you meant a 405 (method not supported)? A 504 is a gateway timeout, which doesn't seem applicable. You should be able to delete orgunits through the same endpoint. Example: curl -v -X DELETE https://server/api/organisationUnits/id -u user:password (I tried it on the one i created

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Calle Hedberg
Halvdan, Yes, I tried Chrome on my laptop and then Firefox on my main dev PC - same problem. Are you able to for instance export data validation groups from the demo? (with the xml file NOT being empty)? regards Calle On 30 June 2015 at 18:53, Halvdan Grelland halvda...@gmail.com wrote:

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Halvdan Grelland
Answering your first question: it's most likely a font/encoding issue (the language for the demo is currently set to Burmese). Did you try a different browser? 2015-06-30 18:43 GMT+02:00 Calle Hedberg calle.hedb...@gmail.com: Hi, I'm not sure what's going on: when opening the Sierra Leone

[Dhis2-devs] Error 503 Service Unavailable

2015-06-30 Thread gerald thomas
Dear All, I installed dhis2 using the dhis2-tool and it was successful and it was working. Late this evening i was checking on the server it shows Service Unavailable Error 503. Please find the attached view of my browser. Please help -- Regards, Gerald

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Halvdan Grelland
I cannot see anything wrong with the output of the detailed metadata export on the demo. Did you try it for yourself at https://apps.dhis2.org/demo/ ? Is there an error in the logs? The font issue comes down to the machine you're on in any case. I have the same issue on my (virtual) Windows box.

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Dan Cocos
To follow up I just discovered why it wasn’t working I had a typo in the URL, though the error was a bit misleading. On Jun 30, 2015, at 1:44 PM, Dan Cocos d...@dancocos.com wrote: I still get an error when I try with the following, I’ve attached a copy of the complete stack trace.

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Halvdan Grelland
Ok. It would be good to know the typo in question. Doesn't seem like a reasonable response for a misspelled url. 2015-06-30 21:15 GMT+02:00 Dan Cocos d...@dancocos.com: To follow up I just discovered why it wasn’t working I had a typo in the URL, though the error was a bit misleading. On

Re: [Dhis2-devs] Problem Posting to XML to Web API

2015-06-30 Thread Halvdan Grelland
I am unable to reproduce the issue on the 2.19 demo server. What version are you on? The stack trace you've provided is unfortunately pretty sparse. Could you have a look in the tomcat log and see if there's some more? There's nothing pointing at the actual root cause in this one. 2015-06-30

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Calle Hedberg
Halvdan, Yes, I did try it for myself - but I didn't pick up that the demo had been changed to Myanmar language (stupid of me), that would explain all the funny characters. I don't have that language pack installed, obviously. I've just tried again now - the funny characters are all gone, of

[Dhis2-devs] Consultancy: custom reports

2015-06-30 Thread Benjamin Winters
Good morning all, Akros is in need of a person or institution who can provide ad hoc support for developing custom, PDF report templates from various DHIS2 instances in several countries. This support can be provided remotely. We have no educational or past performance minimum

Re: [Dhis2-devs] [Dhis2-users] Value not showing in Data Visualizer

2015-06-30 Thread gitika arora
A gentle reminder please. On Thu, Jun 11, 2015 at 4:11 AM, Bridget Magoba bridgetmag...@mifumi.org wrote: Hi all, Am still using 2.16 but facing the same problem, please help. *From:* Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba= mifumi@lists.launchpad.net] *On Behalf Of

[Dhis2-devs] Research on strengthening open source communities

2015-06-30 Thread Michael Drane
My name is Michael Drane and I'm the community manager over at iHRIS and the OpenHIE Health Worker Registry. We're doing some research on what makes strong and sustainable open source communities, especially those focused on lower and middle income countries. It would be great to have responses

Re: [Dhis2-devs] Error 503 Service Unavailable

2015-06-30 Thread Bob Jolliffe
This means your nginx frontend is fine but there is some problem with the toncat backend. Normally we see 502 (see https://www.dhis2.org/doc/snapshot/en/implementer/html/ch20s05.html). Check the logs of your dhis instance for what is bothering it. Maybe you are out of memory. On 30 June 2015 at

[Dhis2-devs] [Bug 1470257] Re: The ad-hoc meta-data Select all option do not work

2015-06-30 Thread Halvdan Hoem Grelland
The hook to select/deselect all on checkbox press seem to have been accidentally commented out. Fixed in 2.19 and trunk (but bug might exist revisions back to 2013). ** Changed in: dhis2 Assignee: (unassigned) = Halvdan Hoem Grelland (halvdanhg) ** Changed in: dhis2 Status: New = Fix

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Halvdan Grelland
Ok, so evidently the select all checkbox in the UI does nothing, causing the export to be empty. Selecting all the indicators (or whatever other object) in the dropdown using the button seems to work just fine. Use that workaround for now, and we'll get a fix for this out soon. 2015-06-30 22:48

Re: [Dhis2-devs] Sierra Leone database corrupted? Detailed meta-data export do not work?

2015-06-30 Thread Calle Hedberg
Halvdan, Sigh - my brain must be going on REALLY slow, I didn't even think about that way of doing it. Will you log a bug on this, or should I do it? Regards Calle On 30 June 2015 at 23:29, Halvdan Grelland halvda...@gmail.com wrote: Ok, so evidently the select all checkbox in the UI does

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19525: Fix issue where select all checkboxes did nothing.

2015-06-30 Thread noreply
revno: 19525 committer: Halvdan Hoem Grelland halvda...@gmail.com branch nick: dhis2 timestamp: Tue 2015-06-30 23:58:15 +0200 message: Fix issue where select all checkboxes did nothing. modified:

[Dhis2-devs] [Bug 1470257] [NEW] The ad-hoc meta-data Select all option do not work

2015-06-30 Thread Calle Hedberg
Public bug reported: The tick-box Select All under ad-hoc detailed meta-data export do not work - the exported xml file contains only the header lines. Selecting all meta elements from the list box do work. Regards Calle ** Affects: dhis2 Importance: Undecided Assignee: Halvdan Hoem