Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-25 Thread Calle Hedberg
Pradeep,

The first "GET" error is just noise, it is some .gif file referenced
somewhere in the code but the file no longer exist. DHIS2 has a number of
those that for some reason don't get cleaned out. It's just a bit annoying,
though.

The second one is your real problem, and to be frank similar TypeErrors are
popping up in a multitude of settings for 2.29 and 2.30 - they usually
reflect some inconsistency in the meta-data that makes up your Tracker
Program - the problem is that the error message as it appears is rather
cryptic and you need to either drill into each of those angular references
OR else analyse your program setup AND current data. I encountered a very
similar problem just last week, which turned out to be caused by a few new
ASSIGN program rules which had assigned values to the wrong stages because
the stage were not explicitly defined (something not supported by the User
Interface, so you have to manually edit the program rule in the back end).
The DHIS2 code was also not intercepting this particular design problem.

So beyond drilling into those angular references, I would do the following:

1. Have you made ANY changes to the tracker program including program rules
during the last week or two? if yes, try to roll those changes back.

2. Check carefully that all program attributes, and all stage data
elements, do exist in the attribute or data element tables.

3. Check that all program rules are valid.

4. Run a frequency analysis on existing data in the
trackedentityattributevalue and trackedentitydatavalue tables (assuming you
have access to the back end), and verify in particular that all option
values are correct AND that all data element values are linked to the
correct stage

That's what I can suggest for now - since this is a new problem that
suddenly popped up, your best bet is to dig into any recent changes to the
program or program rules.

My 2c worth

Regards
Calle

On Thu, 25 Oct 2018 at 01:16, Pradeep Kumar Thakur 
wrote:

> Hi Calle,
>
>
>
> Thank you for suggestion. The system was working well previously day
> before yesterday but from yesterday it does not work. I did as you
> suggested and watched when the error shows and has pasted here below. The
> first error showed when I tried to choose organization unit and second one
> showed when I hit save and continue. Hope this is clear.
>
>
>
>
>
>
>
> Regards,
>
> Pradeep
>
> *From:* Calle Hedberg 
> *Sent:* Wednesday, October 24, 2018 9:24 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* Stanley Kalyati ; DHIS 2 Users list <
> dhis2-us...@lists.launchpad.net>; dhis2-devs <
> dhis2-devs@lists.launchpad.net>
> *Subject:* Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER
> CAPTURE version 2.29
>
>
>
> Hi,
>
>
>
> Listen - as a first step for any problem like this, you MUST
>
> 1.
>
> Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using
> Chrome), and copy the error messages appearing there (if any) to the post.
> In many cases, the messages appearing will directly or indirectly show you
> what the problem is.
>
> 2.
>
> Monitor the tomcat/catalina log when you click save and continue, and
> again copy the relevant sections to your post.
>
>
>
> No problem with Stanley's advice per se - incorrect sharing settings MIGHT
> the root cause of what you experience - but in general going through all
> possible problem scenarios is a wild goose chase.
>
>
>
> Furthermore, your post do not indicate whether this is a newly defined
> program which has never worked OR if it is a program that previously worked
> fine and now don't work any more. If the latter, any information about
> recent changes (e.g. updating to  a newer 2.29 war file) is helpful.
>
>
>
> Regards
>
> Calle
>
>
>
> On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur 
> wrote:
>
> Yeah. TEI is also not updated by Admin user.
>
>
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 8:42 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> How about the user rights? Can you ensure edit/add TEI is selected?
>
>
>
> On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
> wrote:
>
> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select

Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Hi Calle,

Thank you for suggestion. The system was working well previously day before 
yesterday but from yesterday it does not work. I did as you suggested and 
watched when the error shows and has pasted here below. The first error showed 
when I tried to choose organization unit and second one showed when I hit save 
and continue. Hope this is clear.

[cid:image001.png@01D46C1F.4ABF1610]


Regards,
Pradeep
From: Calle Hedberg 
Sent: Wednesday, October 24, 2018 9:24 PM
To: Pradeep Kumar Thakur 
Cc: Stanley Kalyati ; DHIS 2 Users list 
; dhis2-devs 
Subject: Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE 
version 2.29

Hi,

Listen - as a first step for any problem like this, you MUST
1.
Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using 
Chrome), and copy the error messages appearing there (if any) to the post. In 
many cases, the messages appearing will directly or indirectly show you what 
the problem is.
2.
Monitor the tomcat/catalina log when you click save and continue, and again 
copy the relevant sections to your post.

No problem with Stanley's advice per se - incorrect sharing settings MIGHT the 
root cause of what you experience - but in general going through all possible 
problem scenarios is a wild goose chase.

Furthermore, your post do not indicate whether this is a newly defined program 
which has never worked OR if it is a program that previously worked fine and 
now don't work any more. If the latter, any information about recent changes 
(e.g. updating to  a newer 2.29 war file) is helpful.

Regards
Calle

On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Yeah. TEI is also not updated by Admin user.


From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 8:42 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.


Regards,
Pradeep
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-us...@lists.launchpad.net<mailto:dhis2-us...@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-devs@lists.launchpad.net<mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


--

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com<mailto:calle.hedb...@gmail.com>

Skype: calle_hedberg

***

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


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Calle Hedberg
Hi,

Listen - as a first step for any problem like this, you MUST
1.
Use CTRL-SHIFT-J to open the Chrome console (I'm assuming you are using
Chrome), and copy the error messages appearing there (if any) to the post.
In many cases, the messages appearing will directly or indirectly show you
what the problem is.
2.
Monitor the tomcat/catalina log when you click save and continue, and again
copy the relevant sections to your post.

No problem with Stanley's advice per se - incorrect sharing settings MIGHT
the root cause of what you experience - but in general going through all
possible problem scenarios is a wild goose chase.

Furthermore, your post do not indicate whether this is a newly defined
program which has never worked OR if it is a program that previously worked
fine and now don't work any more. If the latter, any information about
recent changes (e.g. updating to  a newer 2.29 war file) is helpful.

Regards
Calle

On Wed, 24 Oct 2018 at 17:03, Pradeep Kumar Thakur 
wrote:

> Yeah. TEI is also not updated by Admin user.
>
>
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 8:42 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> How about the user rights? Can you ensure edit/add TEI is selected?
>
>
>
> On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
> wrote:
>
> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select sharing settings.You can
> disable the public users and then add the user groups you want to access
> the program.Make sure the settings are set on view and edit and capture
> data.
>
>
>
> Regards
>
>
>
> Stanley
>
>
>
> On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
> wrote:
>
> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 

***

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedb...@gmail.com

Skype: calle_hedberg

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


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Yeah. TEI is also not updated by Admin user.


From: Stanley Kalyati 
Sent: Wednesday, October 24, 2018 8:42 PM
To: Pradeep Kumar Thakur 
Cc: DHIS 2 Developers list ; DHIS Users 

Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati mailto:skaly...@gmail.com>>
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur mailto:ptha...@fhi360.org>>
Cc: DHIS 2 Developers list 
mailto:dhis2-devs@lists.launchpad.net>>; DHIS 
Users mailto:dhis2-us...@lists.launchpad.net>>
Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.


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


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Stanley Kalyati
How about the user rights? Can you ensure edit/add TEI is selected?

On Wed, Oct 24, 2018, 16:34 Pradeep Kumar Thakur  wrote:

> Thanks Stanly, I did as you suggested but in vein.
>
>
>
> Regards,
>
> Pradeep
>
>
>
> *From:* Stanley Kalyati 
> *Sent:* Wednesday, October 24, 2018 7:10 PM
> *To:* Pradeep Kumar Thakur 
> *Cc:* DHIS 2 Developers list ; DHIS Users
> 
> *Subject:* Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE
> version 2.29
>
>
>
> Can you go to the program and right click.Select sharing settings.You can
> disable the public users and then add the user groups you want to access
> the program.Make sure the settings are set on view and edit and capture
> data.
>
>
>
> Regards
>
>
>
> Stanley
>
>
>
> On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
> wrote:
>
> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Pradeep Kumar Thakur
Thanks Stanly, I did as you suggested but in vein.

Regards,
Pradeep

From: Stanley Kalyati 
Sent: Wednesday, October 24, 2018 7:10 PM
To: Pradeep Kumar Thakur 
Cc: DHIS 2 Developers list ; DHIS Users 

Subject: Re: [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

Can you go to the program and right click.Select sharing settings.You can 
disable the public users and then add the user groups you want to access the 
program.Make sure the settings are set on view and edit and capture data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
mailto:ptha...@fhi360.org>> wrote:
Dear Collogues,

I have been facing below issue. Our system is not accepting new entity in 
Tracker Capture. The black circle keeps moving. What could be the problem.

[cid:image001.png@01D46BCC.C050D3D0]

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


Re: [Dhis2-devs] [Dhis2-users] NEW ENTITY IS NOT SAVED-TRACKER CAPTURE version 2.29

2018-10-24 Thread Stanley Kalyati
Can you go to the program and right click.Select sharing settings.You can
disable the public users and then add the user groups you want to access
the program.Make sure the settings are set on view and edit and capture
data.

Regards

Stanley

On Wed, Oct 24, 2018 at 3:22 PM Pradeep Kumar Thakur 
wrote:

> Dear Collogues,
>
>
>
> I have been facing below issue. Our system is not accepting new entity in
> Tracker Capture. The black circle keeps moving. What could be the problem.
>
>
>
>
>
> Regards,
>
> Pradeep
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp