Re: [Dhis2-users] DHIS2 event capture app

2016-03-14 Thread Ese Egerega
Hi Simon,

You need to assign the org units to the user account under Data capture and
maintenance org units. See snapshot below.
Apps >> Users

-Ese

[image: Inline image 1]

On Mon, Mar 14, 2016 at 11:09 PM, Simon Muyambo  wrote:

> DHIS2 Event capture downloaded from play store is failing to display
> organisation units. Anyone come across this issue?
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 13177 (20160314) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Am trying to sync tracker data values to a central server

2016-03-01 Thread Ese Egerega
Thanks a lot Lars

On Tue, Mar 1, 2016 at 9:48 PM, Lars Helge Øverland <l...@dhis2.org> wrote:

> Thanks Ese. Will see what we can do. We will start with anonymous events,
> evaluate and later move on to tracked entities.
>
> regards,
>
> Lars
>
>
> On Tue, Mar 1, 2016 at 7:47 PM, Pamod Amarakoon <pam...@gmail.com> wrote:
>
>> Thanks a lot Lars :)
>>
>> On Mon, Feb 29, 2016 at 5:03 PM, Lars Helge Øverland <l...@dhis2.org>
>> wrote:
>>
>>> Hi Ese,
>>>
>>> the data sync only applies to aggregate data values at the moment. We
>>> can extend this to events (without registration) if that would be useful.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>> On Mon, Feb 29, 2016 at 3:00 AM, Morten Olav Hansen <mor...@dhis2.org>
>>> wrote:
>>>
>>>> There was a small issue in how program/programStages was displayed. I
>>>> have fixed this now.
>>>>
>>>> On Mon, Feb 29, 2016 at 1:33 AM, Ese Egerega <eger...@gmail.com> wrote:
>>>>
>>>>> Thanks Pamod,
>>>>> I also tried exporting the data values using Event Export but the
>>>>> programs are not displayed on the list. Am not sure but I think Event
>>>>> Export worked in earlier dhis2 releases.
>>>>>
>>>>> On Sun, Feb 28, 2016 at 7:20 PM, Pamod Amarakoon <pam...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Ese,
>>>>>>
>>>>>> My understanding was synchronization only work for aggregate data as
>>>>>> of now.
>>>>>>
>>>>>> On Sun, Feb 28, 2016 at 11:42 PM, Ese Egerega <eger...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> Am trying to sync tracker data values from a local dhis2 instance to
>>>>>>> a central server.
>>>>>>>
>>>>>>> I have enabled data synchronization and all aggregate data values
>>>>>>> are synced but the *tracker* data are not. I also tried to export
>>>>>>> the data values via "Event Export" with no luck (see snapshot from dhis2
>>>>>>> demo instance below). Is there something am not doing right? I have 
>>>>>>> checked
>>>>>>> through the dhis2-users mail archive but didn't see a solution.
>>>>>>>
>>>>>>> Is there a way to automatically sync tracker data or at least export
>>>>>>> the data values to a central server?
>>>>>>>
>>>>>>> -Ese
>>>>>>>
>>>>>>>
>>>>>>> [image: Inline image 1]
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Pamod Amarakoon
>>>>>>
>>>>>> Confidentiality Notice: the information contained in this email and
>>>>>> any attachments may be legally privileged and confidential. If you are 
>>>>>> not
>>>>>> an intended recipient, you are hereby notified that any dissemination,
>>>>>> distribution, or copying of this e-mail is strictly prohibited. If you 
>>>>>> have
>>>>>> received this e-mail in error, please notify the sender and permanently
>>>>>> delete the e-mail and any attachments immediately. You should not retain,
>>>>>> copy or use this e-mail or any attachments for any purpose, nor disclose
>>>>>> all or any part of the contents to any other person.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https:/

Re: [Dhis2-users] [Dhis2-devs] Am trying to sync tracker data values to a central server

2016-03-01 Thread Ese Egerega
Thanks so much Lars.

It will be very useful to extend this to events with registration in the
near future. Our use case is as follows:

We have deployed dhis2 on a cloud server to support PMTCT, HIV
Testing/Counseling and related programs in 20 comprehensive health
facilities and over 50 satellite facilities spread across 4 states.

The comprehensive facilities are in urban areas with access to high speed
Internet so they can enter data directly to the cloud server. The satellite
facilities on the contrary are in rural areas with limited access to
Internet. We will therefore appreciate it if data synchronization will be
extended to events with registration so data can automatically sync to the
cloud instance whenever there is Internet connection.

We were actually relying on *event export* to send data from the satellite
facilities to the central server but that doesn't seem to be working at the
moment. When you select program, stage, period and click on* Export*, it
loads a blank page with the following error...

File not found

Firefox can't find the file at
https://play.dhis2.org/demo/api/events.xml.gz?attachment=events.xml.gz=IpHINAT79UW=A03MvHHogjR=DiszpKrYNg8=2015-03-01=2016-03-01=false
.

Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.

On Mon, Feb 29, 2016 at 12:33 PM, Lars Helge Øverland <l...@dhis2.org>
wrote:

> Hi Ese,
>
> the data sync only applies to aggregate data values at the moment. We can
> extend this to events (without registration) if that would be useful.
>
> regards,
>
> Lars
>
>
> On Mon, Feb 29, 2016 at 3:00 AM, Morten Olav Hansen <mor...@dhis2.org>
> wrote:
>
>> There was a small issue in how program/programStages was displayed. I
>> have fixed this now.
>>
>> On Mon, Feb 29, 2016 at 1:33 AM, Ese Egerega <eger...@gmail.com> wrote:
>>
>>> Thanks Pamod,
>>> I also tried exporting the data values using Event Export but the
>>> programs are not displayed on the list. Am not sure but I think Event
>>> Export worked in earlier dhis2 releases.
>>>
>>> On Sun, Feb 28, 2016 at 7:20 PM, Pamod Amarakoon <pam...@gmail.com>
>>> wrote:
>>>
>>>> Hi Ese,
>>>>
>>>> My understanding was synchronization only work for aggregate data as of
>>>> now.
>>>>
>>>> On Sun, Feb 28, 2016 at 11:42 PM, Ese Egerega <eger...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Am trying to sync tracker data values from a local dhis2 instance to a
>>>>> central server.
>>>>>
>>>>> I have enabled data synchronization and all aggregate data values are
>>>>> synced but the *tracker* data are not. I also tried to export the
>>>>> data values via "Event Export" with no luck (see snapshot from dhis2 demo
>>>>> instance below). Is there something am not doing right? I have checked
>>>>> through the dhis2-users mail archive but didn't see a solution.
>>>>>
>>>>> Is there a way to automatically sync tracker data or at least export
>>>>> the data values to a central server?
>>>>>
>>>>> -Ese
>>>>>
>>>>>
>>>>> [image: Inline image 1]
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Pamod Amarakoon
>>>>
>>>> Confidentiality Notice: the information contained in this email and any
>>>> attachments may be legally privileged and confidential. If you are not an
>>>> intended recipient, you are hereby notified that any dissemination,
>>>> distribution, or copying of this e-mail is strictly prohibited. If you have
>>>> received this e-mail in error, please notify the sender and permanently
>>>> delete the e-mail and any attachments immediately. You should not retain,
>>>> copy or use this e-mail or any attachments for any purpose, nor disclose
>>>> all or any part of the contents to any other person.
>>>>
>>>>
>>>>
>>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Morten
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Am trying to sync tracker data values to a central server

2016-02-28 Thread Ese Egerega
Thanks Pamod,
I also tried exporting the data values using Event Export but the programs
are not displayed on the list. Am not sure but I think Event Export worked
in earlier dhis2 releases.

On Sun, Feb 28, 2016 at 7:20 PM, Pamod Amarakoon <pam...@gmail.com> wrote:

> Hi Ese,
>
> My understanding was synchronization only work for aggregate data as of
> now.
>
> On Sun, Feb 28, 2016 at 11:42 PM, Ese Egerega <eger...@gmail.com> wrote:
>
>> Hello,
>>
>> Am trying to sync tracker data values from a local dhis2 instance to a
>> central server.
>>
>> I have enabled data synchronization and all aggregate data values are
>> synced but the *tracker* data are not. I also tried to export the data
>> values via "Event Export" with no luck (see snapshot from dhis2 demo
>> instance below). Is there something am not doing right? I have checked
>> through the dhis2-users mail archive but didn't see a solution.
>>
>> Is there a way to automatically sync tracker data or at least export the
>> data values to a central server?
>>
>> -Ese
>>
>>
>> [image: Inline image 1]
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Regards,
> Pamod Amarakoon
>
> Confidentiality Notice: the information contained in this email and any
> attachments may be legally privileged and confidential. If you are not an
> intended recipient, you are hereby notified that any dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you have
> received this e-mail in error, please notify the sender and permanently
> delete the e-mail and any attachments immediately. You should not retain,
> copy or use this e-mail or any attachments for any purpose, nor disclose
> all or any part of the contents to any other person.
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Custom forms with tabs not working in 2.22

2016-02-22 Thread Ese Egerega
Hello,
I used the below script to create a custom form with tabs in version 2.21.
After upgrade to 2.22, the tabs no longer work. They are now rendered
as an ordered list (see snapshot below) and when you click on the list
it takes you out of the data entry form.
Is there something I need to do to the script to get back my tabs?
Please advice.

Thanks,

Ese


jQuery(document).ready( function() {
jQuery( '#tabs' ).tabs({ collapsible : true });
 });





Tab names
Tab names





[image: Inline image 2]
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with the new data entry form in tracker capture

2016-02-17 Thread Ese Egerega
Thanks Markus

On Wed, Feb 17, 2016 at 8:56 AM, <markus.bek...@gmail.com> wrote:

> Hi Ese, thanks for reporting.
> This is a bug. It was fixed in trunk earlier, and will be backported.
>
> Markus
>
> Den 17. feb. 2016 kl. 07.39 skrev Ese Egerega <eger...@gmail.com>:
>
> Hello Devs,
>
> Many thanks for the new improvements in the tracker but there is something
> you may want to look into.
>
> With the new design of the data entry form, the name of the program stage
> is listed after "date" and "Org unit". This may cause problems during data
> entry because the person entering data may not see the name of the program
> stage in cases where you have a long org unit name (see snapshot below).
>
> The snapshot below is supposed to display "Birth" and "Baby Postnatal" but
> as you can see, the program stage does not show up because of the length of
> the org unit name.
>
> In my opinion, the old design is better for the following reasons:
>
>- The name of the program stage is displayed clearly
>- Program stages are in different "boxes" so you can navigate events
>in a program stage separate from other stages
>
> Thanks,
> Ese
>
> 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Issue with the new data entry form in tracker capture

2016-02-16 Thread Ese Egerega
Hello Devs,

Many thanks for the new improvements in the tracker but there is something
you may want to look into.

With the new design of the data entry form, the name of the program stage
is listed after "date" and "Org unit". This may cause problems during data
entry because the person entering data may not see the name of the program
stage in cases where you have a long org unit name (see snapshot below).

The snapshot below is supposed to display "Birth" and "Baby Postnatal" but
as you can see, the program stage does not show up because of the length of
the org unit name.

In my opinion, the old design is better for the following reasons:

   - The name of the program stage is displayed clearly
   - Program stages are in different "boxes" so you can navigate events in
   a program stage separate from other stages

Thanks,
Ese

[image: Inline image 2]
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Issue with Settings App after upgrade to 2.22

2016-02-10 Thread Ese Egerega
Thanks a lot Ali.

A workaround for me was to setup a new instance of 2.22 and then I imported
the meta-data and values from the instance with Settings App issue. This
was a bit of a challenge because I had to recreate most of the tracker
programs.

-Ese
On Feb 10, 2016 1:16 PM, "Ali Karisa" <ali.kar...@gmail.com> wrote:

> Dear Ese,
>
> I had a similar issue and enabling code cache flashing resolved my issue;
> the application was behaving as if there was a memory leak.
>
> In your setenv.sh, modify the java_opts as follows export
> JAVA_OPTS='-Xmx7500m -Xms4000m -XX:+UseCodeCacheFlushing'  and/or modify
> the respective java_opts environmental system variable to enable code
> flushing.
>
> Alternately you can increase the size of reserved code cache but this was
> a temporary fix for me. You can  read more about code cache tuning here:
> https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm
>
>
> PS: Tomcat 8 was giving me more frequent 'freezes', I had to 'run' back to
> ver 7
>
> I hope this helps,
>
> Ali
>
>
> On Sat, Jan 23, 2016 at 3:59 PM, Ese Egerega <eger...@gmail.com> wrote:
>
>> Hello,
>>
>> I am having trouble with the Settings App after upgrade from 2.21 to
>> 2.22.
>>
>> When I click on Apps and on Settings, the page continues to load for
>> hours (see snapshot below) but it never displays the Settings page.
>>
>> I have cleared cache and switched to Tomcat 8 but it didn't make a
>> difference. Meanwhile, nothing shows up in tomcat/logs
>>
>> The interesting part is that when I roll the server back to dhis2.21 the
>> settings App loads fine but not with 2.22.
>>
>> I am using Apache server with Tomcat 7.0.67 and Java 8
>> dhis2 build version: 21775
>>
>> I will appreciate any help.
>>
>> Thanks,
>>
>> Ese
>>
>> [image: Inline image 1]
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] dhis version 2.22 is released

2016-01-26 Thread Ese Egerega
Hi Matt,

I think you need to right-click in order to edit.

-Ese
On Jan 18, 2016 8:37 AM, "Matt Berg"  wrote:

> Hi Lars,
>
> This looks great.
>
> In the indicator section, I'm able to see edit but can't edit anything.
> Are others having this issue or is this something on our end.  We didn't do
> a data migration just updated the war file.
>
> Thanks,
>
> Matt
>
> On Mon, Jan 18, 2016 at 8:53 AM, Bridget Magoba 
> wrote:
>
>> Well done Lars and team.
>>
>>
>>
>> *From:* Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba=
>> mifumi@lists.launchpad.net] *On Behalf Of *Lars Helge Øverland
>> *Sent:* Saturday, January 16, 2016 1:03 AM
>> *To:* DHIS 2 Users list; DHIS 2 Developers list
>> *Subject:* [Dhis2-users] dhis version 2.22 is released
>>
>>
>>
>> Hi all,
>>
>>
>> DHIS version 2.22 is out with a lot of great new features and
>> improvements.
>>
>>
>>
>> Log in with admin/district on the demo 
>> system.
>>
>>
>>
>> *Data elements and indicators app:* A completely new app for data
>> elements and indicators maintenance features a much slicker user
>> experience, with on-the-fly search, “access” and “last updated” visible in
>> the lists, a new group editor, and much better looks.
>>
>>
>>
>> Demo  | Screenshot 1
>>  | 2
>>  | 3
>> 
>>
>>
>>
>> *Integrated tracker analytics:* Tracker-type data elements, attributes
>> and program indicators can now be included in aggregate indicators. This
>> allows for creating integrated analysis through indicators where e.g. the
>> numerator is being collected in a program while the numerator is collected
>> in an aggregate form. This means that you can produce integrated analysis
>> without caring about whether the data comes from routine forms, anonymous
>> events or tracking.
>>
>>
>>
>> Demo 1
>>  |
>> 2 
>> | Screenshot 1
>> 
>> | 2 
>>
>>
>>
>> *Multiple programs in favorites:* Data elements and attributes from any
>> number of programs can now be included in the same pivot table or chart
>> favorite.
>>
>>
>>
>> Demo
>>  |
>> Screenshot
>> 
>>
>>
>>
>> *File cloud storage in tracker:* The tracker capture and event capture
>> apps now support file storage for data elements of type file. This allows
>> you to use tracker as a document repository, and to upload documentation
>> and files related to events or people. Files can be stored either on the
>> Web server or sent directly to AWS S3  cloud
>> storage.
>>
>>
>>
>> Screenshot 1
>>  | 2
>> 
>>
>>
>>
>> *Tracker data audit:* Tracker capture and event capture now store the
>> audit trail of changes to data and make it readily available by clicking on
>> the audit icon next to each input field in the form. This is useful to view
>> historical changes to information and a requirement in many settings where
>> sensitive data is being stored.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> *Improved tracker capture:* The tracker capture app has received a range
>> of improvements.
>>
>>
>>
>> - Yes/No fields are rendered as radio-buttons instead of drop-downs for
>> faster data entry.
>>
>>
>>
>> Screenshot  | *Demo
>> *
>>
>>
>>
>> - The enrollment and active programs widget have been merged for better
>> usability.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> - Easy search for option sets: Option sets can be searched from within
>> the data entry widget.
>>
>>
>>
>> Screenshot 
>>
>>
>>
>> - Enrollments can be incompleted in order to change existing values.
>>
>> Screenshot
>> 
>>
>>
>>
>> - You can filter for people who have a scheduled event today.
>>
>>
>>
>> Screenshot
>> 
>>
>>
>>
>> - Events of repeatable program stages can be viewed and edited in a list.
>>
>>
>>
>> Screenshot 1
>> 

[Dhis2-users] Issue with Settings App after upgrade to 2.22

2016-01-23 Thread Ese Egerega
Hello,

I am having trouble with the Settings App after upgrade from 2.21 to 2.22.

When I click on Apps and on Settings, the page continues to load for hours
(see snapshot below) but it never displays the Settings page.

I have cleared cache and switched to Tomcat 8 but it didn't make a
difference. Meanwhile, nothing shows up in tomcat/logs

The interesting part is that when I roll the server back to dhis2.21 the
settings App loads fine but not with 2.22.

I am using Apache server with Tomcat 7.0.67 and Java 8
dhis2 build version: 21775

I will appreciate any help.

Thanks,

Ese

[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with Settings App after upgrade to 2.22

2016-01-23 Thread Ese Egerega
pache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jan 23, 2016 5:02:42 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 23, 2016 5:02:42 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 648 ms
Jan 23, 2016 5:02:42 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Jan 23, 2016 5:02:42 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.67
Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/ubuntu/apache-tomcat-7.0.67/webapps/dhis.war
Jan 23, 2016 5:02:48 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
debug logging for this logger for a complete list of JARs that were scanned
but no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
* INFO  2016-01-23 17:02:53,301 System property dhis2.home not set
(DefaultLocationManager.java [localhost-startStop-1])
* INFO  2016-01-23 17:02:53,305 Environment variable DHIS2_HOME points to
/home/ubuntu/config (DefaultLocationManager.java [localhost-startStop-1])
* INFO  2016-01-23 17:02:54,714 Hibernate configuration loaded, using
dialect: org.hibernate.dialect.PostgreSQLDialect
(DefaultHibernateConfigurationProvider.java [localhost-startStop-1])
* INFO  2016-01-23 17:03:24,486 File store configured with provider
'filesystem' and container 'files'.  (JCloudsFileResourceContentStore.java
[localhost-startStop-1])
* INFO  2016-01-23 17:03:24,594 Scheduled task with key:
fileResourceCleanupTask and cron: 0 0 2 * * ? (SpringScheduler.java
[localhost-startStop-1])
* INFO  2016-01-23 17:03:26,348 Detected apps: [] (DefaultAppManager.java
[localhost-startStop-1])
* INFO  2016-01-23 17:03:26,875 Listeners registered are
[org.hisp.dhis.sms.listener.DataValueSMSListener@7369a633,
org.hisp.dhis.sms.listener.J2MEDataValueSMSListener@777e8ab,
org.hisp.dhis.sms.listener.UnregisteredSMSListener@49376276,
org.hisp.dhis.sms.listener.DHISMessageAlertListener@687532ed,
org.hisp.dhis.sms.listener.TrackedEntityRegistrationSMSListener@561359ee]
(SmsConsumerThread.java [localhost-startStop-1])
* INFO  2016-01-23 17:03:26,884 Found the following message senders:
[org.hisp.dhis.message.EmailMessageSender@5dec916e,
org.hisp.dhis.sms.SmsMessageSender@1ccf3a40] (DefaultMessageService.java
[localhost-startStop-1])


On Sat, Jan 23, 2016 at 5:49 PM, Morten Olav Hansen <morte...@gmail.com>
wrote:

>
> On Sat, Jan 23, 2016 at 11:17 PM, Ese Egerega <eger...@gmail.com> wrote:
>
>> GET http://localhost/dhis/api/systemSettings 500 (Internal Server Error)
>>
>
> This should have produced a log on your server (it should give what we
> call a stack trace), can you have a look in your catalina.out file and send
> us the error that is produced during loading of the settings app?
>
> --
> Morten
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with Settings App after upgrade to 2.22

2016-01-23 Thread Ese Egerega
www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.hisp.dhis.security.filter.CorsFilter.doFilter(CorsFilter.java:88)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:140)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)↵
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)↵
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)↵
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)↵
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)↵
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)↵
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)↵
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)↵
org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:82)↵
org.hisp.dhis.servlet.filter.ExcludableShallowEtagHeaderFilter.doFilterInternal(ExcludableShallowEtagHeaderFilter.java:102)↵
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:151)↵
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)↵
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵note
The full stack trace of the root cause is available in the Apache
Tomcat/7.0.67 logs.Apache
Tomcat/7.0.67"setRequestHeader: (a,b)state: ()status:
500statusCode: (a)statusText: "Internal Server Error"success: ()__proto__:
Object(anonymous function) @ settings-app.js:99c @
browser-polyfill.min.js:2(anonymous function) @ browser-polyfill.min.js:2h
@ browser-polyfill.min.js:1


On Sat, Jan 23, 2016 at 2:52 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Ese,
>
> Please look for errors in your browser console (under Developer Tools) and
> report back.
>
> Knut
>
> On Sat, Jan 23, 2016 at 1:59 PM, Ese Egerega <eger...@gmail.com> wrote:
>
>> Hello,
>>
>> I am having trouble with the Settings App after upgrade from 2.21 to
>> 2.22.
>>
>> When I click on Apps and on Settings, the page continues to load for
>> hours (see snapshot below) but it never displays the Settings page.
>>
>> I have cleared cache and switched to Tomcat 8 but it didn't make a
>> difference. Meanwhile, nothing shows up in tomcat/logs
>>
>> The interesting part is that when I roll the server back to dhis2.21 the
>> settings App lo

Re: [Dhis2-users] Issue with Settings App after upgrade to 2.22

2016-01-23 Thread Ese Egerega
Dear Morten, Knut;

Am thinking that the problem has to do with my database. I just setup a new
instance of dhis2 on the same server and the Settings Apps worked fine. It
stopped working again once I connected to the old database.

The database was originally on dhis 2.18 and over time I upgraded to 2.19
and then to 2.20 and 2.21 and I ran the upgrade scripts at each level so am
wondering what could be wrong with the database?

Thanks,
Ese
On Jan 23, 2016 6:28 PM, "Ese Egerega" <eger...@gmail.com> wrote:

> Hi Morten,
>
> I used tail /catalina.out -f to see the log real-time but nothing shows up
> when loading the settings app. I have copied everything in catalina.out
> file below.
>
> Between, after hours of loading the settings app, the pages displays *D2
> initialization error: Unable to get schemas from the DHIS2 API*
>
>
> Jan 23, 2016 5:02:36 PM org.apache.catalina.core.StandardServer await
> INFO: A valid shutdown command was received via the shutdown port.
> Stopping the Server instance.
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["http-bio-8080"]
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol pause
> INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
> Jan 23, 2016 5:02:36 PM org.apache.catalina.core.StandardService
> stopInternal
> INFO: Stopping service Catalina
> * INFO  2016-01-23 17:02:36,833 De-registering jdbc driver:
> org.postgresql.Driver@4c019ec8 (StartupListener.java
> [localhost-startStop-2])
> Jan 23, 2016 5:02:36 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
> SEVERE: The web application [/dhis] appears to have started a thread named
> [com.google.inject.internal.util.$Finalizer] but has failed to stop it.
> This is very likely to create a memory leak.
> Jan 23, 2016 5:02:36 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
> SEVERE: The web application [/dhis] appears to have started a thread named
> [GT authority factory disposer] but has failed to stop it. This is very
> likely to create a memory leak.
> Jan 23, 2016 5:02:36 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
> SEVERE: The web application [/dhis] appears to have started a thread named
> [WeakCollectionCleaner] but has failed to stop it. This is very likely to
> create a memory leak.
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["http-bio-8080"]
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol stop
> INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["http-bio-8080"]
> Jan 23, 2016 5:02:36 PM org.apache.coyote.AbstractProtocol destroy
> INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Server version:Apache Tomcat/7.0.67
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Server built:  Dec 7 2015 13:07:11 UTC
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Server number: 7.0.67.0
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: OS Name:   Linux
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: OS Version:3.13.0-36-generic
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Architecture:  amd64
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Java Home: /usr/lib/jvm/java-8-oracle/jre
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: JVM Version:   1.8.0_66-b17
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: JVM Vendor:Oracle Corporation
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: CATALINA_BASE: /home/ubuntu/tomcat-dhis
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: CATALINA_HOME: /home/ubuntu/tomcat-dhis
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Command line argument:
> -Djava.util.logging.config.file=/home/ubuntu/tomcat-dhis/conf/logging.properties
> Jan 23, 2016 5:02:42 PM org.apache.catalina.startup.VersionLoggerListener
> log
> INFO: Command line argument:
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManag

[Dhis2-users] Issue with program rule in build 20987

2016-01-04 Thread Ese Egerega
Hi Devs,

You may want to check the program rule feature. Its appears the current
build version 20987 has a problem saving rules. When you create a rule and
click on Add, it disappears (e.g. it doesn't show up in your list of rules).

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


Re: [Dhis2-users] Trying to delete a program stage

2016-01-04 Thread Ese Egerega
Thanks for your response Prosper. I am using Build version 20987

On Mon, Jan 4, 2016 at 6:10 PM, Prosper BT <ptb3...@gmail.com> wrote:

> Dear Ese,
>
> Which version and build are using?
>
> Regards
>
> On Mon, Jan 4, 2016 at 1:49 AM, Ese Egerega <e...@cis.com.ng> wrote:
>
>> Hello,
>>
>> I am trying to delete a program stage but I get an error that object
>> can't be deleted because its associated with TrackedEntityValue.
>>
>> Unfortunately, the tracked entities are patients who were registered on
>> the program but are now terminated or completed. I have tried to delete the
>> data from the tracked entities *history* in tracker but the form fields
>> (Incomplete, Validate, Delete) are greyed out.
>>
>> I will appreciate any assistance.
>>
>> -Ese
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Prosper Behumbiize, MPH
> Global HISP| University Of Oslo/HISP Uganda
> +256 752 751 776 | +256 776 139 139
> pros...@hispuganda.org <ptb3...@gmail.com> | pros...@dhis2.org | Skype:
> prospertb
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Upgrading from 2.16 to 2.21 (using dhis2-tools)

2015-12-15 Thread Ese Egerega
Thanks Bob for sharing.

-Ese

On Wed, Dec 9, 2015 at 8:40 PM, gerald thomas  wrote:

> Noted Bob
>
> Regards,
> Gerald
> On Dec 9, 2015 7:29 PM, "Bob Jolliffe"  wrote:
>
>> Hi Gerald
>>
>> If you are not doing this over ssh like me, it would probably be best
>> to do step 1 by popping a 14.04 server cd in the tray (or usb thingy)
>> and upgrading the OS off that.
>>
>> Bob
>>
>> On 9 December 2015 at 19:16, gerald thomas  wrote:
>> > Thanks Bob,
>> > Noted!!! You had been so helpful to me.
>> >
>> > Regards,
>> > Gerald
>> >
>> > On Dec 9, 2015 6:06 PM, "Knut Staring"  wrote:
>> >>
>> >> Thanks Bob,
>> >>
>> >> This is very helpful, and should be part of the documentation.
>> >>
>> >> Should have thought of the need for Step 7 when I was upgrading
>> recently,
>> >> would have saved me a ton of headache
>> >>
>> >> Knut
>> >>
>> >> On Wed, Dec 9, 2015 at 5:54 PM, Bob Jolliffe 
>> >> wrote:
>> >>>
>> >>> I know questions about this comes up now and again.  I just finished
>> >>> doing exactly this for a regional server today so I list my steps here
>> >>> for those planning a similar process.
>> >>>
>> >>> Starting state was a server running ubuntu 12.04, openjdk 7 and dhis2
>> >>> 2.16.
>> >>>
>> >>> Database backup was made and a copy kept off the server.
>> >>>
>> >>> 1.  Upgrade the OS to 14.04.  This is the longest (and scariest) step
>> >>> - a big upgrade to do over the internet.  But the recommended
>> >>> procedure (running 'sudo do-release-upgrade') worked fine.  Took a few
>> >>> hours.  Ubuntu creates an emergency ssh backdoor on port 1022 while
>> >>> this is going on, but fortunately I didn't have to use it.  But we did
>> >>> have ufw firewall running so I took the precaution of opening that
>> >>> port just in case (sudo ufw allow 1022).
>> >>>
>> >>> 2.  Install oracle java 8 :
>> >>>
>> >>> sudo apt-get install software-properties-common
>> >>> sudo add-apt-repository ppa:webupd8team/java
>> >>> sudo apt-get update
>> >>> sudo apt-get install oracle-java8-installer
>> >>> sudo update-java-alternatives -s java-8-oracle
>> >>>
>> >>> 3.  Download all the upgrade scripts and war files
>> >>> for ver in 17 18 19 20 21;
>> >>> do
>> >>>wget -O dhis-2.$ver.war
>> >>> https://www.dhis2.org/download/releases/2.$ver/dhis.war;
>> >>>wget
>> >>>
>> https://raw.githubusercontent.com/dhis2/dhis2-utils/master/resources/sql/upgrade-2$ver.sql
>> >>> done
>> >>>
>> >>> 4.  Read carefully all the upgrade notes at:
>> >>> https://www.dhis2.org/217-upgrade
>> >>> https://www.dhis2.org/218-upgrade
>> >>> https://www.dhis2.org/219-upgrade
>> >>> https://www.dhis2.org/220-upgrade
>> >>> https://www.dhis2.org/221-upgrade
>> >>>
>> >>> 5.  shutdown nginx with
>> >>> sudo service nginx stop
>> >>>
>> >>> 6.  start deploying war files and checking logs as we go.  Apply
>> >>> upgrade scripts as necessary
>> >>>
>> >>> dhis2-deploy-war -f dhis-2.17.war dhis2; tail -f
>> >>> /var/lib/dhis2/dhis2/logs/catalina.out
>> >>>
>> >>> dhis2-deploy-war -f dhis-2.18.war dhis2; tail -f
>> >>> /var/lib/dhis2/dhis2/logs/catalina.out
>> >>>
>> >>> cat upgrade-219.sql |psql dhis2
>> >>> dhis2-deploy-war -f dhis-2.19.war dhis2; tail -f
>> >>> /var/lib/dhis2/dhis2/logs/catalina.out
>> >>>
>> >>> cat upgrade-220.sql |psql dhis2
>> >>> dhis2-deploy-war -f dhis-2.12.war dhis2; tail -f
>> >>> /var/lib/dhis2/dhis2/logs/catalina.out
>> >>>
>> >>> 7.  clear nginx cache and restart
>> >>> sudo -s
>> >>> rm /var/cache/nginx/*
>> >>> exit
>> >>> sudo service nginx start
>> >>>
>> >>> That's about it.  So far everything seems ok.  We just hope there are
>> >>> not problems from messy metadata.  Probably it is a better I idea to
>> >>> do integrity checks on the metadata right at the very start (I
>> >>> forgot).
>> >>>
>> >>> Note I am holding back on 2.21 upgrade because of the issue with md5
>> >>> passwords mentioned in the upgrade notes.   I'll give the users a day
>> >>> or two to make sure they have tested their logins.  Will take 5
>> >>> minutes to do when the time comes.
>> >>>
>> >>> Note that the OS upgrade is necessary to get the right tomcat version
>> >>> through the package system.  We could have avoided by doing a custom
>> >>> tomcat install, but I prefer to stick with the packages.
>> >>>
>> >>> Hope the above helps anyone else faced with this challenge.
>> >>>
>> >>> Bob
>> >>>
>> >>> ___
>> >>> Mailing list: https://launchpad.net/~dhis2-users
>> >>> Post to : dhis2-users@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: 

[Dhis2-users] Automatically generated data element values

2015-12-13 Thread Ese Egerega
Hello,

Not sure if this is possible but we are trying to create a data element
with value that is automatically generated using a pre-defined format. The
field in question is a unique ID (e.g. TB Registration Number). In order to
prevent errors, we would like the field to be generated automatically at
data entry.

I have checked through the documentation but didn't see anything related to
this. I will appreciate any suggestions.

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


Re: [Dhis2-users] Controlling the location of indicators in Tracker

2015-11-24 Thread Ese Egerega
Thanks Lars,

We are actually using the indicator widget at the moment. It works
perfectly for small data entry forms because you can see the indicator
value while entering data.

However,  it's little complex when the data entry form is large and you are
entering data at the bottom part of the form. You don't immediately see the
value of the indicator, except you scroll back up to the indicator widget.

Thanks,
Ese

On Nov 24, 2015 6:48 PM, "Lars Helge Øverland" <larshe...@gmail.com> wrote:
>
> Hi Ese,
>
> I am sure you are aware of it but you can also use the "Indicators"
widget and place it above the data entry widget:
>
>
>
> On Tue, Nov 24, 2015 at 9:02 AM, Ese Egerega <e...@cis.com.ng> wrote:
>>
>> Thanks so much for responding Prosper. You are right; tracker does not
support it at the moment. It's a feature the dev team should consider
adding though.
>>
>> -Ese
>>
>> On Nov 22, 2015 5:39 AM, "Prosper BT" <ptb3...@gmail.com> wrote:
>>>
>>> Hi Ese,
>>>
>>> This would only be achieved through a custom entry screen, but the
custom form for tracker isnt supporting this at the moment.
>>>
>>> Regards
>>>
>>> On Thu, Nov 12, 2015 at 11:32 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> Am not sure if this is possible with the tracker; I have some
indicators and i would like their values displayed on the data entry form
in Tracker capture, right next to the data elements.
>>>>
>>>> Am able to achieve this with custom forms in dataset but not in
tracker.
>>>>
>>>> Any suggestions will be appreciated.
>>>>
>>>> Thanks,
>>>> Ese
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>>
>>> --
>>> Prosper Behumbiize, MPH
>>> Global HISP| University Of Oslo/HISP Uganda
>>> +256 752 751 776 | +256 776 139 139
>>> ptb3...@gmail.com | pros...@dhis2.org | Skype: prospertb

>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Controlling the location of indicators in Tracker

2015-11-12 Thread Ese Egerega
Hi everyone,

Am not sure if this is possible with the tracker; I have some indicators
and i would like their values displayed on the data entry form in Tracker
capture, right next to the data elements.

Am able to achieve this with custom forms in dataset but not in tracker.

Any suggestions will be appreciated.

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


Re: [Dhis2-users] Problem using d2:condition()

2015-11-02 Thread Ese Egerega
Hi Hasina,

Am not sure if this is what you mean but I had an experience where program
indicators with the d2:condition function always evaluated to "false" when
displayed in the tracker.

You may want to try using the ternary conditional operator instead:

condition ? if_true : if_false

So your first expression will look like this...

1 > 0 ? 1 : 0

The result will be 1 since the expression (1 > 0) evaluates to true.

Thanks,

-Ese
On Oct 30, 2015 1:30 PM, "ramaso hasina"  wrote:

> Hi all,
>
> I've created a program with some program stages.
> When I create a program indicator using the function d2:condition,
> the result is not what I'm expected.
>
> Example in the expression field :
>   - d2:condition('1 > 0',1,0) => result "false".
>   - d2:condition('#{w7N4mScR2g6.Sv4bRYIiSHy} == true',1,0) => result
> "false" (#{w7N4mScR2g6.Sv4bRYIiSHy} having a "true" value)
>
> Need help.
>
> Thanks.
>
> Hasina.
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-26 Thread Ese Egerega
Thanks Abyot

On Mon, Oct 26, 2015 at 10:13 AM, Abyot Gizaw <aby...@gmail.com> wrote:

> Hi Ese,
>
> Thanks for reporting. This is now fixed in trunk, 2.21 and 2.20.
>
> ---
> Thank you,
> Abyot.
>
> On Sat, Oct 24, 2015 at 9:16 AM, Ese Egerega <e...@cis.com.ng> wrote:
> <e...@cis.com.ng>
>
>> Hi Abyot,
>>
>> It Seems there is still a problem with long text / textarea in custom
>> forms. I actually thought it was a problem with my instance until I
>> tested it on the dhis2 demo site.
>>
>> When you add a data element of type long text to a custom form,
>> everything beyond That data element is not displayed in data entry in
>> Tracker capture. When you remove the long text data element from the
>> form, everything displays correctly.
>>
>> Here are some snapshots:
>> http: //www.awesomescreenshot. com / image / 690998 / 
>> bdcf6180adeb060e8abf90fadc497d
>> 69
>> <http://www.awesomescreenshot.com/image/690998/bdcf6180adeb060e8abf90fadc497d69>
>>
>> http: //www.awesomescreenshot. com / image / 691004 / 
>> 0d22790ca526368fce19a5a7bb0a98
>> ask
>> <http://www.awesomescreenshot.com/image/691004/0d22790ca526368fce19a5a7bb0a98be>
>>
>> Thanks,
>> Ese
>>
>>
>> On Tue, Oct 13, 2015 at 9:34 AM, Abyot Gizaw <aby...@gmail.com> wrote:
>> <aby...@gmail.com>
>>
>>> Hi Ese,
>>>
>>> Yes, the aggregate party is more flexible and stack - wooden has Evolved
>>> through time. We will reach two Also- That stage with the tracker.
>>>
>>> I have now Implemented long text / textarea input for 2:20 (check for
>>> rev. 19957).
>>>
>>> Will try two do the same for 2.19. Trunk has alreadytakenusername this.
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Mon, Oct 12, 2015 at 10:21 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>> <e...@cis.com.ng>
>>>
>>>> Thanks for your response Abyot.
>>>> Custom forms Appear to be more flexible with aggregate datasets than in
>>>> the Tracker. Here are screenshots of the same data element in
>>>> aggregate dataset and in Tracker.
>>>>
>>>> Data element in a custom form in aggregate dataset - 
>>>> http://awesomescreenshot.com/
>>>> 0615bcug0c <http://awesomescreenshot.com/0615bcug0c>
>>>>
>>>> The same data element in Tracker - http://awesomescreenshot.com/
>>>> 0265bcyt99 <http://awesomescreenshot.com/0265bcyt99>
>>>>
>>>> Thanks,
>>>> Ese
>>>>
>>>> On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw <aby...@gmail.com> wrote:
>>>> <aby...@gmail.com>
>>>>
>>>>> Hi Ese,
>>>>>
>>>>> Do you have some screenshots to share? In custom form, we do not
>>>>> apply any style - you as custom form designer are fully in charge.
>>>>>
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>>>> <e...@cis.com.ng>
>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> I am facing a challenge with data elements of type *"long text"* in 
>>>>>> *custom
>>>>>> forms in* Tracker Capture. Data element with data type "Long text"
>>>>>> ice Usually rendered as *textarea in* n data entry when using the
>>>>>> the default data entry form. However, the same data element is
>>>>>> rendered as an input box *(not* *textarea) in **custom forms* making
>>>>>> it impossible two see parts of your text as you are typing.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have tried to work around this by overusing HTML style tag two
>>>>>> stretch the input box so it fills the entire cell area but it still does
>>>>>> not make it a *textarea* actually. Any suggestions will be
>>>>>> appreciated.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Ese
>>>>>>
>>>>>>
>>>>>> __ _
>>>>>> Mailing list: https://launchpad.net/~dhis2- users
>>>>>> <https://launchpad.net/~dhis2-users>
>>>>>> Post to: dhis2-users@lists.launchpad. Net
>>>>>> <dhis2-users@lists.launchpad.net>
>>>>>> Unsubscribe: https://launchpad.net/~dhis2- users
>>>>>> <https://launchpad.net/~dhis2-users>
>>>>>> More help: https: // help.launchpad.net/ List Help
>>>>>> <https://help.launchpad.net/ListHelp>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-24 Thread Ese Egerega
Hi Abyot,

It seems there is still a problem with longText/textarea in custom forms. I
actually thought it was a problem with my instance until I tested it on the
dhis2 demo site.

When you add a data element of type longText to a custom form, everything
beyond that data element is not displayed in data entry in Tracker capture.
When you remove the longText data element from the form, everything
displays correctly.

Here are some snapshots:
http://www.awesomescreenshot.com/image/690998/bdcf6180adeb060e8abf90fadc497d69

http://www.awesomescreenshot.com/image/691004/0d22790ca526368fce19a5a7bb0a98be

Thanks,
Ese


On Tue, Oct 13, 2015 at 9:34 AM, Abyot Gizaw <aby...@gmail.com> wrote:

> Hi Ese,
>
> Yes, the aggregate part is more flexible and stable - which has evolved
> through time. We will also reach to that stage with the tracker.
>
> I have now implemented longText/textarea input for 2.20 (check for
> rev. 19957).
>
> Will try to do the same for 2.19. Trunk has already this.
>
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Oct 12, 2015 at 10:21 PM, Ese Egerega <e...@cis.com.ng> wrote:
>
>> Thanks for your response Abyot.
>> Custom forms appear to be more flexible with aggregate datasets than in
>> the Tracker. Here are screenshots of the same data element in aggregate
>> dataset and in Tracker.
>>
>> Data element in a custom form in aggregate dataset --
>> http://awesomescreenshot.com/0615bcug0c
>>
>> The same data element in Tracker --
>> http://awesomescreenshot.com/0265bcyt99
>>
>> Thanks,
>> Ese
>>
>> On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw <aby...@gmail.com> wrote:
>>
>>> Hi Ese,
>>>
>>> Do you have some screenshots to share? In custom form, we don't apply
>>> any style - you as custom form designer are fully in charge.
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>>
>>>> Dear all,
>>>>
>>>> I am facing a challenge with data elements of type *"long text"* in *custom
>>>> forms in *Tracker Capture.
>>>>
>>>> Data element with data type "Long text" is usually rendered as* text
>>>> area i*n data entry when using the default data entry form. However,
>>>> the same data element is rendered as an input box (*not text area*) in 
>>>> *custom
>>>> forms* making it impossible to see parts of your text as you are
>>>> typing.
>>>>
>>>> I have tried to work around this by using HTML style tag to stretch the
>>>> input box so it fills the entire cell area but it still doesn't make it a 
>>>> *text
>>>> area *actually.
>>>>
>>>> Any suggestions will be appreciated.
>>>>
>>>> Thanks,
>>>> Ese
>>>>
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to : dhis2-users@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] dhis version 2.21 is released

2015-10-21 Thread Ese Egerega
Great work!
On Oct 21, 2015 9:03 PM, "Lars Helge Øverland"  wrote:

> Hi all,
>
> DHIS version 2.21 is out with a lot of great new features and
> improvements.
>
> Log in with admin/district on the demo 
> system.
>
> File cloud storage: You can now upload and store large files directly
> from data entry forms. Data elements can have a file value type and render
> as file upload widgets in forms. Files can be stored either on the Web
> server or sent directly to AWS S3  cloud
> storage, which in practice provides unlimited storage capacity. This
> capability allows you to use DHIS 2 as a general document repository which
> can be utilized for project management, documentation, CMS and many other
> purposes.
>
> File storage currently works for aggregate data entry forms - tracker
> coming up. Have a look at the “Project management” data set in data entry
> on the demo:
>
> Demo  | Docs
> 
> | Screenshot 
>
>
> Settings app: The settings front-end has been re-written as a true app.
> It features real-time saving, search for settings and a fresh new look.
>
> Demo  | Docs
>  | Screenshot
> 
>
>
> Data import constraints: Several optional constraints for data import can
> be enabled to provide stricter control of the data being imported. These
> include require period to be of same type as data set, data element to be
> assigned to data set through org units, and more. The import constraints
> can be enabled in settings app under “data import”.
>
> Docs 
>
>
>
> ANALYTICS FEATURES
>
> ---
>
> Functions and variables in program indicators: Program indicators support
> a range of functions and variables. Functions allows for conditional
> statements, calculation of number of days between dates and more. Variables
> allows you to insert e.g. event date, enrollment date and value count into
> expressions. This is useful for example to calculate “inpatient bed days”
> and complex scores.
>
> Docs  | Demo
> 1  |
> 2  | 
> Screenshot
> 1  | 2
> 
> | 3 
> | 4
> 
> |
>
>
> Custom aggregation types: A program indicator now has an aggregation type
> property with the standard options such as sum, avg, count, std dev min,
> max. When set to custom, the indicator expression can contain inline
> aggregation types, allowing for greater control over aggregation.
>
> Docs  |
> Screenshot
> 
>
>
> Program indicators and data elements in GIS: The GIS app lets you analyse
> program indicators, attributes and data elements on maps.
>
> Demo
>  | 
> Screenshot
> 1  | 2
> 
>
>
> Program indicators in event reports: The individual event overview
> supports program indicators, which allows you to display calculations per
> event directly in the overview.
>
> Demo
> 
> | Screenshot
> 
>
>
> Download data dump: Pivot table lets you download data in CSV format
> directly without first rendering the data in the Web browser (which might
> lead to the browser freezing for large data volumes). This allows you to
> download much larger batches of data which is useful for later offline
> analysis.
>
> Screenshot 
>
>
> Complete events only option: All analysis apps provides an option for
> only including completed events in the aggregation process. This is useful
> e.g. to exclude partial events in indicator calculations.
>
> Screenshot
> 
>
>
> Full precision option: Pivot table has an option for “skip rounding” of
> values, i.e. full precision of values. This is useful for certain 

Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-13 Thread Ese Egerega
Thanks so much Abyot.

Ese


@```
Hi Ese,

Yes, the aggregate part is more flexible and stable - which has evolved
through time. We will also reach to that stage with the tracker.

I have now implemented longText/textarea input for 2.20 (check for
rev. 19957).

Will try to do the same for 2.19. Trunk has already this.


---
Thank you,
Abyot.

On Mon, Oct 12, 2015 at 10:21 PM, Ese Egerega <e...@cis.com.ng> wrote:

> Thanks for your response Abyot.
> Custom forms appear to be more flexible with aggregate datasets than in
> the Tracker. Here are screenshots of the same data element in aggregate
> dataset and in Tracker.
>
> Data element in a custom form in aggregate dataset --
> http://awesomescreenshot.com/0615bcug0c
>
> The same data element in Tracker --
> http://awesomescreenshot.com/0265bcyt99
>
> Thanks,
> Ese
>
> On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw <aby...@gmail.com> wrote:
>
>> Hi Ese,
>>
>> Do you have some screenshots to share? In custom form, we don't apply any
>> style - you as custom form designer are fully in charge.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>
>>> Dear all,
>>>
>>> I am facing a challenge with data elements of type *"long text"* in *custom
>>> forms in *Tracker Capture.
>>>
>>> Data element with data type "Long text" is usually rendered as* text
>>> area i*n data entry when using the default data entry form. However,
>>> the same data element is rendered as an input box (*not text area*) in 
>>> *custom
>>> forms* making it impossible to see parts of your text as you are typing.
>>>
>>> I have tried to work around this by using HTML style tag to stretch the
>>> input box so it fills the entire cell area but it still doesn't make it a 
>>> *text
>>> area *actually.
>>>
>>> Any suggestions will be appreciated.
>>>
>>> Thanks,
>>> Ese
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-12 Thread Ese Egerega
Dear all,

I am facing a challenge with data elements of type *"long text"* in *custom
forms in *Tracker Capture.

Data element with data type "Long text" is usually rendered as* text area i*n
data entry when using the default data entry form. However, the same data
element is rendered as an input box (*not text area*) in *custom forms*
making it impossible to see parts of your text as you are typing.

I have tried to work around this by using HTML style tag to stretch the
input box so it fills the entire cell area but it still doesn't make it a *text
area *actually.

Any suggestions will be appreciated.

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


Re: [Dhis2-users] Issue with data element of type "long text" in custom forms

2015-10-12 Thread Ese Egerega
Thanks for your response Abyot.
Custom forms appear to be more flexible with aggregate datasets than in the
Tracker. Here are screenshots of the same data element in aggregate dataset
and in Tracker.

Data element in a custom form in aggregate dataset --
http://awesomescreenshot.com/0615bcug0c

The same data element in Tracker -- http://awesomescreenshot.com/0265bcyt99

Thanks,
Ese

On Mon, Oct 12, 2015 at 4:50 PM, Abyot Gizaw <aby...@gmail.com> wrote:

> Hi Ese,
>
> Do you have some screenshots to share? In custom form, we don't apply any
> style - you as custom form designer are fully in charge.
>
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Oct 12, 2015 at 5:11 PM, Ese Egerega <e...@cis.com.ng> wrote:
>
>> Dear all,
>>
>> I am facing a challenge with data elements of type *"long text"* in *custom
>> forms in *Tracker Capture.
>>
>> Data element with data type "Long text" is usually rendered as* text
>> area i*n data entry when using the default data entry form. However, the
>> same data element is rendered as an input box (*not text area*) in *custom
>> forms* making it impossible to see parts of your text as you are typing.
>>
>> I have tried to work around this by using HTML style tag to stretch the
>> input box so it fills the entire cell area but it still doesn't make it a 
>> *text
>> area *actually.
>>
>> Any suggestions will be appreciated.
>>
>> Thanks,
>> Ese
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Coordinate capture does not seem to work in Tracker Capture

2015-09-25 Thread Ese Egerega
Hi,

It looks like the coordinate capture feature is not working in the Tracker
Capture app as it does in Event Capture.

When you click on the blue coordinate capture icon during data entry, it
just loads a blank page without the map (see snapshot
http://awesomescreenshot.com/02959r9f73).

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


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-24 Thread Ese Egerega
Dear All,

Thanks so much for your responses. I was able to get my rules to work. The
problem was a typo in my option set.

-Ese

On Wed, Sep 23, 2015 at 7:46 AM, Markus Bekken <markus.bek...@gmail.com>
wrote:

> Hi Ese, there is no limit to the number of rules. I have one usecase with
> about 150 rules running on a program
> What does you second rule look like? There is probably something that
> prevents the second rule from working correctly.
>
> 23. sep. 2015 kl. 08.39 skrev Ese Egerega <e...@cis.com.ng>:
>
> Hello,
>
> Please is there a limit to the number of rules I can have on a single
> form? For example, I have a rule which hides some fields based on if the
> patient is HIV positive. I created a second rule which is meant to hide
> other fields based on if the patients HIV status is previously known. Only
> the first rule seem to be working in Tracker Capture.
>
> Thanks,
> Ese
>
> On Tue, Sep 22, 2015 at 2:59 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Thanks team  !#{location} or #{location} == false works for boolean
>> questions.
>> rgds
>> David
>>
>> 2015-09-22 16:09 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>
>>> oh yes, thanks Markus. I mixed up :(
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Tue, Sep 22, 2015 at 2:53 PM, Markus Bekken <markus.bek...@gmail.com>
>>> wrote:
>>>
>>>> Hi guys,
>>>> Try !#{location} or #{location} == false
>>>>
>>>> Best regards,
>>>> Markus
>>>>
>>>> 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw <aby...@gmail.com>:
>>>>
>>>> Hi David,
>>>>
>>>> If value "No" is type boolean, then try 'true' instead of no. It should
>>>> work. That is something we planned to address.
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Sep 22, 2015 at 2:45 PM, David Muturi <dnmut...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Abyot,
>>>>> I have placed a rule see attachment but it doesn't work under data
>>>>> entry when value no is selected.
>>>>> rgds
>>>>> David
>>>>>
>>>>> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> In 2.20 we have hiding only for data elements (during data entry).
>>>>>>
>>>>>> Hiding attributes (during registration) is available only in trunk.
>>>>>>
>>>>>> ---
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi <dnmut...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Abyot
>>>>>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded
>>>>>>> after seeing the online demo working on event capture. I have cleared 
>>>>>>> the
>>>>>>> Cache.
>>>>>>> rgds
>>>>>>> David
>>>>>>>
>>>>>>> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Some questions for pin-point the problem:
>>>>>>>>
>>>>>>>>- Is this on event or tracker capture app?
>>>>>>>>- Which version of DHIS 2 are you using - both version and
>>>>>>>>revision number?
>>>>>>>>- Have you tried this after clearing your browser cache?
>>>>>>>>
>>>>>>>>
>>>>>>>> ---
>>>>>>>> Thank you,
>>>>>>>> Abyot.
>>>>>>>>
>>>>>>>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi <dnmut...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Same here, I have put a rule that hides a question based on an
>>>>>>>>> answer to a different one i.e {location}=='No'  and it doesn't seem 
>>>>>>>>> to be
>>>>>>>>> working.
>>>>>>>>> rgds
>>>>>&g

Re: [Dhis2-users] Program rule does not seem to be working

2015-09-21 Thread Ese Egerega
Thanks Pramil,

Using single quotes and clearing my cache fixed the problem for me.

However, it appears that the very latest build version 19884 has a problem
with program rules. When you create and add a rule, it disappears. I tested
this on dhis2 demo site and got the same result. I have copied the
developers list in case this is a bug that needs to be fixed.

Thanks again,

-Ese

On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega <e...@cis.com.ng> wrote:

> Thanks so much Pramil. I will try that now.
>
> -Ese
>
> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage <prami...@gmail.com>
> wrote:
>
>> Dear Ese,
>>
>> Try with single quotations 'Female' and clear the cache and try.
>> If not working, get the latest build and try. I also had a similar issue
>> with an older build, but when I replaced with the latest, worked fine.
>>
>> Regards
>> Pramil
>>
>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega <e...@cis.com.ng> wrote:
>>
>>> Dear all,
>>>
>>> The Program Rule feature does not seem to be working for me. I am trying
>>> to hide a section in the tracker based on if the Gender selected during
>>> program registration is Female.
>>>
>>> To achieve this, I created a program rule that should hide the section
>>> but nothing seem to happen in Tracker Capture. The section is still
>>> displayed as if there is no rule set.
>>>
>>> In program rule I entered Gender as source field and used the following
>>> as my expression:
>>>
>>> A{Gender} == "Female"
>>>
>>> I will appreciate any assistance.
>>>
>>> Thanks,
>>> Ese
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> <http://hissl.lk/index.php/2015-conference>
>>
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Thanks so much Pramil. I will try that now.

-Ese

On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage <prami...@gmail.com> wrote:

> Dear Ese,
>
> Try with single quotations 'Female' and clear the cache and try.
> If not working, get the latest build and try. I also had a similar issue
> with an older build, but when I replaced with the latest, worked fine.
>
> Regards
> Pramil
>
> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega <e...@cis.com.ng> wrote:
>
>> Dear all,
>>
>> The Program Rule feature does not seem to be working for me. I am trying
>> to hide a section in the tracker based on if the Gender selected during
>> program registration is Female.
>>
>> To achieve this, I created a program rule that should hide the section
>> but nothing seem to happen in Tracker Capture. The section is still
>> displayed as if there is no rule set.
>>
>> In program rule I entered Gender as source field and used the following
>> as my expression:
>>
>> A{Gender} == "Female"
>>
>> I will appreciate any assistance.
>>
>> Thanks,
>> Ese
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> <http://hissl.lk/index.php/2015-conference>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Program rule does not seem to be working

2015-09-20 Thread Ese Egerega
Dear all,

The Program Rule feature does not seem to be working for me. I am trying to
hide a section in the tracker based on if the Gender selected during
program registration is Female.

To achieve this, I created a program rule that should hide the section but
nothing seem to happen in Tracker Capture. The section is still displayed
as if there is no rule set.

In program rule I entered Gender as source field and used the following as
my expression:

A{Gender} == "Female"

I will appreciate any assistance.

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


[Dhis2-users] Issue with tracker capture

2015-09-14 Thread Ese Egerega
Dear All,

There is this issue am experiencing with the tracker capture app. Not sure
if thats how it is supposed to work or if its bug.

When you click on the name of a tracked entity for the first time you get a
blank result and a message that the person is not enrolled for any program
even when the person is enrolled for programs. You have to click on the
back button and then click on the tracked entity the second time for it
work. I think this happens when you open a new browser.

I tested this on the dhis2 demo site (http://apps.dhis2.org/demo) and my
experience was the same.

Am not sure if this is peculiar to my computer or if its a general problem.

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


Re: [Dhis2-users] [Dhis2-devs] Buttons not displaying after upgrade to dhis2.20

2015-09-10 Thread Ese Egerega
Hi Markus, Abyot,

The fix worked. Thanks a lot.

-Ese

On Thu, Sep 10, 2015 at 8:31 AM, Abyot Gizaw <aby...@gmail.com> wrote:

> Hi Ese,
>
> Yes a fix is committed in latest trunk and also rev. 19839 of 2.20.
>
>
> ---
> Thank you,
> Abyot.
>
> On Thu, Sep 10, 2015 at 8:23 AM, Markus Bekken <markus.bek...@gmail.com>
> wrote:
>
>> Dear Ese,
>> We have seen something that looks like the behaviour you mention, and a
>> fix was committed by Abyot in trunk:
>> https://bugs.launchpad.net/dhis2/+bug/1490835.
>>
>> In the cases observed earlier, it was possible to work around the issue
>> by closing and reopening the registration form. Does this workaround apply
>> to your issue as well?
>>
>> Regards,
>> Markus
>>
>> 10. sep. 2015 kl. 01.51 skrev Ese Egerega <e...@cis.com.ng>:
>>
>> Dear All,
>>
>> My tracker seem to be malfunctioning after upgrade from 2.19 to 2.20.
>> When you navigate to Tracker Capture and click on Register, it displays the
>> program registration form but the usual "Save and Continue" "Save and Add
>> New" and "Cancel" buttons are missing.
>>
>> See snapshot http://awesomescreenshot.com/0b9583oxf3
>>
>> I am not sure what the problem is but I think it has to do with the way I
>> did the upgrade from 2.19 to 2.20. It is the first time I would use the
>> upgrade script so maybe I did not get it right. This are the steps I
>> followed:
>>
>>- I replaced my old dhis.war file with the new 2.20 war file
>>- I ran the upgrade script in command line as follows:
>>- psql -U dhis -d dhis2 -a -f upgrade-220.sql but I got an error
>>message so I connected to my postgresql database and paste the script
>>directly.
>>
>> I will appreciate your feedback.
>>
>> Thanks,
>>
>> Ese
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] individual records will be phased out

2015-09-10 Thread Ese Egerega
Hi Lars,

Thanks for your email.

It will be nice to keep the "Active Programs" section if we are dropping
"Individual records" module. With the "Active Programs" section you see all
the *active programs* of a tracked entity *in one place*. See snapshot
http://awesomescreenshot.com/0a7587g49b.

Looking at the "Tracker Capture" app, we have "Feedback", Profile",
Relationships" and "Note" on the right pane. It will be nice to have
"Active Programs" on that list as well with an "Enroll" link just as we
have it in the "Individual Records" module presently. See snapshot
http://awesomescreenshot.com/050587jcb2

Also, "Individual records" module loads much faster than the "Tracker
Capture" app. Something you may want to look into.

Thanks,
Ese

On Thu, Sep 10, 2015 at 11:10 AM, Lars Helge Øverland 
wrote:

> Hi,
>
> we will remove the "Individual records" web module for version 2.21. This
> module has been replaced by the "Tracker capture" app. If you are still
> using the individual records module we recommend that you move over to
> Tracker capture, and that you report potentially missing features in
> Tracker capture to the DHIS 2 developer list.
>
> regards,
>
> Lars
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org 
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Buttons not displaying after upgrade to dhis2.20

2015-09-09 Thread Ese Egerega
Dear All,

My tracker seem to be malfunctioning after upgrade from 2.19 to 2.20. When
you navigate to Tracker Capture and click on Register, it displays the
program registration form but the usual "Save and Continue" "Save and Add
New" and "Cancel" buttons are missing.

See snapshot http://awesomescreenshot.com/0b9583oxf3

I am not sure what the problem is but I think it has to do with the way I
did the upgrade from 2.19 to 2.20. It is the first time I would use the
upgrade script so maybe I did not get it right. This are the steps I
followed:

   - I replaced my old dhis.war file with the new 2.20 war file
   - I ran the upgrade script in command line as follows:
   - psql -U dhis -d dhis2 -a -f upgrade-220.sql but I got an error message
   so I connected to my postgresql database and paste the script directly.

I will appreciate your feedback.

Thanks,

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


Re: [Dhis2-users] [Dhis2-devs] System broken after upgrade to dhis2.18

2015-04-13 Thread Ese Egerega
Thanks a lot Bob.

My site is back up; my webapps directory was not completely clear as you
mentioned.

Thanks,
Ese

On Sun, Apr 12, 2015 at 9:04 PM, Bob Jolliffe bobjolli...@gmail.com wrote:

 Hi Ese

 I wonder did you end up with bits of the old and the new after
 upgrade.  Make sure you (i) completely clear out webapps directory
 before deploying 2.18 war file and (ii) make sure you clear cache
 completely in browser and also proxy cache if you are using proxy.

 Bob

 On 12 April 2015 at 20:58, Ese Egerega e...@cis.com.ng wrote:
  Thanks for your response Alex.
 
  I actually added the column active and it fixed the initial error of
  column organisati1_.active but I still cannot login. Below is the new
  error am getting. Am wondering if it has anything to do with the version
 of
  tomcat am using (7.0.57).
 
  * INFO  2015-04-12 19:47:55,227 Login success for user: 'admin', ip:
  '41.71.158.221' (DefaultUserAuditService.java [ajp-bio-8009-exec-21])
  * ERROR 2015-04-12 19:47:55,876 Error while executing action
  (ExceptionInterceptor.java [ajp-bio-8009-exec-21])
  org.hibernate.PropertyAccessException: Null value was assigned to a
 property
  of primitive type setter of
  org.hisp.dhis.organisationunit.OrganisationUnit.active
  at
 
 org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:108)
  at
 
 org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:710)
  at
 
 org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:371)
  at
 
 org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4499)
  at
 
 org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:185)
  at
 
 org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:137)
  at
 
 org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1103)
  at org.hibernate.loader.Loader.processResultSet(Loader.java:960)
 
  at
 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
  at
 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  at
 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
  at
 
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
  at
 
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
  at
 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at
 
 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Thread.java:745)
  Caused by: java.lang.IllegalArgumentException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at
 
 org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
  ... 109 more
  * WARN  2015-04-12 19:47:55,879 HHH000100: Fail-safe cleanup
 (collections) :
  org.hibernate.engine.loading.internal.CollectionLoadContext@4b562655
 rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@4daf242c
  (LoadContexts.java [ajp-bio-8009-exec-21])
  * WARN  2015-04-12 19:47:55,879 HHH000160: On
 CollectionLoadContext#cleanup,
  localLoadingCollectionKeys contained [1] entries
 (CollectionLoadContext.java
  [ajp-bio-8009-exec-21])
 
 
  On Sun, Apr 12, 2015 at 8:29 PM, Alex Tumwesigye atumwesi...@gmail.com
  wrote:
 
  Dear Ese,
 
  Please drop the column 'active' on table organisationunit. It was
 dropped
  in 2.18. See upgrade notes: https://www.dhis2.org/218-upgrade
 
  Alex
 
  On Sun, Apr 12, 2015 at 7:17 PM, Ese Egerega e...@cis.com.ng wrote:
 
  Dear All,
 
  Am having trouble with my dhis2 instance after upgrading from dhis2.17
 to
  2.18. After loading the 2.18 war file, I no longer have access to the
  system. The home page loads quite alright but when I try to login I
 get the
  following error message:
 
  An exception occurred
 
  Sorry! The system failed to execute the operation. Usually, no data is
  lost and you can continue working by going back to the previous page.
 
  My tomcat error log shows something like column organisati1_.active
 does
  not exist.
 
  See details below:
 
  * WARN  2015-04-12 15:39:57,998 SQL Error: 0, SQLState: 42703
  (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
  * ERROR 2015-04-12 15:39:57,998 ERROR: column organisati1_

[Dhis2-users] System broken after upgrade to dhis2.18

2015-04-12 Thread Ese Egerega
Dear All,

Am having trouble with my dhis2 instance after upgrading from dhis2.17 to
2.18. After loading the 2.18 war file, I no longer have access to the
system. The home page loads quite alright but when I try to login I get the
following error message:
An exception occurred

Sorry! The system failed to execute the operation. Usually, no data is lost
and you can continue working by going back to the previous page.
My tomcat error log shows something like column organisati1_.active does
not exist.

See details below:

* WARN  2015-04-12 15:39:57,998 SQL Error: 0, SQLState: 42703
(SqlExceptionHelper.java [ajp-bio-8009-exec-18])
* ERROR 2015-04-12 15:39:57,998 ERROR: column organisati1_.active does not
exist
  Position: 608 (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
* ERROR 2015-04-12 15:39:57,998 Error while executing action
(ExceptionInterceptor.java [ajp-bio-8009-exec-18])
org.hibernate.exception.SQLGrammarException: could not extract ResultSet

I will appreciate any advice
.

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


Re: [Dhis2-users] System broken after upgrade to dhis2.18

2015-04-12 Thread Ese Egerega
Thanks for your response Alex.

I actually added the column active and it fixed the initial error of
column organisati1_.active but I still cannot login. Below is the new
error am getting. Am wondering if it has anything to do with the version of
tomcat am using (7.0.57).

* INFO  2015-04-12 19:47:55,227 Login success for user: 'admin', ip:
'41.71.158.221' (DefaultUserAuditService.java [ajp-bio-8009-exec-21])
* ERROR 2015-04-12 19:47:55,876 Error while executing action
(ExceptionInterceptor.java [ajp-bio-8009-exec-21])
org.hibernate.PropertyAccessException: Null value was assigned to a
property of primitive type setter of
org.hisp.dhis.organisationunit.OrganisationUnit.active
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:108)
at
org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:710)
at
org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:371)
at
org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4499)
at
org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:185)
at
org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:137)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1103)
at org.hibernate.loader.Loader.processResultSet(Loader.java:960)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
... 109 more
* WARN  2015-04-12 19:47:55,879 HHH000100: Fail-safe cleanup (collections)
: org.hibernate.engine.loading.internal.CollectionLoadContext@4b562655
rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@4daf242c (LoadContexts.java
[ajp-bio-8009-exec-21])
* WARN  2015-04-12 19:47:55,879 HHH000160: On
CollectionLoadContext#cleanup, localLoadingCollectionKeys contained [1]
entries (CollectionLoadContext.java [ajp-bio-8009-exec-21])


On Sun, Apr 12, 2015 at 8:29 PM, Alex Tumwesigye atumwesi...@gmail.com
wrote:

 Dear Ese,

 Please drop the column 'active' on table organisationunit. It was dropped
 in 2.18. See upgrade notes: https://www.dhis2.org/218-upgrade

 Alex

 On Sun, Apr 12, 2015 at 7:17 PM, Ese Egerega e...@cis.com.ng wrote:

 Dear All,

 Am having trouble with my dhis2 instance after upgrading from dhis2.17 to
 2.18. After loading the 2.18 war file, I no longer have access to the
 system. The home page loads quite alright but when I try to login I get the
 following error message:
 An exception occurred

 Sorry! The system failed to execute the operation. Usually, no data is
 lost and you can continue working by going back to the previous page.
 My tomcat error log shows something like column organisati1_.active does
 not exist.

 See details below:

 * WARN  2015-04-12 15:39:57,998 SQL Error: 0, SQLState: 42703
 (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
 * ERROR 2015-04-12 15:39:57,998 ERROR: column organisati1_.active does
 not exist
   Position: 608 (SqlExceptionHelper.java [ajp-bio-8009-exec-18])
 * ERROR 2015-04-12 15:39:57,998 Error while executing action
 (ExceptionInterceptor.java [ajp-bio-8009-exec-18])
 org.hibernate.exception.SQLGrammarException: could not extract ResultSet

 I will appreciate any advice
 .

 Thanks,
 Ese

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




 --
 Alex Tumwesigye

 Technical Advisor - DHIS2 (Consultant),
 Ministry of Health/AFENET
 Kampala
 Uganda

 IT Consultant - BarefootPower Uganda Ltd

[Dhis2-users] Can the tracker be used for tracking health workers?

2014-06-24 Thread Ese Egerega
Hello,

I have been using dhis2 but never had to use the tracker. During the
Academy in Liberia, we were made to understand that the tracker can be used
to track individual records of patients or beneficiaries.

I am wondering if the tracker will be a good tool for tracking *health
workers *with the aim of aggregating records such as:

   - health workers per organization
   - health workers per facility
   - health workers disaggregated by gender
   - Number of health workers retiring this year and so on

Any comments or recommendation will be appreciated.

Thanks,

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


Re: [Dhis2-users] Can the tracker be used for tracking health workers?

2014-06-24 Thread Ese Egerega
Thanks so much Busoye. I will give it a try.

Ese


On Tue, Jun 24, 2014 at 11:10 AM, bus...@hisp.org wrote:

  Hi Ese,

 Absolutely. You will need to create an entity called Health Workers and
 then enrol your health workers into a a program. You might be able to do
 this with a single event with registration.

 For registration, you might have the health worker's name, designation,
 gender and contact details. You can track retirement in a program stage.



 Best regards,

 Busoye




 On 2014-06-24 11:38, Ese Egerega wrote:

  Hello,

 I have been using dhis2 but never had to use the tracker. During the
 Academy in Liberia, we were made to understand that the tracker can be used
 to track individual records of patients or beneficiaries.

 I am wondering if the tracker will be a good tool for tracking *health
 workers *with the aim of aggregating records such as:

- health workers per organization
- health workers per facility
- health workers disaggregated by gender
- Number of health workers retiring this year and so on

 Any comments or recommendation will be appreciated.

 Thanks,

 Ese




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


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


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


[Dhis2-users] Problem with data approval

2014-05-15 Thread Ese Egerega
Hello,

I just upgraded to 2.15 and I am trying out the data approval feature. I
followed the steps on the documentation carefully but it doesn't seem to be
working on my setup. The dataset status keeps going back to Ready for
Approval even though I had approved it. I am also able to enter data; the
dataset is supposed to be locked for the particular org unit and period
after approval but it's not.

I have followed the same steps on the demo site (Sierra Leone) and it works
perfectly but it wouldn't work in my setup. I am wondering what I am not
getting right.

Your comments will me appreciated.

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


Re: [Dhis2-users] Problem with data approval

2014-05-15 Thread Ese Egerega
No I didn't. I will try an incognito window in Chrome and see.


On Thu, May 15, 2014 at 5:44 PM, Knut Staring knu...@gmail.com wrote:

 Perhaps caching? Did you try an incognito window in Chrome?
 On May 15, 2014 10:46 PM, Ese Egerega e...@cis.com.ng wrote:

 Hello,

 I just upgraded to 2.15 and I am trying out the data approval feature. I
 followed the steps on the documentation carefully but it doesn't seem to be
 working on my setup. The dataset status keeps going back to Ready for
 Approval even though I had approved it. I am also able to enter data; the
 dataset is supposed to be locked for the particular org unit and period
 after approval but it's not.

 I have followed the same steps on the demo site (Sierra Leone) and it
 works perfectly but it wouldn't work in my setup. I am wondering what I am
 not getting right.

 Your comments will me appreciated.

 Thanks,
 Ese

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


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


Re: [Dhis2-users] Problem assignment data sets to organisation units

2012-11-23 Thread Ese Egerega
Hi,

I have seen the same error a couple of times. Power cycling the server
solves the problem for me.

Regards,
Ese

On Friday, November 23, 2012, Lars Helge Øverland wrote:

 Hi Nick

 Sorry to say I have seen this error before but not 100 % what causes it.
 As a temporary fix you can go to data administration - cache statistics
 and click clear cache. Then try again.

 regards, Lars

 On Thu, Nov 22, 2012 at 11:30 PM, dut...@wpro.who.int javascript:_e({},
 'cvml', 'dut...@wpro.who.int'); wrote:

 Hi everyone,

 I am having a problem when trying to assign a data set to organisation
 units. I receive this error:

 An exception occurred

 Sorry! The system failed to execute the operation. Usually, no data is
 lost and you can continue working by going back to the previous page. If
 you wish to report the incident, please save this page by choosing File -
 Save (page as) in your browser and include the saved page in the report.
 The problem details are listed below.

 [+] Exception (org.hibernate.ObjectNotFoundException): No row with the
 given identifier exists: [org.hisp.dhis.dataset.DataSet#26330]

 I was previously able to assign data sets to organisation units however I
 can no longer edit those either and assign them to different organisation
 units. It just results in the same error as above.

 I am on version 2.10, build 9037. Any help on this would be greatly
 appreciated. Thanks,

 Nick




 
 This message was scanned for viruses with Trend Micro ScanMail, GFI
 MailSecurity and  GFI MailEssentials by the World Health Organization
 Regional Office for the Western Pacific.  However, the recipient is advised
 to scan this e-mail and any attached files for viruses.

 Disclaimer:

 This e-mail, together with any attachments, is intended for the named
 recipients only and is confidential. It may also be privileged or otherwise
 protected by law.

 If you have received it in error, please notify the sender immediately by
 reply e-mail and delete it and any attachments from your system. You may
 not copy or disclose its contents to anyone.


 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net javascript:_e({}, 'cvml',
 'dhis2-users@lists.launchpad.net');
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp



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


Re: [Dhis2-users] Standard report not working

2012-09-03 Thread Ese Egerega
)
at
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at
org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.postgresql.util.PSQLException: ERROR: column
this_.last3months does not exist
  Position: 873
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at sun.reflect.GeneratedMethodAccessor201.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:122)
... 114 more



On Mon, Sep 3, 2012 at 9:28 AM, Lars Helge Øverland larshe...@gmail.comwrote:

 Hello Ese,

 there is no need to install jasper on the server.

 What is probably the cause is an error with the jasper design file you
 have uploaded. Try looking in the Tomcat server log while you execute the
 report and post the output..

 regards,

 Lars

 On Sun, Sep 2, 2012 at 12:15 AM, Ese Egerega e...@cis.com.ng wrote:

 I may be wrong but it appears that am getting this error message because
 I don't have jasper installed on my server (Ubuntu 10.0.4).

 Can anyone help me with a link to the version of Jasper that works best
 with dhis v2.8? I will appreciate it.

 Thanks,
 Ese


 On Sat, Sep 1, 2012 at 8:36 PM, Ese Egerega e...@cis.com.ng wrote:

 Dear All,

 Can anyone be of help? I get the following error each time I try to run
 a standard report:

 Oops, something went wrong
  Do not panic, we have recorded it in the log

 I get the same error when I try to download a report table report



 I

Re: [Dhis2-users] Standard report not working

2012-09-03 Thread Ese Egerega
Hi Lars,

I restarted my server and report table is now working but am still having
trouble using the* downloading as report* link. Meanwhile, tomcat log is
not showing any errors (see below).

When I run the report table, I can download as Excel, CSV, PDF and JRXML
but I get an error when I click on *Download as report.*

Below is the URL of the page that loads. I noticed also that when I change
the word jasper on the URL to pdf, it works perfectly with no errors.

Any idea why this is happening? Please advice.

*
http://50.62.13.132/dhis/dhis-web-reporting/exportTable.action?uid=yF0uPAlmBZxtype=
jasperuseLast=true

http://50.62.13.132/dhis/dhis-web-reporting/exportTable.action?uid=yF0uPAlmBZxtype=
**pdfuseLast=true*


*TOMCAT LOG:*
* INFO  2012-09-03 09:46:39,640 User login success: 'admin'
(DefaultUserAuditService.java [ajp-bio-8009-exec-4])
* INFO  2012-09-03 09:49:05,884 Running report table: TEGIN - Monthly
Report (DefaultReportTableService.java [ajp-bio-8009-exec-4])
* INFO  2012-09-03 09:49:05,886 Reporting period date default: August 2012
(DefaultReportTableService.java [ajp-bio-8009-exec-4])
* INFO  2012-09-03 09:49:05,887 Organisation unit: Nigeria
(DefaultReportTableService.java [ajp-bio-8009-exec-4])


On Mon, Sep 3, 2012 at 2:31 PM, Ese Egerega e...@cis.com.ng wrote:

 Hi Lars,

 Thanks for your response.

 It appears that the problem is more complex than I thought. I think there
 is a problem with the database. Standard tables and report tables are no
 longer working.

 I get the following error each time I click on standard reports or report
 tables. The problem started when I ungraded from version 2.8 to 2.9

 Exception (org.hibernate.exception.SQLGrammarException): ERROR: column
 this_.last3months does not exist Position: 873  [+] Caused by
 (org.postgresql.util.PSQLException): ERROR: column this_.last3months does
 not exist Position: 873 *Below is the tomcat server log*:

 * WARN  2012-09-03 05:44:28,810 SQL Error: 0, SQLState: 42703
 (SqlExceptionHelper.java [ajp-bio-8009-exec-5])
 * ERROR 2012-09-03 05:44:28,811 ERROR: column this_.last3months does not
 exist
   Position: 873 (SqlExceptionHelper.java [ajp-bio-8009-exec-5])
 * ERROR 2012-09-03 05:44:28,814 Error while executing action
 (ExceptionInterceptor.java [ajp-bio-8009-exec-5])
 org.hibernate.exception.SQLGrammarException: ERROR: column
 this_.last3months does not exist
   Position: 873
 at
 org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:122)
 at
 org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
 at
 org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
 at
 org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
 at
 org.hibernate.engine.jdbc.internal.proxy.AbstractStatementProxyHandler.continueInvocation(AbstractStatementProxyHandler.java:129)
 at
 org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)
 at $Proxy121.executeQuery(Unknown Source)
 at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
 at org.hibernate.loader.Loader.doQuery(Loader.java:829)
 at
 org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
 at org.hibernate.loader.Loader.doList(Loader.java:2438)
 at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2283)
 at org.hibernate.loader.Loader.list(Loader.java:2246)
 at
 org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:122)
 at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1622)
 at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
 at
 org.hisp.dhis.hibernate.HibernateGenericStore.getBetween(HibernateGenericStore.java:294)
 at
 org.hisp.dhis.reporttable.impl.DefaultReportTableService.getReportTablesBetween(DefaultReportTableService.java:241)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at
 org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
 at
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
 at
 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90

Re: [Dhis2-users] Standard report not working

2012-09-01 Thread Ese Egerega
I may be wrong but it appears that am getting this error message because I
don't have jasper installed on my server (Ubuntu 10.0.4).

Can anyone help me with a link to the version of Jasper that works best
with dhis v2.8? I will appreciate it.

Thanks,
Ese

On Sat, Sep 1, 2012 at 8:36 PM, Ese Egerega e...@cis.com.ng wrote:

 Dear All,

 Can anyone be of help? I get the following error each time I try to run a
 standard report:

 Oops, something went wrong
  Do not panic, we have recorded it in the log

 I get the same error when I try to download a report table report



 I am running version DHIS 2.8


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


Re: [Dhis2-users] Error: Unable to initialize gtk, is display set properly?

2012-07-29 Thread Ese Egerega
Thanks Bob, Andrew;
I downloaded and installed an X windows server on the client machine I am 
connecting from and gedit started working. It was very slow though. I ended up 
using nano. 

You are correct Bob. There is an area in your manual that talks about PgAdmin3 
but like you said, it is not working. I had to use psql instead. 

There is also an area in the manual that talks about apache-tomcat; I followed 
the steps on preparing tomcat for dhis. Tomcat is now running but it is not 
executing dhis. Is there something else i need to do? Please advice.

If you have the time, I can provide you with the login details to my server so 
you can login and check. 

Thanks,

Ese

Sent from my iPhone

On Jul 27, 2012, at 7:13 PM, Muhire Andrew muhireand...@yahoo.com wrote:

 Thanks Bob, as Bob mentioned,i like using Vi and pico are good editors i 
 think these will help if gedit fails.
 
 Thanks!
  
 
 
 
 
 
 Muhire Andrew
 HMIS/Ministry of Health
 First say to yourself what you would be; and then do what you have to do..
 
 
 From: Bob Jolliffe bobjolliffe is @gmail.com
 To: Jason Pickering jason.p.picker...@gmail.com 
 Cc: dhis2-users@lists.launchpad.net 
 Sent: Friday, July 27, 2012 8:55 PM
 Subject: Re: [Dhis2-users] Error: Unable to initialize gtk, is display set 
 properly?
 
 Yes I think we have a section in our manual that refers to gedit on
 ubuntu server which won't work.  Instead of gedit you need to use a
 terminal based editor like vi (if you already know it) or nano or pico
 which may be easier for beginners.
 
 You also won't be able to run pgadmin directly on the server.  Either
 use the psql command interface or access using pgadmin from a client
 machine (if you've set up postgres permissions to allow you to do
 this).
 
 Bob
 
 On 27 July 2012 18:45, Jason Pickering jason.p.picker...@gmail.com wrote:
  If you use putty,you are on windows. Are you sure your windows machine
  supports remote X windows? You will need extra software for this.
 
  Better to use command line tools (psql and vi) instead of the graphical
  tools if you connect through putty.
 
  Regards,
  Jason
 
  --
  Sent from my mobile
 
  On Jul 27, 2012 12:51 PM, Ese Egerega e...@cis.com.ng wrote:
 
  Thanks for your time Morten. What I meant is gedit or pgadmin3.
 
  gedit is a graphical text editor in Ubuntu. pgadmin3 is also a graphical
  application that can be used to administer postgresql database. I get the
  error message (Error: Unable to initialize gtk, is display set properly?)
  each time I try to run any of those programs.
  I am connecting through Putty to the Ubuntu 10.0.4 server.
 
  On Fri, Jul 27, 2012 at 2:38 PM, Morten Olav Hansen morte...@gmail.com
  wrote:
 
  Hi
 
  Not really sure what you mean by gedit of pgadmin3...
 
  The kind of error you are getting is usually caused by the X environment
  missing its DISPLAY property. Did you do this through an SSH session? To 
  use
  SSH forwarding with X, you need to use ssh -x IP, and then start the
  program you want.
 
  --
  Morten
 
 
  On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega e...@cis.com.ng wrote:
 
  Hello,
 
  Can anyone be of help?
 
  I get the following error message each time I try to run gedit of
  pgadmin3 on ubuntu 10.0.4
 
  Error: Unable to initialize gtk, is display set properly?
 
  Thanks,
  Ese
 
  On 7/20/12, Suneel Kumar Chevvu suneelkumar.che...@gmail.com wrote:
   Dear Lars,
  
Can user set his own login page means once login into
   application
   whether user can see his own option / Module.
  
   Say for example - If Healthworker/ Data entry operator login dataentry
   module should display as login screen, if another level user say State
   person logins he wants to see Dashboard as his default page.
  
   Currently we can set login module in system settings which means the
   same
   can be applied for all users. If any user change the start page
   according
   to his choice , the same page is showing for all other users.
   Can we make user specific login page?
  
  
  
   --
   Thanks  Regards,
   Suneelkumar .ch
   HISP India.
  
 
  ___
  Mailing list: https://launchpad.net/~dhis2-users
  Post to: dhis2-users@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~dhis2-users
  More help  : https://help.launchpad.net/ListHelp
 
 
 
 
  ___
  Mailing list: https://launchpad.net/~dhis2-users
  Post to: dhis2-users@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~dhis2-users
  More help  : https://help.launchpad.net/ListHelp
 
 
  ___
  Mailing list: https://launchpad.net/~dhis2-users
  Post to: dhis2-users@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~dhis2-users
  More help  : https://help.launchpad.net/ListHelp
 
 
 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to: dhis2-users

Re: [Dhis2-users] Error: Unable to initialize gtk, is display set properly?

2012-07-27 Thread Ese Egerega
Thanks for your time Morten. What I meant is gedit *or* pgadmin3.

gedit is a graphical text editor in Ubuntu. pgadmin3 is also a graphical
application that can be used to administer postgresql database. I get the
error message* (Error: Unable to initialize gtk, is display set
properly?) *each
time I try to run any of those programs.
I am connecting through Putty to the Ubuntu 10.0.4 server.

On Fri, Jul 27, 2012 at 2:38 PM, Morten Olav Hansen morte...@gmail.comwrote:

 Hi

 Not really sure what you mean by gedit of pgadmin3...

 The kind of error you are getting is usually caused by the X environment
 missing its DISPLAY property. Did you do this through an SSH session? To
 use SSH forwarding with X, you need to use ssh -x IP, and then start the
 program you want.

 --
 Morten


 On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega e...@cis.com.ng wrote:

 Hello,

 Can anyone be of help?

 I get the following error message each time I try to run gedit of
 pgadmin3 on ubuntu 10.0.4

 Error: Unable to initialize gtk, is display set properly?

 Thanks,
 Ese

 On 7/20/12, Suneel Kumar Chevvu suneelkumar.che...@gmail.com wrote:
  Dear Lars,
 
Can user set his own login page means once login into application
  whether user can see his own option / Module.
 
  Say for example - If Healthworker/ Data entry operator login dataentry
  module should display as login screen, if another level user say State
  person logins he wants to see Dashboard as his default page.
 
  Currently we can set login module in system settings which means the
 same
  can be applied for all users. If any user change the start page
 according
  to his choice , the same page is showing for all other users.
  Can we make user specific login page?
 
 
 
  --
  Thanks  Regards,
  Suneelkumar .ch
  HISP India.
 

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



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


[Dhis2-users] Error: Unable to initialize gtk, is display set properly?

2012-07-26 Thread Ese Egerega
Hello,

Can anyone be of help?

I get the following error message each time I try to run gedit of
pgadmin3 on ubuntu 10.0.4

Error: Unable to initialize gtk, is display set properly?

Thanks,
Ese

On 7/20/12, Suneel Kumar Chevvu suneelkumar.che...@gmail.com wrote:
 Dear Lars,

   Can user set his own login page means once login into application
 whether user can see his own option / Module.

 Say for example - If Healthworker/ Data entry operator login dataentry
 module should display as login screen, if another level user say State
 person logins he wants to see Dashboard as his default page.

 Currently we can set login module in system settings which means the same
 can be applied for all users. If any user change the start page according
 to his choice , the same page is showing for all other users.
 Can we make user specific login page?



 --
 Thanks  Regards,
 Suneelkumar .ch
 HISP India.


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


Re: [Dhis2-users] Datamart Problem

2012-07-05 Thread Ese Egerega
I am wondering if anyone can be of help...I am having issues with the GIS
module.

I downloaded a shape file for my country and converted one of the extracted
files (NGA_adm2.shp) to GML using ogr2gui.

I further changed the NAME_2 tag as directed. Finally, I made sure that
the names in my gml file have exactly the same names as the org unit names
in DHIS.

The problem is that nothing happens when I import the GML file to DHIS. All
the elements show none

On Fri, Jun 29, 2012 at 12:20 AM, Ese Egerega e...@cis.com.ng wrote:

 Hi Bob,

 Thanks a lot. I was having a similar problem with datamart but it was
 fixed once I generated tables.

 Ese


 On Wed, Jun 27, 2012 at 4:04 PM, Bob Jolliffe bobjolli...@gmail.comwrote:

 Hi Kabango

 This is an odd error but I believe it is probably caused because you
 are missing resource tables on the dhis server side.  On dhis server
 go to:

 data administration - resource tables - select all - generate tables

 and try again.

 Regards
 Bob

 On 27 June 2012 15:32, Kabango Malewezi kmalew...@jhpiego.net wrote:
  Dear Users
 
 
 
  I'm new to DHIS and I have a problem.
 
 
 
  After I run datamart, login, and download Metadata I cannot update
 Aggregate data. Enclosed is the log file.
 
 
 
 
 
  Kabango Malewezi | Database Specialist
 
  SSDI Services
 
  2nd Floor, Pamodzi House, City Center, P.O Box 1091, Lilongwe, Malawi
  Tel: +265 (01) 776 412/3/4 | fax: +265 (01) 776 410 | Mobile: +265 (0)
 88 4 245 431
 
  kmalew...@jhpiego.net mailto:kmalew...@jhpiego.net  |
 www.jhpiego.orghttp://www.jhpiego.org/
 
  Skype: kabango.malewezi | Twitter: kabangoM
 
  ___
  Mailing list: https://launchpad.net/~dhis2-users
  Post to : dhis2-users@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~dhis2-users
  More help   : https://help.launchpad.net/ListHelp
 

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



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


Re: [Dhis2-users] DHIS v2.8 database design

2012-06-21 Thread Ese Egerega
Good morning All,

I am having a problem with a form I created in custom view. I have a drop
down menu in my form which displays categories of training (.i.e Time
management, Report writing, Leadership etc).

The problem is that the values I select from the drop down menu is not
showing in my report (i.e. not posted). All I see is the drop down menu
displayed in report view.

Any suggestions on how this can be fixed?

Thanks,
Ese

On Mon, Jun 18, 2012 at 5:16 AM, Muhire Andrew muhireand...@yahoo.comwrote:


 i think you can create organisation units up to the district and down the
 district you put offices if they dont need other levels, organisation unit
 serves as a location identifier.

 thanks!
 --
  On Sun, Jun 17, 2012 1:09 PM PDT Ese Egerega wrote:

  Dear All,
  
  I am designing a new database on DHIS v2.8 and I need help with the
  organization unit structure. The database am building is for an
  organization (NGO) with offices in 2 provinces but they have projects
  spread across several provinces and districts.
  
  Will it be okay to represent only the two offices in the organization
 unit
  and then create a data element group/category for the other locations
 where
  they have projects OR should I have all the locations in the organization
  unit even though the NGO does not have physical offices at those places.
  Please advice.
  
  Thanks,
  Ese
  
  On Sun, Jun 17, 2012 at 11:48 AM, Uddin Fatema fatema...@gmail.com
 wrote:
  
   Dear All,
  
  
   Thanks all of your mail.
  
  
  
   Yes Jason, I want to create installer for both Offline dhis2 for UBUNTU
   and also for a server update DHIS2.
  
  
  
   Thanks BOB, I am trying to follow your documents and using BirtRock.
  
   Thanks
  
   Best Regards
  
   Fatema Uddin
  
   On Fri, Jun 15, 2012 at 12:28 AM, Bob Jolliffe bobjolli...@gmail.com
 wrote:
  
   Yes i made a deb some time ago .. it is still there in trunk under
   resources, tools or something. Works ok but I think now it is
   actually the wrong approach. As is the bitrock one probably, assuming
   you are doing a server install.
  
   For a server deb I think you need something really small and simple,
   modelled after the tomcat7-user deb, which has in addition:
   1. simple guided setup script resulting in correct server.xml and
   hibernate.properties file
   2. some simple wget/curl based scripts for downloading latest war files
   3. some basic pg and/or mysql backup scripts
   4. possibly some templates for apache2 and/or nginx proxying
   5. any other useful odds and ends that we find ourselves doing over
   and over (eg. sql script data integrity checks)
   
  
  
   On 14 June 2012 19:03, Knut Staring knu...@gmail.com wrote:
There has also been some experimentation on making a .deb, but I'm
 not
   sure
of the status.
   
Sent from my mobile
   
On Jun 14, 2012 7:36 PM, Jason Pickering 
 jason.p.picker...@gmail.com
   
wrote:
   
There is an experimental installer using BitRock, which is in trunk.
 In
theory it is cross platform, but I am not sure it has ever been
 tested
   on
Ubuntu. Because of the multiple different ways of installing DHIS2,
   we have
never really managed to get a single one-click installer built,
   although you
might consider using/modifying for your particular circumstances.
   
There are however detailed installation instructions for Ubuntu in
 the
documentation.
   
Are you performing offline installs of DHIS2 on Ubuntu or is this for
   a
server?
   
   
Best regards,
   
Jason
   
   
--
Sent from my mobile
   
On Jun 14, 2012 1:51 PM, Uddin Fatema fatema...@gmail.com wrote:
   
Hi All,
   
We need a DHIS2 installer for UBUNTU 11.04 OS. Is anybody there who
already create it?
   
It will be really helpful for us.
   
Advance Thanks to all.
   
Best Regards
   
Fatema Uddin

Computer Programmer HMIS
Support to the Sector Programme Health (HNPSP)
Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh
Office location:
Monitoring  Evaluation Unit
Ministry of Health and Family Welfare
Janashankha Bhaban (2nd Floor), Azimpur
Dhaka 1205, Bangladesh
   
Phone: +880 2 966 53 13
Fax: +880 2 966 53 14
   
   
   
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
   
   
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp