Re: [Dhis2-users] A series of (Hibernate-related?) errors when attempting to create new data elements

2014-04-08 Thread Morten Olav Hansen
Hi, Are you using postgres or mysql ? * ERROR 2014-04-08 18:40:57,093 ERROR: duplicate key value violates unique constraint "dataelement_pkey" Detail: Key (dataelementid)=(2045) already exists. (SqlExceptionHelper.java [http-bio-80-exec-1]) -- Morten On Wed, Apr 9, 2014 at 2:09 AM, D. Cenk

Re: [Dhis2-users] [2.14] The dataset does not appear in the dataset list when doing data entry

2014-04-18 Thread Morten Olav Hansen
Hi, Can you try again with the very latest version of DHIS 2.14? there was a bug there, that might have affected you. Also, remember that your user MUST have an orgUnit attached (this is a common mistake people do when bootstrapping a system) -- Morten On Fri, Apr 18, 2014 at 4:26 PM, Thái Chư

Re: [Dhis2-users] [2.14] The dataset does not appear in the dataset list when doing data entry

2014-04-18 Thread Morten Olav Hansen
Busoye, This was a bug, if you update to the latest WAR file, you don't need this anymore. -- Morten On Fri, Apr 18, 2014 at 5:28 PM, Thái Chương wrote: > Thank you Morten and Adebusoye so much, > I got the latest instance of DHIS2.14, it is working now. > > > On Fri, Apr 18, 2014 at 5:21 PM,

Re: [Dhis2-users] [Dhis2-devs] Creation of bulk user.

2014-05-09 Thread Morten Olav Hansen
Just wanted to mention that we are now planing to add this functionality to 2.16, it will work as /api/users today (allows creating one user with password etc), but will support bulk import of users + passwords through our meta-data import (/api/metadata), there will be no export of passwords, but

Re: [Dhis2-users] Link to App store?

2014-06-08 Thread Morten Olav Hansen
Hi, The URL is actually http://appstore.dhis2.org/appstore, not sure why http://appstore.dhis2.org/ doesn't redirect.. would be a bit nicer -- Morten On Sun, Jun 8, 2014 at 10:00 AM, Knut Staring wrote: > Hello, It seems http://appsfore.dhis2.org is just pointing to the > ordinary website? >

Re: [Dhis2-users] Event Capture - Capture Coordinates

2014-06-11 Thread Morten Olav Hansen
Yes, I think it's related. I fixed the web-api, and Abyot will fix the app (or maybe that part is already working?). I have backported fixes to 2.15. -- Morten On Wed, Jun 11, 2014 at 5:44 PM, Tran Chau wrote: > Hi Morten, > > I want to make sure if you are working on Capture Coordinates ? I s

Re: [Dhis2-users] http://apps.dhis2.org/ is down

2014-06-17 Thread Morten Olav Hansen
We are aware of this, there have been a few issues with the hosting lately, and they are now also updating our SSL certificates. Hopefully it will be up and running soon again. -- Morten On Tue, Jun 17, 2014 at 3:04 PM, Knut Staring wrote: > Server not found > > The requested domain is not ser

Re: [Dhis2-users] [Dhis2-devs] halvdan grelland joins as developer

2014-06-20 Thread Morten Olav Hansen
Welcome! -- Morten On Fri, Jun 20, 2014 at 11:59 AM, Knut Staring wrote: > Welcome, Halvdan! > > Knut > > > On Fri, Jun 20, 2014 at 11:55 AM, Lars Helge Øverland > wrote: > >> Hi all, >> >> I have the pleasure to announce that Halvdan Grelland has joined the team >> as software developer on a

Re: [Dhis2-users] creating objects with web api, POST fails

2014-07-03 Thread Morten Olav Hansen
Hi Lavi Could you see if changing the payload to: http://dhis2.org/schema/dxf/2.0";> 3.14159265359 Works for you? you must use the endpoint /api/metaData instead -- Morten On Thu, Jul 3, 2014 at 3:33 PM, Lavi Shpigelman wrote: > Thanks for the clarification, Lars ! >

Re: [Dhis2-users] [Dhis2-devs] Absence d'option set sur appareils mobiles

2014-07-03 Thread Morten Olav Hansen
Are you using the mobile client based on the Web or android application? -- Morten 2014-07-03 19:19 GMT+07:00 Assetta BARA : > Bonjour, j'utilise un Smartphone Android 4.2.2 > > > Le Mercredi 2 juillet 2014 10h32, Assetta BARA > a écrit : > > > Salut à tous, > Les éléments des options n'appa

Re: [Dhis2-users] Creating groups and group sets by using the API

2014-07-08 Thread Morten Olav Hansen
It should be "members" not "items", items is used for something else (its part of the dimensional model), you don't need the name (but it doesn't hurt, it just gets ignored) -- Morten On Tue, Jul 8, 2014 at 5:06 PM, Octavio GLORIO < octavio.glo...@barcelona.msf.org> wrote: > Hi, > I'm trying t

Re: [Dhis2-users] Creating groups and group sets by using the API

2014-07-08 Thread Morten Olav Hansen
uot;2011-12-24T11:24:24.298+","lastUpdated":"2014-03-02T21:16:50.246+","id":"GBHN1a1Jddh"},{"name":"Anaemia","created":"2011-12-24T11:24:24.298+","lastUpdated":"2014-03-02T21:17:45.177+

Re: [Dhis2-users] API shifted from HTML to XML?

2014-07-13 Thread Morten Olav Hansen
We do expose JSON as the default, if you send header "Accept: */*" that would return a JSON result. Problem is that the browser is usually sending something like "Accept: text/html, application/xml, ." so since it has no match for text/html, it will go to application/xml. We are hoping to prov

Re: [Dhis2-users] API shifted from HTML to XML?

2014-07-13 Thread Morten Olav Hansen
s? > > > On Mon, Jul 14, 2014 at 6:04 AM, Morten Olav Hansen > wrote: > >> We do expose JSON as the default, if you send header "Accept: */*" that >> would return a JSON result. Problem is that the browser is usually sending >> something like "Accept:

Re: [Dhis2-users] [Dhis2-devs] API shifted from HTML to XML?

2014-07-14 Thread Morten Olav Hansen
le url could be just a system setting. Then if the >> setting exists the processing instruction is emitted, if not then its not. >> Or there is a basic functionality which can be overridden by an app ... >> >> >> On 14 July 2014 05:19, Morten Olav Hansen wrote: >

Re: [Dhis2-users] Username and Password for DHIS2 DEMO not working

2014-07-20 Thread Morten Olav Hansen
Hi The username/password is always admin/district, but sometimes people like changing it.. which is bad, the database is reset at midnight every day, so it should hopefully work again now -- Morten On Sun, Jul 20, 2014 at 1:38 AM, Muhire Andrew wrote: > Dear Users, > > Did the password for th

Re: [Dhis2-users] [Dhis2-devs] Problem downloading Orgunit metadata

2014-08-04 Thread Morten Olav Hansen
Hi dapo Is this metadata something you can share? I haven't seen this issue before, but no.. it should work fine, if not, we will fix it -- Morten On Sun, Aug 3, 2014 at 10:03 PM, Dapo Adejumo wrote: > Hi Devs, > > Hit a strange issue with orgunit metadata export, logs report that the > expor

Re: [Dhis2-users] Add dashboard to another user's account

2014-08-07 Thread Morten Olav Hansen
Hi, I'm sorry, but not sure if this was introduced in 2.14 or 2.15, but there should be a button called "Sharing" on the top of the dashboard, this will allow super-users to share out a dashboard to a specific user-group (and you can set read-only, read-write etc). -- Morten On Fri, Aug 8, 2014

Re: [Dhis2-users] Could not resolve view with name 'dataValueSets' in servlet with name 'webapi'

2014-08-14 Thread Morten Olav Hansen
Hi, Can you try https? there might be some redirect issues -- Morten On Thu, Aug 14, 2014 at 8:31 PM, HAKIZIMANA Franck wrote: > Hi everybody, > > I'm using web api for DHIS2 to read some data value from DHIS2 but I'm > getting this error message "*Could not resolve view with name > 'dataValu

Re: [Dhis2-users] Could not resolve view with name 'dataValueSets' in servlet with name 'webapi'

2014-08-14 Thread Morten Olav Hansen
"SSL connection error". > > Thank you for you help. > > Franck > > > On Thu, Aug 14, 2014 at 4:10 PM, Morten Olav Hansen > wrote: > >> Hi, >> >> Can you try https? there might be some redirect issues >> >> -- >> Morten >> &g

Re: [Dhis2-users] Could not resolve view with name 'dataValueSets' in servlet with name 'webapi'

2014-08-14 Thread Morten Olav Hansen
t regards, > > Franck > > > On Thu, Aug 14, 2014 at 4:22 PM, Morten Olav Hansen > wrote: > >> You can try and add the -k option to curl, although you shouldn't really >> need it.. it works fine from here (Vietnam), but I have also from time to >> time seen som

Re: [Dhis2-users] Could not resolve view with name 'dataValueSets' in servlet with name 'webapi'

2014-08-14 Thread Morten Olav Hansen
, 2014 at 4:58 PM, Morten Olav Hansen > wrote: > >> curl -X GET https://apps.dhis2.org/demo/api/dataValueSets -u >> admin:district -v >> >> Is this working for you? it should complain about missing dataSet >> parameter >> >> -- >> Morten >

Re: [Dhis2-users] Accessing dhis data via the api.

2014-08-14 Thread Morten Olav Hansen
Hi I would recommend looking at our documentation, you can read about web-api in general at [1] and the specific parts about events (raw numbers) at [2] [1] https://www.dhis2.org/doc/snapshot/en/user/html/ch32.html [2] https://www.dhis2.org/doc/snapshot/en/user/html/ch32s10.html -- Morten On T

Re: [Dhis2-users] [Dhis2-devs] FW: Problem generating reporting & analytics tables. (dhis 2.16)

2014-08-19 Thread Morten Olav Hansen
Hi Maheed I will have a look at it and get back to you. On Aug 19, 2014 4:21 PM, "Maheed Ramadan" wrote: > Dear Lars, > > > > Please do you have any update or feedback on this issue. > > I am still unable to find a solution or fix for this. > > > > Note that I did try a clean installation for b

Re: [Dhis2-users] [Dhis2-devs] FW: Problem generating reporting & analytics tables. (dhis 2.16)

2014-08-19 Thread Morten Olav Hansen
> Build date: 2014-08-20 02:04 > > > > > > > > > > > > Thank you. > > > > Maheed > > > > > > > > *From:* Dhis2-users [mailto:dhis2-users-bounces+maheed.ramadan= > nrc...@lists.launchpad.net] *On Behalf Of *Maheed

Re: [Dhis2-users] [Dhis2-devs] how can use single event with registration for many time.

2014-08-27 Thread Morten Olav Hansen
Hi Do you mean multiple ACTIVE enrollments? -- Morten On Wed, Aug 27, 2014 at 3:10 PM, wrote: > Hi all, > DO you know how to create program with “single event with registration” > that allow register many time with one patient? > > thank you > CHANNARA > > ___

Re: [Dhis2-users] Generate resource tables error

2014-08-29 Thread Morten Olav Hansen
Hi Please upgrade to the latest version of 2.16 or trunk (depending on what you are using), this should have been fixed now. -- Morten On Fri, Aug 29, 2014 at 10:31 PM, Marko David Garcia wrote: > Hello all. > > When we try to generate the resources tables, show this error: > "Process failed:

Re: [Dhis2-users] Generate resource tables error

2014-08-29 Thread Morten Olav Hansen
The latest 2.16 is rev 16381, could you please download and try with the latest version? -- Morten On Fri, Aug 29, 2014 at 11:22 PM, Marko David Garcia wrote: > Hi, > > We are using Dhis 2.16 review 16253. > > > 2014-08-29 10:46 GMT-05:00 Morten Olav Hansen : > > Hi

Re: [Dhis2-users] [Dhis2-devs] Day light savings time gap error.

2014-08-31 Thread Morten Olav Hansen
Hi This has been fixed in the latest 2.16, you can find it here: https://apps.dhis2.org/ci/job/dhis-2.16/lastSuccessfulBuild/artifact/dhis-2/dhis-web/dhis-web-portal/target/dhis.war -- Morten On Mon, Sep 1, 2014 at 12:51 PM, Uddin Fatema wrote: > Dear All, > > I am using dhis2. version 2.16 b

Re: [Dhis2-users] WebAPI resource - SQLview missing

2014-09-07 Thread Morten Olav Hansen
Fixed in trunk and backported to 2.16. -- Morten On Sun, Sep 7, 2014 at 2:27 PM, Jason Pickering wrote: > Yeah, I see what you mean. They are simply not there on the list of > resources. > > https://apps.dhis2.org/demo/api/sqlViews works however. > > Regards, > Jason > > > > On Sun, Sep 7, 201

Re: [Dhis2-users] WebAPI resource - SQLview missing

2014-09-07 Thread Morten Olav Hansen
items per > Option Set) > > Sam Kasozi > Information Systems Consultant > HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center > +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype: > sam.kasoziug > > > On Sun, Sep 7, 2014 at 10:43 AM, Morten Olav H

Re: [Dhis2-users] WebAPI resource - SQLview missing

2014-09-07 Thread Morten Olav Hansen
tems Consultant > HISP Uganda | GHSI - Uganda MOH - PH Emergency Operation Center > +256 757 662752 | +256 788 993565 | kaso...@gmail.com | Skype: > sam.kasoziug > > > On Sun, Sep 7, 2014 at 11:06 AM, Morten Olav Hansen > wrote: > >> Where are you seeing this? there is

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-09 Thread Morten Olav Hansen
Yes, as Jason is saying, try and completely clear the browser cache (or run in private / incognito mode). If that doesn't work, you can also take the output from /dhis-web-dataentry/getMetaData.action and put it into jsonlint.com, and see if you get any errors, sometimes there might be issues with

Re: [Dhis2-users] Data Entry Screen Fails to Load Data Set

2014-09-10 Thread Morten Olav Hansen
ror: > > Parse error on line 2637: > ... "WNTP3yWBo9b": "(((#{REsnB7QOitO.pp > ---^ > Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' > > > However, The indi

Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-10 Thread Morten Olav Hansen
Can you open the web inspector with F12, and give use any output there? -- Morten On Thu, Sep 11, 2014 at 1:47 PM, sumudu weerasinghe wrote: > Thanks Jason and Ngoc Thanh! > > I followed you instruction > >- remove old war file and its contents from webapps directory >- upgrade with ne

Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 upgrade notes

2014-09-11 Thread Morten Olav Hansen
g else. > > Sumudu > > On Thu, Sep 11, 2014 at 12:20 PM, Morten Olav Hansen > wrote: > >> Can you open the web inspector with F12, and give use any output there? >> >> -- >> Morten >> >> On Thu, Sep 11, 2014 at 1:47 PM, sumudu weerasinghe >>

Re: [Dhis2-users] corrupted data elements

2014-10-03 Thread Morten Olav Hansen
Hi Proper CRUD operation in the web-api is not supported in 2.13, you will need to update to 2.15 or later to do that... -- Morten On Fri, Oct 3, 2014 at 4:46 PM, Salimone Domingos Nhancume < snhanc...@gmail.com> wrote: > Hi team; > > My DHIS2 does not load the list of Available data elements w

Re: [Dhis2-users] corrupted data elements

2014-10-03 Thread Morten Olav Hansen
> > for now in version 2.13 what would be the way to solve my problem? > > Salimone > > 2014-10-03 11:57 GMT+02:00 Morten Olav Hansen : > >> Hi >> >> Proper CRUD operation in the web-api is not supported in 2.13, you will >> need to update to 2.15 or later to d

Re: [Dhis2-users] corrupted data elements

2014-10-03 Thread Morten Olav Hansen
aelement where uid = 'yAuhfSERVSA'; >> >> You might have some other constraints which you may need to get rid of >> one by one. >> >> Not pretty, but might be the only way if you cannot simply delete it >> through the user interface. >> >> Reg

Re: [Dhis2-users] [Dhis2-devs] dhis2 system administration list

2014-10-09 Thread Morten Olav Hansen
Not really sure I see the need.. except for the commit messages, there is not really that many developer related questions on this list (we have a history of doing off-list discussions instead). Maybe a better solution would be to unsubscribe from the commit messages (people can subscribe to them

Re: [Dhis2-users] [Dhis2-devs] dhis2 system administration list

2014-10-09 Thread Morten Olav Hansen
i.e. something like http://serverfault.com/ -- Morten On Thu, Oct 9, 2014 at 6:55 PM, Morten Olav Hansen wrote: > -1 for any kind of forum. I would love some kind of stackexchange like > "forum" (or whatever its called, QA) though, much better for upvoting > answers

Re: [Dhis2-users] [Dhis2-devs] dhis2 system administration list

2014-10-09 Thread Morten Olav Hansen
-1 for any kind of forum. I would love some kind of stackexchange like "forum" (or whatever its called, QA) though, much better for upvoting answers etc, we could even piggyback on existing solutions instead of hosting our own. Who knows, they might even let us add a DHIS2 section. -- Morten On

Re: [Dhis2-users] how to search mailing list?

2014-10-11 Thread Morten Olav Hansen
Hi You can also use mail-archive https://www.mail-archive.com/dhis2-users@lists.launchpad.net/ https://www.mail-archive.com/dhis2-devs@lists.launchpad.net/ -- Morten On Sat, Oct 11, 2014 at 3:27 PM, Knut Staring wrote: > I think there should be better ways, but my usual way is just to google.

Re: [Dhis2-users] Import data of six-montly

2014-10-13 Thread Morten Olav Hansen
Hi Our ISO period formats are defined in [1], so for six-monthly it would be 2014S1, 2014S2. [1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s03.html -- Morten On Mon, Oct 13, 2014 at 1:59 PM, Salimone Domingos Nhancume < snhanc...@gmail.com> wrote: > Dear > > I would like to impo

Re: [Dhis2-users] Import data of six-montly

2014-10-13 Thread Morten Olav Hansen
You can see documentation about that here [1], that said.. I'm not a 100% sure that it's available in 2.13. [1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s24.html -- Morten On Mon, Oct 13, 2014 at 2:47 PM, Salimone Domingos Nhancume < snhanc...@gmail.com> wrote: > Thanks, > Other

Re: [Dhis2-users] Assign dataSets by using the Web API

2014-11-04 Thread Morten Olav Hansen
Hi, Can you provide the full stack trace? -- Morten On Tue, Nov 4, 2014 at 5:16 PM, Octavio GLORIO < octavio.glo...@barcelona.msf.org> wrote: > Hi all there, > I am facing a problem while trying to create an orgUnit and assign a > dataSet. > Specifically, I have tried two options: > >- Assi

Re: [Dhis2-users] [Dhis2-devs] Eivind Eriksen joins as developer

2014-11-12 Thread Morten Olav Hansen
Welcome to the team! -- Morten On Wed, Nov 12, 2014 at 6:12 PM, Jan Henrik Øverland < janhenrik.overl...@gmail.com> wrote: > Welcome! > > On Wed, Nov 12, 2014 at 12:58 PM, Abyot Gizaw wrote: > >> Welcome Eivind ! >> >> >> --- >> Thank you, >> Abyot. >> >> On Wed, Nov 12, 2014 at 12:51 PM, Lars

Re: [Dhis2-users] import ICD-10

2014-12-22 Thread Morten Olav Hansen
ns or under what option set > > > > Thanks > > > > From: Morten Olav Hansen [mailto:morte...@gmail.com] > Sent: Monday, December 22, 2014 12:14 PM > To: Nami Ghadri > Cc: dhis2-users > Subject: Re: [Dhis2-users] import ICD-10 > > > > Hi > > > > Can you

Re: [Dhis2-users] Filter data elements by domain type

2015-01-11 Thread Morten Olav Hansen
Support for enums have now beed added to trunk and 2.17 On Wed Jan 07 2015 at 7:10:40 PM Halvdan Grelland wrote: > DomainType is an enum, which doesn't seem to be supported for field > filtering. > The supported types (as stated in the dev manual) are : > "string | boolean | integer | float | co

Re: [Dhis2-users] Getting data element translations from web API

2015-01-12 Thread Morten Olav Hansen
We are looking this for 2.18 but it's not ready yet. On Jan 12, 2015 7:43 PM, "Blai Samitier" wrote: > Hello, > > I wonder if it's possible to get the name of a data element from the web > api in the language defined > in the profile of the user. > > For example, the data element "State of waitin

Re: [Dhis2-users] [Dhis2-devs] icon display like open folder instead beauty icon

2015-01-14 Thread Morten Olav Hansen
Hi Did you try and clear out the cache? It seems to be working fine here on v34.0.5 (on a mac) With beauty icon.. I assume you mean the app menu? On Thu Jan 15 2015 at 12:40:44 AM channara rin wrote: > Hi all, > do you know how to fix the problem of DHIS2 v2.17 doesn't show beauty icon > on fi

Re: [Dhis2-users] DHIS2 Hierarchy Problems

2015-01-14 Thread Morten Olav Hansen
Hi You might need to adjust your "Data output and analysis organisation units" under edit user. This allows you to adjust what is seen in the reporting tools. On Thu Jan 15 2015 at 12:59:15 AM Kenneth Kimani Mwangi < k.mwa...@pharmaccess.or.ke> wrote: > Hi, > I cannot seem to view the other org

Re: [Dhis2-users] PostgreSQL 9.4 & DHIS 2.x

2015-01-16 Thread Morten Olav Hansen
Hi Jason I haven't used it in production, but I'm using it for dev work.. and it seems to be working fine, should be an easy upgrade. On Thu Jan 15 2015 at 5:38:01 AM Jason Phillips wrote: > Hi all, > > > > Anyone using the new PostgreSQL 9.4 in the community, yet? Anything to > share about us

Re: [Dhis2-users] Delete org unit

2015-01-17 Thread Morten Olav Hansen
I just want to reiterate on his point.. there is a foreign key restraint on orgunit from the datavalue table This means you need to delete any datavalue that references that ou before deleting it On Jan 17, 2015 6:54 PM, "Pepe Ken Mvulu" wrote: > Hi all, > Thank you very much my friends, I'll tr

Re: [Dhis2-users] Period 2015 not being displayed in the Data Sets

2015-01-22 Thread Morten Olav Hansen
Hi Matthieu Did you try and enable "allow future periods" ? I don't think Jan 2015 will be available until Feb 2015. (this is a setting in data-set) -- Morten On Thu, Jan 22, 2015 at 6:12 PM, Matthieu Pinard wrote: > Hi there, > > it looks like we cannot select the year 2015 or any month of t

Re: [Dhis2-users] Import org. unit CSV

2015-01-23 Thread Morten Olav Hansen
Hi Can you verify in the database that the parent is set? I'm not 100% how the CSV importer works (I'm responsible for XML/JSON), but for our "normal" importer.. this should work fine. -- Morten On Fri, Jan 23, 2015 at 4:31 PM, Yoann Mira wrote: > Hi all, > > > > I tried to upload org. units t

Re: [Dhis2-users] Import org. unit CSV

2015-01-23 Thread Morten Olav Hansen
the CSV import, I would like to add a new root, and children to > it. > > > > *Novel-**T* Sàrl > > *Yoann MIRA **- *Solutions Engineer > > W: www.novel-t.ch | @: y...@novel-t.ch > > > > *From:* Morten Olav Hansen [mailto:morte...@gmail.com] > *Sent:* ven

Re: [Dhis2-users] [Dhis2-devs] Query Regarding Spring scheduler for set dynamic cron expression

2015-02-02 Thread Morten Olav Hansen
Did you have a look at the documentation? you can probably save the timing itself using a system or user setting, which means http://docs.spring.io/spring/docs/current/spring-framework-reference/html/scheduling.html -- Morten On Tue, Feb 3, 2015 at 12:31 PM, Mithilesh Kumar Thakur < mithilesh.h.

Re: [Dhis2-users] [Dhis2-devs] Create New track Entity through web API

2015-02-04 Thread Morten Olav Hansen
Hi It will delete them yes, but it will also associate the new ones that are in the payload. Remember that POST/PUT are not doing partial updates, so whatever is in the payload you are sending, is the whole new object. We have support for partial (single property only) updates in 2.18 [1]. [1] h

Re: [Dhis2-users] Error Adding Data Elements

2015-02-04 Thread Morten Olav Hansen
Hi The active column was removed from 2.18, so maybe there was an upgrade job that didn't work? could you try and remove that column? it shouldn't need to be there anymore -- Morten On Thu, Feb 5, 2015 at 1:46 PM, Jason Phillips wrote: > Hi all, > > > > We have an odd one: > > When trying to a

Re: [Dhis2-users] Error Adding Data Elements

2015-02-04 Thread Morten Olav Hansen
I might have been a bit quick there, I see no active in 2.17 either. Do you have a column named active for data-element table? -- Morten On Thu, Feb 5, 2015 at 1:55 PM, Morten Olav Hansen wrote: > Hi > > The active column was removed from 2.18, so maybe there was an upgrade job >

Re: [Dhis2-users] Error Adding Data Elements

2015-02-04 Thread Morten Olav Hansen
Ok, great. :) Yes, I see it was removed from 2.16, 2.17 and 2.18 at least. Not sure when it happened (it could have been backported), but probably at the same time as orgUnits active field was removed. -- Morten On Thu, Feb 5, 2015 at 2:10 PM, Jason Phillips wrote: > Hi all, > > > > Some more d

Re: [Dhis2-users] [Dhis2-devs] Create New track Entity through web API

2015-02-05 Thread Morten Olav Hansen
When you send in a TEI (Tracked entity instance), something like this: { "trackedEntity": "ID1", "orgUnit": "ID2", "attributes": [ { "attribute": "att1", "value": "value" } ] } And then you send in another time with this payload { "trackedEntity": "ID1", "orgUnit": "ID2",

Re: [Dhis2-users] [Dhis2-devs] Create New track Entity through web API

2015-02-05 Thread Morten Olav Hansen
ered program, the one record of track entity that just > registered got the blank attribute value. > > You can look my video in attached file > > On Thu, Feb 5, 2015 at 3:36 PM, Morten Olav Hansen > wrote: > >> When you send in a TEI (Tracked entity instance)

Re: [Dhis2-users] Data entry by District

2015-02-25 Thread Morten Olav Hansen
Yes, multi org as Knut said, need to be enabled in system settings On Wednesday, February 25, 2015, Knut Staring wrote: > Yes. It is called multiple orgunits or something like that for the dataset > On 25 Feb 2015 17:42, "Morina Matasi" > wrote: > >> Is it possible to capture data for all facil

Re: [Dhis2-users] [Dhis2-devs] java 8 required from dhis 2.20

2015-02-25 Thread Morten Olav Hansen
Calle, All the developers will soon switch to Java 8.. if you know any issues, just write me directly and I will fix it -- Morten On Wed, Feb 25, 2015 at 8:15 PM, Calle Hedberg wrote: > Lars, > > I had an issue with java 8.25 and switched back (8.05 was running fine). > > Any DHIS2 compatibili

Re: [Dhis2-users] Add new dataelement in an existing program

2015-02-26 Thread Morten Olav Hansen
Hi Marko Could you provide us with the full log output? Need to know a bit more information.. -- Morten On Fri, Feb 27, 2015 at 6:14 AM, Marko David Garcia wrote: > Hello friends. > > When adding a new data element in an existing program the following error > occurs: > > *"An exception Occurre

Re: [Dhis2-users] Why is much of the About DHIS2 information hidden in some server installs?

2015-03-02 Thread Morten Olav Hansen
Hi Knut This is actually a bug, we have been trying to reproduce it.. as it only shows up in a few servers (we had the same issue on /dev). I assume this is using Bobs script? Ubuntu 14.04? -- Morten On Tue, Mar 3, 2015 at 10:48 AM, Knut Staring wrote: > Hello, > > I am superuser on the Lao i

Re: [Dhis2-users] Getting data element translations from web API

2015-03-04 Thread Morten Olav Hansen
> Web API would be the fastest way to do it. > > I understand my need is pretty related to this one that i'm > re-opening...so ... was it finally included in 2.18??? > > Thanks! > > On 12 January 2015 at 14:37, Morten Olav Hansen > wrote: > >> We are looking

Re: [Dhis2-users] [Dhis2-devs] dhis2 2, 18 resource table generate Bugs

2015-03-23 Thread Morten Olav Hansen
Yes, this is a known bug. I'm still looking into it, it only happens with certain timezones, will let you know when it has been fixed. -- Morten On Mon, Mar 23, 2015 at 3:05 PM, Ola Hodne Titlestad wrote: > Hi Fatema, > > This is not a database issue, but a bug that occurs when generating the >

Re: [Dhis2-users] Need Some Guidelines

2015-04-08 Thread Morten Olav Hansen
Hi Muhammad If you look at the docs, there should be an alternative format when you need to send for multiple periods -- Morten On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui < m.bilalsidd...@micromerger.com> wrote: > Hi thanks for reply > > I tried following > { > "dataSet": "dataSet

Re: [Dhis2-users] Need Some Guidelines

2015-04-08 Thread Morten Olav Hansen
;, > "orgUnit":"11101001", > "period":"20150312" > }, > { > "dataElement":"CR_ControlID", > "value":"111-DEC-14-1-01001-5", > &q

Re: [Dhis2-users] Need Some Guidelines

2015-04-08 Thread Morten Olav Hansen
, "value": "16" }, > { "dataElement": "f7n9E0hX8qk", "period": "201402", "orgUnit": > "Jkhdsf8sdf4", "value": "18" } > ] > } > I have little bit confuse about above format. >

Re: [Dhis2-users] Can't run dhis2 from .war file

2015-04-20 Thread Morten Olav Hansen
PermGen was completely removed in 1.8. -- Morten On Mon, Apr 20, 2015 at 4:29 PM, Knut Staring wrote: > Thanks - I was asking because i was told the PermGen should no longer be > an issue with Java 8. > > Knut > > On Mon, Apr 20, 2015 at 12:52 PM, Muhammad Bilal Siddqui < > m.bilalsidd...@micro

Re: [Dhis2-users] Translations not shown in pivot tables

2015-04-24 Thread Morten Olav Hansen
Hi Victor This is not something we can support in the 2.18 release sadly, but we have extended our web-api to support db translation in 2.19, so hopefully the reporting tools will also be updated to reflect this. -- Morten On Fri, Apr 24, 2015 at 2:02 PM, Victor Garcia wrote: > Hi Jason, > and

Re: [Dhis2-users] Getting exception when opening Tracker Capture

2015-04-24 Thread Morten Olav Hansen
Hi Go to your version table, and remove one (or both) of the entries with versionkey organisationUnit. -- Morten On Sat, Apr 25, 2015 at 12:03 AM, Paulo Grácio wrote: > web_1 | * INFO 2015-04-24 17:00:55,890 Login success for user: 'admin', > ip: '192.168.59.3' (DefaultUserAuditService.java [

Re: [Dhis2-users] Getting exception when opening Tracker Capture

2015-04-25 Thread Morten Olav Hansen
on the application > side? > > /Paulo > > On 25 April 2015 at 05:29, Morten Olav Hansen wrote: > >> Hi >> >> Go to your version table, and remove one (or both) of the entries with >> versionkey organisationUnit. >> >> -- >> Morten >> >

Re: [Dhis2-users] Getting exception when opening Tracker Capture

2015-04-25 Thread Morten Olav Hansen
Docker. > > https://github.com/pgracio/dhis2-docker > > Regards, > Paulo > > > On 25 April 2015 at 13:47, Morten Olav Hansen wrote: > >> How did you create the metadata, did you use any kind of import >> mechanism? I have seen this before, but haven't been able to r

Re: [Dhis2-users] Data Entry Error

2015-04-27 Thread Morten Olav Hansen
Hi Could you include the log from your tomcat server? We need to see the full error. -- Morten On Tue, Apr 28, 2015 at 12:59 AM, Obaloluwa Adekola wrote: > Hi, > > What possibly could be the cause of this error message when trying to > enter data for a particular dataset in a specific period?

Re: [Dhis2-users] Data Entry Error

2015-04-27 Thread Morten Olav Hansen
t happens with h2 and MySQL but not > PostgreSQL. > > - > Abda Anne > Bamako (Mali) > > On Tue, Apr 28, 2015 at 2:47 AM, Morten Olav Hansen > wrote: > >> Hi >> >> Could you include the log from your tomcat server? We need to see the >

Re: [Dhis2-users] [Dhis2-devs] Org Unit Level 2 Issue

2015-04-27 Thread Morten Olav Hansen
Hi The list actually includes the selected orgUnit, so its easier to edit it (this is especially true for root orgUnits). I'm not sure why its in the middle of the list though, did you click on the column? (to sort it) -- Morten On Tue, Apr 28, 2015 at 12:09 PM, Pamod Amarakoon wrote: > > Dear

Re: [Dhis2-users] [Dhis2-devs] Org Unit Level 2 Issue

2015-04-27 Thread Morten Olav Hansen
I think it was for the 2.17 release (probably not on the release notes, it was just a small feature). -- Morten On Tue, Apr 28, 2015 at 12:40 PM, Pamod Amarakoon wrote: > > Hi Morten, > > > Thank you for the prompt reply. I have another instance that has a > slightly different org unit hierarch

Re: [Dhis2-users] [Dhis2-devs] DHIS2: Having issues while trying to create reports/charts

2015-05-12 Thread Morten Olav Hansen
Hi, You need to run analytics, if you don't see that as an option.. it means you don't have superuser rights. Which user are you login in as? admin/district? -- Morten On Tue, May 12, 2015 at 2:20 PM, Muhammad Tahir wrote: > Hi All, > > I have done the following actions in first step, but can

Re: [Dhis2-users] upgrade from 2.17 catalina log

2015-05-12 Thread Morten Olav Hansen
This is probably due to you not properly cleaning webapps directory before putting the new war file there.. can you clean it out? and put the dhis.war file there again -- Morten On Wed, May 13, 2015 at 8:46 AM, Simon Muyambo wrote: > Anyone ever seen the problem below when upgrading from 2.17 >

Re: [Dhis2-users] [Dhis2-devs] How many records can Organization Unit hold up?

2015-05-15 Thread Morten Olav Hansen
Can you be a bit more specific? where does it "crash"? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any) If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red -- Morten On Fri,

Re: [Dhis2-users] [Dhis2-devs] Meta data import

2015-05-21 Thread Morten Olav Hansen
Hi Can you try and export/import OUs only? to verify? is the log giving you any indication of what might be wrong? -- Morten On Fri, May 22, 2015 at 6:42 AM, Thuy Nguyen wrote: > I think you shouldn't export and import from different versions. You > should do this in the same version and upgra

Re: [Dhis2-users] erro in analytics and data mart

2015-05-30 Thread Morten Olav Hansen
Hi Can you give us the complete log output? there should be something similar in the logs, with more information.. -- Morten On Fri, May 29, 2015 at 3:40 PM, Nami Ghadri wrote: > Hello, > > > > When I try to export “Analytics tables update” in Analytics and Data Mart > I receive the below mess

Re: [Dhis2-users] [Dhis2-devs] Web API Not Allowing Bulk Data Values Transfer on Demo Site

2015-06-01 Thread Morten Olav Hansen
Hi You need to use https when you are using cURL, it doesn't forward automatically. -- Morten On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa wrote: > > > 301 Moved Permanently > > Moved Permanently > The document has moved https://apps.dhis2.org/demo/api/dataValueSets";>here. > > > > Hi, > >

Re: [Dhis2-users] Request for additions

2015-06-01 Thread Morten Olav Hansen
Hi Nick Cloning on the context menus have now been added to 2.19 and trunk. We have a blueprint for filter by groups already, hope to have it in 2.20. https://blueprints.launchpad.net/dhis2/+spec/support-reorder-and-grouping-in-selected-plugin -- Morten On Tue, Jun 2, 2015 at 8:36 AM, Shurajit

[Dhis2-users] Changes to web-api object filter in 2.19/2.20

2015-06-03 Thread Morten Olav Hansen
Hi everyone As part of a cleanup in the object filter in 2.20, we have decided to change the default logic from OR to AND in the object filter, the current situation was a bit chaotic where it was not always straight forward to know if OR or AND was applied. For the most part, this change should

Re: [Dhis2-users] [Dhis2-devs] logging (for server administrators)

2015-06-07 Thread Morten Olav Hansen
On Sun, Jun 7, 2015 at 10:37 PM, Lars Helge Øverland wrote: > No everything generated by DHIS 2 including exceptions go into the main > dhis.log file. We should of course aim at fixing the cause of these errors. > Is there an easy way to switch this off during development? Having to tail an extr

Re: [Dhis2-users] [Dhis2-devs] DHIS2 Code Build and Deploy

2015-06-08 Thread Morten Olav Hansen
Hi Seems like windows don't like the long filenames. Are you doing branching in Eclipse? can you try from the command line instead, just do something like "bzr branch lp:dhis2" from the root of d:\\ Then you can import the pom.xml file into eclipse -- Morten On Mon, Jun 8, 2015 at 1:34 PM, Muha

Re: [Dhis2-users] [Dhis2-devs] DHIS2 Code Build and Deploy

2015-06-10 Thread Morten Olav Hansen
at above mentioned path. > Also I tried to edit maven dependencies (BuildPath->Libraries) but when > selecting the *dhis-api-2.12-SNAPSHOT.jar*, its neither editable nor can > be removed. > > > I have download source code for 2.19. > > > On Mon, Jun 8, 2015 at 12:22

Re: [Dhis2-users] [Dhis2-devs] List of permission in DHIS2

2015-06-10 Thread Morten Olav Hansen
/api/schemas is also a good source of metadata authorities (especially those linked to the web-api). -- Morten On Wed, Jun 10, 2015 at 5:27 PM, Abyot Gizaw wrote: > Yes, I have a very rough document. I was hoping for us to clean it first > as there are lots of roles which are not in use current

Re: [Dhis2-users] [Dhis2-devs] Data Element - Aggregate vs Tracker Domain Type values

2015-06-14 Thread Morten Olav Hansen
For data sets (collecting aggregate data) you must use the AGGREGATE domain type, for tracker (where data elements are collected into programs / program-stages) you must use domain type TRACKER. -- Morten On Mon, Jun 15, 2015 at 12:03 PM, Muhammad Tahir wrote: > Hi, > > What is the difference b

Re: [Dhis2-users] [Dhis2-devs] dhis2 2, 18 resource table generate Bugs

2015-06-17 Thread Morten Olav Hansen
37;3;"2014-11-30";"2014-12-30" > 1283338;3;"2013-12-31";"2014-01-30" > 1283339;3;"2014-01-31";"2014-02-27" > 1283340;3;"2014-07-31";"2014-08-30" > 1283341;3;"2014-10-31";"2014-11-29" > 1283

Re: [Dhis2-users] Error in configuring tomcat in XXAMP

2015-06-26 Thread Morten Olav Hansen
Hi Seems like you have another (non-tomcat) service running at port 8080. I see you have enabled apache+php, is this something you need? maybe its a service you can disable? -- Morten On Sat, Jun 27, 2015 at 12:26 AM, Bridget Magoba wrote: > Dear all, > > Am trying to configure tomcat in XXAMP

Re: [Dhis2-users] Error in configuring tomcat in XXAMP

2015-06-26 Thread Morten Olav Hansen
already running on port 8009! >> >> 11:16:03 AM [Tomcat] Is Tomcat already running? >> >> 11:16:03 AM [Tomcat] Attempting to start Tomcat app... >> >> >> >> >> >> >> >> *From:* Morten Olav Hansen [mailto:morte...@gmail.com] &

Re: [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-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

  1   2   3   4   5   6   >