Re: [Dhis2-users] [Dhis2-devs] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Clearing cache is going to help when there are metadata changes.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 2:15 PM, Hannan Khan  wrote:

> Thanks Abyot.
>
> I tried several times clearing cache and using incognito mode as well.
>
> Tried several version  including the new release, version 2.22 release
> d031d6c.
>
> I am not sure if any metadata changed. But meta data changed how could we
> solve the problem?
>
> Regards
>
> Hannan
>
> On Tue, Sep 27, 2016 at 6:09 PM, Abyot Asalefew Gizaw 
> wrote:
>
>> Hi Hannan,
>>
>> Which version are you using?
>>
>> Seems you have had metadata change. Check if all your programs have
>> program stage and for the program stages to have data elements assigned to
>> them.
>>
>> Also, can you clear your browser cache and try one more time?
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:
>>
>>> Dear All
>>>
>>> Suddenly from few days ago out event capture is not loading. Only
>>> country Orgunit loaded and showing 'Loading meta-data'.
>>>
>>> [image: Inline image 1]
>>>
>>> There is no error log in the tomcat but I find error in the script which
>>> is
>>>
>>> Uncaught TypeError: Cannot read property 'programStageDataElements' of
>>> undefined
>>> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/
>>> scripts/event-capture.js:239:61
>>> at Array.forEach (native)
>>> at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
>>> at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
>>> at Object. (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>> at Object.fire (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
>>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>>> cripts/jQuery/jquery.min.js:2:16920)
>>> at Object.fireWith (http://103.247.238.82:8080/dh
>>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>>
>>> Please help me to resolve the problem.
>>>
>>> Muhammad Abdul Hannan Khan
>>> Secretary
>>> HISP Bangladesh
>>>
>>> T +880-2- 8816459, 8816412 ext 118
>>> F +88 02 8813 875
>>> M+88 01819 239 241
>>> M+88 01534 312 066
>>> E hann...@gmail.com
>>> S hannan.khan.dhaka
>>> B hannan-tech.blogspot.com
>>> L https://bd.linkedin.com/in/hannankhan
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>
>
>
> --
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
___
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] Event Capture is not loading

2016-09-27 Thread Hannan Khan
Thanks Abyot.

I tried several times clearing cache and using incognito mode as well.

Tried several version  including the new release, version 2.22 release
d031d6c.

I am not sure if any metadata changed. But meta data changed how could we
solve the problem?

Regards

Hannan

On Tue, Sep 27, 2016 at 6:09 PM, Abyot Asalefew Gizaw 
wrote:

> Hi Hannan,
>
> Which version are you using?
>
> Seems you have had metadata change. Check if all your programs have
> program stage and for the program stages to have data elements assigned to
> them.
>
> Also, can you clear your browser cache and try one more time?
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:
>
>> Dear All
>>
>> Suddenly from few days ago out event capture is not loading. Only country
>> Orgunit loaded and showing 'Loading meta-data'.
>>
>> [image: Inline image 1]
>>
>> There is no error log in the tomcat but I find error in the script which
>> is
>>
>> Uncaught TypeError: Cannot read property 'programStageDataElements' of
>> undefined
>> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-capture/
>> scripts/event-capture.js:239:61
>> at Array.forEach (native)
>> at Function.j.each.j.forEach (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
>> at Object.filterMissingPrograms (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
>> at Object. (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>> cripts/jQuery/jquery.min.js:2:16920)
>> at Object.fireWith (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>> at Object.fire (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17744)
>> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/javas
>> cripts/jQuery/jquery.min.js:2:16920)
>> at Object.fireWith (http://103.247.238.82:8080/dh
>> ismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>>
>> Please help me to resolve the problem.
>>
>> Muhammad Abdul Hannan Khan
>> Secretary
>> HISP Bangladesh
>>
>> T +880-2- 8816459, 8816412 ext 118
>> F +88 02 8813 875
>> M+88 01819 239 241
>> M+88 01534 312 066
>> E hann...@gmail.com
>> S hannan.khan.dhaka
>> B hannan-tech.blogspot.com
>> L https://bd.linkedin.com/in/hannankhan
>>
>>
>> ___
>> 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
>>
>>
>


-- 
Muhammad Abdul Hannan Khan
Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
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] Event Capture is not loading

2016-09-27 Thread Abyot Asalefew Gizaw
Hi Hannan,

Which version are you using?

Seems you have had metadata change. Check if all your programs have program
stage and for the program stages to have data elements assigned to them.

Also, can you clear your browser cache and try one more time?

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org

On Tue, Sep 27, 2016 at 8:36 AM, Hannan Khan  wrote:

> Dear All
>
> Suddenly from few days ago out event capture is not loading. Only country
> Orgunit loaded and showing 'Loading meta-data'.
>
> [image: Inline image 1]
>
> There is no error log in the tomcat but I find error in the script which
> is
>
> Uncaught TypeError: Cannot read property 'programStageDataElements' of
> undefined
> at http://103.247.238.82:8080/dhismohfw/dhis-web-event-
> capture/scripts/event-capture.js:239:61
> at Array.forEach (native)
> at Function.j.each.j.forEach (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/underscore.min.js:5:599)
> at Object.filterMissingPrograms (http://103.247.238.82:8080/
> dhismohfw/dhis-web-event-capture/scripts/event-capture.js:238:7)
> at Object. (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:18263)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
> at Object.fire (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:17744)
> at k (http://103.247.238.82:8080/dhismohfw/dhis-web-commons/
> javascripts/jQuery/jquery.min.js:2:16920)
> at Object.fireWith (http://103.247.238.82:8080/
> dhismohfw/dhis-web-commons/javascripts/jQuery/jquery.min.js:2:17707)
>
> Please help me to resolve the problem.
>
> Muhammad Abdul Hannan Khan
> Secretary
> HISP Bangladesh
>
> T +880-2- 8816459, 8816412 ext 118
> F +88 02 8813 875
> M+88 01819 239 241
> M+88 01534 312 066
> E hann...@gmail.com
> S hannan.khan.dhaka
> B hannan-tech.blogspot.com
> L https://bd.linkedin.com/in/hannankhan
>
>
> ___
> 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