GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
···
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
GIS is failing to load in a new instance of 2.25; not sure if this is a
bug or whether some pre-configuration needs to happen.regards,
Hi Sam,
we need some more info, can you check in the browser developer console and
post output? If nothing there, tomcat log is helpful.
regards,
Lars
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi <kasozis@gmail.com> wrote:
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug_______________________________________________
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
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>
Hi all,
My GIS isn’t loading also in 2.25. Dhis and tomcat logs don’t write any error but the browser console gave me:
Uncaught SyntaxError: Unexpecte end of JSON INPUT /dhis-web-mapping/#:1
Uncaught SyntaxError: Unexpected end of JSON input VM808:1
success @app.js:1303
callback @ext-all.js:15
onComplete @ext-all.js:15
onStateChange @ext-all.js:15
(anonymous function) @ext-all.js:15
And the same with VM809:1
Thanks,
Marc
2016-10-17 15:44 GMT+02:00 Lars Helge Øverland lars@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
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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
–
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
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.hedberg@gmail.com
Skype: calle_hedberg
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Morten,
Thanks - noted,
Regards
Calle
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
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.hedberg@gmail.com
Skype: calle_hedberg
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
https://github.com/dhis2/gis-app/issues/164
https://github.com/dhis2/gis-app/issues/163
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
ok, may be then you have a different problem. I got same problem and assigning infrastructural elements fixed it…
can you check into your browser console and look for any web api request that has failed?
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
Thanks Abyot, Bjorn,
Abyot, the API didn’t give us any error, so I really don’t know what the problem may be
Bjorn, thanks, will try your fix in the following hours and let you know
Cheers
Jose
On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Thanks for the quick actions Jan, Bjorn,
Almost there :). Now the GIS is being displayed, but whenver I want to display the bounderies of a country (or bounderies of any level) I’m getting the following error:
The org. units have been imported from 2.22 to 2.25. It seems that everything is correct in the database…
Am I missing something? Any ideas?
Thanks!
Uncaught Error: Invalid LatLng object: (102.3792,13.5749, 102.9176,11.6358)
at L.LatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:2:14559)
at coordsToLatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18296)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18573)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18481)
at Function.geometryToLayer (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:17850)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16349)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16219)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:15944)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:7:8380)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:9:39)
On Mon, Oct 31, 2016 at 12:56 PM, Jan Henrik Øverland jan@dhis2.org wrote:
Hi Jose,
You are right that the requests didn’t fail. The problem was that they didn’t return anything, and the app was not prepared for it.
Thanks for reporting.
Jan
On 31 October 2016 at 12:47, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyot, Bjorn,
Abyot, the API didn’t give us any error, so I really don’t know what the problem may be
Bjorn, thanks, will try your fix in the following hours and let you know
Cheers
Jose
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
–
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Jose,
Could you send the the results of the geoFeatures query than your GIS app is requesting?
The coordinate format should be similar to:
https://play.dhis2.org/demo/api/25/geoFeatures.json?ou=ou:LEVEL-2;ImspTQPwCqd&displayProperty=NAME
“co”: "[[[[-11.5914,8.4875],[-11.5906,8.4769],[-11.5898,8.4717],[-11.5882,8.466] …
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 6:19 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks for the quick actions Jan, Bjorn,
Almost there :). Now the GIS is being displayed, but whenver I want to display the bounderies of a country (or bounderies of any level) I’m getting the following error:
The org. units have been imported from 2.22 to 2.25. It seems that everything is correct in the database…
Am I missing something? Any ideas?
Thanks!
Uncaught Error: Invalid LatLng object: (102.3792,13.5749, 102.9176,11.6358)
at L.LatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:2:14559)
at coordsToLatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18296)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18573)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18481)
at Function.geometryToLayer (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:17850)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16349)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16219)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:15944)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:7:8380)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:9:39)
–
On Mon, Oct 31, 2016 at 12:56 PM, Jan Henrik Øverland jan@dhis2.org wrote:
Hi Jose,
You are right that the requests didn’t fail. The problem was that they didn’t return anything, and the app was not prepared for it.
Thanks for reporting.
Jan
On 31 October 2016 at 12:47, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyot, Bjorn,
Abyot, the API didn’t give us any error, so I really don’t know what the problem may be
Bjorn, thanks, will try your fix in the following hours and let you know
Cheers
Jose
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
–
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
Ok, I see, I think this is because of the blank spaces??
[{“id”:“NC3WdxGafv5”,“code”:“KH”,“na”:“Cambodia”,“hcd”:false,“hcu”:true,“le”:3,“pg”:“/FvUGp8I75zV/aChOCLW4x6p”,“pi”:“aChOCLW4x6p”,“pn”:“Asia and Eastern Europe”,“ty”:2,“co”:"\n [[[[102.9176,11.6358],[102.3792,13.5749],[102.599,13.6079],[103.1812,14.3275],[104.8073,14.4484],[105.0764,14.2177],[105.2083,14.3495],[105.3621,14.1078],[106.0543,13.932],[106.1751,14.0639],[106.0048,14.3715],[106.5432,14.5967],[106.8563,14.3056],[107.5484,14.7066],[107.3397,14.1243],[107.4715,13.932],[107.6308,13.531],[107.5484,12.3554],[106.4223,11.9709],[106.4608,11.6633],[106.0488,11.7786],[105.818,11.6193],[106.2026,10.7679],[105.7796,11.0205],[105.1039,10.9546],[104.8842,10.5371],[104.4447,10.4218],[104.247,10.5701],[103.6207,10.4932],[103.5163,10.636],[103.7196,10.8667],[103.5548,11.1579],[103.1318,10.8832],[102.956,11.5534],[103.0824,11.7237],[102.8956,11.8281],[102.9176,11.6358]]]] "}]
On Mon, Oct 31, 2016 at 9:02 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
Could you send the the results of the geoFeatures query than your GIS app is requesting?
The coordinate format should be similar to:
https://play.dhis2.org/demo/api/25/geoFeatures.json?ou=ou:LEVEL-2;ImspTQPwCqd&displayProperty=NAME
“co”: "[[[[-11.5914,8.4875],[-11.5906,8.4769],[-11.5898,8.4717],[-11.5882,8.466] …
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 6:19 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks for the quick actions Jan, Bjorn,
Almost there :). Now the GIS is being displayed, but whenver I want to display the bounderies of a country (or bounderies of any level) I’m getting the following error:
The org. units have been imported from 2.22 to 2.25. It seems that everything is correct in the database…
Am I missing something? Any ideas?
Thanks!
Uncaught Error: Invalid LatLng object: (102.3792,13.5749, 102.9176,11.6358)
at L.LatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:2:14559)
at coordsToLatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18296)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18573)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18481)
at Function.geometryToLayer (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:17850)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16349)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16219)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:15944)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:7:8380)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:9:39)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:56 PM, Jan Henrik Øverland jan@dhis2.org wrote:
Hi Jose,
You are right that the requests didn’t fail. The problem was that they didn’t return anything, and the app was not prepared for it.
Thanks for reporting.
Jan
On 31 October 2016 at 12:47, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyot, Bjorn,
Abyot, the API didn’t give us any error, so I really don’t know what the problem may be
Bjorn, thanks, will try your fix in the following hours and let you know
Cheers
Jose
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
–
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Hi Jose,
seems like you have a linebreak in your geojson, see:
"\n "
Likely not behaving well with json parsing. Try removing that.
Lars
On Mon, Oct 31, 2016 at 9:36 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Ok, I see, I think this is because of the blank spaces??
[{“id”:“NC3WdxGafv5”,“code”:“KH”,“na”:“Cambodia”,“hcd”:false,“hcu”:true,“le”:3,“pg”:“/FvUGp8I75zV/aChOCLW4x6p”,“pi”:“aChOCLW4x6p”,“pn”:“Asia and Eastern Europe”,“ty”:2,“co”:"\n [[[[102.9176,11.6358],[102.3792,13.5749],[102.599,13.6079],[103.1812,14.3275],[104.8073,14.4484],[105.0764,14.2177],[105.2083,14.3495],[105.3621,14.1078],[106.0543,13.932],[106.1751,14.0639],[106.0048,14.3715],[106.5432,14.5967],[106.8563,14.3056],[107.5484,14.7066],[107.3397,14.1243],[107.4715,13.932],[107.6308,13.531],[107.5484,12.3554],[106.4223,11.9709],[106.4608,11.6633],[106.0488,11.7786],[105.818,11.6193],[106.2026,10.7679],[105.7796,11.0205],[105.1039,10.9546],[104.8842,10.5371],[104.4447,10.4218],[104.247,10.5701],[103.6207,10.4932],[103.5163,10.636],[103.7196,10.8667],[103.5548,11.1579],[103.1318,10.8832],[102.956,11.5534],[103.0824,11.7237],[102.8956,11.8281],[102.9176,11.6358]]]] "}]
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
–
On Mon, Oct 31, 2016 at 9:02 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
Could you send the the results of the geoFeatures query than your GIS app is requesting?
The coordinate format should be similar to:
https://play.dhis2.org/demo/api/25/geoFeatures.json?ou=ou:LEVEL-2;ImspTQPwCqd&displayProperty=NAME
“co”: "[[[[-11.5914,8.4875],[-11.5906,8.4769],[-11.5898,8.4717],[-11.5882,8.466] …
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 6:19 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks for the quick actions Jan, Bjorn,
Almost there :). Now the GIS is being displayed, but whenver I want to display the bounderies of a country (or bounderies of any level) I’m getting the following error:
The org. units have been imported from 2.22 to 2.25. It seems that everything is correct in the database…
Am I missing something? Any ideas?
Thanks!
Uncaught Error: Invalid LatLng object: (102.3792,13.5749, 102.9176,11.6358)
at L.LatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:2:14559)
at coordsToLatLng (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18296)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18573)
at Function.coordsToLatLngs (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:18481)
at Function.geometryToLayer (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:17850)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16349)
at NewClass.addData (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:16219)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:5:15944)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:7:8380)
at NewClass.initialize (http://localhost:8080/dhis225/dhis-web-mapping/app.js:9:39)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:56 PM, Jan Henrik Øverland jan@dhis2.org wrote:
Hi Jose,
You are right that the requests didn’t fail. The problem was that they didn’t return anything, and the app was not prepared for it.
Thanks for reporting.
Jan
On 31 October 2016 at 12:47, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyot, Bjorn,
Abyot, the API didn’t give us any error, so I really don’t know what the problem may be
Bjorn, thanks, will try your fix in the following hours and let you know
Cheers
Jose
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
–
Jan Henrik Øverland
Software developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 12:22 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ve applied a fix, so please check the latest version of DHIS 2.25.
The error was due to missing infrastructural indicators and infrastructural data elements, which is no longer required for the GIS app to start.
The functionality in GIS app is of course still limited if you have an empty database.
Thanks for reporting.
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 8:04 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Abyott, I have created an infrastructural dataelements in the General Settings… but still not working (I have clean the cache also). This the error I’m getting:
/dhis-web-mapping/#:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at success (https://sandbox.psi-mis.org/dhis-web-mapping/app.js:1:25516)
at Object.callback (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:57696)
at m.onComplete (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209766)
at m.onStateChange (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:209410)
at XMLHttpRequest. (https://sandbox.psi-mis.org/dhis-web-mapping/extjs/ext-all.js:15:14790)
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Mon, Oct 31, 2016 at 7:42 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:
Hi Jose,
The issue I think is about missing infrastructural data elements / indicators in Settings page. If you could fill something there, it will work. Of course, these items shouldn’t be mandatory for GIS to run.
–
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
On Mon, Oct 31, 2016 at 4:58 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Thanks Bjorn, really appreciate that!
The point is that I’m conducting a training in Vietnam this week, and we really need to show the maps by Wednesday. Do you think you can have a solution by Tuesday? (so I can ask for a DHIS2 upgrade on Tuesday night). Otherwise, please let me know, because I would need to find a workaround
Is there anything that we can do from our end? (I can see maps are working on the Sierra Leone demos)
Thanks a lot!
Regards
Jose
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
On Sun, Oct 30, 2016 at 3:35 PM, Bjørn Sandvik bjorn@dhis2.org wrote:
Hi Jose,
I’ll look into the issue in the next few days. It’s probably related to these issues:
–
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
On Sun, Oct 30, 2016 at 11:44 AM, Jose Garcia Muñoz josemp10@gmail.com wrote:
Hi guys,
I don’t know the status of this? We have started to build using a new completely empty box in 2.25 (no dataelements, no optionsets…) just with some orgunits (country level). Whenever I go to the GIS, I get an error in the JavaScript console (attached at the end). All Network calls (traced by Google Crhome tools) are returning Ok. We are using 2.25, revision 9509136
Many thanks
Jose
Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1280callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
VM1735:1 Uncaught SyntaxError: Unexpected end of JSON input(…)success @ app.js:1303callback @ ext-all.js:15onComplete @ ext-all.js:15onStateChange @ ext-all.js:15(anonymous function) @ ext-all.js:15
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
On Mon, Oct 24, 2016 at 10:10 AM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
Thanks - noted,
Regards
Calle
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
On 24 October 2016 at 10:08, Morten Olav Hansen morten@dhis2.org wrote:
Hi Calle
No, this is just general Chrome Developer Tools stuff… should be easy to google for a guide
I see that there are plenty videos on youtube also (search for “chrome developer tools”), this can be very useful in figuring these kinds of issues.
–
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 24, 2016 at 2:49 PM, Calle Hedberg calle.hedberg@gmail.com wrote:
Morten,
i was not aware of the “log XHR requests” feature.
Is there a DHIS2-related guide to using advanced features of the Chrome console somewhere?
Regards
Calle
On 24 October 2016 at 04:31, Morten Olav Hansen morten@dhis2.org wrote:
Hi Sam
This is caused by the metadata having some issues I’m guessing… I would try and have a look at the network panel (in the web inspector) to see exactly which request it stops on… since you are using Chrome, you should be able to right click on the console and select “log XHR requests”, that will hopefully give you a clue to exactly which request is failing.
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.hedberg@gmail.com
Skype: calle_hedberg
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Mon, Oct 17, 2016 at 9:37 PM, Sam Kasozi kasozis@gmail.com wrote:
Hi Lars, this is the original error message from an upgraded instance from 2.25.
The developer console, gives the error below:
ext-all.js:15 Uncaught You’re trying to decode an invalid JSON String: Also in the attached./ Screen shot attached as well.
P.s With the new instance, I could not access the orgunits; nor were they displaying as part of the maintenance, GIS module wasn’t loading either - It would be good to try out from your end.
regards,
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
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
On Mon, Oct 17, 2016 at 4:44 PM, Lars Helge Øverland lars@dhis2.org wrote:
On Mon, Oct 17, 2016 at 3:42 PM, Sam Kasozi kasozis@gmail.com wrote:
GIS is failing to load in a new instance of 2.25; not sure if this is a bug or whether some pre-configuration needs to happen.
regards,
Hi Sam,
we need some more info, can you check in the browser developer console and post output? If nothing there, tomcat log is helpful.
regards,
Lars
Sam Kasozi
+256 788-993-565
Skype: sam.kasoziug
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
–
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland