Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi

I have installed knowage with the Installer. the installatio is up, no errors during installation, also the databases are installed and the reports are in place.

But when I try to open any demo report I am getting only a blank page... the menu is there, so the page is loading, onld the visuals are not loaded ... sometimes there appears "Downloading..." on the top but nothing happes...

Also in the logs I do not found any issues....

Some idea where could be the problem?

Thank you

Edit:

I have something in logs/knowage_[1]_OperatorTrace.log

'2017-07-25-22-30-01';'10.10.11.76';'host.domain.com';'10.10.11.85';'';'';'';'demo_admin';'/demo/admin,';'[Service:/1.0/documentexecution/filters ; Class:class it.eng.spagobi.api.DocumentExecutionResource ; Method:public javax.ws.rs.core.Response it.eng.spagobi.api.DocumentExecutionResource.getDocumentExecutionFilters(javax.servlet.http.HttpServletRequest) throws it.eng.spagobi.api.DocumentExecutionResource$DocumentExecutionException,it.eng.spago.error.EMFUserError,java.io.IOException,org.json.JSONException]';'demo_admin';'/knowage/restful-services/1.0/documentexecution/filters';'';'OK';'0';'FIREFOX4';'49.0';'MAC_OS_X';4d541d15242b1867fd03a825a730aa06
'2017-07-25-22-30-01';'10.10.11.76';'host.domain.com';'10.10.11.85';'';'';'';'demo_admin';'/demo/admin,';'DOCUMENT.GET_URL';'demo_admin';'/knowage/restful-services/1.0/documentexecution/url';'ENGINE=Chart Engine&PARAMS={}&NAME=Revenue by product class';'OK';'0';'FIREFOX4';'49.0';'MAC_OS_X';9a7caba82be2eb581361e6a7466338ee
'2017-07-25-22-30-01';'10.10.11.76';'cloudbox.cloudmonkey.ch';'10.10.11.85';'';'';'';'demo_admin';'/demo/admin,';'[Service:/1.0/documentexecution/url ; Class:class it.eng.spagobi.api.DocumentExecutionResource ; Method:public javax.ws.rs.core.Response it.eng.spagobi.api.DocumentExecutionResource.getDocumentExecutionURL(javax.servlet.http.HttpServletRequest) throws java.io.IOException,org.json.JSONException]';'demo_admin';'/knowage/restful-services/1.0/documentexecution/url';'';'OK';'0';'FIREFOX4';'49.0';'MAC_OS_X';ff7eaf862d9fad3649a6fa11cdd00fe5
closed with the note: CLOSED FOR LONG USER INACTIVITY
in Installer by (120 points)
closed by
Try to replace "localhost" to "10.10.11.76" in  "host_url" under server.xml file of Tomcat
Still not working

I discovered further errors in Web console

Uncaught SyntaxError: Invalid or unexpected token
angular.min.js:24 Uncaught Error: [$injector:nomod] http://errors.angularjs.org/1.5.0-beta.2/$injector/nomod?p0=sbiModule
    at angular.min.js:6
    at angular.min.js:24
    at b (angular.min.js:23)
    at Object.module (angular.min.js:23)
    at sbiModule_dateServices.js:2
angular.min.js:24 Uncaught Error: [$injector:nomod] http://errors.angularjs.org/1.5.0-beta.2/$injector/nomod?p0=sbiModule
    at angular.min.js:6
    at angular.min.js:24
    at b (angular.min.js:23)
    at Object.module (angular.min.js:23)
    at sbiModule_jsonServices.js:2
angular.min.js:39 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0-beta.2/$injector/modulerr?p0=chartExecuti…ckpitengine%2Fjs%2Flib%2Fangular%2Fangular_1.4%2Fangular.min.js%3A20%3A274)
    at angular.min.js:6
    at angular.min.js:39
    at n (angular.min.js:7)
    at g (angular.min.js:39)
    at eb (angular.min.js:42)
    at c (angular.min.js:19)
    at yc (angular.min.js:20)
    at ae (angular.min.js:19)
    at angular.min.js:298
    at HTMLDocument.b (angular.min.js:178)

Someone can may help me?

Thank you
I tried also to install it on Centos 7 server. Same issues there!
Has somebody an idea where could be the error??? I need to evaluate this BI tool, but I cannot get it working....

Thank you
The suggestion by frank is correct, just remember that you need to restart the server to apply this modification
Which browser are you using? It seems Firefox, isn't it? which version?
Did you try with another browser?
Are you able to get some more information about the error "Uncaught SyntaxError: Invalid or unexpected token"? maybe this blocks a JS file to be loaded properly.
As far as I understood, you cannot display ANY predefined analysis, is that right?
HI Davide,
thank you for you reply
I tested it on Mint Desktop 64 bit with Firefox 53 and Google chrome 59
Knowage installed once on same Desktop PC, once on Centos 7 Server...
in both cases same behaviour...

This is what i get in in google chrome console:

Uncaught SyntaxError: Invalid or unexpected token
angular.min.js:6 Uncaught Error: [$injector:nomod] http://errors.angularjs.org/1.5.0-beta.2/$injector/nomod?p0=sbiModule
    at angular.min.js:6
    at angular.min.js:24
    at b (angular.min.js:23)
    at Object.module (angular.min.js:23)
    at sbiModule_dateServices.js:2
(anonymous) @ angular.min.js:6
(anonymous) @ angular.min.js:24
b @ angular.min.js:23
(anonymous) @ angular.min.js:23
(anonymous) @ sbiModule_dateServices.js:2
angular.min.js:6 Uncaught Error: [$injector:nomod] http://errors.angularjs.org/1.5.0-beta.2/$injector/nomod?p0=sbiModule
    at angular.min.js:6
    at angular.min.js:24
    at b (angular.min.js:23)
    at Object.module (angular.min.js:23)
    at sbiModule_jsonServices.js:2
(anonymous) @ angular.min.js:6
(anonymous) @ angular.min.js:24
b @ angular.min.js:23
(anonymous) @ angular.min.js:23
(anonymous) @ sbiModule_jsonServices.js:2
angular.min.js:6 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.5.0-beta.2/$injector/modulerr?p0=chartExecuti…ckpitengine%2Fjs%2Flib%2Fangular%2Fangular_1.4%2Fangular.min.js%3A20%3A274)
    at angular.min.js:6
    at angular.min.js:39
    at n (angular.min.js:7)
    at g (angular.min.js:39)
    at eb (angular.min.js:42)
    at c (angular.min.js:19)
    at yc (angular.min.js:20)
    at ae (angular.min.js:19)
    at angular.min.js:298
    at HTMLDocument.b (angular.min.js:178)
(anonymous) @ angular.min.js:6
(anonymous) @ angular.min.js:39
n @ angular.min.js:7
g @ angular.min.js:39
eb @ angular.min.js:42
c @ angular.min.js:19
yc @ angular.min.js:20
ae @ angular.min.js:19
(anonymous) @ angular.min.js:298
b @ angular.min.js:178
Kf @ angular.min.js:36
d @ angular.min.js:36

Right, I cannot open any chart, dashboard etc...
Please try to retrieve this information: using Chrome Developer Tools, Console tab, on the same line containing the message "Uncaught SyntaxError: Invalid or unexpected token", you should see a link on the right, maybe be "AdapterHTTP:<code line>" or "<a JS file>:<code line>", please tell us which file is pointed and the content you see when clicking on that link.
Do you experience the same behaviour when using the knowage online demo https://demo.knowage-suite.com/knowage ?

Hi Davide

The link in the near of "Uncaught SyntaxError: Invalid or unexpected token" is the following

http://127.0.0.1:8080/knowagecockpitengine/api/1.0/chart/pages/execute?[OMITTED_TOO_LONG]

When I am calling this URL I am getting again blank page

With which user can I login on https://demo.knowage-suite.com/knowage 

Thank you

Hi
please click on the link near the "Uncaught SyntaxError: Invalid or unexpected token" and then take a screenshot.
What is the JVM's default locale? I suspect that is the problem.
Regarding the Knowage online demo, click on the button below the "Login" button, you will enter as "demo_user" automatically, you will be able to navigate the same analyses.
Best regards
...