← Back to team overview

dhis2-users team mailing list archive

Re: Event capture loading meta-data takes a long time

 

Ok, I have made a small fix which hopefully will allow you to continue.
Download the latest 2.21 or if you can better to upgrade to latest versions
of DHIS2.


Re: the program - you sill need to fix the issue with program MBS_2. Not
sure how you end up like that, normally the stage is created automatically.
Anyways, try to delete it one more time, check your tomcat log and see what
the problem is. You can also try to delete it manually using sql stmts.



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

On Mon, Jan 9, 2017 at 1:57 AM, Karina Dian Lestari <karinadnlstr@xxxxxxxxx>
wrote:

> I can not remove MBS_2. It just look like this
>
> [image: Inline images 3]
>
> I also can not add any program stage, because there is no 'add new'
> button'. It should be there, right?
>
> [image: Inline images 4]
>
> This exactly what I've tried to do before. The deleting process took a
> long time so I refreshed the page, after that I can not input any data via
> event capture because the meta-data just keep loading. Any idea why this
> happen?
>
> Thank you.
>
>
> --
> Karin.
>
> On 6 January 2017 at 18:20, Abyot Asalefew Gizaw <abyot@xxxxxxxxx> wrote:
>
>> You have two programs
>> - Mass Blood Survey with stage
>> - MBS_2 without stage
>>
>> Can you assign MBS_2 a stage or remove it if you don't need it?
>>
>>
>>
>> --
>> Abyot A. Gizaw.
>> Senior Engineer, DHIS2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Fri, Jan 6, 2017 at 12:09 PM, Karina Dian Lestari <
>> karinadnlstr@xxxxxxxxx> wrote:
>>
>>> I got this, not sure what this mean. Should it look like this?
>>>
>>> [image: Inline images 1]
>>>
>>>
>>> --
>>> Karin.
>>>
>>> On 6 January 2017 at 17:59, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>>> wrote:
>>>
>>>> What do you get when running the following?
>>>>
>>>> http://localhost:8080/dhis/api/programs.json?filter=programT
>>>> ype:eq:WITHOUT_REGISTRATION&paging=false&fields=id,name,vers
>>>> ion,categoryCombo[id,isDefault,categories[id,categoryOptions
>>>> [id]]],programStages[id,version,programStageSections[id],
>>>> programStageDataElements[dataElement[id,optionSet[id,version]]]]
>>>>
>>>>
>>>> --
>>>> Abyot A. Gizaw.
>>>> Senior Engineer, DHIS2
>>>> University of Oslo
>>>> http://www.dhis2.org
>>>>
>>>> On Fri, Jan 6, 2017 at 11:45 AM, Karina Dian Lestari <
>>>> karinadnlstr@xxxxxxxxx> wrote:
>>>>
>>>>> I am sorry, I was looking at the wrong place. I have one stage with
>>>>> some data elements assign to it, but haven't set the indicators and rules
>>>>> yet.
>>>>> Attached is the exported data that I have input manually before the
>>>>> problem happen.
>>>>>
>>>>>
>>>>> --
>>>>> Karin.
>>>>>
>>>>> On 6 January 2017 at 17:13, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> You need to have a stage with dataelements assigned to it ...
>>>>>> otherwise what will you be collecting?
>>>>>>
>>>>>> --
>>>>>> Abyot A. Gizaw.
>>>>>> Senior Engineer, DHIS2
>>>>>> University of Oslo
>>>>>> http://www.dhis2.org
>>>>>>
>>>>>> On Fri, Jan 6, 2017 at 10:26 AM, Karina Dian Lestari <
>>>>>> karinadnlstr@xxxxxxxxx> wrote:
>>>>>>
>>>>>>> Hi Abyot,
>>>>>>>
>>>>>>> I am using 2.21 (build revision 21070), sorry I did not mention that
>>>>>>> earlier.
>>>>>>> Yes this is a program without registration and program stage. This
>>>>>>> is a one time survey data, so I don't think stage is needed. For the
>>>>>>> metadata, I added manually on Programs/Attributes menu. It worked perfectly
>>>>>>> until I tried to delete one of unused program, I don't know what went
>>>>>>> wrong. Any ideas?
>>>>>>>
>>>>>>>
>>>>>>> Prosper, thank you for the suggestion. I will try that.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Karin.
>>>>>>>
>>>>>>> On 6 January 2017 at 13:11, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Karina,
>>>>>>>>
>>>>>>>> Are you using 2.21?
>>>>>>>>
>>>>>>>> Also, how was your metadata created - did you use some
>>>>>>>> import/export? It seems you have a program without a program stage. Can you
>>>>>>>> check that?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Abyot A. Gizaw.
>>>>>>>> Senior Engineer, DHIS2
>>>>>>>> University of Oslo
>>>>>>>> http://www.dhis2.org
>>>>>>>>
>>>>>>>> On Fri, Jan 6, 2017 at 6:57 AM, Prosper BT <ptb3000@xxxxxxxxx>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Dear Morten,
>>>>>>>>>
>>>>>>>>> Been experiencing the same especially after updating to the latest
>>>>>>>>> build with 2.25 even when you run in incognito.
>>>>>>>>>
>>>>>>>>> Whats strange is that when you create a new user and assign the
>>>>>>>>> same user roles, its able to load the tracked entity dashboard.
>>>>>>>>>
>>>>>>>>> Karina try to create a new user and assign the exact roles and
>>>>>>>>> see, dont crone the old user just a fresh now one.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> Prosper Behumbiize, MPH
>>>>>>>>> DHIS2 Implementation| HISP Uganda/University Of Oslo
>>>>>>>>> +256 752 751 776 | +256 776 139 139
>>>>>>>>> prosper@xxxxxxxxxxxxxx <ptb3000@xxxxxxxxx> | prosper@xxxxxxxxx | Skype:
>>>>>>>>> prospertb
>>>>>>>>>
>>>>>>>>> On Fri, Jan 6, 2017 at 8:47 AM, Morten Olav Hansen <
>>>>>>>>> morten@xxxxxxxxx> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Karina
>>>>>>>>>>
>>>>>>>>>> Could you also try to see if it works in chrome ingocnito? Some
>>>>>>>>>> of these caches can be hard to remove properly, but if you start up
>>>>>>>>>> incognito.. at least you can verify if its related to the cache or not..
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Morten Olav Hansen
>>>>>>>>>> Senior Engineer, DHIS 2
>>>>>>>>>> University of Oslo
>>>>>>>>>> http://www.dhis2.org
>>>>>>>>>>
>>>>>>>>>> On Fri, Jan 6, 2017 at 12:44 PM, Karina Dian Lestari <
>>>>>>>>>> karinadnlstr@xxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I have this problem about event capture. It happen after I try
>>>>>>>>>>> to remove one of my unused program on list. It takes too long so I canceled
>>>>>>>>>>> the remove process by refreshing the page. Now whenever I want to input
>>>>>>>>>>> data in event capture it look like this:[image: Inline images 1]
>>>>>>>>>>>
>>>>>>>>>>> I already tried clearing caches on DHIS2 and chrome, also
>>>>>>>>>>> restarting the laptop but it still does not work.
>>>>>>>>>>> Any solution to this?
>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Best regards,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

PNG image

PNG image

PNG image

JPEG image


References