Re: [Dhis2-devs] Batch lock exceptions

2015-06-30 Thread Jason Pickering
Also, while I am at it, I wonder why we need the "lockexceptionid" at all on the lockexception table? Isn't organisationunitid/periodid/datasetid enough as a primary key? What is the need for this integer primary key? Regards, Jason On Wed, Jul 1, 2015 at 8:30 AM, Jason Pickering wrote: > Mana

Re: [Dhis2-devs] Batch lock exceptions

2015-06-30 Thread Jason Pickering
Managed to find this rather old message and had a question. I need to generate a large number of lock exceptions, and using the UI has a couple of issues. 1) I need to select certain children of a given parent, which actually are assigned to the data set. However, when I select the top level node

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

2015-06-30 Thread Morten Olav Hansen
Ok, sounds strange. I'm not sure if live is 100% compatible with tracker or not, but I'm sure there are others that can answer that (it uses a different database) -- Morten On Wed, Jul 1, 2015 at 12:30 PM, Asiz koju wrote: > I am using version 2.18 and did experimented with 2.19 as well. I have

[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 Chau 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: dhis-2/dhis-services/dhis-se

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 "Multipl

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

2015-06-30 Thread Morten Olav Hansen
What version of dhis is this? did you start with an empty database? -- Morten On Wed, Jul 1, 2015 at 12:08 PM, Asiz koju wrote: > Dear all, > > Can anyone help me with following issue? > > > > 1. Created an orgi unit > > 2. Created some attributes (First Name, Last Name) > > 3. Created some opt

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19296: WIP proper error reporting on failed GML parsing during import

2015-06-30 Thread Morten Olav Hansen
Hi guys I've been trying to reproduce your bug this morning, but I'm not able to. I restored the db, and imported the xml without any issues, I tested on both 2.19 and 2.20, so I will need more information to reproduce. This was the command I used to import: curl -X POST -d @dxfstream.xml -H "Con

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 wrote:

[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 => Fi

[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 Ho

[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 branch nick: dhis2 timestamp: Tue 2015-06-30 23:58:15 +0200 message: Fix issue where select all checkboxes did nothing. modified: dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dh

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 wrote: > Ok, so evidently the select all checkbox in the UI does nothing, causing > th

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] 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

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 cour

[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] 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 : > 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, a

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. I

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 wrote: > > > I still get an error when I try with the following, I’ve attached a copy of > the complete stack trace. > > xmlns="http

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 19:4

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

2015-06-30 Thread Dan Cocos
I still get an error when I try with the following, I’ve attached a copy of the complete stack trace.http://dhis2.org/schema/dxf/2.0"> false 2015-05-20T23:00:00.000+ BAO Test or this http://dhis2.org/schema/dxf/2.0"> false 2015-05-20T23:00:00.000+ BAO Test Title: Apache Tomcat/7.0.54 -

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/" -u user:password (I tried it on the one i created on

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 wrote: > > Hi Dan, > > I was able to reproduce the issue on our demo server. It seems

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 wrote: > Answering your first qu

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, wh

[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 http://dhis2.org/schema/dxf/2.0";> fa

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 : > Hi, > > I'm not sure what's going on: when opening the Sierra Leone demo, a lot of > text st

[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 contain

[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 p

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 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 return any

[Dhis2-devs] dhis2 individual patient tracking system generated identifier

2015-06-30 Thread Muhammad Masud Parvez
Dear All, We are using dhis2 individual patient tracking for PLHIV (Patient live with HIV) in 2.16 version for Bangladesh. Now we are facing problem with system generated identifier. This is not available in 2.16. We are planning to print smart card with Bar code using system generated identifi

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

2015-06-30 Thread Lionel Ruberintwari
Any update on how to resolve this bug? I have deleted all table ressource beginning with _ in Pg database and regenerate ressources tables in DHIS but the issue was not sorted out. Please any advice will be more than welcome Regards, Lionel On Mon, Jun 22, 2015 at 12:26 AM, rom...@tohouri.com w

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 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 *Harsh Atal > *Sent:

Re: [Dhis2-devs] DHIS2 App i18n

2015-06-30 Thread Mark Polak
Hey Morten, Sorry i missed this one i my inbox :) But Knut is on point. How it works in the most basic sense (if i remember correctly) is that if the modules action[1] returns a description that one is used. This is the case for installed apps, the description is pulled from the description field

[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 qualifications,

[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