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:
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