I have just installed dhis2 version 2.30 in my windows 10 machine . I am using tomcat9 and postgres version 11. Every functionalities working fine and smooth but when I am trying to browse tracker capture app it is not loading. In my browser console I am getting error of angular js. Can you please suggest what I can do for this? My version details:
Version:2.30
Build revision:e787d29
Build date:2018-11-26 12:26
Jasper reports version:6.3.1
User agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Thanks for your very quick reply. Here is screen shot of networks tab. Only tracker capture and event capture are not working other apps are working fine. I have also tried with version 2.31 but it does not solve the the issue. I feel it is definitely issues with my environment, browser or network but unfortunately could not pin point the reason.
Hi @sohel, I have tried to reproduce your issues in 2.30 without success. Have you cleared your cache? You can do this by using the “Cache cleaner app” in DHIS2. If that does not help, can you try to clear your browser cache? This can be archived by clicking the “>>” symbol in your dev tool (that is open in your screenshots) and selecting “Application”. Then click “Clear Storage” and check all the boxes. After that click “Clear site data”.
Thanks for your help and very details instruction, I have cleared the cache using dhis2 ‘browser cache cleaner’ several times, also have tried to clean browser cache the way you suggested but still problem remain. I have also tried to browse it from my colleague machine and have tried with other browser in my machine as well but could not success. I may have give another try by deleting everything from my current installation.
So far, I have installed
java
tomcat
postgres + postgis extensions.
in my fresh windows 10 machine.
Do you think any other angular module/component also need to be installed in my machine for this to be worked?
Hi @sohel, it should not be necessary to install angular. Could you click the “app-9feb287…js:5990” link next to the “Uncaught SyntaxError” and take a screenshot of the code it displays? Could you also take a screenshot of the “About” page? You find this page by clicking the circle with the two letters in the top right and “About DHIS 2”.
Hi @sohel, thanks for the last screen-shot. We managed to figure out that the error is caused by a “fake space” (happen when you press “option” and “space” key at the same time on a Mac machine). This fake space causes no direct issues for Unix operating systems, but in Windows this “fake space” is interpreted as a “”. The issue should now be resolved in the newest builds (currently building).
Thanks for your very prompt action, I have taken latest build from https://s3-eu-west-1.amazonaws.com/releases.dhis2.org/dev/dhis.war but it seems problem persist. Also for event capture i am getting the same. I am definitely missing something can you please help? Few screen shot of the error attaching here that might help you to get more insight,
Hi @sohel - If you updated the server config we would expect the problem to be gone in tracker and event capture at the same time. Do you experience the problem consistently across several browsers/machines, or can it be a cache issue?
Hi @Markus,
After update server config tracker capture is working fine but event capture not working, i have checked with several browser, cleared browser cache and even used incognito window but every time result was same tracker capture working but event capture not working. I am not sure but i guess the fixation you applied for tracker capture module for work in windows may need to be applied for event capture module as well.
Hi @sohel, it might seem as your server is not updated correctly or has not had the desired effect on your setup for some reason. There fake-space has been removed from the tracker capture app, but this would only have an effect on servers that is not set up with the correct UTF-8 encoding.
Can you double check the settings, especially the parts that regards UTF encoding from @andrehukkelaas s post above?
If you cannot find any problems, it would be very interesting if you could send us the details on on which web server version you are running.