Closed letimome closed 7 years ago
Hi,
I am experimenting an "internal server error" when trying to connect to Cubes (with a mysql database in the backend).
When I load the cubesviewer-2.0.2/html/studio.html and try to load my cube "customization" the following error is displayed:
Here I was surprished by the "No 'Access-Control-Allow-Origin' header" error, as I have specified in the "slicer.ini"like this:
[server] host: localhost port: 5000 reload: yes prettyprint: yes allow_cors_origin: *
In any case, when checking the server log I get the following:
I see an "ImportError: No module named MySQLdb". Any guess of what might be going wrong? Thanks in advance and BTW nice work!
Cheers, Leticia
Ups! I needed to install "pip install mysql-python" :-) Now it works. Sorry!
Hi,
I am experimenting an "internal server error" when trying to connect to Cubes (with a mysql database in the backend).
When I load the cubesviewer-2.0.2/html/studio.html and try to load my cube "customization" the following error is displayed:
Here I was surprished by the "No 'Access-Control-Allow-Origin' header" error, as I have specified in the "slicer.ini"like this:
In any case, when checking the server log I get the following:![captura de pantalla 2017-09-06 a las 16 16 46](https://user-images.githubusercontent.com/5872026/30116834-d007f5ba-931e-11e7-93b0-9a7e8eb77dc5.png)
I see an "ImportError: No module named MySQLdb". Any guess of what might be going wrong? Thanks in advance and BTW nice work!
Cheers, Leticia