Re: [Dhis2-devs] Null pointer exception calling .../api/me/programs

2016-05-08 Thread Jose Garcia Muñoz
k. > > regards, > > Lars > > > On Wed, Mar 9, 2016 at 12:07 AM, Jose Garcia Muñoz > wrote: > >> >> Finally we had to restart the tomcat and it worked! All DataElements were >> previously imported (XML file) following the same structure than 2.20. Do

[Dhis2-devs] Pushing events through the API without the eventdate

2016-05-09 Thread Jose Garcia Muñoz
Hi devs, At least in the 2.22 it is possible to send events to DHIS2 without the eventDate in the payload. As this is not allowed using the web interface, would it be possible to avoid this bahaviour as well when we use the API? (so no events can be sents without date) Thanks! Regards Jose _

Re: [Dhis2-devs] Pushing events through the API without the eventdate

2016-05-10 Thread Jose Garcia Muñoz
; dueDate, Abyot you agree? > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, May 10, 2016 at 10:46 AM, Jose Garcia Muñoz > wrote: > >> >> Hi devs, >> >> At least in the 2.22 it is possible to send

Re: [Dhis2-devs] Pushing events through the API without the eventdate

2016-05-10 Thread Jose Garcia Muñoz
good option. >> >> -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http://www.dhis2.org >> >> On Wed, May 11, 2016 at 10:37 AM, Jose Garcia Muñoz >> wrote: >> >>> >>> Hi Morten, >>> &

Re: [Dhis2-devs] Pushing events through the API without the eventdate

2016-05-12 Thread Jose Garcia Muñoz
C/EC clients, which might cause issues. > Markus will fix it, and the re-apply the patch when he can. > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Wed, May 11, 2016 at 10:51 AM, Jose Garcia Muñoz > wrote: > &g

Re: [Dhis2-devs] Pushing events through the API without the eventdate

2016-05-12 Thread Jose Garcia Muñoz
it shouldn't be.. > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Thu, May 12, 2016 at 4:59 PM, Jose Garcia Muñoz > wrote: > >> >> Ok, thanks Morten, >> >> Looking forward for that

[Dhis2-devs] Getting a "Series/Categories items not selected" message in Data Visualizer when dataelements details are in the favourite

2016-05-16 Thread Jose Garcia Muñoz
Hi devs, at least in 2.22 and for the data visualizer, when we select the "Details" option for dataelements in the data dimension (to be rendered either in the series or categories dimenssion), although the chart is being displayed properly, the data dimension is never saved in the favourite. So e

[Dhis2-devs] No new OrganisationUnitGroupSets are being rendered in the "new Org. Unit" screen

2016-05-23 Thread Jose Garcia Muñoz
Hi devs, it seems that, at least in 2.22, new org. unit group sets created are not being rendered during the creation of org. units, even if they are Compulsory and has the DataDimenstion field = 'Yes'. I'm not sure, but I think that in the previous version, this behaviuor was also configured unde

Re: [Dhis2-devs] No new OrganisationUnitGroupSets are being rendered in the "new Org. Unit" screen

2016-05-23 Thread Jose Garcia Muñoz
Yep, it works! Thanks Jason! On Mon, May 23, 2016 at 7:18 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Pretty sure you need to enable this in the applications settings to allow > this to happen. > > [image: Inline image 1] > > > > On Mon, May 23, 2016

[Dhis2-devs] PDF import is asking for org. unit UIDs

2016-05-29 Thread Jose Garcia Muñoz
Hi devs, we are trying to import some data values using a PDF format, however it seems that the system is only allowing the org. unit UID, although we are interested in using the org. unit code instead. Is this something that can be changed? We are using 2.22, and it seems it was working using or

[Dhis2-devs] Program rules combining several Dataelements. Not working?

2016-06-01 Thread Jose Garcia Muñoz
Hi devs. Are 'complex' program rules working? I mean by 'complex' combining different datalements. For example: #{CurrentMethod} == '[35] IUD' && #{AdoptedMethod} == '[35] UID' && #{ServiceProvided} != '[38] IUD removal' But when I check the value of the expresion in the JS console I get the fol

Re: [Dhis2-devs] Program rules combining several Dataelements. Not working?

2016-06-01 Thread Jose Garcia Muñoz
use > of your expression: > > #{AdoptedMethod} == '[35] UID' > > This evaluates to: > > '[35] IUD' == '[35] UID' > ..which is false. Can it be only a typo in the expression or the data > element value - the U and I should be switched aro

Re: [Dhis2-devs] Getting a "Series/Categories items not selected" message in Data Visualizer when dataelements details are in the favourite

2016-06-03 Thread Jose Garcia Muñoz
t; >> Will look at it and get back to you. >> >> Jan >> >> On 17 May 2016 at 02:34, Jose Garcia Muñoz wrote: >> >>> >>> Hi devs, >>> >>> at least in 2.22 and for the data visualizer, when we select the >>> "Detail

[Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-05 Thread Jose Garcia Muñoz
Dear devs, we realized that tracked attributes are always compulsory even if they are not marked like that in the program definition? so it is not possible at all to keep them blank using the Tracker Capture. In PSI (and I guess is the same for many different countries), we need to define unique

Re: [Dhis2-devs] Getting a "Series/Categories items not selected" message in Data Visualizer when dataelements details are in the favourite

2016-06-06 Thread Jose Garcia Muñoz
d in 2.22 rev 22060. > > Jan > > On 3 June 2016 at 16:09, Jose Garcia Muñoz wrote: > >> >> Hi Jan, >> >> I am reopining this thread (sorry :) ), because although the chart is >> being properly shown now in the data visualizer app, it is still not being &

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-09 Thread Jose Garcia Muñoz
in Abyot, hopefully he can answer >> why it is required in the UI part (I see it's marked with red star, and it >> will not allow it without a value) >> >> -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> htt

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-12 Thread Jose Garcia Muñoz
t; I think I missed that it was not required from the server side api ... >>>> it is easy to fix from the client side. >>>> >>>> -- >>>> Abyot A. Gizaw. >>>> Senior Engineer, DHIS2 >>>> University of Oslo >>>> http:/

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-06-13 Thread Jose Garcia Muñoz
ranslation support with current web API implementation >>>> in mind, we have to restructure legacy SDK in intrusive way and it will >>>> take a lot of time and effort. In order to avoid “hacks”, we will have to >>>> wait for full API translation support. We also wi

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-06-13 Thread Jose Garcia Muñoz
or Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Jun 14, 2016 at 11:03 AM, Jose Garcia Muñoz > wrote: > >> >> Hi Araz, Morten, >> >> I am reopening this old thread (sorry for that :) ), just to know if you >> have some upda

[Dhis2-devs] Updating dataelements using metadata import (CSV)

2016-06-15 Thread Jose Garcia Muñoz
Dear Devs, I don't know if I am doing something wrong, but I can not update dataelements using a CSV import through the web interface (Strategy selected is New and Updates). Just copying here a simple example, where we have: name, uid (of a dataelement that currently exists), code (empty), and s

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-06-15 Thread Jose Garcia Muñoz
;s the case) > > -- > Morten Olav Hansen > Senior Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Jun 14, 2016 at 11:32 AM, Jose Garcia Muñoz > wrote: > >> >> That's great! Happy to hear that! Thanks Morten, >> >> So, do

[Dhis2-devs] Android: Event Capture and Data Capture Android Apps with Combination of Categories

2016-06-28 Thread Jose Garcia Muñoz
Dear Android dvelopers Combination of Categories are not implemented as attributes for both DataSets (Data Capture Android app) and Program as Events (Event Capture Android App). Do you have any plans of implementing these features in Android? In PSI, we have many examples where we have these kin

Re: [Dhis2-devs] Android: Event Capture and Data Capture Android Apps with Combination of Categories

2016-06-29 Thread Jose Garcia Muñoz
Capture and we have it on the > roadmap for Event Capture. I belive we will start on the functionality for > category combinations in mid August > > Regards, > Erling > > On Wed, Jun 29, 2016 at 8:54 AM, Jose Garcia Muñoz > wrote: > >> >> Dear Android

Re: [Dhis2-devs] Android: Event Capture and Data Capture Android Apps with Combination of Categories

2016-06-29 Thread Jose Garcia Muñoz
hat created the record. >> >> >> *Rodolfo Meliá - KTT* >> *Principal | *rme...@knowtechture.com >> Skype: rod.melia | +44 777 576 4090 | +1 708 872 7636 >> >> On 29 June 2016 at 11:02, Jose Garcia Muñoz wrote: >> >>> >>> Thanks Erling, &g

[Dhis2-devs] Combination of categories as program attribute can be dimension in event analytics?

2016-06-29 Thread Jose Garcia Muñoz
Hi devs, hope you all are well, just a very quick question... if we define a combination of categories as a program attribute, is there a way that that combination of categories appears in the event reports and event visualizer as a dimension? I can see them in the pivot tables/data visualizer,

[Dhis2-devs] EventCapture: Blocking data entry for events

2016-07-28 Thread Jose Garcia Muñoz
Dear devs, Maybe I'm bringing back an old discussion (sorry if this is the case...). I was wondering if you have some plans to allow an option for blocking the data entry after a period of time (days, hours, etc.), similar as implemented with datasets but maybe adding also hours... If so, would t

[Dhis2-devs] Tracked entity instances having "strange" unenrollments with Tracker Capture

2016-08-04 Thread Jose Garcia Muñoz
Dear devs, Will try to explain the following DHIS2 behaviour for tracker the best as I can... So, PSI has upgraded its servers from 2.20 to 2.22 like 4 months ago. One of the countries that is using Tracker Capture reported several weeks ago that sometimes they can not see the program enrollment w

[Dhis2-devs] Date & Time dataelements are not being showed in Event reports (2.22)

2016-08-29 Thread Jose Garcia Muñoz
Dear devs, at least in 2.22, event reports are not showing the values for the Date & Time dataelements. Would it be possible to have a solution for this? Many thanks Jose ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists

[Dhis2-devs] Errors while importing datavalues in 2.24

2016-10-13 Thread Jose Garcia Muñoz
Dear devs, I'm trying to import an XML file (900K) with around 8.000 datavalues in 2.24 (build revision 1502fe2). However, I'm getting 2 different kind of errors during the import... (attached at the end of the email) Any ideas? The only thing I can think of, is the huge number of org. units that

[Dhis2-devs] Org. unit tree not properly ordered in 2.24

2016-10-13 Thread Jose Garcia Muñoz
Dear devs, 2.24 (revision 1502fe2) is not properly displaying the org units in an alpabetic order... I think this issue was already solved in 2.25. Would you mind to migrate that solution to 2.24? Many thanks Jose [image: Inline image 1] ___ Mailing l

Re: [Dhis2-devs] Errors while importing datavalues in 2.24

2016-10-14 Thread Jose Garcia Muñoz
k for "Organisation units > with cyclic references ", or look for it through SQL. > > best regards, > > Lars > > > On Fri, Oct 14, 2016 at 1:09 AM, Jose Garcia Muñoz > wrote: > >> >> Dear devs, >> >> I'm trying to import an XML fi

Re: [Dhis2-devs] Org. unit tree not properly ordered in 2.24

2016-10-17 Thread Jose Garcia Muñoz
Ramm > Front end developer, DHIS 2 > University of Oslo > https://www.dhis2.org > > On Fri, Oct 14, 2016 at 2:47 AM, Jose Garcia Muñoz > wrote: > >> >> Dear devs, >> >> 2.24 (revision 1502fe2) is not properly displaying the org units in an >&g

Re: [Dhis2-devs] Errors while importing datavalues in 2.24

2016-10-17 Thread Jose Garcia Muñoz
ached (DefaultDataValueSetService.java [taskScheduler-6]) On Fri, Oct 14, 2016 at 1:51 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Seems like a memory issue > > java.lang.OutOfMemoryError: GC overhead limit exceeded > > On Fri, Oct 14, 2016, 13:35 Jose Garcia Muñoz wrote: > &g

Re: [Dhis2-devs] Errors while importing datavalues in 2.24

2016-10-17 Thread Jose Garcia Muñoz
Well at the end got imported (sometimes throws a memory exception), but it took more than 1 hour to import 7973 datavalues. It was just a few minutes in 2.22 with same import and same server. On Mon, Oct 17, 2016 at 4:29 PM, Jose Garcia Muñoz wrote: > > It seems to be memory issue happen

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

2016-10-30 Thread Jose Garcia Muñoz
Hi guys, I don't know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets...) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (trac

[Dhis2-devs] 'Search' is not working in the org. unit app (2.25)

2016-10-30 Thread Jose Garcia Muñoz
Hi devs, It seems that we can not search for the org. unit name in 2.25 in the org. unit app (it is working nice when assigning datasets/programs to org. units) This screenshoot has been taken from the Sierra Leone dev server. It would be nice if you can have a look as soon as you can :), I'm cond

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

2016-10-30 Thread Jose Garcia Muñoz
days. It's probably related to > these issues: > https://github.com/dhis2/gis-app/issues/164 > https://github.com/dhis2/gis-app/issues/163 > > -- > Bjørn Sandvik > GIS developer, DHIS 2 > University of Oslo > www.dhis2.org > > > > On Sun, Oct 30, 2016 at

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

2016-10-31 Thread Jose Garcia Muñoz
gt; indicators in Settings page. If you could fill something there, it will > work. Of course, these items shouldn't be mandatory for GIS to run. > > -- > Abyot A. Gizaw. > Senior Engineer, DHIS2 > University of Oslo > http://www.dhis2.org > > On Mon, Oct 31, 2016 at 4:

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

2016-10-31 Thread Jose Garcia Muñoz
f you have an > empty database. > > Thanks for reporting. > > -- > Bjørn Sandvik > GIS developer, DHIS 2 > University of Oslo > www.dhis2.org > > On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz > wrote: > >> >> Thanks Abyott, I have created an in

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

2016-10-31 Thread Jose Garcia Muñoz
he problem was that they > didn't return anything, and the app was not prepared for it. > > Thanks for reporting. > > Jan > > > > On 31 October 2016 at 12:47, Jose Garcia Muñoz wrote: > >> >> Thanks Abyot, Bjorn, >> >> Abyot, the A

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

2016-10-31 Thread Jose Garcia Muñoz
se, > > 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": &

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

2016-10-31 Thread Jose Garcia Muñoz
>> >>> 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=o

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

2016-10-31 Thread Jose Garcia Muñoz
want). Thanks guys! On Tue, Nov 1, 2016 at 4:00 AM, Jose Garcia Muñoz wrote: > > 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

Re: [Dhis2-devs] 'Search' is not working in the org. unit app (2.25)

2016-11-01 Thread Jose Garcia Muñoz
isplayName":"Myanmar"},{"id":"BPl0166e9lN","path":"/FvUGp8I75zV/aChOCLW4x6p/BPl0166e9lN","displayName":"Thailand"},{"id":"KYmcGPoZWa1","path":"/FvUGp8I75zV/aChOCLW4x6p/KYmcGPoZWa1","

[Dhis2-devs] Are indicators working in 2.25?

2016-11-02 Thread Jose Garcia Muñoz
Dear all, We are having some issues using aggregated indicators in 2.25. [image: Inline image 1] 'VN SAN - 3.3 % latrines meeting quality standards' is an indicator containing 'VN SAN - # latrines meeting quality standard' as numerator and 'VN SAN - 3.1 # latrines installed confirmed field visit

[Dhis2-devs] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-03 Thread Jose Garcia Muñoz
Hi devs, I believe we have already talked about this... So right now, it is difficult to know the org. units that are selected for a particular dataset/org. unit group/etc (see attached image). I think you are going to change the behaviour of this... Is this something we could have in the followi

[Dhis2-devs] SQL Exception when selecting event data items in pivot tables

2016-11-07 Thread Jose Garcia Muñoz
Hi devs, each time I try to do some calculation with event data items (numeric/integer/.. tracker dataelements), I'm getting the following SQL exception (attached at the bottom of them email). The SQL is: select none("DvTQcjDWH3M") as value,"monthly" from analytics_event_2016_lyyizex7izm where Mo

Re: [Dhis2-devs] Unable to create a favourites on GIS module

2016-11-08 Thread Jose Garcia Muñoz
Hi Morten, also we (PSI) are having the same problem. For some reason the uid is null when trying to save the favourite in the mapview table of the database. Don't know why it is working on the demo, but no in our database... On Tue, Nov 8, 2016 at 12:11 PM, Archana Chillala wrote: > Hi Morten

[Dhis2-devs] Average (sum in org unit hierarchy) not working in 2.24 and 2.25?

2016-11-08 Thread Jose Garcia Muñoz
Dear devs, I have the 'test' dataelement which its Agregation type is 'Average (sum in org unit hierarchy)', however it doesn't seem to calculate the average for periods. For example [image: Inline image 1] if a select the period as filter I suppose I should get 12 right? However, what I get is:

[Dhis2-devs] DataElements don't appear ordered in the Event Capture Android App

2016-11-08 Thread Jose Garcia Muñoz
Dear devs, Araz, I'm doing some tests with the 0.5.6 release for Android Event Capture pulling metadata from a 2.25 server. It seems that all dataelements are being displayed following no order, or at least they are not appearing in the same order defined in the programstage. Would this be a bug?

Re: [Dhis2-devs] Average (sum in org unit hierarchy) not working in 2.24 and 2.25?

2016-11-10 Thread Jose Garcia Muñoz
artes, six-months, years, etc. but no for months (that calculates the total). Many thanks Jose On Tue, Nov 8, 2016 at 2:19 PM, Jose Garcia Muñoz wrote: > > Dear devs, > > I have the 'test' dataelement which its Agregation type is 'Average (sum > in org unit hier

Re: [Dhis2-devs] Org. unit tree is not open with org. units selected (datasets, orgunit groups, etc.)

2016-11-10 Thread Jose Garcia Muñoz
the > next days, but will keep you posted. > > best regards, > > Lars > > On Thu, Nov 3, 2016 at 12:07 PM, Jose Garcia Muñoz > wrote: > >> >> Hi devs, >> >> I believe we have already talked about this... So right now, it is >> difficult to kno

Re: [Dhis2-devs] Average (sum in org unit hierarchy) not working in 2.24 and 2.25?

2016-11-16 Thread Jose Garcia Muñoz
Hi devs, any comments on this? Thanks much! Jose On Fri, Nov 11, 2016 at 5:11 AM, Jose Garcia Muñoz wrote: > > More info about this... > > We only have data for October 2016 (20), and September 2016 (4). If I > select periods as a filter, this is what happens: > > 1)

Re: [Dhis2-devs] Average (sum in org unit hierarchy) not working in 2.24 and 2.25?

2016-11-18 Thread Jose Garcia Muñoz
Helge Øverland wrote: > Hi Jose, > > these issues should be fixed now (same problem as previous issue). > > regards, > > Lars > > > > > > On Fri, Nov 11, 2016 at 5:11 AM, Jose Garcia Muñoz > wrote: > >> >> More info about this... >>

Re: [Dhis2-devs] Unable to create a favourites on GIS module

2016-12-01 Thread Jose Garcia Muñoz
lush [could not execute statement] (SessionImpl.java [http-apr-8081-exec-8]) On Tue, Nov 8, 2016 at 12:30 PM, Jose Garcia Muñoz wrote: > > > Hi Morten, > > also we (PSI) are having the same problem. For some reason the uid is null > when trying to save the favourite in

[Dhis2-devs] Metadata detailed export is not presented in 2.25?

2016-12-01 Thread Jose Garcia Muñoz
I can not see that in the interface (although it is presented in the dhis2 documentation) [image: Inline image 1] Regards Jose ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchp

[Dhis2-devs] Android: Event Capture crashes

2016-12-04 Thread Jose Garcia Muñoz
Dear Araz, Erling, devs I'm testing event capture for the 0.5.9 and 0.5.7 releases (the backend is a 2.25 server, revision 6ce8201). The app crashes sometimes when: 1) Navigate from Events to Profile and then Events again (sometimes) 2) Sending data to the server. Sometimes, when just creating s

Re: [Dhis2-devs] Server version

2017-02-14 Thread Jose Garcia Muñoz
Hi Arnau, you can use this endpoint .../api/system/info You have more information here: https://docs.dhis2.org/master/en/developer/html/webapi_system_resource.html On Tue, Feb 14, 2017 at 10:47 AM, Arnau Sánchez wrote: > Hi all, > > I am writing a webapp that works only for some specific versi

[Dhis2-devs] Duplicated 'default'' category with metada export/import

2015-11-19 Thread Jose Garcia Muñoz
Hi devs, I am exporting all metadata from a database (which seems to be ok) to completely empty one. However, during the import process I am getting an error of duplication in the 'default' category... Both databases are running under 2.20 (build revision 19973), and I can not see any duplications

Re: [Dhis2-devs] Duplicated 'default'' category with metada export/import

2015-11-19 Thread Jose Garcia Muñoz
ame = 'default' offset 1; > > -- > Morten > > On Fri, Nov 20, 2015 at 5:38 AM, Jose Garcia Muñoz > wrote: > >> >> Hi devs, >> >> I am exporting all metadata from a database (which seems to be ok) to >> completely empty one. However, duri

[Dhis2-devs] Error calling ..../api/me/programs (null pointer exception)

2016-01-12 Thread Jose Garcia Muñoz
Hi devs, We are having some problems with the .../api/me/programs endopoint. Please find bellow the error traced attached. This is happening with a superuser who only has access to 2 org. units. Several programs are activated on the org. units. It is urgent, because we are using the DHIS2-SDK, an

Re: [Dhis2-devs] Error calling ..../api/me/programs (null pointer exception)

2016-01-15 Thread Jose Garcia Muñoz
art where it says > "Caused by: .." or share a login privately? > > regards, > > Lars > > > On Tue, Jan 12, 2016 at 7:47 PM, Jose Garcia Muñoz > wrote: > >> >> Hi devs, >> >> We are having some problems with the .../api/me/programs end

Re: [Dhis2-devs] Error calling ..../api/me/programs (null pointer exception)

2016-01-15 Thread Jose Garcia Muñoz
So, it seems to be a problem related with the server instance, right?. The memory, maybe...Difficult to test... any suggestion? :) On Fri, Jan 15, 2016 at 4:25 PM, Lars Helge Øverland wrote: > Wasn't me ;) > > > > On Fri, Jan 15, 2016 at 4:24 PM, Jose Garcia Muñoz >

Re: [Dhis2-devs] Error calling ..../api/me/programs (null pointer exception)

2016-01-18 Thread Jose Garcia Muñoz
the full stack trace.. it seems there is something > missing there (the last part of the trace) > > -- > Morten > > On Fri, Jan 15, 2016 at 10:45 PM, Jose Garcia Muñoz > wrote: > >> >> So, it seems to be a problem related with the server instance, right?. >>

[Dhis2-devs] Web API call returning no value (just 204 -> no content)

2016-01-21 Thread Jose Garcia Muñoz
Hi devs, I think this question was asked before, but... As far as I know the following API call /api/organisationUnits/{ID}/organisationUnitGroups/{ID} does not return any value (DELETE, POST, either if the result is a success or a failure), at least using the 2.20 version right? (please,

Re: [Dhis2-devs] Web API call returning no value (just 204 -> no content)

2016-01-22 Thread Jose Garcia Muñoz
download a new 2.20 which gives a > 404 if the property/id was not found, and a 200 OK if property/id was found. > > -- > Morten > > On Fri, Jan 22, 2016 at 9:32 AM, Jose Garcia Muñoz > wrote: > >> >> Hi devs, >> >> I think this question was aske

Re: [Dhis2-devs] OutOfMemory problem with Android SDK and 2.22-legacy branch

2016-01-22 Thread Jose Garcia Muñoz
Hi Morten, all, so, yes, in PSI we have several programs which metatadata needs to be downloaded using long API calls (throuth the DHIS2-SDK) resulting in really long json objects. But, as Ignacio said, we are getting an OutOfMemory exception in one of our servers. To give you an idea, that call g

[Dhis2-devs] Reaching the limit: 1600 columns (event analytics temp tables)

2016-02-01 Thread Jose Garcia Muñoz
Hi devs, so, it was difficult, but finally we got there. When we run the analytics, we are getting the following exception ERROR: tables can have at most 1600 columns; nested exception is org.postgresql.util.PSQLException: ERROR: tables can have at most 1600 columns and, yes, we have programs co

Re: [Dhis2-devs] Reaching the limit: 1600 columns (event analytics temp tables)

2016-02-01 Thread Jose Garcia Muñoz
t; comes to mind immediately is to introduce a new property for program data > elements for skipping analytics. > > regards, > > Lars > > > On Mon, Feb 1, 2016 at 9:15 PM, Pierre Dane wrote: > >> wow! >> >> >> On Monday, 1 February 2016, Jose Garc

[Dhis2-devs] Error while removing a DataElement from a ProgramStage (2.20)

2016-02-08 Thread Jose Garcia Muñoz
Hi devs, We get an exception each time we want to remove a particular data element from its program (programstage). It seems that does not matter if the datalement has a trackedentityvalue or not (and it shouldn't matter right?). We are running 2.20 (revision 19968). It works fine for 2.22, but it

[Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
Dear Simen, devs, some months ago we started a conversation with you to know if the DHIS2-SDK is supporting multilingual or not? The answer was: "unfortunately there isn't very good support for multilingual in the SDK yet. It's actually not that much work we just haven't prioritized it yet so it

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
h one language at the moment, but the next iteration > cycle of the App really needs the user to be able to switch languages. > > David > > On 9 February 2016 at 13:32, Jose Garcia Muñoz wrote: > >> >> Dear Simen, devs, >> >> some months ago

Re: [Dhis2-devs] Error while removing a DataElement from a ProgramStage (2.20)

2016-02-09 Thread Jose Garcia Muñoz
Jose Garcia Muñoz wrote: > > Hi devs, > > We get an exception each time we want to remove a particular data element > from its program (programstage). It seems that does not matter if the > datalement has a trackedentityvalue or not (and it shouldn't matter > right?). We a

Re: [Dhis2-devs] multilingual DHIS2 API and SDK

2016-02-09 Thread Jose Garcia Muñoz
;> What we can do is additional setting for choosing language in >>>> application preferences (but it will work only for UI prompts). In feature, >>>> when API will be completely supporting translations, we will be able >>>> seamlessly integrate support for it

[Dhis2-devs] Null pointer exception calling .../api/me/programs

2016-03-08 Thread Jose Garcia Muñoz
Dear devs, we are getting the following error each time we call .../api/me/programs for some particular programs (I am only copying the relevant output). I can not see yet any mistake in the program/user/org.unit configuration (although the problem seems to be related with the dataelements inside

Re: [Dhis2-devs] Null pointer exception calling .../api/me/programs

2016-03-08 Thread Jose Garcia Muñoz
Finally we had to restart the tomcat and it worked! All DataElements were previously imported (XML file) following the same structure than 2.20. Do you have any idea about what could it happened? Thanks guys! Jose On Tue, Mar 8, 2016 at 1:07 PM, Jose Garcia Muñoz wrote: > > Dear devs,

[Dhis2-devs] Exposing date DataElements in analytics

2016-03-22 Thread Jose Garcia Muñoz
Hi devs, Is it not possible to expose *date *dataelements in the analytics? I know several agg. operators couldn't make sense, but we may need to *count *the number of datavalues for Date DataElements... Many Thanks! Regards Jose ___ Mailing list: http

[Dhis2-devs] Apparently "no existing" dataelements can we showed in the pivot tables and data visualizer

2016-04-04 Thread Jose Garcia Muñoz
Hi devs So, something quite strange is happening here :). Have a look at the screenshot below. I am just selecting the Event Data items belonging to the 'NG PPMV ICM' program, which names are starting with the 'NG PPMV ICM' pattern. So, there are quite of them. However, we can not see any of them

Re: [Dhis2-devs] DELETING FACILITIES WITH DATA FROM THE DHIS

2016-04-13 Thread Jose Garcia Muñoz
Hi Lars, good to know! Will also delete trackedentitydatavalues? other questions... what do you think... 1) about adding startDate and endDate (or periods) as parameters? 2) about adding a inlcudeDescendants=true as parameter? so we can remove data from the descendants org. units as well... (h

Re: [Dhis2-devs] [Dhis2-users] Error when upgrading DHIS2 from 2.29 to 2.30 - relationships

2018-09-24 Thread Jose Garcia Muñoz
Yes, I had the same issue. Definitely agreed about having this documented in the upgrade notes. On Tue, Sep 18, 2018 at 6:04 PM Shurajit Dutta wrote: > Hi everyone > > Thanks for the insights. This has fixed the problem for me. > > Perhaps we can add something to the upgrade notes? > > Nick > >

[Dhis2-devs] Assigning an Org. Unit Group to a Org. Unit with the API

2015-05-02 Thread Jose Garcia Muñoz
Hi devs, So, I am trying to do it in one step (create the org.unit + assign one org. unit group) using the following API call: http://localhost:8080/dhis/api/organisationUnits and the payload: { "name":"The name", "shortName":"Short name", "parent":{ "id":"wSkI02omzoJ" }, "openingDate":"2015-03

Re: [Dhis2-devs] Assigning an Org. Unit Group to a Org. Unit with the API

2015-05-03 Thread Jose Garcia Muñoz
ten > > On Sun, May 3, 2015 at 12:18 PM, Jason Pickering < > jason.p.picker...@gmail.com> wrote: > >> Hi Jose, >> >> I think this was discussed recently here >> >> https://www.mail-archive.com/dhis2-devs@lists.launchpad.net/msg35136.html >>

[Dhis2-devs] Spanish and French accents in reports as filters

2015-05-11 Thread Jose Garcia Muñoz
Hi devs, We are not being able to filter the reports by options which contains accents. We just got a "No Values found" message. I have test it with 2.17 and 2.18 (not yet with 2.19). Do you have any plans to allow the use of this characters in the coming future? This is quite important for our La

Re: [Dhis2-devs] Spanish and French accents in reports as filters

2015-05-12 Thread Jose Garcia Muñoz
the URIEncoding="UTF-8". I had some other issues with accented characters and > the Web API, and this fixed it. > > Cheers, > Jim > > > On Mon, May 11, 2015 at 5:04 AM, Jose Garcia Muñoz > wrote: > >> >> Hi Morten, >> >> Yes, sorry, I am

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

2015-07-08 Thread Jose Garcia Muñoz
Hi Araz, In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment "SDK is now on early stages of development. For the same reason we don't have documentation, because current SDK API is

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

2015-07-08 Thread Jose Garcia Muñoz
elease (1.0). > > But for sure, you should start using it. If there will be API breaking > changes in UI components, they will not be intrusive. > > Also I wanted to mention, that your contribution or feedback on SDK will > be highly appreciated. > > Best Regards, > A

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

2015-07-08 Thread Jose Garcia Muñoz
, Araz Abishov wrote: > That'd be great. Will you be using GitHub for project hosting? It will be > much easier to track progress and collaborate for us if you could use it. > > On Wed, Jul 8, 2015 at 2:59 PM, Jose Garcia Muñoz > wrote: > >> >> So, that's

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-14 Thread Jose Garcia Muñoz
use that to populate your "score" dataelement > directly. > > Bob > > > On 14 July 2013 12:15, Jose Garcia Muñoz wrote: > >> >> Hi guys, >> >> How are you doing? >> >> first at all, maybe I should send this email to the dev user list,

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-14 Thread Jose Garcia Muñoz
ostgres; > > Here is the trigger function attached to the > "completeddatasetregistration" table...only after an insert. > > > CREATE TRIGGER inserts_completedatasetregistration > AFTER INSERT > ON completedatasetregistration > FOR EACH ROW > EXECUTE P

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-19 Thread Jose Garcia Muñoz
e format might be a big challenge. > > Regards, > Jason > > > > > > > > > > > > > > > > > > > > > > > > > On Sun, Jul 14, 2013 at 9:48 PM, Jose Garcia Muñoz wrote: > >> >> Many thanks Jason, Bob, >> >> Bob, I get you

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-21 Thread Jose Garcia Muñoz
the indicators. There are robust methods to do this in Java, > but you would need to develop methods to parse out the indicator into > something which could be used with PLSQL. Not really sure it would be worth > it. > > Would be interested to see what you come up with. > > Rega

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-08-14 Thread Jose Garcia Muñoz
e code, you could detect when a record is >> completed, and then create a stored procedure to calculate the indicator >> from the values. I see a few problems with this though, and one of them is >> the parsing of the indicators. There are robust methods to do this in Java, &

[Dhis2-devs] Adding a dataset to an OrgUnit using the Web API (2.19)

2015-09-15 Thread Jose Garcia Muñoz
Hi Morten, I am trying to add a dataset to one org. unit using the Web API. So far, I am using the following API call: curl -X PATCH -d @c:\dataset.json -H "Content-Type: application/json" -u myuser:mypass http://localhost:8080/dhis/api/organisationUnits/Oe3de1oAjGV/dataSets The payload is: {"d

Re: [Dhis2-devs] Adding a dataset to an OrgUnit using the Web API (2.19)

2015-09-15 Thread Jose Garcia Muñoz
he same url > > Regards, > > Mark > > On Tue, Sep 15, 2015 at 1:09 PM, Jose Garcia Muñoz > wrote: > >> >> Hi Morten, >> >> I am trying to add a dataset to one org. unit using the Web API. So far, >> I am using the following API call: >&

[Dhis2-devs] Updating events using the Web API

2015-09-20 Thread Jose Garcia Muñoz
Hi guys, we are using the Web API to update the values of 1 or 2 dataelements that belong to a Single Event Without Registration program of more than 700 data elements The payload is something like that {"program":"vLTSa8wPqQ8","orgUnit":"QS7sK8XzdQc","dataValues":[{"dataElement":"deeu8rjsqvH","

[Dhis2-devs] Updating the password of one user using PATCH in the Web API (2.20)

2015-10-07 Thread Jose Garcia Muñoz
Hi Morten, all, We need to update the passwords of several users using the Web API. We are trying the following API call: curl -X PATCH -d @file.json -u myuser:mypass http://localhost:8080/dhis/api/users/yhQ0Ma7CLNw/userCredentials -H "Content-Type: application/json" Where the json file is: {"u

[Dhis2-devs] improving time response in Event Data Import?

2014-02-24 Thread Jose Garcia Muñoz
Dear dev community, >From PSI, sometimes we need to import into DHIS2 large xml files of events (using the Event Data Import) following the schema described in the manual. This functionality really takes a long time in DHIS2. Just to give you an example: 6.000 events and a total of 45.000 dataval

[Dhis2-devs] Bugs in Tabular reports (2.13 and 2.14)

2014-03-09 Thread Jose Garcia Muñoz
Dear dev community, I have found different problems using Tabular reports: 1) In Data Items tab, when the user selects one person attribute with predefined values (gender, marital status, ...), the selected item does not appear as a dropdown list ("male", "female"), but free text. Dropdown lists

Re: [Dhis2-devs] Excel download when Data Elements details are selected, is not showing the catcombos properly

2014-03-09 Thread Jose Garcia Muñoz
Dear all, do you have some news about this issue? Most of the PSI countries are demanding Excel downloads. Thanks Jose On Thu, Feb 20, 2014 at 6:52 PM, Jose Garcia Muñoz wrote: > > Dear all, > > In the pivot tables if we select 2 (or more) Data Elements with the > "Deta

[Dhis2-devs] Creating the analytics tables using the Web API

2014-11-17 Thread Jose Garcia Muñoz
Hi devs, Is that possible? So we can start the process somehow with a call to the API. Thanks Jose ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help

  1   2   >