[Dhis2-devs] Reset DataSet completeness to zero - DHIS2 2.25

2017-11-21 Thread Raminosoa Rabemanantsoa, Tantely
Dear DHIS2 community,

I would like to ask if there is a way to reset report completeness to 0
(zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API?
We know the Orgunit uid, period and DataSet uid to reset.

Thank you already for your suggestions!

Regards,

Tantely.

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Morten Olav Hansen
Hi Omer

Just use the normal OU payload, and add the attributes:

{
   ... normal OU payload,
   "attributes": [
  { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value1"},
  { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value2"}
   ]
}

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Wed, Nov 22, 2017 at 12:08 PM, Omer Butt  wrote:

> Hi,
>
> I have studied developer guide for searching an API: *That will set the
> value of extra attributes that i have added to organisation unit. *
> Could not find yet.
>
> *For Example :*
>
> Attribute id:abc (*which is the extra field/attribute of organisation
> unit )*
> Attribute value: 123
> set it to org unit - id :abcxmsms etcc;
>
> Can you please guide me for this API? Or any Reference ?
>
> Thanks
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_3764885447493149455_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Omer Butt
Hi,

I have studied developer guide for searching an API: *That will set the
value of extra attributes that i have added to organisation unit. *
Could not find yet.

*For Example :*

Attribute id:abc (*which is the extra field/attribute of organisation unit
)*
Attribute value: 123
set it to org unit - id :abcxmsms etcc;

Can you please guide me for this API? Or any Reference ?

Thanks




Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-21 Thread Morten Olav Hansen
Hi Jhansi

Legends are now directly contained in the object where they are used, so no
need to reference by UIDs anymore, translations should also be put directly
in the legend payload.

created/lastUpdated should not be gone, I think thats a bug, I will look
into it.

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Nov 21, 2017 at 1:18 PM, Jhansi Reddy Karee <
jhans...@thoughtworks.com> wrote:

> Hello Team,
>
> Did you get a chance to take a look at DHIS 2.27 upgrade issues?
>
> Thanks,
> Jhansi
>
>
>
>
> On Wed, Nov 15, 2017 at 12:14 PM, Mani Madhoolika Bulusu <
> mbul...@thoughtworks.com> wrote:
>
>>
>> Hello team,
>>
>> We are planning an upgrade from DHIS 2.26 to DHIS 2.27, and encountered
>> the following blockers during analysis:
>>
>>- In DHIS 2.26, we were entering the legend translations using PUT '
>>/api/25/legends/{someLegendId}/translations.json'. In DHIS 2.27 this
>>URL is failing with 404 error code. Could you point us to an end point for
>>translating the legends in DHIS 2.27?
>>- In DHIS 2.27, Enrollments and TrackedEntityInstance APIs are
>>returning lastUpdatedAtClient and createdAtClient timestamps instead of
>>lastUpdated and created timestamps. On upgrading DHIS from 2.26 to 2.27, 
>> we
>>are not getting lastUpdatedAtClient and createdAtClient timestamps for the
>>Enrollments and TrackedEntityInstances created in DHIS 2.26. Could you
>>point us to a migration script to migrate the lastUpdated and created to
>>lastUpdatedAtClient and createdAtClient, if any.
>>
>> Let us know if you need more details.
>>
>> Thanks,
>> Madhoolika/Jhansi
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-21 Thread Morten Olav Hansen
Hi

Could you please include the server log? it should include a stack trace of
what is going on

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Mon, Nov 20, 2017 at 6:19 PM, Sourabh Bhardwaj 
wrote:

> Hi All,
>
> I need to share some information from resources publicly say a
> image/document etc.
>
> Have set External access (without login) to true.
>
> https://play.dhis2.org/demo/api/documents/{UID}
>
> is returning:
>
> *{"httpStatus":"Internal Server
> Error","httpStatusCode":500,"status":"ERROR"}*
>
> Is there any user Role also(however I have logged in with super user) to
> create public resources or is there any alternative available?
>
> Thanks.
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Data Elements and Category Options Not Showing Up in Form Designer

2017-11-21 Thread Laura E. Lincks
You may want to upgrade to the latest build. We had a similar problem with
2.27 (on a build from August) and we just upgraded this very minute to the
latest build 37edfc2 (Nov 8, 2017) and the problem appears fixed.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Mon, Nov 20, 2017 at 1:13 PM, Ifeanyi Okoye 
wrote:

> Hello All,
> We are encountering this issue with the form designer where either the
> data element does not show up in the form designer i.e. after having been
> assigned to a dataset, or some of the category options do not show up.
>
>
> In this instance I have a data element disaggregated by testing
> modalities, sex, and age (age categories <1,1-4,5-9,10-14,15-19,20-24,
> 25-29,30-34,35-39,40-44,45-49,50+).
>
> The way it is showing up, a number of the age bands are missing in the
> form designer and it is not uniform. E.g. VCT has female 15-19, VCT is
> missing male 15-19.
>
> I have run maintenance, generated resource tables, run analytics, removed
> the options from the category combo and put them back again, but still not
> showing up.
>
> We use custom forms a lot and this is not the first time we are
> encountering this, but then, not to this degree.
>
>
> Can anybody please help with this?
>
> We are running DHIS2 ver 2.27 Build revision: a8283e0 Build date:
> 2017-09-21 06:25
>
> Thank you.
>
> Warm Regards,
>
> Ifeanyi
>
> Read DrMaestro's Blog
> www.ifeanyiokoye.com
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Adding compulsory data elements

2017-11-21 Thread Jasper Timm
Hey devs,

Be great to get a response on this. At the moment it's preventing us from
using compulsory data elements at all.

I've reproduced it on other 2.26 instances too.

Thanks,

- Jasper

On Tue, Nov 14, 2017 at 1:02 PM, Jasper Timm  wrote:

> Hi devs,
>
> We're having trouble making data elements compulsory for a data set. This
> is for DHIS2 2.26.
>
> When attempting to save a data set after adding data elements as
> compulsory we get the following 500 error from the server:
> "No row with the given identifier exists: [org.hisp.dhis.dataset.
> DataSetElement#30043359]"
>
> The given id does exist in the DataSetElement table. If I was to guess, it
> appears to be an issue with Hibernate caching...
>
> (Note, we were previously getting an error on the uniqueness constraint
> for dataElementOperands, but we've removed this constraint from the DB.)
>
> Here is the relevant part of the stack trace:
>
>
> 11:07:39
> * INFO 2017-11-14 11:07:39,759 (admin) Updating 1 object(s) of type
> DataSet (DefaultObjectBundleService.java [http-apr-8080-exec-3685])
> 
> 11:07:39
> org.hibernate.ObjectNotFoundException: No row with the given identifier
> exists: [org.hisp.dhis.dataset.DataSetElement#30043359]
> 
> 11:07:39
> at org.hibernate.boot.internal.StandardEntityNotFoundDelegate
> .handleEntityNotFound(StandardEntityNotFoundDelegate.java:28)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultLoadEventListener.load(
> DefaultLoadEventListener.java:227)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(
> DefaultLoadEventListener.java:278)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultLoadEventListener.doOnLoad(
> DefaultLoadEventListener.java:121)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(
> DefaultLoadEventListener.java:89)
> 
> 11:07:39
> at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1142)
> 
> 11:07:39
> at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1025)
> 
> 11:07:39
> at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:639)
> 
> 11:07:39
> at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:252)
> 
> 11:07:39
> at org.hibernate.collection.internal.PersistentSet.initializeFromCache(
> PersistentSet.java:128)
> 
> 11:07:39
> at org.hibernate.cache.spi.entry.CollectionCacheEntry.assemble(
> CollectionCacheEntry.java:58)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.
> initializeCollectionFromCache(DefaultInitializeCollectionEve
> ntListener.java:144)
> 
> 11:07:39
> at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.
> onInitializeCollection(DefaultInitializeCollectionEventListener.java:59)
> 
> 11:07:39
> at org.hibernate.internal.SessionImpl.initializeCollection(
> SessionImpl.java:2004)
> 
> 11:07:39
> at org.hibernate.collection.internal.AbstractPersistentCollection$
> 4.doWork(AbstractPersistentCollection.java:567)
> 
> 11:07:39
> at org.hibernate.collection.internal.AbstractPersistentCollection.
> withTemporarySessionIfNeeded(AbstractPersistentCollection.java:249)
> 
> 11:07:39
> at org.hibernate.collection.internal.AbstractPersistentCollection.
> initialize(AbstractPersistentCollection.java:563)
> 
> 11:07:39
> at org.hibernate.collection.internal.AbstractPersistentCollection.read(
> AbstractPersistentCollection.java:132)
> 
> 11:07:39
> at org.hibernate.collection.internal.PersistentSet.
> iterator(PersistentSet.java:163)
> 
> 11:07:39
> at java.util.Spliterators$IteratorSpliterator.estimateSize(Spliterators.
> java:1821)
> 
> 11:07:39
> at java.util.Spliterator.getExactSizeIfKnown(Spliterator.java:408)
> 
> 11:07:39
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:480)
> 
> 11:07:39
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(
> AbstractPipeline.java:471)
> 
> 11:07:39
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(
> ReduceOps.java:708)
> 
> 11:07:39
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> 
> 11:07:39
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElement.getDataSets(DataElement.java:309)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElement.getDataSet(DataElement.java:284)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElement.getPeriodType(
> DataElement.java:352)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElement.getFrequencyOrder(
> DataElement.java:433)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElementOperand.updateProperties(
> DataElementOperand.java:398)
> 
> 11:07:39
> at org.hisp.dhis.dataelement.DataElementOperand.hashCode(
> DataElementOperand.java:614)
> 
> 11:07:39
> at java.util.HashMap.hash(HashMap.java:338)
> 
> 11:07:39
> at java.util.HashMap.put(HashMap.java:611)
> 
> 11:07:39
> at java.util.HashSet.add(HashSet.java:219)
> 

Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Dan Cocos
Depending on the version of Tomcat it doesn’t always log everything to 
catalina.out
$DHIS_HOME by default /opt/dhis2/ then look in  /opt/dhis2/logs/dhis.log and 
you should be able to find some clues.

Good luck.

Dan Cocos
Principal, BAO Systems
dco...@baosystems.com | http://www.baosystems.com |  2900 K Street, Suite 406, 
Washington D.C. 20007


> On Nov 21, 2017, at 9:46 AM, Knut Staring  wrote:
> 
> Hi Vunda,
> 
> Look for a file called catalina.out, probably in your logs folder under 
> Tomcat.
> 
> Knut
> 
> On Tue, Nov 21, 2017 at 5:25 PM, vunda limbe  > wrote:
> Hi ramon,
> 
> I only find this in my tomcat folder
> 
> On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta 
> > wrote:
> in your logs there's only the OK saying DHIS2 started. Try to get the log at 
> the time of the error (tail -f while reproducing the error)
> 
> 2017-11-21 10:37 GMT+01:00 vunda limbe  >:
> Hi Knut,
> 
> Attached the logs.
> 
> Thanks.
> 
> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  > wrote:
> Hello Vunda, 
> 
> Whenever you get a 500 Internal Server Error, you have too look at (and 
> probrobably share) your Tomcat server log, which should contain more 
> interesting error messages.
> 
> Regards,
> Knut
> 
> 
> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe  > wrote:
> Hi Everybody,
> 
> When I try to export meta data in both json or xml, I'm getting this message: 
> "
> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
> Could someone tell me how to fix this? Alternativly, someone can give me a 
> script in order to export dataelement, COC, CO and Dataset using Web Api.
> 
> Your help is welcome.
> 
> Thanks.
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 
> Skype: knutstar
> http://dhis2.org 
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> 
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683
> Mobile 1: +33 6 4434 2931
> Mobile 2: +47 9188 0522 
> Skype: knutstar
> ___
> Mailing list: https://launchpad.net/~dhis2-devs 
> 
> Post to : dhis2-devs@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-devs 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Knut Staring
Hi Vunda,

Look for a file called catalina.out, probably in your logs folder under
Tomcat.

Knut

On Tue, Nov 21, 2017 at 5:25 PM, vunda limbe  wrote:

> Hi ramon,
>
> I only find this in my tomcat folder
>
> On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta <
> dh...@pomareta.ch> wrote:
>
>> in your logs there's only the OK saying DHIS2 started. Try to get the log
>> at the time of the error (tail -f while reproducing the error)
>>
>> 2017-11-21 10:37 GMT+01:00 vunda limbe :
>>
>>> Hi Knut,
>>>
>>> Attached the logs.
>>>
>>> Thanks.
>>>
>>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  wrote:
>>>
 Hello Vunda,

 Whenever you get a 500 Internal Server Error, you have too look at
 (and probrobably share) your Tomcat server log, which should contain more
 interesting error messages.

 Regards,
 Knut


 On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe 
 wrote:

> Hi Everybody,
>
> When I try to export meta data in both json or xml, I'm getting this
> message: "
>
> {"httpStatus":"Internal Server 
> Error","httpStatusCode":500,"status":"ERROR"}
>
> Could someone tell me how to fix this? Alternativly, someone can give me 
> a script in order to export dataelement, COC, CO and Dataset using Web 
> Api.
>
> Your help is welcome.
>
> Thanks.
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 Norway: +4791880522 <+47%20918%2080%20522>
 Skype: knutstar
 http://dhis2.org

>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683
Mobile 1: +33 6 4434 2931
Mobile 2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread vunda limbe
Hi ramon,

I only find this in my tomcat folder

On Tue, Nov 21, 2017 at 11:47 AM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> in your logs there's only the OK saying DHIS2 started. Try to get the log
> at the time of the error (tail -f while reproducing the error)
>
> 2017-11-21 10:37 GMT+01:00 vunda limbe :
>
>> Hi Knut,
>>
>> Attached the logs.
>>
>> Thanks.
>>
>> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  wrote:
>>
>>> Hello Vunda,
>>>
>>> Whenever you get a 500 Internal Server Error, you have too look at (and
>>> probrobably share) your Tomcat server log, which should contain more
>>> interesting error messages.
>>>
>>> Regards,
>>> Knut
>>>
>>>
>>> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe  wrote:
>>>
 Hi Everybody,

 When I try to export meta data in both json or xml, I'm getting this
 message: "

 {"httpStatus":"Internal Server 
 Error","httpStatusCode":500,"status":"ERROR"}

 Could someone tell me how to fix this? Alternativly, someone can give me a 
 script in order to export dataelement, COC, CO and Dataset using Web Api.

 Your help is welcome.

 Thanks.


 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-us...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522 <+47%20918%2080%20522>
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:48 +0100] "GET /dhis HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:48 +0100] "GET /dhis/ HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:49 +0100] "GET 
/dhis/dhis-web-commons-about/redirect.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:52 +0100] "GET 
/dhis/dhis-web-commons/security/login.action HTTP/1.1" 200 4716
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:20:55 +0100] "GET 
/dhis/api/staticContent/logo_front HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:09 +0100] "POST 
/dhis/dhis-web-commons-security/login.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:10 +0100] "GET 
/dhis/dhis-web-commons-about/redirect.action HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:11 +0100] "GET 
/dhis/dhis-web-dashboard-integration/index.action HTTP/1.1" 200 21427
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:14 +0100] "GET 
/dhis/dhis-web-commons/i18nJavaScript.action?_rev=47dcc06 HTTP/1.1" 200 7076
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:24 +0100] "GET 
/dhis/api/staticContent/logo_banner HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "POST /dhis/api/i18n HTTP/1.1" 
200 1803
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me/authorization HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/apps HTTP/1.1" 
304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me/user-account.json?_=1511266884945 HTTP/1.1" 200 240
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/userSettings 
HTTP/1.1" 200 321
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET /dhis/api/system/info 
HTTP/1.1" 200 1309
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/system/info.json HTTP/1.1" 200 1309
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,userCredentials%5B:all,!user,userRoles%5Bid%5D
 HTTP/1.1" 200 1202
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/api/dashboards.json?fields=id,displayName=false=false&_=1511266885492
 HTTP/1.1" 200 569
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:25 +0100] "GET 
/dhis/dhis-web-commons/oust/clearSelectedOrganisationUnits.action HTTP/1.1" 200 
118
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/dhis-web-commons/oust/getExpandedTree.action?_=1511266885845 HTTP/1.1" 
200 170
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/api/systemSettings/helpPageLink HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET 
/dhis/dhis-web-commons/menu/getModules.action HTTP/1.1" 200 5621
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "POST /dhis/api/i18n HTTP/1.1" 
200 1022
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:26 +0100] "GET /dhis/api/systemSettings 
HTTP/1.1" 200 3523
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:28 +0100] "GET 
/dhis/api/userSettings/keyStyle HTTP/1.1" 304 -
0:0:0:0:0:0:0:1 - - [21/Nov/2017:13:21:28 +0100] "GET 

Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread JM Alcantara
Perhaps a user setting too? I suppose other options could be useful, for 
example the current location of the computer.
JM


> El 21/11/2017, a las 12:48, Knut Staring  escribió:
> 
> I suppose a JIRA request could be filed to include this as a (global?) 
> setting.
> 
> Knut
> 
> On Tue, Nov 21, 2017 at 12:41 PM, Jan Henrik Øverland  > wrote:
> Hi, there's currently no way to set a default map center.
> 
> Jan
> 
> On 21 November 2017 at 03:56, 林晓东 > 
> wrote:
> Hi,all,
> 
>  I want to know  how to set the default map center of gis app.
> 
>   Thanks.
> 
> 
> 
> 
> --
> 此致
> 
> easy
> 
> 莫愁前路无知己,天下谁人不识君。
> 
> 
>  
> 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org 
> ___
> Mailing list: https://launchpad.net/~dhis2-users 
> 
> Post to : dhis2-us...@lists.launchpad.net 
> 
> Unsubscribe : https://launchpad.net/~dhis2-users 
> 
> More help   : https://help.launchpad.net/ListHelp 
> 
> 
> 
> 
> 
> -- 
> Knut Staring
> 
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683
> Mobile 1: +33 6 4434 2931
> Mobile 2: +47 9188 0522 
> Skype: knutstar
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread Knut Staring
I suppose a JIRA request could be filed to include this as a (global?)
setting.

Knut

On Tue, Nov 21, 2017 at 12:41 PM, Jan Henrik Øverland  wrote:

> Hi, there's currently no way to set a default map center.
>
> Jan
>
> On 21 November 2017 at 03:56, 林晓东  wrote:
>
>> Hi,all,
>>
>>  I want to know  how to set the default map center of gis app.
>>
>>   Thanks.
>>
>>
>>
>>
>> --
>> 此致
>>
>> easy
>>
>> 莫愁前路无知己,天下谁人不识君。
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683
Mobile 1: +33 6 4434 2931
Mobile 2: +47 9188 0522
Skype: knutstar
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread Ramón José Jiménez Pomareta
in your logs there's only the OK saying DHIS2 started. Try to get the log
at the time of the error (tail -f while reproducing the error)

2017-11-21 10:37 GMT+01:00 vunda limbe :

> Hi Knut,
>
> Attached the logs.
>
> Thanks.
>
> On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  wrote:
>
>> Hello Vunda,
>>
>> Whenever you get a 500 Internal Server Error, you have too look at (and
>> probrobably share) your Tomcat server log, which should contain more
>> interesting error messages.
>>
>> Regards,
>> Knut
>>
>>
>> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe  wrote:
>>
>>> Hi Everybody,
>>>
>>> When I try to export meta data in both json or xml, I'm getting this
>>> message: "
>>>
>>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
>>>
>>> Could someone tell me how to fix this? Alternativly, someone can give me a 
>>> script in order to export dataelement, COC, CO and Dataset using Web Api.
>>>
>>> Your help is welcome.
>>>
>>> Thanks.
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522 <+47%20918%2080%20522>
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Reset DataSet completeness to 0 (incomplete)

2017-11-21 Thread Raminosoa Rabemanantsoa, Tantely
Dear DHIS2 community,

I would like to ask if there is a way to reset report completeness to 0
(zero) in a bulk manner for some group of OrgUnit, via SQLView or Web API,
if we know the Orgunit uid, period and DataSet uid to reset? I am using
DHIS2 2.25.

Thank you already for your suggestions!

Regards,

Tantely.

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] how to set the default gis app map 's center?

2017-11-21 Thread Jan Henrik Øverland
Hi, there's currently no way to set a default map center.

Jan

On 21 November 2017 at 03:56, 林晓东  wrote:

> Hi,all,
>
>  I want to know  how to set the default map center of gis app.
>
>   Thanks.
>
>
>
>
> --
> 此致
>
> easy
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Error when exporting metadata throuhg metadata export

2017-11-21 Thread vunda limbe
Hi Knut,

Attached the logs.

Thanks.

On Fri, Nov 17, 2017 at 2:37 PM, Knut Staring  wrote:

> Hello Vunda,
>
> Whenever you get a 500 Internal Server Error, you have too look at (and
> probrobably share) your Tomcat server log, which should contain more
> interesting error messages.
>
> Regards,
> Knut
>
>
> On Fri, Nov 17, 2017 at 1:57 PM, vunda limbe  wrote:
>
>> Hi Everybody,
>>
>> When I try to export meta data in both json or xml, I'm getting this
>> message: "
>>
>> {"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR"}
>>
>> Could someone tell me how to fix this? Alternativly, someone can give me a 
>> script in order to export dataelement, COC, CO and Dataset using Web Api.
>>
>> Your help is welcome.
>>
>> Thanks.
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 <+47%20918%2080%20522>
> Skype: knutstar
> http://dhis2.org
>


catalina.2017-11-17.log
Description: Binary data


localhost.2017-11-17.log
Description: Binary data
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp